create-cubing-app 0.49.2 → 0.50.0

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.49.2"
8
+ "cubing": "^0.50.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.49.2",
457
- "resolved": "https://registry.npmjs.org/cubing/-/cubing-0.49.2.tgz",
458
- "integrity": "sha512-TeUEHZQBtg48DMS+XFN8xwjj+McIaDXvRmF/rquivdDDzj3HmLsTaS/xjLN2cH8XI93nhZ1TavJgFKyIln8O4g==",
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==",
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.49.2"
10
+ "cubing": "^0.50.0"
11
11
  },
12
12
  "devDependencies": {
13
13
  "barely-a-dev-server": "^0.6.1"
@@ -1,18 +1,15 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- import {barelyServe} from "barely-a-dev-server";
3
+ import { barelyServe } from "barely-a-dev-server";
4
4
 
5
5
  export const COMMON_BUILD_OPTIONS = {
6
6
  entryRoot: "./src",
7
- esbuildOptions: {chunkNames: "chunks/[name]-[hash]"}
8
- }
7
+ esbuildOptions: { chunkNames: "chunks/[name]-[hash]" },
8
+ };
9
9
 
10
10
  if (process.argv.at(-1) === "--dev") {
11
-
12
11
  barelyServe(COMMON_BUILD_OPTIONS);
13
-
14
12
  } else {
15
-
16
13
  const outDir = "./dist/web";
17
14
  await barelyServe({
18
15
  ...COMMON_BUILD_OPTIONS,
@@ -22,5 +19,5 @@ if (process.argv.at(-1) === "--dev") {
22
19
 
23
20
  console.log(`
24
21
  Your app has been built in: ${outDir}
25
- `)
22
+ `);
26
23
  }
@@ -11,7 +11,7 @@ class App {
11
11
  twistyPlayer: TwistyPlayer = document.querySelector("#main-player")!;
12
12
  // Example of creating a new element and adding it to the page.
13
13
  twistyAlgViewer = document.body.appendChild(
14
- new TwistyAlgViewer({ twistyPlayer: this.twistyPlayer })
14
+ new TwistyAlgViewer({ twistyPlayer: this.twistyPlayer }),
15
15
  );
16
16
  constructor() {
17
17
  this.updateScramble();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-cubing-app",
3
- "version": "0.49.2",
3
+ "version": "0.50.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "create-cubing-app": "bin/create-cubing-app.js"
@@ -9,9 +9,7 @@
9
9
  "node": ">=19"
10
10
  },
11
11
  "scripts": {
12
- "prepublish-only": "prepublish-only",
13
- "lint": "npx @biomejs/biome check ./bin",
14
- "format": "npx @biomejs/biome format --write ./bin"
12
+ "prepublish-only": "make prepublish-only"
15
13
  },
16
14
  "devDependencies": {
17
15
  "@biomejs/biome": "^1.8.0",