create-cubing-app 0.35.6-rc20 → 0.35.6-rc22

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.
package/README.md CHANGED
@@ -1,6 +1,6 @@
1
- # `cubing-app-template`
1
+ # `create-cubing-app`
2
2
 
3
- This is a template project for project using [`cubing.js`](https://github.com/cubing/cubing.js) with `node` and `npm`. In an editor like VSCode, this will give you nice imports, autocompletions, and other TypeScript benefits.
3
+ This is a tool to initialize for apps using [`cubing.js`](https://github.com/cubing/cubing.js) with `node` and `npm`. In an editor like VSCode, this will give you nice imports, autocompletions, and other TypeScript benefits.
4
4
 
5
5
  See <https://js.cubing.net/cubing/> for (in-progress) documentation on `cubing.js`. If you think you have any issues, don't hesitate to [file an issue here](https://github.com/cubing/cubing.js/issues/new/choose).
6
6
 
@@ -9,11 +9,9 @@ See <https://js.cubing.net/cubing/> for (in-progress) documentation on `cubing.j
9
9
  Make sure `node` is installed first (which will also install `npm`): <https://nodejs.org/en/download/>
10
10
 
11
11
  ```shell
12
- # Set up the project for the first time
13
- git clone https://github.com/cubing/cubing-app-template my-app && cd my-app
14
- npm install
12
+ npm create cubing-app my-cubing-project
15
13
 
16
- # Start working on the project at http://localhost:1234
14
+ cd my-cubing-project
17
15
  npm run dev
18
16
  ```
19
17
 
@@ -63,6 +63,7 @@ const initialPackageJSON = {
63
63
  "node -e 'import(\"barely-a-dev-server\").then(s => s.barelyServe({entryRoot: \"src\", dev: false, outDir: \"dist/web\"}))' && echo '' && echo 'Your app has been built in: ./dist/web' && echo ''",
64
64
  dev: 'node -e \'import("barely-a-dev-server").then(s => s.barelyServe({entryRoot: "src"}))\'',
65
65
  clean: "rm -rf ./dist",
66
+ "upgrade-cubing": "npm install --save cubing@latest",
66
67
  },
67
68
  };
68
69
  await writeFile(
@@ -107,5 +108,5 @@ To create an optimized build of your app that can be uploaded to a file server,
107
108
 
108
109
  When a new version of \`cubing.js\` is released in the future, you can upgrade using:
109
110
 
110
- npm install cubing@latest
111
+ npm install --save cubing@latest
111
112
  `);
package/package.json CHANGED
@@ -1,11 +1,12 @@
1
1
  {
2
2
  "name": "create-cubing-app",
3
- "version": "0.35.6-rc20",
3
+ "version": "0.35.6-rc22",
4
4
  "type": "module",
5
5
  "bin": "./bin/create-cubing-app.js",
6
6
  "scripts": {
7
7
  "build": "node -e 'import(\"barely-a-dev-server\").then(s => s.barelyServe({entryRoot: \"./src\", dev: false, outDir: \"dist/web\"}))' && echo '' && echo 'Your app has been built in: ./dist/web' && echo ''",
8
8
  "dev": "node -e 'import(\"barely-a-dev-server\").then(s => s.barelyServe({entryRoot: \"./src\"}))'",
9
+ "upgrade-cubing": "npm install --save cubing@latest",
9
10
  "clean": "rm -rf ./dist"
10
11
  },
11
12
  "dependencies": {