@shopify/cli 2.0.1 → 2.0.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,15 @@
1
1
  # @shopify/cli
2
2
 
3
+ ## 2.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 70d8d50d: Use ngrok from plugin with --tunnel flag
8
+ - c6a9450b: Add support to scaffold function extensions
9
+ - Updated dependencies [c6a9450b]
10
+ - Updated dependencies [70d8d50d]
11
+ - @shopify/cli-kit@2.0.2
12
+
3
13
  ## 2.0.1
4
14
 
5
15
  ### 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.2",
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.2",
55
+ "@shopify/plugin-ngrok": "^0.2.3"
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": [