@shopify/cli 3.0.9 → 3.0.12

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,34 @@
1
1
  # @shopify/cli
2
2
 
3
+ ## 3.0.12
4
+
5
+ ### Patch Changes
6
+
7
+ - 11d09f7f: Encourage upgrading if not up-to-date
8
+ - 89a48ba9: Report analytics for every command to Monorail
9
+ - Updated dependencies [e05749dc]
10
+ - Updated dependencies [89a48ba9]
11
+ - Updated dependencies [1f45ddc4]
12
+ - Updated dependencies [8c690cca]
13
+ - Updated dependencies [11d09f7f]
14
+ - Updated dependencies [783a3714]
15
+ - Updated dependencies [e12c82b3]
16
+ - Updated dependencies [cb8e2c25]
17
+ - @shopify/cli-kit@3.0.12
18
+
19
+ ## 3.0.11
20
+
21
+ ### Patch Changes
22
+
23
+ - Updated dependencies [1f10093b]
24
+ - @shopify/cli-kit@3.0.11
25
+
26
+ ## 3.0.10
27
+
28
+ ### Patch Changes
29
+
30
+ - @shopify/cli-kit@3.0.10
31
+
3
32
  ## 3.0.9
4
33
 
5
34
  ### Patch Changes
@@ -0,0 +1,23 @@
1
+ import { Command } from '@oclif/core';
2
+ import { output, dependency } from '@shopify/cli-kit';
3
+
4
+ const _Version = class extends Command {
5
+ async run() {
6
+ const cliDependency = "@shopify/cli";
7
+ const currentVersion = this.getCurrentVersion();
8
+ output.info(output.content`Current ${_Version.description}: ${output.token.yellow(currentVersion)}`.value);
9
+ const lastVersion = await dependency.checkForNewVersion(cliDependency, currentVersion);
10
+ if (lastVersion) {
11
+ output.info(output.content` Latest ${_Version.description}: ${output.token.yellow(lastVersion)}\nšŸ’”`);
12
+ output.info(dependency.getOutputUpdateCLIReminder(dependency.dependencyManagerUsedForCreating(), [cliDependency]));
13
+ }
14
+ }
15
+ getCurrentVersion() {
16
+ return this.config.version;
17
+ }
18
+ };
19
+ let Version = _Version;
20
+ Version.description = "Shopify CLI version";
21
+
22
+ export { Version as default };
23
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sources":["../../src/cli/commands/version.ts"],"sourcesContent":["import {Command} from '@oclif/core'\nimport {output, dependency} from '@shopify/cli-kit'\n\nexport default class Version extends Command {\n static description = 'Shopify CLI version'\n\n async run(): Promise<void> {\n const cliDependency = '@shopify/cli'\n const currentVersion = this.getCurrentVersion()\n output.info(output.content`Current ${Version.description}: ${output.token.yellow(currentVersion)}`.value)\n const lastVersion = await dependency.checkForNewVersion(cliDependency, currentVersion)\n if (lastVersion) {\n output.info(output.content` Latest ${Version.description}: ${output.token.yellow(lastVersion)}\\nšŸ’”`)\n output.info(dependency.getOutputUpdateCLIReminder(dependency.dependencyManagerUsedForCreating(), [cliDependency]))\n }\n }\n\n getCurrentVersion(): string {\n return this.config.version\n }\n}\n"],"names":[],"mappings":";;;AAGA,MAAqB,QAAA,GAArB,cAAqC,OAAQ,CAAA;AAAA,EAG3C,MAAM,GAAqB,GAAA;AACzB,IAAA,MAAM,aAAgB,GAAA,cAAA,CAAA;AACtB,IAAM,MAAA,cAAA,GAAiB,KAAK,iBAAkB,EAAA,CAAA;AAC9C,IAAO,MAAA,CAAA,IAAA,CAAK,MAAO,CAAA,OAAA,CAAA,QAAA,EAAkB,QAAQ,CAAA,WAAA,CAAA,EAAA,EAAgB,OAAO,KAAM,CAAA,MAAA,CAAO,cAAc,CAAA,CAAA,CAAA,CAAI,KAAK,CAAA,CAAA;AACxG,IAAA,MAAM,WAAc,GAAA,MAAM,UAAW,CAAA,kBAAA,CAAmB,eAAe,cAAc,CAAA,CAAA;AACrF,IAAA,IAAI,WAAa,EAAA;AACf,MAAO,MAAA,CAAA,IAAA,CAAK,OAAO,OAAkB,CAAA,QAAA,EAAA,QAAA,CAAQ,gBAAgB,MAAO,CAAA,KAAA,CAAM,MAAO,CAAA,WAAW,CAAO,CAAA,IAAA,CAAA,CAAA,CAAA;AACnG,MAAO,MAAA,CAAA,IAAA,CAAK,WAAW,0BAA2B,CAAA,UAAA,CAAW,kCAAoC,EAAA,CAAC,aAAa,CAAC,CAAC,CAAA,CAAA;AAAA,KACnH;AAAA,GACF;AAAA,EAEA,iBAA4B,GAAA;AAC1B,IAAA,OAAO,KAAK,MAAO,CAAA,OAAA,CAAA;AAAA,GACrB;AACF,CAAA,CAAA;AAjBA,IAAqB,OAArB,GAAA,SAAA;AAAqB,QACZ,WAAc,GAAA,qBAAA;;;;"}
@@ -0,0 +1,21 @@
1
+ import { reportEvent } from '../services/monorail.js';
2
+ import { environment, output } from '@shopify/cli-kit';
3
+
4
+ const hook = async (options) => {
5
+ try {
6
+ if (environment.local.isDebug() || environment.local.analyticsDisabled()) {
7
+ return;
8
+ }
9
+ const command = options.Command.id.replace(/:/g, " ");
10
+ await reportEvent(command, options.argv);
11
+ } catch (error) {
12
+ const message = "Failed to report usage analytics";
13
+ if (error instanceof Error) {
14
+ message.concat(`: ${error.message}`);
15
+ }
16
+ output.debug(message);
17
+ }
18
+ };
19
+
20
+ export { hook };
21
+ //# sourceMappingURL=monorail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monorail.js","sources":["../../src/hooks/monorail.ts"],"sourcesContent":["import {reportEvent} from '../services/monorail'\nimport {Hook} from '@oclif/core'\nimport {environment, output} from '@shopify/cli-kit'\n\nexport const hook: Hook.Postrun = async (options) => {\n try {\n if (environment.local.isDebug() || environment.local.analyticsDisabled()) {\n return\n }\n const command = options.Command.id.replace(/:/g, ' ')\n await reportEvent(command, options.argv)\n // eslint-disable-next-line no-catch-all/no-catch-all\n } catch (error) {\n const message = 'Failed to report usage analytics'\n if (error instanceof Error) {\n message.concat(`: ${error.message}`)\n }\n output.debug(message)\n }\n}\n"],"names":[],"mappings":";;;AAIa,MAAA,IAAA,GAAqB,OAAO,OAAY,KAAA;AACnD,EAAI,IAAA;AACF,IAAA,IAAI,YAAY,KAAM,CAAA,OAAA,MAAa,WAAY,CAAA,KAAA,CAAM,mBAAqB,EAAA;AACxE,MAAA,OAAA;AAAA,KACF;AACA,IAAA,MAAM,UAAU,OAAQ,CAAA,OAAA,CAAQ,EAAG,CAAA,OAAA,CAAQ,MAAM,GAAG,CAAA,CAAA;AACpD,IAAM,MAAA,WAAA,CAAY,OAAS,EAAA,OAAA,CAAQ,IAAI,CAAA,CAAA;AAAA,WAEhC,KAAP,EAAA;AACA,IAAA,MAAM,OAAU,GAAA,kCAAA,CAAA;AAChB,IAAA,IAAI,iBAAiB,KAAO,EAAA;AAC1B,MAAQ,OAAA,CAAA,MAAA,CAAO,CAAK,EAAA,EAAA,KAAA,CAAM,OAAS,CAAA,CAAA,CAAA,CAAA;AAAA,KACrC;AACA,IAAA,MAAA,CAAO,MAAM,OAAO,CAAA,CAAA;AAAA,GACtB;AACF;;;;"}
package/dist/index.js CHANGED
@@ -2,13 +2,18 @@ import { settings, run, flush } from '@oclif/core';
2
2
  import Bugsnag from '@bugsnag/js';
