@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.
Files changed (2) hide show
  1. package/README.md +3 -2
  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` compiles in `serve` mode (provider source locations kept) while `vite build` writes
190
- the disk copy without them: run `znight generate --check` before `znight build`, as below.
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.1",
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.1",
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.1",
54
- "@znight/openapi": "0.6.1",
55
- "@znight/schedule": "0.6.1"
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.1",
58
+ "@znight/compiler": "^0.6.2",
59
59
  "vite": "^8.0.0",
60
- "@znight/openapi": "^0.6.1"
60
+ "@znight/openapi": "^0.6.2"
61
61
  },
62
62
  "peerDependenciesMeta": {
63
63
  "@znight/compiler": {