@erudit-js/cli 4.0.0 → 4.1.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/README.md CHANGED
@@ -1,13 +1,13 @@
1
- # 📟 Erudit CLI
2
-
3
- Command Line Interface for [Erudit](https://github.com/erudit-js/erudit).
4
-
5
- CLI is accessible via `erudit` command **only** through installed `erudit` package!
6
-
7
- ## Commands
8
-
9
- - `play` - starts an Erudit project in full dev mode
10
- - `build` - compiles Erudit project
11
- - `launch` - launches compiled Erudit project
12
- - `generate` - generates a fully static production-ready site from Erudit project
13
- - `preview` - previews generated static site
1
+ # 📟 Erudit CLI
2
+
3
+ Command Line Interface for [Erudit](https://github.com/erudit-js/erudit).
4
+
5
+ CLI is accessible via `erudit` command **only** through installed `erudit` package!
6
+
7
+ ## Commands
8
+
9
+ - `play` - starts an Erudit project in full dev mode
10
+ - `build` - compiles Erudit project
11
+ - `launch` - launches compiled Erudit project
12
+ - `generate` - generates a fully static production-ready site from Erudit project
13
+ - `preview` - previews generated static site
package/dist/inject.js CHANGED
@@ -1 +1 @@
1
- export const version = '4.0.0';
1
+ export const version = '4.1.0';
@@ -38,11 +38,11 @@ export async function prepareProject({ absProjectPath, }) {
38
38
  ],
39
39
  }, null, 2));
40
40
  }
41
- writeFileSync(`${nuxtLayerPath}/nuxt.config.ts`, `
42
- export default {
43
- compatibilityDate: '2026-01-01',
44
- extends: ['${CONFIG.ERUDIT_PATH}'],
45
- }
41
+ writeFileSync(`${nuxtLayerPath}/nuxt.config.ts`, `
42
+ export default {
43
+ compatibilityDate: '2026-01-01',
44
+ extends: ['${CONFIG.ERUDIT_PATH}'],
45
+ }
46
46
  `);
47
47
  ['app', 'server', 'shared', 'node'].forEach((name) => {
48
48
  writeFileSync(`${eruditBuildPath}/tsconfig.nuxt.${name}.json`, JSON.stringify({ extends: [`./nuxt/.nuxt/tsconfig.${name}.json`] }, null, 4));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erudit-js/cli",
3
- "version": "4.0.0",
3
+ "version": "4.1.0",
4
4
  "type": "module",
5
5
  "description": "📟 Command Line Interface for Erudit",
6
6
  "license": "MIT",
@@ -30,7 +30,7 @@
30
30
  "dist"
31
31
  ],
32
32
  "dependencies": {
33
- "@erudit-js/core": "4.0.0-dev.5",
33
+ "@erudit-js/core": "4.1.0",
34
34
  "http-server": "^14.1.1",
35
35
  "chalk": "^5.6.2",
36
36
  "citty": "^0.2.0",