@shopify/create-app 3.75.4 → 3.76.1

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.
@@ -18,7 +18,7 @@ import {
18
18
  require_get_stream,
19
19
  runWithTimer,
20
20
  writeFile
21
- } from "./chunk-7GEGPVQ4.js";
21
+ } from "./chunk-2SXZ4HIN.js";
22
22
  import {
23
23
  dirname,
24
24
  joinPath
@@ -14767,6 +14767,7 @@ export {
14767
14767
  cacheRetrieveOrRepopulate,
14768
14768
  cacheStore,
14769
14769
  cacheRetrieve,
14770
+ timeIntervalToMilliseconds,
14770
14771
  runAtMinimumInterval,
14771
14772
  runWithRateLimit,
14772
14773
  yarnLockfile,
@@ -14830,4 +14831,4 @@ deep-extend/lib/deep-extend.js:
14830
14831
  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
14831
14832
  *)
14832
14833
  */
14833
- //# sourceMappingURL=chunk-VCHNXIMX.js.map
14834
+ //# sourceMappingURL=chunk-UMKUGEPL.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  execaSync,
3
3
  fileExistsSync
4
- } from "./chunk-7GEGPVQ4.js";
4
+ } from "./chunk-2SXZ4HIN.js";
5
5
  import {
6
6
  require_lib
7
7
  } from "./chunk-S3QEOIDU.js";
@@ -43,4 +43,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
43
43
  export {
44
44
  ShopifyConfig
45
45
  };
46
- //# sourceMappingURL=custom-oclif-loader-DLTVIO2A.js.map
46
+ //# sourceMappingURL=custom-oclif-loader-JBKR6NDU.js.map
@@ -4,12 +4,12 @@ import {
4
4
  errorHandler,
5
5
  registerCleanBugsnagErrorsFromWithinPlugins,
6
6
  sendErrorToBugsnag
7
- } from "./chunk-FWAU3T7G.js";
8
- import "./chunk-PSC5XMO4.js";
9
- import "./chunk-KVD7B3JW.js";
7
+ } from "./chunk-O2TTT575.js";
8
+ import "./chunk-TYR4LFUO.js";
9
+ import "./chunk-U4CNJTWH.js";
10
10
  import "./chunk-25IMI7TH.js";
11
- import "./chunk-VCHNXIMX.js";
12
- import "./chunk-7GEGPVQ4.js";
11
+ import "./chunk-UMKUGEPL.js";
12
+ import "./chunk-2SXZ4HIN.js";
13
13
  import "./chunk-S3QEOIDU.js";
14
14
  import "./chunk-3I3GQNEW.js";
15
15
  import "./chunk-ZUCWDIGE.js";
@@ -28,4 +28,4 @@ export {
28
28
  registerCleanBugsnagErrorsFromWithinPlugins,
29
29
  sendErrorToBugsnag
30
30
  };
31
- //# sourceMappingURL=error-handler-R2NW6F5D.js.map
31
+ //# sourceMappingURL=error-handler-RBKB2PK5.js.map
@@ -3,16 +3,16 @@ import {
3
3
  } from "../chunk-CP3BRHWK.js";
4
4
  import {
5
5
  reportAnalyticsEvent
6
- } from "../chunk-PSC5XMO4.js";
7
- import "../chunk-KVD7B3JW.js";
6
+ } from "../chunk-TYR4LFUO.js";
7
+ import "../chunk-U4CNJTWH.js";
8
8
  import "../chunk-25IMI7TH.js";
9
- import "../chunk-VCHNXIMX.js";
9
+ import "../chunk-UMKUGEPL.js";
10
10
  import {
11
11
  addSensitiveMetadata,
12
12
  getAllSensitiveMetadata,
13
13
  outputDebug,
14
14
  renderWarning
15
- } from "../chunk-7GEGPVQ4.js";
15
+ } from "../chunk-2SXZ4HIN.js";
16
16
  import "../chunk-S3QEOIDU.js";
17
17
  import "../chunk-3I3GQNEW.js";
18
18
  import "../chunk-ZUCWDIGE.js";
@@ -71,9 +71,10 @@ async function detectStopCommand(commandClass) {
71
71
  let stopCommand = commandClass.analyticsStopCommand();
72
72
  if (stopCommand) {
73
73
  let { commandStartOptions } = getAllSensitiveMetadata();
74
+ if (!commandStartOptions)
75
+ return;
74
76
  await addSensitiveMetadata(() => ({
75
77
  commandStartOptions: {
76
- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
77
78
  ...commandStartOptions,
78
79
  startTime: currentTime,
79
80
  startCommand: stopCommand
@@ -1,14 +1,17 @@
1
+ import {
2
+ fetchNotificationsInBackground
3
+ } from "../chunk-6DVPWDT2.js";
1
4
  import {
2
5
  CLI_KIT_VERSION,
3
6
  startAnalytics
4
- } from "../chunk-KVD7B3JW.js";
7
+ } from "../chunk-U4CNJTWH.js";
5
8
  import "../chunk-25IMI7TH.js";
6
9
  import {
7
10
  checkForCachedNewVersion,
8
11
  checkForNewVersion,
9
12
  packageManagerFromUserAgent,
10
13
  runAtMinimumInterval
11
- } from "../chunk-VCHNXIMX.js";
14
+ } from "../chunk-UMKUGEPL.js";
12
15
  import {
13
16
  currentProcessIsGlobal,
14
17
  inferPackageManagerForGlobalCLI,
@@ -16,7 +19,7 @@ import {
16
19
  outputDebug,
17
20
  outputToken,
18
21
  outputWarn
19
- } from "../chunk-7GEGPVQ4.js";
22
+ } from "../chunk-2SXZ4HIN.js";
20
23
  import "../chunk-S3QEOIDU.js";
21
24
  import "../chunk-3I3GQNEW.js";
22
25
  import "../chunk-ZUCWDIGE.js";
@@ -53,7 +56,7 @@ var hook = async (options) => {
53
56
  aliases: options.Command.aliases,
54
57
  pluginAlias: options.Command.plugin?.alias
55
58
  }), args = options.argv;
56
- await warnOnAvailableUpgrade(), outputDebug(`Running command ${commandContent.command}`), await startAnalytics({ commandContent, args, commandClass: options.Command });
59
+ await warnOnAvailableUpgrade(), outputDebug(`Running command ${commandContent.command}`), await startAnalytics({ commandContent, args, commandClass: options.Command }), options.Command.hidden || fetchNotificationsInBackground(options.Command.id);
57
60
  };
58
61
  function parseCommandContent(cmdInfo) {
59
62
  let commandContent = parseCreateCommand(cmdInfo.pluginAlias);