@shopify/create-app 0.1.6 → 0.5.2

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.
Files changed (4) hide show
  1. package/CHANGELOG.md +37 -0
  2. package/bin/run +10 -1
  3. package/package.json +10 -9
  4. package/LICENSE +0 -10
package/CHANGELOG.md ADDED
@@ -0,0 +1,37 @@
1
+ # @shopify/create-app
2
+
3
+ ## 0.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Add @shopify/support and fix dependencies' setup
8
+ - Updated dependencies
9
+ - @shopify/support@0.5.2
10
+
11
+ ## 0.4.0
12
+
13
+ ### Minor Changes
14
+
15
+ - ac955a9: Add Bugsnag to @shopify/create-app
16
+
17
+ ## 0.3.0
18
+
19
+ ### Minor Changes
20
+
21
+ - Draft the CLI interface
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+ - @shopify/cli-support@0.3.0
27
+
28
+ ## 0.2.0
29
+
30
+ ### Minor Changes
31
+
32
+ - Move from Lerna to changeset
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies
37
+ - @shopify/cli-support@0.2.0
package/bin/run CHANGED
@@ -5,5 +5,14 @@ if (!process.argv.includes("init")) {
5
5
  }
6
6
 
7
7
  const oclif = require('@oclif/core')
8
+ const Bugsnag = require('@bugsnag/js')
8
9
 
9
- oclif.run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle'))
10
+ // Set up error tracking
11
+ Bugsnag.start({apiKey: "9e1e6889176fd0c795d5c659225e0fae", logger: null})
12
+
13
+ // Start the CLI
14
+ oclif.run().then(require('@oclif/core/flush')).catch((error) => {
15
+ return new Promise((resolve, reject) => {
16
+ Bugsnag.notify(error, null, resolve);
17
+ }).then(oclif.Errors.handle(error));
18
+ })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/create-app",
3
- "version": "0.1.6",
3
+ "version": "0.5.2",
4
4
  "private": false,
5
5
  "description": "A CLI tool to create a new Shopify app.",
6
6
  "keywords": [
@@ -25,13 +25,14 @@
25
25
  "@shopify:registry": "https://registry.npmjs.org"
26
26
  },
27
27
  "scripts": {
28
- "build": "shx rm -rf dist && tsc",
29
- "build:watch": "tsc --watch",
28
+ "build": "shx rm -rf dist && tsc -b",
29
+ "build:watch": "tsc -b --watch",
30
+ "prepublishOnly": "yarn run build",
30
31
  "lint": "prettier -c src/** && eslint src/**",
31
32
  "lint:fix": "prettier src/** && eslint src/** --fix",
32
33
  "test": "jest",
33
34
  "test:watch": "jest --watch",
34
- "tsc": "tsc --noEmit"
35
+ "tsc": "tsc -b --incremental"
35
36
  },
36
37
  "eslintConfig": {
37
38
  "extends": [
@@ -39,20 +40,21 @@
39
40
  ]
40
41
  },
41
42
  "dependencies": {
43
+ "@bugsnag/js": "^7.14.1",
42
44
  "@oclif/command": "^1",
43
45
  "@oclif/core": "^1",
44
46
  "@oclif/plugin-help": "^5",
45
47
  "@oclif/plugin-plugins": "^2.0.1",
46
- "@shopify/cli-support": "^0.1.3",
47
48
  "@types/listr": "^0.14.4",
48
- "listr": "^0.14.3"
49
+ "listr": "^0.14.3",
50
+ "@shopify/support": "0.5.2"
49
51
  },
50
52
  "devDependencies": {
51
53
  "@oclif/test": "^2"
52
54
  },
53
55
  "engine-strict": true,
54
56
  "engines": {
55
- "node": "^12 || ^14 || ^16"
57
+ "node": ">=12.0.0"
56
58
  },
57
59
  "os": [
58
60
  "darwin",
@@ -64,6 +66,5 @@
64
66
  "commands": "./dist/commands",
65
67
  "plugins": [],
66
68
  "topicSeparator": " "
67
- },
68
- "gitHead": "cc55060fb1522229a20604ec946282f979936847"
69
+ }
69
70
  }
package/LICENSE DELETED
@@ -1,10 +0,0 @@
1
- Copyright 2019-present, Shopify Inc.
2
-
3
- Contains code from rack, Copyright (C) 2007-2019 Leah Neukirchen <http://leahneukirchen.org/infopage.html>
4
- Contains code from rack-proxy, Copyright (c) 2013 Jacek Becela jacek.becela@gmail.com
5
- ​​
6
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7
-
8
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9
-
10
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.