@shopify/create-app 0.14.0 → 0.18.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/package.json CHANGED
@@ -1,14 +1,11 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "0.14.0",
3
+ "version": "0.18.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
- "types": "dist/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "import": "./dist/index.js",
19
+ "types": "./dist/index.d.ts"
20
+ }
21
+ },
20
22
  "bin": {
21
- "create-app": "./bin/create-app-run.js"
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": "shx rm -rf dist && rollup -c",
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/** --fix",
40
- "test": "shx rm -rf dist && vitest run",
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 -b"
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": "0.5.10"
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": "^12.20.0 || ^14.13.1 || >=16.0.0"
58
+ "node": "^14.13.1 || ^16.0.0 || ^17.0.0"
56
59
  },
57
60
  "os": [
58
61
  "darwin",
@@ -10,8 +10,9 @@
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
  }
@@ -1,3 +0,0 @@
1
- @echo off
2
-
3
- node "%~dp0\create-app-run.js" %*
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- import runCreateApp from "../dist/index.js"
4
-
5
- runCreateApp();
package/bin/dev DELETED
@@ -1,9 +0,0 @@
1
- #!/usr/bin/env bash
2
- set -e
3
-
4
- DIRECTORY=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
5
-
6
- echo "Building..."
7
- yarn --cwd $DIRECTORY/.. build &> /dev/null
8
-
9
- $DIRECTORY/create-app-run.js $@