@shopify/cli 3.0.19 → 3.0.22

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,28 @@
1
1
  # @shopify/cli
2
2
 
3
+ ## 3.0.22
4
+
5
+ ### Patch Changes
6
+
7
+ - 7f32e9ac: Delete the global store when the user logs out
8
+ - Updated dependencies [7f32e9ac]
9
+ - Updated dependencies [7f32e9ac]
10
+ - @shopify/cli-kit@3.0.22
11
+
12
+ ## 3.0.21
13
+
14
+ ### Patch Changes
15
+
16
+ - Consume a new release of the extensions binary that allows setting the ngrok header
17
+ - @shopify/cli-kit@3.0.21
18
+
19
+ ## 3.0.20
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [5d422ea9]
24
+ - @shopify/cli-kit@3.0.20
25
+
3
26
  ## 3.0.19
4
27
 
5
28
  ### Patch Changes
@@ -1,9 +1,10 @@
1
1
  import { Command } from '@oclif/core';
2
- import { session, output } from '@shopify/cli-kit';
2
+ import { session, store, output } from '@shopify/cli-kit';
3
3
 
4
4
  class Logout extends Command {
5
5
  async run() {
6
6
  await session.logout();
7
+ store.remove();
7
8
  output.success("Logged out from Shopify");
8
9
  }
9
10
  }
@@ -1 +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,EAG1C,MAAM,GAAqB,GAAA;AACzB,IAAA,MAAM,QAAQ,MAAO,EAAA,CAAA;AACrB,IAAA,MAAA,CAAO,QAAQ,yBAAyB,CAAA,CAAA;AAAA,GAC1C;AACF,CAAA;AAPqB,OACZ,WAAc,GAAA,qBAAA;;;;"}
1
+ {"version":3,"file":"logout.js","sources":["../../../src/cli/commands/auth/logout.ts"],"sourcesContent":["import {Command} from '@oclif/core'\nimport {output, session, store} 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 store.remove()\n output.success('Logged out from Shopify')\n }\n}\n"],"names":[],"mappings":";;;AAGA,MAAqB,eAAe,OAAQ,CAAA;AAAA,EAG1C,MAAM,GAAqB,GAAA;AACzB,IAAA,MAAM,QAAQ,MAAO,EAAA,CAAA;AACrB,IAAA,KAAA,CAAM,MAAO,EAAA,CAAA;AACb,IAAA,MAAA,CAAO,QAAQ,yBAAyB,CAAA,CAAA;AAAA,GAC1C;AACF,CAAA;AARqB,OACZ,WAAc,GAAA,qBAAA;;;;"}
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@ import { settings, run, flush } from '@oclif/core';
2
2
  import Bugsnag from '@bugsnag/js';
3
3
  import { output, environment, error } from '@shopify/cli-kit';
4
4
 
5
- var version = "3.0.19";
5
+ var version = "3.0.22";
6
6
 
7
7
  function runCLI() {
8
8
  output.initiateLogging({ filename: "shopify.cli.log" });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/cli",
3
- "version": "3.0.19",
3
+ "version": "3.0.22",
4
4
  "private": false,
5
5
  "description": "A CLI tool to build for the Shopify platform",
6
6
  "type": "module",
@@ -52,7 +52,7 @@
52
52
  "@oclif/plugin-help": "^5.1.12",
53
53
  "@oclif/plugin-plugins": "^2.1.0",
54
54
  "@shopify/plugin-ngrok": "^0.2.9",
55
- "@shopify/cli-kit": "^3.0.19"
55
+ "@shopify/cli-kit": "^3.0.22"
56
56
  },
57
57
  "devDependencies": {
58
58
  "vitest": "^0.15.1"