@erudit-js/cli 3.0.0-dev.27 → 3.0.0-dev.28

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.
@@ -1,3 +1,4 @@
1
+ import { rmSync } from 'node:fs';
1
2
  import consola from 'consola';
2
3
  import { defineCommand } from 'citty';
3
4
  import { contentTargetsArg, eruditPathArg, nitroPresetArg, projectPathArg, resolveArgPaths, } from '../shared/args.js';
@@ -33,5 +34,10 @@ export const build = defineCommand({
33
34
  (args.preset ? ` --preset ${args.preset}` : '');
34
35
  consola.start('Starting Nuxt build...');
35
36
  await spawnNuxt('build', projectPath, restParams);
37
+ // Just fucking remove @jsprose because not a single fucking option inside Nuxt/Nitro allows NOT TO bundle it!
38
+ rmSync(`${projectPath}/.output/server/node_modules/@jsprose`, {
39
+ recursive: true,
40
+ force: true,
41
+ });
36
42
  },
37
43
  });
@@ -12,7 +12,7 @@ export const main = defineCommand({
12
12
  meta: {
13
13
  name: 'Erudit CLI',
14
14
  description: 'Command Line Interface for Erudit!',
15
- version: '3.0.0-dev.27',
15
+ version: '3.0.0-dev.28',
16
16
  },
17
17
  subCommands: {
18
18
  init,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erudit-js/cli",
3
- "version": "3.0.0-dev.27",
3
+ "version": "3.0.0-dev.28",
4
4
  "type": "module",
5
5
  "description": "📟 Command Line Interface for Erudit",
6
6
  "license": "MIT",
@@ -32,7 +32,7 @@
32
32
  "dist"
33
33
  ],
34
34
  "dependencies": {
35
- "@erudit-js/core": "3.0.0-dev.27",
35
+ "@erudit-js/core": "3.0.0-dev.28",
36
36
  "chalk": "^5.6.2",
37
37
  "citty": "^0.1.6",
38
38
  "consola": "^3.4.2"