@erudit-js/cli 3.0.0-dev.6 → 3.0.0-dev.7

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/dist/index.mjs +11 -2
  2. package/package.json +2 -2
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.6";
11
+ const version = "3.0.0-dev.7";
12
12
 
13
13
  function resolvePath(path) {
14
14
  path = resolvePaths(path);
@@ -200,6 +200,16 @@ async function prepare$1(projectPath, eruditPath) {
200
200
  }
201
201
  `
202
202
  );
203
+ writeFileSync(
204
+ `${eruditBuildDir}/tsconfig.json`,
205
+ JSON.stringify(
206
+ {
207
+ extends: "./nuxt/.nuxt/tsconfig.json"
208
+ },
209
+ null,
210
+ 4
211
+ )
212
+ );
203
213
  consola.success("Erudit build files ready!");
204
214
  }
205
215
 
@@ -219,7 +229,6 @@ async function spawnNuxt(command, projectPath) {
219
229
  stdio: "inherit",
220
230
  env: {
221
231
  ...process.env,
222
- //ERUDIT_PACKAGE_DIR: eruditPackagePath,
223
232
  ERUDIT_PROJECT_DIR: projectPath
224
233
  }
225
234
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erudit-js/cli",
3
- "version": "3.0.0-dev.6",
3
+ "version": "3.0.0-dev.7",
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.6",
31
+ "@erudit-js/cog": "3.0.0-dev.7",
32
32
  "chalk": "^5.4.1",
33
33
  "citty": "^0.1.6",
34
34
  "consola": "^3.4.0"