create-cubing-app 0.35.6-rc21 → 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 +4 -6
- package/bin/create-cubing-app.js +2 -2
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# `cubing-app
|
|
1
|
+
# `create-cubing-app`
|
|
2
2
|
|
|
3
|
-
This is a
|
|
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
|
-
|
|
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
|
-
|
|
14
|
+
cd my-cubing-project
|
|
17
15
|
npm run dev
|
|
18
16
|
```
|
|
19
17
|
|
package/bin/create-cubing-app.js
CHANGED
|
@@ -63,7 +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 cubing@latest",
|
|
66
|
+
"upgrade-cubing": "npm install --save cubing@latest",
|
|
67
67
|
},
|
|
68
68
|
};
|
|
69
69
|
await writeFile(
|
|
@@ -108,5 +108,5 @@ To create an optimized build of your app that can be uploaded to a file server,
|
|
|
108
108
|
|
|
109
109
|
When a new version of \`cubing.js\` is released in the future, you can upgrade using:
|
|
110
110
|
|
|
111
|
-
npm install cubing@latest
|
|
111
|
+
npm install --save cubing@latest
|
|
112
112
|
`);
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-cubing-app",
|
|
3
|
-
"version": "0.35.6-
|
|
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 cubing@latest",
|
|
9
|
+
"upgrade-cubing": "npm install --save cubing@latest",
|
|
10
10
|
"clean": "rm -rf ./dist"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|