3
3
  import { environment, error } from '@shopify/cli-kit';
4
4
 
5
- var version = "3.0.9";
5
+ var version = "3.0.12";
6
6
 
7
7
  function runCLI() {
8
8
  if (environment.local.isDebug()) {
9
9
  settings.debug = true;
10
10
  } else {
11
- Bugsnag.start({ apiKey: "9e1e6889176fd0c795d5c659225e0fae", logger: null, appVersion: version });
11
+ Bugsnag.start({
12
+ apiKey: "9e1e6889176fd0c795d5c659225e0fae",
13
+ logger: null,
14
+ appVersion: version,
15
+ autoTrackSessions: false
16
+ });
12
17
  }
13
18
  run(void 0, import.meta.url).then(flush).catch((error$1) => {
14
19
  if (error$1 instanceof error.AbortSilent) {
@@ -23,8 +28,11 @@ function runCLI() {
23
28
  }
24
29
  const bugsnagHandle = async (errorToReport) => {
25
30
  if (!settings.debug && error.shouldReport(errorToReport)) {
31
+ const reportedError = Object.assign(Object.create(errorToReport), {});
32
+ if (reportedError.stack)
33
+ reportedError.stack = reportedError.stack.replace(new RegExp("file:///", "g"), "/");
26
34
  await new Promise((resolve, reject) => {
27
- Bugsnag.notify(errorToReport, void 0, resolve);
35
+ Bugsnag.notify(reportedError, void 0, resolve);
28
36
  });
29
37
  }
30
38
  return Promise.resolve(errorToReport);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["// CLI\nimport {version as cliVersion} from '../package.json'\nimport {run, settings, flush} from '@oclif/core'\nimport Bugsnag from '@bugsnag/js'\nimport {error as kitError, environment} from '@shopify/cli-kit'\n\nfunction runCLI() {\n if (environment.local.isDebug()) {\n settings.debug = true\n } else {\n Bugsnag.start({apiKey: '9e1e6889176fd0c795d5c659225e0fae', logger: null, appVersion: cliVersion})\n }\n\n run(undefined, import.meta.url)\n .then(flush)\n .catch((error: Error): Promise<void | Error> => {\n if (error instanceof kitError.AbortSilent) {\n process.exit(1)\n }\n const kitMapper = kitError.mapper\n const kitHandle = kitError.handler\n // eslint-disable-next-line promise/no-nesting\n return kitMapper(error)\n .then(bugsnagHandle)\n .then((error: Error) => {\n kitHandle(error)\n })\n })\n}\n\nconst bugsnagHandle = async (errorToReport: Error): Promise<Error> => {\n if (!settings.debug && kitError.shouldReport(errorToReport)) {\n await new Promise((resolve, reject) => {\n Bugsnag.notify(errorToReport, undefined, resolve)\n })\n }\n return Promise.resolve(errorToReport)\n}\n\nexport default runCLI\n"],"names":["cliVersion","error","kitError"],"mappings":";;;;;;AAMA,SAAkB,MAAA,GAAA;AAChB,EAAI,IAAA,WAAA,CAAY,KAAM,CAAA,OAAA,EAAW,EAAA;AAC/B,IAAA,QAAA,CAAS,KAAQ,GAAA,IAAA,CAAA;AAAA,GACZ,MAAA;AACL,IAAQ,OAAA,CAAA,KAAA,CAAM,EAAC,MAAQ,EAAA,kCAAA,EAAoC,QAAQ,IAAM,EAAA,UAAA,EAAYA,SAAW,CAAA,CAAA;AAAA,GAClG;AAEA,EAAI,GAAA,CAAA,KAAA,CAAA,EAAW,YAAY,GAAG,CAAA,CAC3B,KAAK,KAAK,CAAA,CACV,KAAM,CAAA,CAACC,OAAwC,KAAA;AAC9C,IAAI,IAAAA,OAAA,YAAiBC,MAAS,WAAa,EAAA;AACzC,MAAA,OAAA,CAAQ,KAAK,CAAC,CAAA,CAAA;AAAA,KAChB;AACA,IAAA,MAAM,YAAYA,KAAS,CAAA,MAAA,CAAA;AAC3B,IAAA,MAAM,YAAYA,KAAS,CAAA,OAAA,CAAA;AAE3B,IAAO,OAAA,SAAA,CAAUD,OAAK,CACnB,CAAA,IAAA,CAAK,aAAa,CAClB,CAAA,IAAA,CAAK,CAAC,MAAiB,KAAA;AACtB,MAAA,SAAA,CAAU,MAAK,CAAA,CAAA;AAAA,KAChB,CAAA,CAAA;AAAA,GACJ,CAAA,CAAA;AACL,CAAA;AAEA,MAAM,aAAA,GAAgB,OAAO,aAAyC,KAAA;AACpE,EAAA,IAAI,CAAC,QAAS,CAAA,KAAA,IAASC,KAAS,CAAA,YAAA,CAAa,aAAa,CAAG,EAAA;AAC3D,IAAA,MAAM,IAAI,OAAA,CAAQ,CAAC,OAAA,EAAS,MAAW,KAAA;AACrC,MAAQ,OAAA,CAAA,MAAA,CAAO,aAAe,EAAA,KAAA,CAAA,EAAW,OAAO,CAAA,CAAA;AAAA,KACjD,CAAA,CAAA;AAAA,GACH;AACA,EAAO,OAAA,OAAA,CAAQ,QAAQ,aAAa,CAAA,CAAA;AACtC,CAAA;;;;"}
1
+ {"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":["// CLI\nimport {version as cliVersion} from '../package.json'\nimport {run, settings, flush} from '@oclif/core'\nimport Bugsnag from '@bugsnag/js'\nimport {error as kitError, environment} from '@shopify/cli-kit'\n\nfunction runCLI() {\n if (environment.local.isDebug()) {\n settings.debug = true\n } else {\n Bugsnag.start({\n apiKey: '9e1e6889176fd0c795d5c659225e0fae',\n logger: null,\n appVersion: cliVersion,\n autoTrackSessions: false,\n })\n }\n\n run(undefined, import.meta.url)\n .then(flush)\n .catch((error: Error): Promise<void | Error> => {\n if (error instanceof kitError.AbortSilent) {\n process.exit(1)\n }\n const kitMapper = kitError.mapper\n const kitHandle = kitError.handler\n // eslint-disable-next-line promise/no-nesting\n return kitMapper(error)\n .then(bugsnagHandle)\n .then((error: Error) => {\n kitHandle(error)\n })\n })\n}\n\nconst bugsnagHandle = async (errorToReport: Error): Promise<Error> => {\n if (!settings.debug && kitError.shouldReport(errorToReport)) {\n const reportedError = Object.assign(Object.create(errorToReport), {})\n if (reportedError.stack) reportedError.stack = reportedError.stack.replace(new RegExp('file:///', 'g'), '/')\n await new Promise((resolve, reject) => {\n Bugsnag.notify(reportedError, undefined, resolve)\n })\n }\n return Promise.resolve(errorToReport)\n}\n\nexport default runCLI\n"],"names":["cliVersion","error","kitError"],"mappings":";;;;;;AAMA,SAAkB,MAAA,GAAA;AAChB,EAAI,IAAA,WAAA,CAAY,KAAM,CAAA,OAAA,EAAW,EAAA;AAC/B,IAAA,QAAA,CAAS,KAAQ,GAAA,IAAA,CAAA;AAAA,GACZ,MAAA;AACL,IAAA,OAAA,CAAQ,KAAM,CAAA;AAAA,MACZ,MAAQ,EAAA,kCAAA;AAAA,MACR,MAAQ,EAAA,IAAA;AAAA,MACR,UAAY,EAAAA,OAAA;AAAA,MACZ,iBAAmB,EAAA,KAAA;AAAA,KACpB,CAAA,CAAA;AAAA,GACH;AAEA,EAAI,GAAA,CAAA,KAAA,CAAA,EAAW,YAAY,GAAG,CAAA,CAC3B,KAAK,KAAK,CAAA,CACV,KAAM,CAAA,CAACC,OAAwC,KAAA;AAC9C,IAAI,IAAAA,OAAA,YAAiBC,MAAS,WAAa,EAAA;AACzC,MAAA,OAAA,CAAQ,KAAK,CAAC,CAAA,CAAA;AAAA,KAChB;AACA,IAAA,MAAM,YAAYA,KAAS,CAAA,MAAA,CAAA;AAC3B,IAAA,MAAM,YAAYA,KAAS,CAAA,OAAA,CAAA;AAE3B,IAAO,OAAA,SAAA,CAAUD,OAAK,CACnB,CAAA,IAAA,CAAK,aAAa,CAClB,CAAA,IAAA,CAAK,CAAC,MAAiB,KAAA;AACtB,MAAA,SAAA,CAAU,MAAK,CAAA,CAAA;AAAA,KAChB,CAAA,CAAA;AAAA,GACJ,CAAA,CAAA;AACL,CAAA;AAEA,MAAM,aAAA,GAAgB,OAAO,aAAyC,KAAA;AACpE,EAAA,IAAI,CAAC,QAAS,CAAA,KAAA,IAASC,KAAS,CAAA,YAAA,CAAa,aAAa,CAAG,EAAA;AAC3D,IAAM,MAAA,aAAA,GAAgB,OAAO,MAAO,CAAA,MAAA,CAAO,OAAO,aAAa,CAAA,EAAG,EAAE,CAAA,CAAA;AACpE,IAAA,IAAI,aAAc,CAAA,KAAA;AAAO,MAAc,aAAA,CAAA,KAAA,GAAQ,cAAc,KAAM,CAAA,OAAA,CAAQ,IAAI,MAAO,CAAA,UAAA,EAAY,GAAG,CAAA,EAAG,GAAG,CAAA,CAAA;AAC3G,IAAA,MAAM,IAAI,OAAA,CAAQ,CAAC,OAAA,EAAS,MAAW,KAAA;AACrC,MAAQ,OAAA,CAAA,MAAA,CAAO,aAAe,EAAA,KAAA,CAAA,EAAW,OAAO,CAAA,CAAA;AAAA,KACjD,CAAA,CAAA;AAAA,GACH;AACA,EAAO,OAAA,OAAA,CAAQ,QAAQ,aAAa,CAAA,CAAA;AACtC,CAAA;;;;"}
@@ -0,0 +1,55 @@
1
+ import { http, output, path, store, os, ruby, environment } from '@shopify/cli-kit';
2
+
3
+ var version = "3.0.12";
4
+
5
+ const url = "https://monorail-edge.shopifysvc.com/v1/produce";
6
+ const reportEvent = async (command, args) => {
7
+ const currentTime = new Date().getTime();
8
+ const payload = await buildPayload(command, args, currentTime);
9
+ const body = JSON.stringify(payload);
10
+ const headers = buildHeaders(currentTime);
11
+ const response = await http.fetch(url, { method: "POST", body, headers });
12
+ if (response.status === 200) {
13
+ output.debug(`Analytics event sent: ${body}`);
14
+ } else {
15
+ output.debug(`Failed to report usage analytics: ${response.statusText}`);
16
+ }
17
+ };
18
+ const buildHeaders = (currentTime) => {
19
+ return {
20
+ "Content-Type": "application/json; charset=utf-8",
21
+ "X-Monorail-Edge-Event-Created-At-Ms": currentTime.toString(),
22
+ "X-Monorail-Edge-Event-Sent-At-Ms": currentTime.toString()
23
+ };
24
+ };
25
+ const buildPayload = async (command, args = [], currentTime) => {
26
+ let directory = process.cwd();
27
+ const pathFlagIndex = args.indexOf("--path");
28
+ if (pathFlagIndex >= 0) {
29
+ directory = path.resolve(args[pathFlagIndex + 1]);
30
+ }
31
+ const appInfo = store.getAppInfo(directory);
32
+ const { platform, arch } = os.platformAndArch();
33
+ return {
34
+ schema_id: "app_cli3_command/1.0",
35
+ payload: {
36
+ project_type: "node",
37
+ command,
38
+ args: args.join(" "),
39
+ time_start: currentTime,
40
+ time_end: currentTime,
41
+ total_time: 0,
42
+ success: true,
43
+ uname: `${platform} ${arch}`,
44
+ cli_version: version,
45
+ ruby_version: await ruby.version() || "",
46
+ node_version: process.version.replace("v", ""),
47
+ is_employee: await environment.local.isShopify(),
48
+ api_key: appInfo?.appId,
49
+ partner_id: appInfo?.orgId
50
+ }
51
+ };
52
+ };
53
+
54
+ export { reportEvent, url };
55
+ //# sourceMappingURL=monorail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"monorail.js","sources":["../../src/services/monorail.ts"],"sourcesContent":["/* eslint-disable @typescript-eslint/naming-convention */\nimport {version} from '../../package.json'\nimport {environment, http, os, output, path, ruby, store} from '@shopify/cli-kit'\n\nexport const url = 'https://monorail-edge.shopifysvc.com/v1/produce'\n\nexport const reportEvent = async (command: string, args: string[]) => {\n const currentTime = new Date().getTime()\n const payload = await buildPayload(command, args, currentTime)\n const body = JSON.stringify(payload)\n const headers = buildHeaders(currentTime)\n\n const response = await http.fetch(url, {method: 'POST', body, headers})\n if (response.status === 200) {\n output.debug(`Analytics event sent: ${body}`)\n } else {\n output.debug(`Failed to report usage analytics: ${response.statusText}`)\n }\n}\n\nconst buildHeaders = (currentTime: number) => {\n return {\n 'Content-Type': 'application/json; charset=utf-8',\n 'X-Monorail-Edge-Event-Created-At-Ms': currentTime.toString(),\n 'X-Monorail-Edge-Event-Sent-At-Ms': currentTime.toString(),\n }\n}\n\nconst buildPayload = async (command: string, args: string[] = [], currentTime: number) => {\n let directory = process.cwd()\n const pathFlagIndex = args.indexOf('--path')\n if (pathFlagIndex >= 0) {\n directory = path.resolve(args[pathFlagIndex + 1])\n }\n const appInfo = store.getAppInfo(directory)\n const {platform, arch} = os.platformAndArch()\n return {\n schema_id: 'app_cli3_command/1.0',\n payload: {\n project_type: 'node',\n command,\n args: args.join(' '),\n time_start: currentTime,\n time_end: currentTime,\n total_time: 0,\n success: true,\n uname: `${platform} ${arch}`,\n cli_version: version,\n ruby_version: (await ruby.version()) || '',\n node_version: process.version.replace('v', ''),\n is_employee: await environment.local.isShopify(),\n api_key: appInfo?.appId,\n partner_id: appInfo?.orgId,\n },\n }\n}\n"],"names":[],"mappings":";;;;AAIO,MAAM,GAAM,GAAA,kDAAA;AAEN,MAAA,WAAA,GAAc,OAAO,OAAA,EAAiB,IAAmB,KAAA;AACpE,EAAA,MAAM,WAAc,GAAA,IAAI,IAAK,EAAA,CAAE,OAAQ,EAAA,CAAA;AACvC,EAAA,MAAM,OAAU,GAAA,MAAM,YAAa,CAAA,OAAA,EAAS,MAAM,WAAW,CAAA,CAAA;AAC7D,EAAM,MAAA,IAAA,GAAO,IAAK,CAAA,SAAA,CAAU,OAAO,CAAA,CAAA;AACnC,EAAM,MAAA,OAAA,GAAU,aAAa,WAAW,CAAA,CAAA;AAExC,EAAM,MAAA,QAAA,GAAW,MAAM,IAAA,CAAK,KAAM,CAAA,GAAA,EAAK,EAAC,MAAQ,EAAA,MAAA,EAAQ,IAAM,EAAA,OAAA,EAAQ,CAAA,CAAA;AACtE,EAAI,IAAA,QAAA,CAAS,WAAW,GAAK,EAAA;AAC3B,IAAO,MAAA,CAAA,KAAA,CAAM,yBAAyB,IAAM,CAAA,CAAA,CAAA,CAAA;AAAA,GACvC,MAAA;AACL,IAAO,MAAA,CAAA,KAAA,CAAM,CAAqC,kCAAA,EAAA,QAAA,CAAS,UAAY,CAAA,CAAA,CAAA,CAAA;AAAA,GACzE;AACF,EAAA;AAEA,MAAM,YAAA,GAAe,CAAC,WAAwB,KAAA;AAC5C,EAAO,OAAA;AAAA,IACL,cAAgB,EAAA,iCAAA;AAAA,IAChB,qCAAA,EAAuC,YAAY,QAAS,EAAA;AAAA,IAC5D,kCAAA,EAAoC,YAAY,QAAS,EAAA;AAAA,GAC3D,CAAA;AACF,CAAA,CAAA;AAEA,MAAM,eAAe,OAAO,OAAA,EAAiB,IAAiB,GAAA,IAAI,WAAwB,KAAA;AACxF,EAAI,IAAA,SAAA,GAAY,QAAQ,GAAI,EAAA,CAAA;AAC5B,EAAM,MAAA,aAAA,GAAgB,IAAK,CAAA,OAAA,CAAQ,QAAQ,CAAA,CAAA;AAC3C,EAAA,IAAI,iBAAiB,CAAG,EAAA;AACtB,IAAA,SAAA,GAAY,IAAK,CAAA,OAAA,CAAQ,IAAK,CAAA,aAAA,GAAgB,CAAE,CAAA,CAAA,CAAA;AAAA,GAClD;AACA,EAAM,MAAA,OAAA,GAAU,KAAM,CAAA,UAAA,CAAW,SAAS,CAAA,CAAA;AAC1C,EAAA,MAAM,EAAC,QAAA,EAAU,IAAQ,EAAA,GAAA,EAAA,CAAG,eAAgB,EAAA,CAAA;AAC5C,EAAO,OAAA;AAAA,IACL,SAAW,EAAA,sBAAA;AAAA,IACX,OAAS,EAAA;AAAA,MACP,YAAc,EAAA,MAAA;AAAA,MACd,OAAA;AAAA,MACA,IAAA,EAAM,IAAK,CAAA,IAAA,CAAK,GAAG,CAAA;AAAA,MACnB,UAAY,EAAA,WAAA;AAAA,MACZ,QAAU,EAAA,WAAA;AAAA,MACV,UAAY,EAAA,CAAA;AAAA,MACZ,OAAS,EAAA,IAAA;AAAA,MACT,KAAA,EAAO,GAAG,QAAY,CAAA,CAAA,EAAA,IAAA,CAAA,CAAA;AAAA,MACtB,WAAa,EAAA,OAAA;AAAA,MACb,YAAe,EAAA,MAAM,IAAK,CAAA,OAAA,EAAc,IAAA,EAAA;AAAA,MACxC,YAAc,EAAA,OAAA,CAAQ,OAAQ,CAAA,OAAA,CAAQ,KAAK,EAAE,CAAA;AAAA,MAC7C,WAAa,EAAA,MAAM,WAAY,CAAA,KAAA,CAAM,SAAU,EAAA;AAAA,MAC/C,SAAS,OAAS,EAAA,KAAA;AAAA,MAClB,YAAY,OAAS,EAAA,KAAA;AAAA,KACvB;AAAA,GACF,CAAA;AACF,CAAA;;;;"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopify/cli",
3
- "version": "3.0.9",
3
+ "version": "3.0.12",
4
4
  "private": false,
5
5
  "description": "A CLI tool to build for the Shopify platform",
6
6
  "type": "module",
@@ -51,7 +51,7 @@
51
51
  "@oclif/core": "1.9.0",
52
52
  "@oclif/plugin-help": "^5.1.12",
53
53
  "@oclif/plugin-plugins": "^2.1.0",
54
- "@shopify/cli-kit": "3.0.9",
54
+ "@shopify/cli-kit": "3.0.12",
55
55
  "@shopify/plugin-ngrok": "^0.2.6"
56
56
  },
57
57
  "devDependencies": {
@@ -94,6 +94,9 @@
94
94
  },
95
95
  "additionalHelpFlags": [
96
96
  "-h"
97
- ]
97
+ ],
98
+ "hooks": {
99
+ "postrun": "dist/hooks/monorail"
100
+ }
98
101
  }
99
102
  }