@erudit-js/cli 3.0.0-dev.15 → 3.0.0-dev.16

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,12 +1,12 @@
1
- # 📟 Erudit CLI
2
-
3
- Command Line Interface for [Erudit](https://github.com/erudit-js/erudit).
4
-
5
- CLI is accessible via `erudit` or `erudit-cli` commands.
6
-
7
- ## Commands
8
-
9
- - `init`
10
- - `dev`
11
- - `build`
12
- - `preview`
1
+ # 📟 Erudit CLI
2
+
3
+ Command Line Interface for [Erudit](https://github.com/erudit-js/erudit).
4
+
5
+ CLI is accessible via `erudit` or `erudit-cli` commands.
6
+
7
+ ## Commands
8
+
9
+ - `init`
10
+ - `dev`
11
+ - `build`
12
+ - `preview`
@@ -1,5 +1,5 @@
1
- #!/usr/bin/env node
2
-
3
- import { run } from '../dist/index.mjs';
4
-
5
- run();
1
+ #!/usr/bin/env node
2
+
3
+ import { run } from '../dist/index.mjs';
4
+
5
+ run();
package/dist/index.mjs CHANGED
@@ -8,7 +8,7 @@ import * as fs from 'node:fs/promises';
8
8
  import * as path from 'node:path';
9
9
  import { spawn } from 'node:child_process';
10
10
 
11
- const version = "3.0.0-dev.15";
11
+ const version = "3.0.0-dev.16";
12
12
 
13
13
  function resolvePath(path) {
14
14
  path = resolvePaths(path);
@@ -226,7 +226,13 @@ async function prepare$1({
226
226
  `${eruditBuildDir}/tsconfig.json`,
227
227
  JSON.stringify(
228
228
  {
229
- extends: "./nuxt/.nuxt/tsconfig.json"
229
+ extends: "./nuxt/.nuxt/tsconfig.json",
230
+ compilerOptions: {
231
+ paths: {
232
+ "#project/*": [`${projectPath}/*`],
233
+ "#content/*": [`${projectPath}/content/*`]
234
+ }
235
+ }
230
236
  },
231
237
  null,
232
238
  4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erudit-js/cli",
3
- "version": "3.0.0-dev.15",
3
+ "version": "3.0.0-dev.16",
4
4
  "type": "module",
5
5
  "description": "📟 Command Line Interface for Erudit",
6
6
  "license": "MIT",
@@ -28,7 +28,7 @@
28
28
  "dist"
29
29
  ],
30
30
  "dependencies": {
31
- "@erudit-js/cog": "3.0.0-dev.15",
31
+ "@erudit-js/cog": "3.0.0-dev.16",
32
32
  "chalk": "^5.4.1",
33
33
  "citty": "^0.1.6",
34
34
  "consola": "^3.4.0"