@erudit-js/cli 4.1.1 → 4.2.0-dev.1
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/dist/commands/build.js +0 -6
- package/dist/inject.js +1 -1
- package/dist/shared/prepare.js +2 -2
- package/package.json +4 -4
package/dist/commands/build.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { rmSync } from 'node:fs';
|
|
2
1
|
import { defineCommand } from 'citty';
|
|
3
2
|
import { projectPathArg } from '../shared/args.js';
|
|
4
3
|
import { logProjectPath, normalizeProjectPath, retrieveProjectPath, } from '../shared/projectPath.js';
|
|
@@ -32,10 +31,5 @@ export const build = defineCommand({
|
|
|
32
31
|
NUXT_PUBLIC_ERUDIT_VERSION: version,
|
|
33
32
|
},
|
|
34
33
|
});
|
|
35
|
-
// Just fucking remove @jsprose because not a single fucking option inside Nuxt/Nitro allows NOT TO bundle it!
|
|
36
|
-
rmSync(`${absProjectPath}/.output/server/node_modules/@jsprose`, {
|
|
37
|
-
recursive: true,
|
|
38
|
-
force: true,
|
|
39
|
-
});
|
|
40
34
|
},
|
|
41
35
|
});
|
package/dist/inject.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const version = '4.
|
|
1
|
+
export const version = '4.2.0-dev.1';
|
package/dist/shared/prepare.js
CHANGED
|
@@ -66,8 +66,8 @@ export async function prepareProject({ absProjectPath, }) {
|
|
|
66
66
|
resolveJsonModule: true,
|
|
67
67
|
allowSyntheticDefaultImports: true,
|
|
68
68
|
jsx: 'react-jsx',
|
|
69
|
-
jsxImportSource: '
|
|
70
|
-
types: ['
|
|
69
|
+
jsxImportSource: 'tsprose',
|
|
70
|
+
types: ['tsprose/externals', '@erudit-js/prose/raw'],
|
|
71
71
|
lib: ['ESNext'],
|
|
72
72
|
},
|
|
73
73
|
include: [`${absProjectPath}/**/*`, `${eruditBuildPath}/**/*`],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@erudit-js/cli",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.2.0-dev.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "📟 Command Line Interface for Erudit",
|
|
6
6
|
"license": "MIT",
|
|
@@ -30,10 +30,10 @@
|
|
|
30
30
|
"dist"
|
|
31
31
|
],
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@erudit-js/core": "4.
|
|
33
|
+
"@erudit-js/core": "4.2.0-dev.1",
|
|
34
34
|
"http-server": "^14.1.1",
|
|
35
35
|
"chalk": "^5.6.2",
|
|
36
|
-
"citty": "^0.2.
|
|
37
|
-
"dotenv": "^17.
|
|
36
|
+
"citty": "^0.2.1",
|
|
37
|
+
"dotenv": "^17.3.1"
|
|
38
38
|
}
|
|
39
39
|
}
|