@znight/cli 0.6.1 → 0.6.2
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/README.md +3 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -186,8 +186,9 @@ import options from './znight.config.ts'
|
|
|
186
186
|
export default defineConfig({ plugins: [znight(options)] })
|
|
187
187
|
```
|
|
188
188
|
|
|
189
|
-
`znight generate`
|
|
190
|
-
|
|
189
|
+
`znight generate` and `vite build` write the same disk copy (the `serve` rendering, provider source
|
|
190
|
+
locations kept, whatever the mode): only the bundle served from memory omits them in `build` mode.
|
|
191
|
+
Run `znight generate --check` in CI before `tsc` and `znight build`, as below.
|
|
191
192
|
|
|
192
193
|
In CI:
|
|
193
194
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@znight/cli",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.2",
|
|
4
4
|
"description": "Znight CLI: scaffold projects, generate code, run dev server and builds",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Ugho STEPHAN",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@clack/prompts": "^1.8.1",
|
|
44
|
-
"@znight/core": "0.6.
|
|
44
|
+
"@znight/core": "0.6.2",
|
|
45
45
|
"citty": "^0.2.2",
|
|
46
46
|
"picocolors": "^1.1.1"
|
|
47
47
|
},
|
|
@@ -50,14 +50,14 @@
|
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"vite": "8.3.5",
|
|
53
|
-
"@znight/compiler": "0.6.
|
|
54
|
-
"@znight/openapi": "0.6.
|
|
55
|
-
"@znight/schedule": "0.6.
|
|
53
|
+
"@znight/compiler": "0.6.2",
|
|
54
|
+
"@znight/openapi": "0.6.2",
|
|
55
|
+
"@znight/schedule": "0.6.2"
|
|
56
56
|
},
|
|
57
57
|
"peerDependencies": {
|
|
58
|
-
"@znight/compiler": "^0.6.
|
|
58
|
+
"@znight/compiler": "^0.6.2",
|
|
59
59
|
"vite": "^8.0.0",
|
|
60
|
-
"@znight/openapi": "^0.6.
|
|
60
|
+
"@znight/openapi": "^0.6.2"
|
|
61
61
|
},
|
|
62
62
|
"peerDependenciesMeta": {
|
|
63
63
|
"@znight/compiler": {
|