@shopify/cli 0.3.0 → 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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,36 @@
1
1
  # @shopify/cli
2
2
 
3
+ ## 0.5.2
4
+
5
+ ### Patch Changes
6
+
7
+ - Add @shopify/support and fix dependencies' setup
8
+ - Updated dependencies
9
+ - @shopify/app@0.5.2
10
+ - @shopify/core@0.5.2
11
+ - @shopify/support@0.5.2
12
+ - @shopify/theme@0.5.2
13
+
14
+ ## 0.5.1
15
+
16
+ ### Patch Changes
17
+
18
+ - Updated dependencies
19
+ - @shopify/configs@0.6.0
20
+
21
+ ## 0.5.0
22
+
23
+ ### Patch Changes
24
+
25
+ - Updated dependencies
26
+ - @shopify/@0.5.0
27
+
28
+ ## 0.4.0
29
+
30
+ ### Minor Changes
31
+
32
+ - ac955a9: Remove the Bugsnag setup from the CLI used for development purposes
33
+
3
34
  ## 0.3.0
4
35
 
5
36
  ### Minor Changes
@@ -9,9 +40,9 @@
9
40
  ### Patch Changes
10
41
 
11
42
  - Updated dependencies
12
- - @shopify/cli-theme@0.3.0
13
- - @shopify/cli-app@0.3.0
14
- - @shopify/cli-core@0.3.0
43
+ - @shopify/theme@0.3.0
44
+ - @shopify/@0.3.0
45
+ - @shopify/core@0.3.0
15
46
  - @shopify/cli-support@0.3.0
16
47
 
17
48
  ## 0.2.0
@@ -23,7 +54,7 @@
23
54
  ### Patch Changes
24
55
 
25
56
  - Updated dependencies
26
- - @shopify/cli-app@0.2.0
27
- - @shopify/cli-core@0.2.0
57
+ - @shopify/@0.2.0
58
+ - @shopify/core@0.2.0
28
59
  - @shopify/cli-support@0.2.0
29
- - @shopify/cli-theme@0.2.0
60
+ - @shopify/theme@0.2.0
package/bin/shopify-dev CHANGED
@@ -1,7 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
 
3
3
  const oclif = require('@oclif/core')
4
- const Bugsnag = require('@bugsnag/js')
5
4
 
6
5
  const path = require('path')
7
6
  const project = path.join(__dirname, '..', 'tsconfig.json')
@@ -15,8 +14,4 @@ require('ts-node').register({project})
15
14
  oclif.settings.debug = true;
16
15
 
17
16
  // Start the CLI
18
- oclif.run().then(oclif.flush).catch((error) => {
19
- return new Promise((resolve, reject) => {
20
- Bugsnag.notify(error, null, resolve);
21
- }).then(oclif.Errors.handle(error));
22
- })
17
+ oclif.run().then(oclif.flush).catch(oclif.Errors.handle)
package/dist/help.d.ts ADDED
@@ -0,0 +1,5 @@
1
+ import { Interfaces, HelpBase } from '@oclif/core';
2
+ export default class CustomHelp extends HelpBase {
3
+ showHelp(argv: string[]): Promise<void>;
4
+ showCommandHelp(command: Interfaces.Command, topics: Interfaces.Topic[]): Promise<void>;
5
+ }
package/dist/help.js ADDED
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const core_1 = require("@oclif/core");
4
+ class CustomHelp extends core_1.HelpBase {
5
+ async showHelp(argv) {
6
+ console.log(`This will be displayed in multi-command CLIs: ${argv}`);
7
+ }
8
+ async showCommandHelp(command, topics) {
9
+ console.log(`This will be displayed in single-command CLIs: ${command} ${topics}`);
10
+ }
11
+ }
12
+ exports.default = CustomHelp;
13
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uL3NyYy9oZWxwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O0FBQUEsc0NBQWlEO0FBRWpELE1BQXFCLFVBQVcsU0FBUSxlQUFRO0lBQzlDLEtBQUssQ0FBQyxRQUFRLENBQUMsSUFBYztRQUMzQixPQUFPLENBQUMsR0FBRyxDQUFDLGlEQUFpRCxJQUFJLEVBQUUsQ0FBQyxDQUFDO0lBQ3ZFLENBQUM7SUFFRCxLQUFLLENBQUMsZUFBZSxDQUNuQixPQUEyQixFQUMzQixNQUEwQjtRQUUxQixPQUFPLENBQUMsR0FBRyxDQUNULGtEQUFrRCxPQUFPLElBQUksTUFBTSxFQUFFLENBQ3RFLENBQUM7SUFDSixDQUFDO0NBQ0Y7QUFiRCw2QkFhQyJ9
package/dist/index.js CHANGED
@@ -4,4 +4,4 @@ exports.run = void 0;
4
4
  // CLI
5
5
  var core_1 = require("@oclif/core");
6
6
  Object.defineProperty(exports, "run", { enumerable: true, get: function () { return core_1.run; } });
7
- //# sourceMappingURL=index.js.map
7
+ //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsTUFBTTtBQUNOLG9DQUFnQztBQUF4QiwyRkFBQSxHQUFHLE9BQUEifQ==
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/cli",
3
- "version": "0.3.0",
3
+ "version": "0.5.2",
4
4
  "private": false,
5
5
  "description": "A CLI tool to build for the Shopify platform",
6
6
  "keywords": [
@@ -11,7 +11,7 @@
11
11
  "license": "MIT",
12
12
  "types": "dist/index.d.ts",
13
13
  "bin": {
14
- "shopify": "./bin/run"
14
+ "shopify": "./bin/shopify-run"
15
15
  },
16
16
  "files": [
17
17
  "/bin",
@@ -42,27 +42,28 @@
42
42
  "@bugsnag/js": "^7.14.1",
43
43
  "@oclif/core": "^1",
44
44
  "@oclif/plugin-help": "^5",
45
- "@shopify/cli-app": "^0.3.0",
46
- "@shopify/cli-core": "^0.3.0",
47
- "@shopify/cli-support": "^0.3.0",
48
- "@shopify/cli-theme": "^0.3.0"
45
+ "@shopify/app": "0.5.2",
46
+ "@shopify/core": "0.5.2",
47
+ "@shopify/theme": "0.5.2",
48
+ "@shopify/support": "0.5.2"
49
49
  },
50
50
  "devDependencies": {},
51
51
  "engine-strict": true,
52
52
  "engines": {
53
- "node": "^12 || ^14 || ^16"
53
+ "node": ">=12.0.0"
54
54
  },
55
55
  "os": [
56
56
  "darwin",
57
57
  "linux",
58
58
  "win32"
59
59
  ],
60
- "oclif": {
60
+ "otheme": {
61
61
  "bin": "shopify",
62
+ "helpClass": "./src/help",
62
63
  "plugins": [
63
64
  "@oclif/plugin-help",
64
- "@shopify/cli-theme",
65
- "@shopify/cli-app"
65
+ "@shopify/theme",
66
+ "@shopify/app"
66
67
  ],
67
68
  "topicSeparator": " ",
68
69
  "topics": {
package/dist/index.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,MAAM;AACN,oCAAgC;AAAxB,2FAAA,GAAG,OAAA"}