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

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 +2 -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.16";
11
+ const version = "3.0.0-dev.17";
12
12
 
13
13
  function resolvePath(path) {
14
14
  path = resolvePaths(path);
@@ -193,7 +193,7 @@ async function prepare$1({
193
193
  const eruditBuildDir = `${projectPath}/.erudit`;
194
194
  const distDir = `${projectPath}/dist`;
195
195
  const nodeModules = `${projectPath}/node_modules`;
196
- const nodeModulesErudit = `${nodeModules}/erudit`;
196
+ const nodeModulesErudit = eruditPath === "erudit" ? `${nodeModules}/erudit` : eruditPath;
197
197
  if (existsSync(nodeModulesErudit)) {
198
198
  consola.start("Resolving aliases in dependencies...");
199
199
  await alias2Relative(nodeModulesErudit, nodeModulesErudit);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erudit-js/cli",
3
- "version": "3.0.0-dev.16",
3
+ "version": "3.0.0-dev.17",
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.16",
31
+ "@erudit-js/cog": "3.0.0-dev.17",
32
32
  "chalk": "^5.4.1",
33
33
  "citty": "^0.1.6",
34
34
  "consola": "^3.4.0"