@cedarjs/cli 1.0.0-canary.13060 → 1.0.0-canary.13062

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.
@@ -577,7 +577,7 @@ async function runPreUpgradeScripts(ctx, task, { verbose, force }) {
577
577
  // realpath: https://github.com/e18e/ecosystem-issues/issues/168
578
578
  path.join(fs.realpathSync(os.tmpdir()), "cedar-upgrade-")
579
579
  );
580
- const scriptPath = path.join(tempDir, "script.ts");
580
+ const scriptPath = path.join(tempDir, "script.mts");
581
581
  const isDirectoryScript = scriptName.includes("/");
582
582
  if (isDirectoryScript) {
583
583
  const dirName = scriptName.split("/")[0];
@@ -646,14 +646,14 @@ async function runPreUpgradeScripts(ctx, task, { verbose, force }) {
646
646
  dependencies: {}
647
647
  })
648
648
  );
649
- await execa("yarn", ["add", ...deps], { cwd: tempDir });
649
+ await execa("npm", ["install", ...deps], { cwd: tempDir });
650
650
  }
651
651
  task.output = `Running pre-upgrade script: ${scriptName}...`;
652
652
  let shouldCleanup = true;
653
653
  try {
654
654
  const { stdout } = await execa(
655
655
  "node",
656
- ["script.ts", "--verbose", verbose, "--force", force],
656
+ ["script.mts", "--verbose", verbose, "--force", force],
657
657
  { cwd: tempDir }
658
658
  );
659
659
  if (stdout) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cedarjs/cli",
3
- "version": "1.0.0-canary.13060+6c50d6669",
3
+ "version": "1.0.0-canary.13062+bfee639dd",
4
4
  "description": "The CedarJS Command Line",
5
5
  "repository": {
6
6
  "type": "git",
@@ -31,15 +31,15 @@
31
31
  "dependencies": {
32
32
  "@babel/preset-typescript": "7.28.5",
33
33
  "@babel/runtime-corejs3": "7.28.4",
34
- "@cedarjs/api-server": "1.0.0-canary.13060",
35
- "@cedarjs/cli-helpers": "1.0.0-canary.13060",
36
- "@cedarjs/fastify-web": "1.0.0-canary.13060",
37
- "@cedarjs/internal": "1.0.0-canary.13060",
38
- "@cedarjs/prerender": "1.0.0-canary.13060",
39
- "@cedarjs/project-config": "1.0.0-canary.13060",
40
- "@cedarjs/structure": "1.0.0-canary.13060",
41
- "@cedarjs/telemetry": "1.0.0-canary.13060",
42
- "@cedarjs/web-server": "1.0.0-canary.13060",
34
+ "@cedarjs/api-server": "1.0.0-canary.13062",
35
+ "@cedarjs/cli-helpers": "1.0.0-canary.13062",
36
+ "@cedarjs/fastify-web": "1.0.0-canary.13062",
37
+ "@cedarjs/internal": "1.0.0-canary.13062",
38
+ "@cedarjs/prerender": "1.0.0-canary.13062",
39
+ "@cedarjs/project-config": "1.0.0-canary.13062",
40
+ "@cedarjs/structure": "1.0.0-canary.13062",
41
+ "@cedarjs/telemetry": "1.0.0-canary.13062",
42
+ "@cedarjs/web-server": "1.0.0-canary.13062",
43
43
  "@listr2/prompt-adapter-enquirer": "2.0.16",
44
44
  "@opentelemetry/api": "1.8.0",
45
45
  "@opentelemetry/core": "1.22.0",
@@ -79,7 +79,7 @@
79
79
  "semver": "7.7.3",
80
80
  "smol-toml": "1.6.0",
81
81
  "string-env-interpolation": "1.0.1",
82
- "systeminformation": "5.27.17",
82
+ "systeminformation": "5.28.0",
83
83
  "termi-link": "1.1.0",
84
84
  "title-case": "3.0.3",
85
85
  "unionfs": "4.6.0",
@@ -101,5 +101,5 @@
101
101
  "publishConfig": {
102
102
  "access": "public"
103
103
  },
104
- "gitHead": "6c50d6669463a18fd4b4978f9e5c4e293555ebc4"
104
+ "gitHead": "bfee639ddb273d138b35056f6274ffcbbd9309d2"
105
105
  }