mirror of
https://github.com/django-components/django-components.git
synced 2025-08-04 06:18:17 +00:00
chore: bump v0.131 (#1042)
* Update pyproject.toml * docs: update changelog and rename "start" command to "create"
This commit is contained in:
parent
0f41a62592
commit
c034b7da65
4 changed files with 10 additions and 9 deletions
|
@ -15,8 +15,9 @@
|
|||
Read more on [Extensions](https://django-components.github.io/django-components/0.131/concepts/advanced/extensions/).
|
||||
|
||||
- New CLI commands:
|
||||
- `components list` - List all components
|
||||
- `components create <name>` - Create a new component (supersedes `startcomponent`)
|
||||
- `components upgrade <name>` - Upgrade a component (supersedes `upgradecomponent`)
|
||||
- `components upgrade` - Upgrade a component (supersedes `upgradecomponent`)
|
||||
- `components ext list` - List all extensions
|
||||
- `components ext run <extension> <command>` - Run a command added by an extension
|
||||
|
||||
|
@ -39,7 +40,7 @@
|
|||
|
||||
- The `startcomponent` and `upgradecomponent` commands are deprecated, and will be removed in v1.
|
||||
|
||||
Instead, use `components start <name>` and `components upgrade`.
|
||||
Instead, use `components create <name>` and `components upgrade`.
|
||||
|
||||
#### Internal
|
||||
|
||||
|
|
|
@ -44,8 +44,8 @@ The entrypoint for the "components" commands.
|
|||
|
||||
```bash
|
||||
python manage.py components list
|
||||
python manage.py components start <name>
|
||||
python manage.py components upgrade <name>
|
||||
python manage.py components create <name>
|
||||
python manage.py components upgrade
|
||||
python manage.py components ext list
|
||||
python manage.py components ext run <extension> <command>
|
||||
```
|
||||
|
|
|
@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|||
|
||||
[project]
|
||||
name = "django_components"
|
||||
version = "0.130"
|
||||
version = "0.131"
|
||||
requires-python = ">=3.8, <4.0"
|
||||
description = "A way to create simple reusable template components in Django."
|
||||
keywords = ["django", "components", "css", "js", "html"]
|
||||
|
|
|
@ -6,16 +6,16 @@ from django_components.util.command import ComponentCommand
|
|||
|
||||
|
||||
# TODO_V3 - This command should be called standalone as "components":
|
||||
# `python -m components start <name>`
|
||||
# `components start <name>`
|
||||
# `python -m components create <name>`
|
||||
# `components create <name>`
|
||||
class ComponentsRootCommand(ComponentCommand):
|
||||
"""
|
||||
The entrypoint for the "components" commands.
|
||||
|
||||
```bash
|
||||
python manage.py components list
|
||||
python manage.py components start <name>
|
||||
python manage.py components upgrade <name>
|
||||
python manage.py components create <name>
|
||||
python manage.py components upgrade
|
||||
python manage.py components ext list
|
||||
python manage.py components ext run <extension> <command>
|
||||
```
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue