@shopify/create-app 3.69.3 → 3.70.0
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/dist/{chunk-DKV56LWK.js → chunk-2IJ2KQU2.js} +19 -19
- package/dist/{chunk-K7AD63F5.js → chunk-4NI5A7A4.js} +30 -212
- package/dist/{chunk-453VRHIZ.js → chunk-64XEMSHA.js} +3 -3
- package/dist/{chunk-RYPZ4D5J.js → chunk-CWXZ7XAM.js} +27 -28
- package/dist/{chunk-G6AY2JW5.js → chunk-IDT7CLPE.js} +4 -3
- package/dist/{chunk-7UZ7B64G.js → chunk-MCWNOYSH.js} +7 -7
- package/dist/{chunk-GNXYMDBU.js → chunk-YQS36GWM.js} +13 -8
- package/dist/{constants-GVJLI6RE.js → constants-JHPIMZ2O.js} +6 -4
- package/dist/{custom-oclif-loader-W3LGQFJO.js → custom-oclif-loader-BSDHBJI5.js} +3 -3
- package/dist/{error-handler-7F5N2SUW.js → error-handler-JYEQI7TL.js} +7 -7
- package/dist/hooks/postrun.js +5 -5
- package/dist/hooks/prerun.js +5 -5
- package/dist/index.js +12407 -11009
- package/dist/{local-BP3ZVR74.js → local-TH3U2SLS.js} +3 -3
- package/dist/{node-package-manager-W6EO76MO.js → node-package-manager-BPA6G6YC.js} +4 -4
- package/dist/{system-KDFUHSBQ.js → system-B7E6HTDC.js} +3 -3
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-OAQKV3G5.js → ui-RPO3BY7Q.js} +3 -3
- package/oclif.manifest.json +1 -1
- package/package.json +3 -3
|
@@ -99,7 +99,7 @@ var identifier = "shopify-cli", cacheFolder = () => process.env.XDG_CACHE_HOME ?
|
|
|
99
99
|
}
|
|
100
100
|
}, sessionConstants = {
|
|
101
101
|
expirationTimeMarginInMinutes: 4
|
|
102
|
-
}, bugsnagApiKey = "9e1e6889176fd0c795d5c659225e0fae", reportingRateLimit = { limit: 300, timeout: { days: 1 } };
|
|
102
|
+
}, bugsnagApiKey = "9e1e6889176fd0c795d5c659225e0fae", reportingRateLimit = { limit: 300, timeout: { days: 1 } }, themeKitAccessDomain = process.env[environmentVariables.themeKitAccessDomain] ?? defaultThemeKitAccessDomain;
|
|
103
103
|
|
|
104
104
|
export {
|
|
105
105
|
envPaths,
|
|
@@ -110,6 +110,7 @@ export {
|
|
|
110
110
|
pathConstants,
|
|
111
111
|
sessionConstants,
|
|
112
112
|
bugsnagApiKey,
|
|
113
|
-
reportingRateLimit
|
|
113
|
+
reportingRateLimit,
|
|
114
|
+
themeKitAccessDomain
|
|
114
115
|
};
|
|
115
|
-
//# sourceMappingURL=chunk-
|
|
116
|
+
//# sourceMappingURL=chunk-IDT7CLPE.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fanoutHooks,
|
|
3
3
|
reportAnalyticsEvent
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4NI5A7A4.js";
|
|
5
5
|
import {
|
|
6
6
|
CLI_KIT_VERSION,
|
|
7
7
|
getEnvironmentData
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-CWXZ7XAM.js";
|
|
9
9
|
import {
|
|
10
10
|
runWithRateLimit
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YQS36GWM.js";
|
|
12
12
|
import {
|
|
13
13
|
AbortSilentError,
|
|
14
14
|
CancelExecution,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
printEventsJson,
|
|
23
23
|
require_stacktracey,
|
|
24
24
|
shouldReportErrorAsUnexpected
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2IJ2KQU2.js";
|
|
26
26
|
import {
|
|
27
27
|
require_lib
|
|
28
28
|
} from "./chunk-AZIUHI45.js";
|
|
@@ -32,7 +32,7 @@ import {
|
|
|
32
32
|
import {
|
|
33
33
|
bugsnagApiKey,
|
|
34
34
|
reportingRateLimit
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-IDT7CLPE.js";
|
|
36
36
|
import {
|
|
37
37
|
cwd,
|
|
38
38
|
isAbsolutePath,
|
|
@@ -2113,7 +2113,7 @@ async function addBugsnagMetadata(event, config) {
|
|
|
2113
2113
|
...publicData,
|
|
2114
2114
|
...environment,
|
|
2115
2115
|
pluginData: otherPluginsPublic
|
|
2116
|
-
}, appData = {}, commandData = {}, environmentData = {}, miscData = {}, appKeys = ["api_key", "partner_id", "project_type"], commandKeys = ["command"], environmentKeys = ["cli_version", "node_version", "
|
|
2116
|
+
}, appData = {}, commandData = {}, environmentData = {}, miscData = {}, appKeys = ["api_key", "partner_id", "project_type"], commandKeys = ["command"], environmentKeys = ["cli_version", "node_version", "uname"];
|
|
2117
2117
|
Object.entries(allMetadata).forEach(([key, value]) => {
|
|
2118
2118
|
key.startsWith("app_") || appKeys.includes(key) ? appData[key] = value : key.startsWith("cmd_") || commandKeys.includes(key) ? commandData[key] = value : key.startsWith("env_") || environmentKeys ? environmentData[key] = value : miscData[key] = value;
|
|
2119
2119
|
}), Object.entries({
|
|
@@ -2145,4 +2145,4 @@ export {
|
|
|
2145
2145
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
2146
2146
|
addBugsnagMetadata
|
|
2147
2147
|
};
|
|
2148
|
-
//# sourceMappingURL=chunk-
|
|
2148
|
+
//# sourceMappingURL=chunk-MCWNOYSH.js.map
|
|
@@ -17,10 +17,10 @@ import {
|
|
|
17
17
|
require_get_stream,
|
|
18
18
|
runWithTimer,
|
|
19
19
|
writeFile
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-2IJ2KQU2.js";
|
|
21
21
|
import {
|
|
22
22
|
envPaths
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IDT7CLPE.js";
|
|
24
24
|
import {
|
|
25
25
|
dirname,
|
|
26
26
|
joinPath
|
|
@@ -11303,14 +11303,18 @@ function removeSession(config = cliKitStore()) {
|
|
|
11303
11303
|
outputDebug(outputContent`Removing session store...`), config.delete("sessionStore");
|
|
11304
11304
|
}
|
|
11305
11305
|
async function cacheRetrieveOrRepopulate(key, fn, timeout, config = cliKitStore()) {
|
|
11306
|
-
let
|
|
11306
|
+
let cached = cacheRetrieve(key, config);
|
|
11307
11307
|
if (cached?.value !== void 0 && (timeout === void 0 || Date.now() - cached.timestamp < timeout))
|
|
11308
11308
|
return cached.value;
|
|
11309
11309
|
let value = await fn();
|
|
11310
|
-
return
|
|
11310
|
+
return cacheStore(key, value, config), value;
|
|
11311
|
+
}
|
|
11312
|
+
function cacheStore(key, value, config = cliKitStore()) {
|
|
11313
|
+
let cache = config.get("cache") || {};
|
|
11314
|
+
cache[key] = { value, timestamp: Date.now() }, config.set("cache", cache);
|
|
11311
11315
|
}
|
|
11312
11316
|
function cacheRetrieve(key, config = cliKitStore()) {
|
|
11313
|
-
return (config.get("cache") || {})[key]
|
|
11317
|
+
return (config.get("cache") || {})[key];
|
|
11314
11318
|
}
|
|
11315
11319
|
function timeIntervalToMilliseconds({ days = 0, hours = 0, minutes = 0, seconds = 0 }) {
|
|
11316
11320
|
return (days * 24 * 60 * 60 + hours * 60 * 60 + minutes * 60 + seconds) * 1e3;
|
|
@@ -15168,7 +15172,7 @@ async function checkForNewVersion(dependency, currentVersion, { cacheExpiryInHou
|
|
|
15168
15172
|
return lastVersion;
|
|
15169
15173
|
}
|
|
15170
15174
|
function checkForCachedNewVersion(dependency, currentVersion) {
|
|
15171
|
-
let cacheKey = `npm-package-${dependency}`, lastVersion = cacheRetrieve(cacheKey);
|
|
15175
|
+
let cacheKey = `npm-package-${dependency}`, lastVersion = cacheRetrieve(cacheKey)?.value;
|
|
15172
15176
|
if (lastVersion && new import_semver3.SemVer(currentVersion).compare(lastVersion) < 0)
|
|
15173
15177
|
return lastVersion;
|
|
15174
15178
|
}
|
|
@@ -15313,13 +15317,14 @@ function inferPackageManager(optionsPackageManager, env = process.env) {
|
|
|
15313
15317
|
}
|
|
15314
15318
|
|
|
15315
15319
|
export {
|
|
15316
|
-
require_semver2 as require_semver,
|
|
15317
15320
|
require_ajv,
|
|
15318
15321
|
LocalStorage,
|
|
15319
15322
|
getSession,
|
|
15320
15323
|
setSession,
|
|
15321
15324
|
removeSession,
|
|
15322
15325
|
cacheRetrieveOrRepopulate,
|
|
15326
|
+
cacheStore,
|
|
15327
|
+
cacheRetrieve,
|
|
15323
15328
|
runAtMinimumInterval,
|
|
15324
15329
|
runWithRateLimit,
|
|
15325
15330
|
getCachedPartnerAccountStatus,
|
|
@@ -15387,4 +15392,4 @@ deep-extend/lib/deep-extend.js:
|
|
|
15387
15392
|
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
15388
15393
|
*)
|
|
15389
15394
|
*/
|
|
15390
|
-
//# sourceMappingURL=chunk-
|
|
15395
|
+
//# sourceMappingURL=chunk-YQS36GWM.js.map
|
|
@@ -6,8 +6,9 @@ import {
|
|
|
6
6
|
pathConstants,
|
|
7
7
|
reportingRateLimit,
|
|
8
8
|
sessionConstants,
|
|
9
|
-
systemEnvironmentVariables
|
|
10
|
-
|
|
9
|
+
systemEnvironmentVariables,
|
|
10
|
+
themeKitAccessDomain
|
|
11
|
+
} from "./chunk-IDT7CLPE.js";
|
|
11
12
|
import "./chunk-BB6N2XSA.js";
|
|
12
13
|
import "./chunk-PNN7RS7Y.js";
|
|
13
14
|
import "./chunk-POZ5MGPT.js";
|
|
@@ -19,6 +20,7 @@ export {
|
|
|
19
20
|
pathConstants,
|
|
20
21
|
reportingRateLimit,
|
|
21
22
|
sessionConstants,
|
|
22
|
-
systemEnvironmentVariables
|
|
23
|
+
systemEnvironmentVariables,
|
|
24
|
+
themeKitAccessDomain
|
|
23
25
|
};
|
|
24
|
-
//# sourceMappingURL=constants-
|
|
26
|
+
//# sourceMappingURL=constants-JHPIMZ2O.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
execaSync,
|
|
3
3
|
fileExistsSync
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2IJ2KQU2.js";
|
|
5
5
|
import {
|
|
6
6
|
require_lib
|
|
7
7
|
} from "./chunk-AZIUHI45.js";
|
|
@@ -12,7 +12,7 @@ import "./chunk-XVNW332R.js";
|
|
|
12
12
|
import "./chunk-L7M22NDW.js";
|
|
13
13
|
import "./chunk-MX4RJDBM.js";
|
|
14
14
|
import "./chunk-NB4NLOEJ.js";
|
|
15
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-IDT7CLPE.js";
|
|
16
16
|
import {
|
|
17
17
|
cwd,
|
|
18
18
|
joinPath,
|
|
@@ -45,4 +45,4 @@ var import_core = __toESM(require_lib(), 1), ShopifyConfig = class extends impor
|
|
|
45
45
|
export {
|
|
46
46
|
ShopifyConfig
|
|
47
47
|
};
|
|
48
|
-
//# sourceMappingURL=custom-oclif-loader-
|
|
48
|
+
//# sourceMappingURL=custom-oclif-loader-BSDHBJI5.js.map
|
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
errorHandler,
|
|
5
5
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
6
6
|
sendErrorToBugsnag
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-MCWNOYSH.js";
|
|
8
|
+
import "./chunk-4NI5A7A4.js";
|
|
9
|
+
import "./chunk-CWXZ7XAM.js";
|
|
10
10
|
import "./chunk-VSLR7ET4.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-YQS36GWM.js";
|
|
12
|
+
import "./chunk-2IJ2KQU2.js";
|
|
13
13
|
import "./chunk-AZIUHI45.js";
|
|
14
14
|
import "./chunk-SNOECVP4.js";
|
|
15
15
|
import "./chunk-UBB7JKND.js";
|
|
@@ -19,7 +19,7 @@ import "./chunk-XVNW332R.js";
|
|
|
19
19
|
import "./chunk-L7M22NDW.js";
|
|
20
20
|
import "./chunk-MX4RJDBM.js";
|
|
21
21
|
import "./chunk-NB4NLOEJ.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-IDT7CLPE.js";
|
|
23
23
|
import "./chunk-BB6N2XSA.js";
|
|
24
24
|
import "./chunk-PNN7RS7Y.js";
|
|
25
25
|
import "./chunk-POZ5MGPT.js";
|
|
@@ -30,4 +30,4 @@ export {
|
|
|
30
30
|
registerCleanBugsnagErrorsFromWithinPlugins,
|
|
31
31
|
sendErrorToBugsnag
|
|
32
32
|
};
|
|
33
|
-
//# sourceMappingURL=error-handler-
|
|
33
|
+
//# sourceMappingURL=error-handler-JYEQI7TL.js.map
|
package/dist/hooks/postrun.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reportAnalyticsEvent
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-4NI5A7A4.js";
|
|
4
4
|
import {
|
|
5
5
|
getNextDeprecationDate
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-CWXZ7XAM.js";
|
|
7
7
|
import "../chunk-VSLR7ET4.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-YQS36GWM.js";
|
|
9
9
|
import {
|
|
10
10
|
addSensitiveMetadata,
|
|
11
11
|
getAllSensitiveMetadata,
|
|
12
12
|
outputDebug,
|
|
13
13
|
renderWarning
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-2IJ2KQU2.js";
|
|
15
15
|
import "../chunk-AZIUHI45.js";
|
|
16
16
|
import "../chunk-SNOECVP4.js";
|
|
17
17
|
import "../chunk-UBB7JKND.js";
|
|
@@ -20,7 +20,7 @@ import "../chunk-XVNW332R.js";
|
|
|
20
20
|
import "../chunk-L7M22NDW.js";
|
|
21
21
|
import "../chunk-MX4RJDBM.js";
|
|
22
22
|
import "../chunk-NB4NLOEJ.js";
|
|
23
|
-
import "../chunk-
|
|
23
|
+
import "../chunk-IDT7CLPE.js";
|
|
24
24
|
import "../chunk-BB6N2XSA.js";
|
|
25
25
|
import "../chunk-PNN7RS7Y.js";
|
|
26
26
|
import {
|
package/dist/hooks/prerun.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
getOutputUpdateCLIReminder
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-64XEMSHA.js";
|
|
4
4
|
import {
|
|
5
5
|
CLI_KIT_VERSION,
|
|
6
6
|
startAnalytics
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-CWXZ7XAM.js";
|
|
8
8
|
import "../chunk-VSLR7ET4.js";
|
|
9
9
|
import {
|
|
10
10
|
checkForCachedNewVersion,
|
|
11
11
|
checkForNewVersion,
|
|
12
12
|
runAtMinimumInterval
|
|
13
|
-
} from "../chunk-
|
|
13
|
+
} from "../chunk-YQS36GWM.js";
|
|
14
14
|
import {
|
|
15
15
|
initDemoRecorder,
|
|
16
16
|
outputDebug,
|
|
17
17
|
outputWarn
|
|
18
|
-
} from "../chunk-
|
|
18
|
+
} from "../chunk-2IJ2KQU2.js";
|
|
19
19
|
import "../chunk-AZIUHI45.js";
|
|
20
20
|
import "../chunk-SNOECVP4.js";
|
|
21
21
|
import "../chunk-UBB7JKND.js";
|
|
@@ -24,7 +24,7 @@ import "../chunk-XVNW332R.js";
|
|
|
24
24
|
import "../chunk-L7M22NDW.js";
|
|
25
25
|
import "../chunk-MX4RJDBM.js";
|
|
26
26
|
import "../chunk-NB4NLOEJ.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-IDT7CLPE.js";
|
|
28
28
|
import "../chunk-BB6N2XSA.js";
|
|
29
29
|
import "../chunk-PNN7RS7Y.js";
|
|
30
30
|
import {
|