From 9bb7d363e364f5927560d3ea5a06cb9652618be4 Mon Sep 17 00:00:00 2001 From: Sergei Maertens Date: Sun, 6 Jul 2025 14:35:36 +0200 Subject: [PATCH] :memo: Update remaining jazzband references Replaced with django-commons references now the transfer is complete. --- .github/CODE_OF_CONDUCT.md | 4 ---- .github/actions/build-js/action.yml | 3 --- CODE_OF_CONDUCT.md | 2 +- README.md | 14 ++++++-------- js/README.md | 7 +------ js/package.json | 6 +++--- pyproject.toml | 6 +++--- 7 files changed, 14 insertions(+), 28 deletions(-) delete mode 100644 .github/CODE_OF_CONDUCT.md diff --git a/.github/CODE_OF_CONDUCT.md b/.github/CODE_OF_CONDUCT.md deleted file mode 100644 index d9957a2..0000000 --- a/.github/CODE_OF_CONDUCT.md +++ /dev/null @@ -1,4 +0,0 @@ -# Code of Conduct - -This project is a [Jazzband](https://jazzband.co) project, and as such the Jazzband -[Code of Conduct](https://jazzband.co/about/conduct) applies. diff --git a/.github/actions/build-js/action.yml b/.github/actions/build-js/action.yml index 9761bb8..ef916d2 100644 --- a/.github/actions/build-js/action.yml +++ b/.github/actions/build-js/action.yml @@ -24,9 +24,6 @@ runs: node-version-file: 'js/.nvmrc' cache: npm cache-dependency-path: js/package-lock.json - # Blocked by https://github.com/jazzband/django-cookie-consent/issues/120 - # registry-url: 'https://registry.npmjs.org' - # scope: '@jazzband' - name: Install dependencies run: npm ci diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 3f69d2d..673689c 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -1,3 +1,3 @@ # Code of Conduct -The best-practices project utilizes the [Django Commons Code of Conduct](https://github.com/django-commons/membership/blob/main/CODE_OF_CONDUCT.md). +The django-cookie-consent project utilizes the [Django Commons Code of Conduct](https://github.com/django-commons/membership/blob/main/CODE_OF_CONDUCT.md). diff --git a/README.md b/README.md index fe0adea..372a269 100644 --- a/README.md +++ b/README.md @@ -32,16 +32,14 @@ to get started. Alternatively, if the documentation is not available, you can consult or build the docs from the `docs` directory in this repository. -[jazzband]: https://jazzband.co/ -[badge:jazzband]: https://jazzband.co/static/img/badge.svg -[GithubActions:CI]: https://github.com/jazzband/django-cookie-consent/actions?query=workflow%3A%22Run+CI%22 -[badge:GithubActions:CI]: https://github.com/jazzband/django-cookie-consent/workflows/Run%20CI/badge.svg -[GithubActions:CQ]: https://github.com/jazzband/django-cookie-consent/actions?query=workflow%3A%22Code+quality+checks%22 -[badge:GithubActions:CQ]: https://github.com/jazzband/django-cookie-consent/workflows/Code%20quality%20checks/badge.svg +[GithubActions:CI]: https://github.com/django-commons/django-cookie-consent/actions?query=workflow%3A%22Run+CI%22 +[badge:GithubActions:CI]: https://github.com/django-commons/django-cookie-consent/workflows/Run%20CI/badge.svg +[GithubActions:CQ]: https://github.com/django-commons/django-cookie-consent/actions?query=workflow%3A%22Code+quality+checks%22 +[badge:GithubActions:CQ]: https://github.com/django-commons/django-cookie-consent/workflows/Code%20quality%20checks/badge.svg [black]: https://github.com/psf/black [badge:black]: https://img.shields.io/badge/code%20style-black-000000.svg -[codecov]: https://codecov.io/gh/jazzband/django-cookie-consent -[badge:codecov]: https://codecov.io/gh/jazzband/django-cookie-consent/branch/master/graph/badge.svg +[codecov]: https://codecov.io/gh/django-commons/django-cookie-consent +[badge:codecov]: https://codecov.io/gh/django-commons/django-cookie-consent/branch/master/graph/badge.svg [docs]: https://django-cookie-consent.readthedocs.io/en/latest/?badge=latest [badge:docs]: https://readthedocs.org/projects/django-cookie-consent/badge/?version=latest [pypi]: https://pypi.org/project/django-cookie-consent/ diff --git a/js/README.md b/js/README.md index d2e301d..f2c0883 100644 --- a/js/README.md +++ b/js/README.md @@ -2,8 +2,6 @@ Package containing the JS code for django-cookie-consent. -[![Jazzband][badge:jazzband]][jazzband] - The cookiebar module is shipped in the Python package itself and available through django's staticfiles mechanism. This package is aimed at users wishing to include the assets in their own Javascript bundle through webpack/vite/... @@ -17,7 +15,7 @@ npm install django-cookie-consent You can now import the public API in your own bundle: ```ts -import {showCookieBar} from '@jazzband/django-cookie-consent'; +import {showCookieBar} from 'django-cookie-consent'; ```` ## TypeScript and ESM @@ -47,6 +45,3 @@ in the Python package: ```bash npm run build:django-static ``` - -[jazzband]: https://jazzband.co/ -[badge:jazzband]: https://jazzband.co/static/img/badge.svg diff --git a/js/package.json b/js/package.json index 4bd2b8b..e810c7c 100644 --- a/js/package.json +++ b/js/package.json @@ -14,7 +14,7 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/jazzband/django-cookie-consent.git" + "url": "git+https://github.com/django-commons/django-cookie-consent.git" }, "keywords": [ "django", @@ -25,9 +25,9 @@ "author": "Sergei Maertens", "license": "BSD-2-Clause", "bugs": { - "url": "https://github.com/jazzband/django-cookie-consent/issues" + "url": "https://github.com/django-commons/django-cookie-consent/issues" }, - "homepage": "https://github.com/jazzband/django-cookie-consent#readme", + "homepage": "https://github.com/django-commons/django-cookie-consent#readme", "devDependencies": { "esbuild": "^0.25.3", "typescript": "^5.4.5" diff --git a/pyproject.toml b/pyproject.toml index 28bea10..a0b595e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,9 +39,9 @@ dynamic = ["version"] [project.urls] Documentation = "https://django-cookie-consent.readthedocs.io/en/latest/" -Changelog = "https://github.com/jazzband/django-cookie-consent/blob/master/docs/changelog.rst" -"Bug Tracker" = "https://github.com/jazzband/django-cookie-consent/issues" -"Source Code" = "https://github.com/jazzband/django-cookie-consent" +Changelog = "https://github.com/django-commons/django-cookie-consent/blob/master/docs/changelog.rst" +"Bug Tracker" = "https://github.com/django-commons/django-cookie-consent/issues" +"Source Code" = "https://github.com/django-commons/django-cookie-consent" [project.optional-dependencies] tests = [