@shopify/create-app 0.12.0 → 0.16.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.
- package/CHANGELOG.md +24 -0
- package/bin/run.cmd +3 -0
- package/bin/run.js +5 -0
- package/dist/commands/init.js +55343 -142
- package/dist/commands/init.js.map +1 -0
- package/dist/index.js +48901 -115
- package/dist/index.js.map +1 -0
- package/package.json +18 -15
- package/templates/app/README.md +2 -4
- package/templates/app/package.json +4 -3
- package/bin/create-app-run.cmd +0 -3
- package/bin/create-app-run.js +0 -5
- package/bin/dev +0 -9
package/package.json
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shopify/create-app",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A CLI tool to create a new Shopify app.",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "src/index.js",
|
|
8
8
|
"module": "src/index.js",
|
|
9
|
-
"exports": {
|
|
10
|
-
".": "./src/index.js"
|
|
11
|
-
},
|
|
12
9
|
"keywords": [
|
|
13
10
|
"shopify",
|
|
14
11
|
"shopify-cli",
|
|
@@ -16,15 +13,20 @@
|
|
|
16
13
|
"shopify-apps"
|
|
17
14
|
],
|
|
18
15
|
"license": "MIT",
|
|
19
|
-
"
|
|
16
|
+
"exports": {
|
|
17
|
+
".": {
|
|
18
|
+
"import": "./dist/index.js",
|
|
19
|
+
"types": "./dist/index.d.ts"
|
|
20
|
+
}
|
|
21
|
+
},
|
|
20
22
|
"bin": {
|
|
21
|
-
"create-app": "./bin/
|
|
23
|
+
"create-app": "./bin/run.js"
|
|
22
24
|
},
|
|
23
25
|
"files": [
|
|
24
|
-
"/bin",
|
|
26
|
+
"/bin/run.js",
|
|
27
|
+
"/bin/run.cmd",
|
|
25
28
|
"/dist",
|
|
26
29
|
"templates",
|
|
27
|
-
"/npm-shrinkwrap.json",
|
|
28
30
|
"/oclif.manifest.json"
|
|
29
31
|
],
|
|
30
32
|
"publishConfig": {
|
|
@@ -33,13 +35,13 @@
|
|
|
33
35
|
},
|
|
34
36
|
"scripts": {
|
|
35
37
|
"clean": "shx rm -rf dist",
|
|
36
|
-
"build": "
|
|
38
|
+
"build": "rollup -c",
|
|
37
39
|
"prepack": "cross-env NODE_ENV=production yarn run build",
|
|
38
|
-
"lint": "prettier -c src/** && eslint src
|
|
39
|
-
"lint:fix": "prettier src/** && eslint src
|
|
40
|
-
"test": "
|
|
40
|
+
"lint": "prettier -c src/** && eslint src/**/*.ts",
|
|
41
|
+
"lint:fix": "prettier -w src/** && eslint src/**/*.ts --fix",
|
|
42
|
+
"test": "vitest run",
|
|
41
43
|
"test:watch": "vitest watch",
|
|
42
|
-
"tsc": "tsc
|
|
44
|
+
"tsc": "tsc --noEmit"
|
|
43
45
|
},
|
|
44
46
|
"eslintConfig": {
|
|
45
47
|
"extends": [
|
|
@@ -48,11 +50,12 @@
|
|
|
48
50
|
},
|
|
49
51
|
"dependencies": {
|
|
50
52
|
"@bugsnag/js": "^7.14.1",
|
|
51
|
-
"@oclif/core": "
|
|
53
|
+
"@oclif/core": "1.3.3",
|
|
54
|
+
"@oclif/plugin-help": "^5.1.11"
|
|
52
55
|
},
|
|
53
56
|
"engine-strict": true,
|
|
54
57
|
"engines": {
|
|
55
|
-
"node": "^
|
|
58
|
+
"node": "^14.13.1 || ^16.0.0 || ^17.0.0"
|
|
56
59
|
},
|
|
57
60
|
"os": [
|
|
58
61
|
"darwin",
|
package/templates/app/README.md
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
# {{ name }}
|
|
2
2
|
|
|
3
|
-
{{description}}
|
|
4
|
-
|
|
5
3
|
## Set up
|
|
6
4
|
|
|
7
5
|
1. Clone the repository.
|
|
8
|
-
2. Install dependencies: `
|
|
9
|
-
3. Build with `
|
|
6
|
+
2. Install dependencies: `{{dependencyManager}} install`.
|
|
7
|
+
3. Build with `{{dependencyManager}} build`
|
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "{{name}}",
|
|
3
3
|
"version": "0.1.0",
|
|
4
|
-
"description": "{{description}}",
|
|
5
4
|
"main": "home/index.js",
|
|
6
5
|
"scripts": {
|
|
6
|
+
"shopify": "shopify",
|
|
7
7
|
"build": "shopify app build",
|
|
8
8
|
"dev": "shopify app dev",
|
|
9
9
|
"test": "shopify app test",
|
|
10
10
|
"push": "shopify app push"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@shopify/cli": "{{shopify_cli_version}}"
|
|
13
|
+
"@shopify/cli": "{{shopify_cli_version}}",
|
|
14
|
+
"@shopify/app": "{{shopify_app_version}}",
|
|
15
|
+
"react": "17.0.2"
|
|
14
16
|
},
|
|
15
|
-
"devDependencies": {},
|
|
16
17
|
"author": "{{author}}"
|
|
17
18
|
}
|
package/bin/create-app-run.cmd
DELETED
package/bin/create-app-run.js
DELETED