@django-stack/cli 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/backend/pyproject.toml +1 -1
- package/templates/frontend-astro/Dockerfile +4 -1
- package/templates/frontend-astro/package.json +1 -1
- package/templates/frontend-next/package.json +3 -3
- package/templates/frontend-nuxt/package.json +2 -2
- package/templates/frontend-sveltekit/package.json +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@django-stack/cli",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.1",
|
|
4
4
|
"description": "The production-ready Django, batteries included stack. Create and manage DjangoStack projects: a Django backend, a frontend, Postgres and Docker Compose in one command.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Leon van der Grient",
|
|
@@ -5,7 +5,7 @@ description = "The Django backend of {{project_name}}."
|
|
|
5
5
|
requires-python = ">=3.12"
|
|
6
6
|
dependencies = [
|
|
7
7
|
"Django>=6.1,<6.2",
|
|
8
|
-
"django-stack[server,s3]>=0.8.
|
|
8
|
+
"django-stack[server,s3]>=0.8.1",
|
|
9
9
|
"django-headless[schema]>=1.1.1",
|
|
10
10
|
"django-content-studio[images,huey]>=1.11.0",
|
|
11
11
|
]
|
|
@@ -14,7 +14,10 @@ RUN --mount=type=cache,target=/root/.npm \
|
|
|
14
14
|
|
|
15
15
|
FROM deps AS dev
|
|
16
16
|
EXPOSE 3000
|
|
17
|
-
|
|
17
|
+
# A container runs one dev server, so a lock file in the mounted .astro/ is
|
|
18
|
+
# always stale: from a stopped container, whose process IDs the new one reuses,
|
|
19
|
+
# or from `npm run dev` on the host. Astro would refuse to start next to it.
|
|
20
|
+
CMD ["sh", "-c", "rm -f .astro/dev.json && exec npm run dev"]
|
|
18
21
|
|
|
19
22
|
FROM deps AS build
|
|
20
23
|
COPY . .
|
|
@@ -13,9 +13,9 @@
|
|
|
13
13
|
},
|
|
14
14
|
"dependencies": {
|
|
15
15
|
"@django-headless/client": "^1.1.1",
|
|
16
|
-
"@django-stack/next": "^0.8.
|
|
17
|
-
"@django-stack/react": "^0.8.
|
|
18
|
-
"@django-stack/utils": "^0.8.
|
|
16
|
+
"@django-stack/next": "^0.8.1",
|
|
17
|
+
"@django-stack/react": "^0.8.1",
|
|
18
|
+
"@django-stack/utils": "^0.8.1",
|
|
19
19
|
"next": "^16.4.4",
|
|
20
20
|
"react": "^19.3.1",
|
|
21
21
|
"react-dom": "^19.3.1",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
17
|
"@django-headless/client": "^1.1.1",
|
|
18
|
-
"@django-stack/utils": "^0.8.
|
|
19
|
-
"@django-stack/vue": "^0.8.
|
|
18
|
+
"@django-stack/utils": "^0.8.1",
|
|
19
|
+
"@django-stack/vue": "^0.8.1",
|
|
20
20
|
"nuxt": "^4.6.3",
|
|
21
21
|
"nuxt-security": "^2.7.0",
|
|
22
22
|
"vue": "^3.5.44",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@django-headless/client": "^1.1.1",
|
|
22
|
-
"@django-stack/svelte": "^0.8.
|
|
23
|
-
"@django-stack/utils": "^0.8.
|
|
22
|
+
"@django-stack/svelte": "^0.8.1",
|
|
23
|
+
"@django-stack/utils": "^0.8.1"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
26
|
"@sveltejs/adapter-node": "^6.0.1",
|