Skip to content

Commit

Permalink
add extras for ui and toolbox deps, add ui version (#245)
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuadavidthomas authored Jul 31, 2024
1 parent 88e8885 commit e4b1188
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
### Added

- Added `django-stubs-ext` to production dependencies.
- Added new question about `django-twc-ui` version.

### Changed

Expand All @@ -28,6 +29,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- Moved development dependency `django_browser_reload` behind `DEBUG` check.
- Moved `django_extensions` to production dependency.
- Now using `simplify` branch of `westerveltco/setup-ci-action` GitHub Action.
- Added `[tables]` extra to `django-twc-ui`.
- Added `[crud]` extra to `django-twc-toolbox`.

## [2024.34]

Expand Down
4 changes: 4 additions & 0 deletions copier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ django_twc_ui_token:
type: str
help: What is the OAuth token for accessing the `westerveltco/django-twc-ui` repository?
default: ""
django_twc_ui_version:
type: str
help: Which version of `django-twc-ui` should be used?
default: "2024.7.29"

# ----------------------------------------------------------------------
# FLY.IO
Expand Down
2 changes: 1 addition & 1 deletion src/django_twc_project/package.json.jinja
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"devDependencies": {
"@django-twc-ui/tailwind": "git+https://{{ django_twc_ui_token }}:[email protected]/westerveltco/django-twc-ui.git#main",
"@django-twc-ui/tailwind": "git+https://{{ django_twc_ui_token }}:[email protected]/westerveltco/django-twc-ui.git#v{{ django_twc_ui_version }}",
"tailwindcss": "^{{ tailwindcss_version }}",
"autoprefixer": "^10.4.16",
"postcss": "^8.4.31"
Expand Down
4 changes: 2 additions & 2 deletions src/django_twc_project/pyproject.toml.jinja
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ dependencies = [
"django-stubs-ext",
"django-tailwind-cli",
"django-template-partials",
"django-twc-toolbox",
"django-twc-ui @ git+https://{{ django_twc_ui_token }}:[email protected]/westerveltco/django-twc-ui.git@main",
"django-twc-toolbox[crud]",
"django-twc-ui[tables] @ git+https://{{ django_twc_ui_token }}:[email protected]/westerveltco/django-twc-ui.git@v{{ django_twc_ui_version }}",
{%- if include_vite %}
"django-vite",
{%- endif %}
Expand Down

0 comments on commit e4b1188

Please sign in to comment.