create-warlock 5.29.0 → 5.30.0
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/CHANGELOG.md +12 -0
- package/esm/commands/create-new-app/get-app-path.mjs +1 -1
- package/esm/commands/create-new-app/get-app-path.mjs.map +1 -1
- package/esm/commands/create-new-app/index.mjs +6 -3
- package/esm/commands/create-new-app/index.mjs.map +1 -1
- package/esm/commands/create-new-app/types.d.mts +1 -1
- package/esm/commands/create-warlock-app/index.mjs +1 -1
- package/esm/commands/create-warlock-app/index.mjs.map +1 -1
- package/esm/features/agent-kit-targets.mjs +1 -1
- package/esm/features/agent-kit-targets.mjs.map +1 -1
- package/esm/features/database-drivers.mjs +1 -1
- package/esm/features/database-drivers.mjs.map +1 -1
- package/esm/features/features-map.mjs +1 -1
- package/esm/features/features-map.mjs.map +1 -1
- package/esm/flags/assert-flag-combinations.mjs +1 -1
- package/esm/flags/assert-flag-combinations.mjs.map +1 -1
- package/esm/flags/assert-package-manager.mjs +1 -1
- package/esm/flags/assert-package-manager.mjs.map +1 -1
- package/esm/flags/definitions.mjs +1 -1
- package/esm/flags/definitions.mjs.map +1 -1
- package/esm/flags/seed-from-flags.mjs +1 -1
- package/esm/flags/seed-from-flags.mjs.map +1 -1
- package/esm/helpers/app.mjs +28 -6
- package/esm/helpers/app.mjs.map +1 -1
- package/esm/helpers/exec.mjs +1 -1
- package/esm/helpers/exec.mjs.map +1 -1
- package/esm/helpers/insert-import.mjs +1 -1
- package/esm/helpers/insert-import.mjs.map +1 -1
- package/esm/helpers/package-manager.mjs +22 -2
- package/esm/helpers/package-manager.mjs.map +1 -1
- package/esm/helpers/paths.mjs +1 -1
- package/esm/helpers/paths.mjs.map +1 -1
- package/esm/helpers/pnpm-build-approvals.mjs +58 -3
- package/esm/helpers/pnpm-build-approvals.mjs.map +1 -1
- package/esm/helpers/project-builder-helpers.mjs +1 -1
- package/esm/helpers/project-builder-helpers.mjs.map +1 -1
- package/esm/helpers/tty.mjs +1 -1
- package/esm/helpers/tty.mjs.map +1 -1
- package/esm/helpers/warlock-versions.mjs +1 -1
- package/esm/helpers/warlock-versions.mjs.map +1 -1
- package/esm/index.d.mts +1 -1
- package/esm/index.mjs +1 -1
- package/esm/index.mjs.map +1 -1
- package/esm/prompts/ask-agent-targets.mjs +4 -2
- package/esm/prompts/ask-agent-targets.mjs.map +1 -1
- package/esm/prompts/ask-ai-features.mjs +5 -3
- package/esm/prompts/ask-ai-features.mjs.map +1 -1
- package/esm/prompts/ask-project-name.mjs +1 -1
- package/esm/prompts/ask-project-name.mjs.map +1 -1
- package/esm/prompts/ask-stack.mjs +1 -1
- package/esm/prompts/ask-stack.mjs.map +1 -1
- package/esm/prompts/fit-to-terminal.mjs +46 -0
- package/esm/prompts/fit-to-terminal.mjs.map +1 -0
- package/esm/summary.mjs +1 -1
- package/esm/summary.mjs.map +1 -1
- package/esm/ui/banner.mjs +1 -1
- package/esm/ui/banner.mjs.map +1 -1
- package/esm/ui/report.mjs +1 -1
- package/esm/ui/report.mjs.map +1 -1
- package/esm/ui/spinner.mjs +1 -1
- package/esm/ui/spinner.mjs.map +1 -1
- package/esm/ui/spinners.mjs +1 -1
- package/esm/ui/spinners.mjs.map +1 -1
- package/llms-full.txt +7 -3
- package/package.json +5 -4
- package/skills/create-a-warlock-project/SKILL.md +7 -3
- package/templates/warlock/src/web/root.tsx +5 -0
package/llms-full.txt
CHANGED
|
@@ -84,9 +84,13 @@ Using npm · database: none · agent-kit targets: claude
|
|
|
84
84
|
| `--git` / `--no-git` | no | off | Initialize a Git repo (`git init` + `main` branch + initial commit).|
|
|
85
85
|
| `--jwt` / `--no-jwt` | no | off | Generate JWT secrets via the project's `jwt` script. |
|
|
86
86
|
|
|
87
|
-
With `--pm=pnpm`,
|
|
88
|
-
|
|
89
|
-
|
|
87
|
+
With `--pm=pnpm`, the scaffold reads `pnpm --version` and records install-script
|
|
88
|
+
approvals (esbuild, and Sharp when the `image` feature is selected) where that
|
|
89
|
+
version reads them: `allowBuilds` in `pnpm-workspace.yaml` on pnpm 10.26+, 11
|
|
90
|
+
and 12; that file plus `onlyBuiltDependencies` on 10.5–10.25; and, before 10.5,
|
|
91
|
+
no workspace file (those versions reject one without `packages:`) but
|
|
92
|
+
`pnpm.onlyBuiltDependencies` in `package.json`. An explicit existing denial is
|
|
93
|
+
retained. If selected feature dependencies do
|
|
90
94
|
not install, JWT generation is skipped and reported rather than retried through
|
|
91
95
|
the package manager.
|
|
92
96
|
| `--yes` / `-y` | no | off | Fully headless mode. |
|
package/package.json
CHANGED
|
@@ -4,15 +4,16 @@
|
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "https://github.com/warlockjs/
|
|
7
|
+
"url": "git+https://github.com/warlockjs/framework.git",
|
|
8
|
+
"directory": "packages/create-warlock"
|
|
8
9
|
},
|
|
9
10
|
"bin": {
|
|
10
11
|
"create-warlock": "bin/create-app.js"
|
|
11
12
|
},
|
|
12
13
|
"dependencies": {
|
|
13
|
-
"@clack/prompts": "^0.
|
|
14
|
+
"@clack/prompts": "^0.8.2",
|
|
14
15
|
"@mongez/copper": "^2.1.3",
|
|
15
|
-
"@warlock.js/fs": "5.
|
|
16
|
+
"@warlock.js/fs": "5.30.0",
|
|
16
17
|
"@mongez/reinforcements": "^4.0.2",
|
|
17
18
|
"cross-spawn": "^7.0.3",
|
|
18
19
|
"rimraf": "^6.0.1",
|
|
@@ -21,7 +22,7 @@
|
|
|
21
22
|
"engines": {
|
|
22
23
|
"node": ">=22.13"
|
|
23
24
|
},
|
|
24
|
-
"version": "5.
|
|
25
|
+
"version": "5.30.0",
|
|
25
26
|
"type": "module",
|
|
26
27
|
"main": "./esm/index.mjs",
|
|
27
28
|
"module": "./esm/index.mjs",
|
|
@@ -76,9 +76,13 @@ Using npm · database: none · agent-kit targets: claude
|
|
|
76
76
|
| `--git` / `--no-git` | no | off | Initialize a Git repo (`git init` + `main` branch + initial commit).|
|
|
77
77
|
| `--jwt` / `--no-jwt` | no | off | Generate JWT secrets via the project's `jwt` script. |
|
|
78
78
|
|
|
79
|
-
With `--pm=pnpm`,
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
With `--pm=pnpm`, the scaffold reads `pnpm --version` and records install-script
|
|
80
|
+
approvals (esbuild, and Sharp when the `image` feature is selected) where that
|
|
81
|
+
version reads them: `allowBuilds` in `pnpm-workspace.yaml` on pnpm 10.26+, 11
|
|
82
|
+
and 12; that file plus `onlyBuiltDependencies` on 10.5–10.25; and, before 10.5,
|
|
83
|
+
no workspace file (those versions reject one without `packages:`) but
|
|
84
|
+
`pnpm.onlyBuiltDependencies` in `package.json`. An explicit existing denial is
|
|
85
|
+
retained. If selected feature dependencies do
|
|
82
86
|
not install, JWT generation is skipped and reported rather than retried through
|
|
83
87
|
the package manager.
|
|
84
88
|
| `--yes` / `-y` | no | off | Fully headless mode. |
|
|
@@ -15,6 +15,11 @@ export default function App({ children }: AppProps) {
|
|
|
15
15
|
return (
|
|
16
16
|
<html lang={locale} dir={direction}>
|
|
17
17
|
<head>
|
|
18
|
+
{/*
|
|
19
|
+
<Head /> also renders the viewport tag (width=device-width,
|
|
20
|
+
initial-scale=1). Change it with `metadata.viewport`,
|
|
21
|
+
or set it to false to leave it out; do not add a second one here.
|
|
22
|
+
*/}
|
|
18
23
|
{/*
|
|
19
24
|
Placement only. The framework injects the page's `metadata`, the
|
|
20
25
|
stylesheet and preload tags for this route, and the canonical links
|