create-cubing-app 0.50.0 → 0.51.0-b

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.
@@ -5,7 +5,7 @@
5
5
  "packages": {
6
6
  "": {
7
7
  "dependencies": {
8
- "cubing": "^0.50.0"
8
+ "cubing": "^0.51.0"
9
9
  },
10
10
  "devDependencies": {
11
11
  "barely-a-dev-server": "^0.6.1"
@@ -453,9 +453,9 @@
453
453
  "integrity": "sha512-+1dlx0aY5Jo1vHy/tSsIGpSkN4tS9rZSW8FIhG0JH/crs9wwweswIo/POr451r7bZww3hFbPAKnTpimzL/mm4Q=="
454
454
  },
455
455
  "node_modules/cubing": {
456
- "version": "0.50.0",
457
- "resolved": "https://registry.npmjs.org/cubing/-/cubing-0.50.0.tgz",
458
- "integrity": "sha512-7m9zHdB1+c2PrKei4Bq+7ViAVk3OTgu91LdAvoyef/oCOTaYV9I5WrWbUzN+hHtDHIfHEOh6/TBVYhMWbaErfg==",
456
+ "version": "0.51.0",
457
+ "resolved": "https://registry.npmjs.org/cubing/-/cubing-0.51.0.tgz",
458
+ "integrity": "sha512-IdnOcQd+O9fhXqMdvatae6O0yZtrV6G1S+Zibo1DKqDEPaqpQ7n2QU+zJq9gAGjG9KsZZM0mNWaExppwTP7KWA==",
459
459
  "dependencies": {
460
460
  "@types/three": "^0.165.0",
461
461
  "@types/web-bluetooth": "^0.0.20",
@@ -7,7 +7,7 @@
7
7
  "upgrade-cubing": "npm install --save cubing@latest"
8
8
  },
9
9
  "dependencies": {
10
- "cubing": "^0.50.0"
10
+ "cubing": "^0.51.0"
11
11
  },
12
12
  "devDependencies": {
13
13
  "barely-a-dev-server": "^0.6.1"
@@ -6,6 +6,7 @@ import { join, resolve } from "node:path";
6
6
  import { exit, stderr } from "node:process";
7
7
  import { createInterface } from "node:readline";
8
8
  import { promisify } from "node:util";
9
+ import { fileURLToPath } from "node:url";
9
10
 
10
11
  const CREATE_CUBING_APP_PACKAGE_JSON = JSON.parse(
11
12
  await readFile(new URL("../package.json", import.meta.url), "utf-8"),
@@ -65,7 +66,7 @@ Please select a different name (or delete the existing project folder).
65
66
  }
66
67
  await mkdir(projectPath, { recursive: true });
67
68
 
68
- const appTemplatePath = new URL("../app-template", import.meta.url).pathname;
69
+ const appTemplatePath = fileURLToPath(new URL("../app-template", import.meta.url));
69
70
  await cp(appTemplatePath, projectPath, {
70
71
  recursive: true,
71
72
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cubing-app",
3
- "version": "0.50.0",
3
+ "version": "0.51.0-b",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "create-cubing-app": "bin/create-cubing-app.js"