@shopify/cli 2.0.1 → 2.0.5

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,33 @@
1
1
  # @shopify/cli
2
2
 
3
+ ## 2.0.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [56b31022]
8
+ - @shopify/cli-kit@2.0.5
9
+
10
+ ## 2.0.3
11
+
12
+ ### Patch Changes
13
+
14
+ - 8421ec9e: Enable creation of checkout-ui extensions
15
+ - Updated dependencies [30daa213]
16
+ - Updated dependencies [07bcb005]
17
+ - Updated dependencies [ba003f7b]
18
+ - Updated dependencies [b00ac480]
19
+ - @shopify/cli-kit@2.0.3
20
+
21
+ ## 2.0.2
22
+
23
+ ### Patch Changes
24
+
25
+ - 70d8d50d: Use ngrok from plugin with --tunnel flag
26
+ - c6a9450b: Add support to scaffold function extensions
27
+ - Updated dependencies [c6a9450b]
28
+ - Updated dependencies [70d8d50d]
29
+ - @shopify/cli-kit@2.0.2
30
+
3
31
  ## 2.0.1
4
32
 
5
33
  ### Patch Changes
@@ -0,0 +1,13 @@
1
+ import { Command } from '@oclif/core';
2
+ import { session, output } from '@shopify/cli-kit';
3
+
4
+ class Logout extends Command {
5
+ async run() {
6
+ await session.logout();
7
+ output.success("Logged out from Shopify");
8
+ }
9
+ }
10
+ Logout.description = "Logout from Shopify";
11
+
12
+ export { Logout as default };
13
+ //# sourceMappingURL=logout.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logout.js","sources":["../../../src/cli/commands/auth/logout.ts"],"sourcesContent":["import {Command} from '@oclif/core'\nimport {output, session} from '@shopify/cli-kit'\n\nexport default class Logout extends Command {\n static description = 'Logout from Shopify'\n\n async run(): Promise<void> {\n await session.logout()\n output.success('Logged out from Shopify')\n }\n}\n"],"names":[],"mappings":";;;AAGA,MAAqB,eAAe,OAAQ,CAAA;AAAA,EAAA,MAGpC,GAAqB,GAAA;AACzB,IAAA,MAAM,QAAQ,MAAO,EAAA,CAAA;AACrB,IAAA,MAAA,CAAO,QAAQ,yBAAyB,CAAA,CAAA;AAAA,GAC1C;AACF,CAAA;AAPA,OACS,WAAc,GAAA,qBAAA;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/cli",
3
- "version": "2.0.1",
3
+ "version": "2.0.5",
4
4
  "private": false,
5
5
  "description": "A CLI tool to build for the Shopify platform",
6
6
  "type": "module",
@@ -48,13 +48,14 @@
48
48
  },
49
49
  "dependencies": {
50
50
  "@bugsnag/js": "^7.16.2",
51
- "@oclif/core": "1.6.4",
51
+ "@oclif/core": "1.7.0",
52
52
  "@oclif/plugin-help": "^5.1.12",
53
53
  "@oclif/plugin-plugins": "^2.1.0",
54
- "@shopify/cli-kit": "2.0.1"
54
+ "@shopify/cli-kit": "2.0.5",
55
+ "@shopify/plugin-ngrok": "^0.2.4"
55
56
  },
56
57
  "devDependencies": {
57
- "vitest": "0.9.4"
58
+ "vitest": "0.10.0"
58
59
  },
59
60
  "engine-strict": true,
60
61
  "engines": {
@@ -73,8 +74,10 @@
73
74
  "@shopify/theme",
74
75
  "@shopify/cli-hydrogen",
75
76
  "@oclif/plugin-help",
76
- "@oclif/plugin-plugins"
77
+ "@oclif/plugin-plugins",
78
+ "@shopify/plugin-ngrok"
77
79
  ],
80
+ "scope": "shopify",
78
81
  "topicSeparator": " ",
79
82
  "topics": {
80
83
  "hydrogen": {
@@ -85,6 +88,9 @@
85
88
  },
86
89
  "app": {
87
90
  "description": "Build Shopify apps"
91
+ },
92
+ "auth": {
93
+ "description": "Auth operations"
88
94
  }
89
95
  },
90
96
  "additionalHelpFlags": [