@shopify/cli 3.90.0 → 3.91.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/{acorn-45LE5Z2A.js → acorn-WDTBS4B3.js} +2 -2
- package/dist/{angular-Z5FPQPLR.js → angular-WLPEGHXZ.js} +4 -4
- package/dist/{babel-TRRZ6QQY.js → babel-LQYCV4NA.js} +2 -7
- package/dist/{brotli-2OKV26Y6.js → brotli-6CC7WD4Z.js} +1 -2
- package/dist/{chunk-XUHEOC7Y.js → chunk-2QLHWTH2.js} +6 -6
- package/dist/{chunk-LSGITB3O.js → chunk-3FISNISV.js} +5 -5
- package/dist/{chunk-HVSHUE2B.js → chunk-3RC2RKM3.js} +7 -7
- package/dist/{chunk-WC5EDB4Z.js → chunk-3YEPOXGM.js} +1187 -141
- package/dist/{chunk-ELXP2SNA.js → chunk-46PV2PEO.js} +4 -4
- package/dist/{chunk-QHDQYVAG.js → chunk-4EIIOMWN.js} +10 -10
- package/dist/{chunk-LKMGT2DW.js → chunk-4GAP37VN.js} +413 -383
- package/dist/{chunk-SE3EASHO.js → chunk-4IW7EFIM.js} +8 -27
- package/dist/{chunk-RYFPG44L.js → chunk-4KL3Z7UE.js} +2 -2
- package/dist/{chunk-EFOOQV72.js → chunk-56ELYGPH.js} +2 -2
- package/dist/chunk-5Q3T5CKP.js +39 -0
- package/dist/{chunk-5MLYI7UO.js → chunk-5TQLC3MT.js} +4 -4
- package/dist/chunk-5WZHH7DV.js +78 -0
- package/dist/chunk-6GVXTMUE.js +51 -0
- package/dist/{chunk-6ONJEX7Y.js → chunk-6NVYATES.js} +2 -2
- package/dist/chunk-6ZPH3IB4.js +28 -0
- package/dist/chunk-7A3EOLZ3.js +36 -0
- package/dist/{chunk-HMDWNGIV.js → chunk-A27P5CF7.js} +211 -103
- package/dist/{chunk-A7QWFDBY.js → chunk-A3FTU763.js} +2 -2
- package/dist/{chunk-MZX7G4LN.js → chunk-AWEC4VY2.js} +3 -3
- package/dist/{chunk-B2EZE3X5.js → chunk-BWQRWTAL.js} +3 -3
- package/dist/{chunk-3GXB4ZRP.js → chunk-CE4S2SGM.js} +10 -10
- package/dist/{chunk-U52M2SBG.js → chunk-D6TSY7WA.js} +216 -268
- package/dist/{chunk-UISDI2NJ.js → chunk-EGPAAR43.js} +3 -3
- package/dist/{chunk-L5BSIB4A.js → chunk-FI5G3SH7.js} +3 -3
- package/dist/{chunk-5OJ67VLD.js → chunk-GQKM6ODQ.js} +27763 -25681
- package/dist/{chunk-GPKHDSF5.js → chunk-HTGTTXQL.js} +24 -26
- package/dist/chunk-ITTNM7I4.js +23 -0
- package/dist/{chunk-O74JPOMN.js → chunk-ITUVFZZC.js} +6 -6
- package/dist/{chunk-6DIWINGB.js → chunk-JUTE5JAV.js} +3 -3
- package/dist/{chunk-3OKBQXPB.js → chunk-L55THCJ4.js} +5 -5
- package/dist/{chunk-AJVHCUVQ.js → chunk-LZQNLT7K.js} +4 -4
- package/dist/{chunk-R2VQQFNU.js → chunk-M5QR2TOD.js} +2 -2
- package/dist/{chunk-3AY5VBOI.js → chunk-MK3Q63EP.js} +15 -17
- package/dist/{chunk-66SSN4NK.js → chunk-QFZNYYRR.js} +2 -2
- package/dist/{chunk-ERCZ3NEG.js → chunk-RDV4E6WO.js} +2 -2
- package/dist/{chunk-ITXKKYMN.js → chunk-S2AX7DX2.js} +3 -3
- package/dist/{chunk-GH4DMIMI.js → chunk-TZEIYSCL.js} +3 -3
- package/dist/{chunk-XD3LXUGW.js → chunk-VBBBCVMH.js} +2 -2
- package/dist/{chunk-K2EOH7QQ.js → chunk-W5PA3XSC.js} +3 -3
- package/dist/{chunk-FPXVU77M.js → chunk-Y5U7QY26.js} +3 -3
- package/dist/chunk-YE3PUNUK.js +90 -0
- package/dist/{chunk-4K7TRR4V.js → chunk-YFNAWLQZ.js} +3 -3
- package/dist/chunk-YNNKYQTJ.js +309 -0
- package/dist/{chunk-GY37RRX5.js → chunk-YWLTM6FY.js} +4 -4
- package/dist/{chunk-A2DCUFP3.js → chunk-ZSOI4JOG.js} +2 -2
- package/dist/{chunk-BDQNCT7P.js → chunk-ZUHIUKPT.js} +3 -3
- package/dist/cli/commands/auth/login.js +13 -15
- package/dist/cli/commands/auth/login.test.js +15 -17
- package/dist/cli/commands/auth/logout.js +13 -15
- package/dist/cli/commands/auth/logout.test.js +16 -18
- package/dist/cli/commands/cache/clear.js +14 -15
- package/dist/cli/commands/debug/command-flags.js +13 -15
- package/dist/cli/commands/docs/generate.js +13 -15
- package/dist/cli/commands/docs/generate.test.js +14 -16
- package/dist/cli/commands/doctor-release/doctor-release.d.ts +6 -0
- package/dist/cli/commands/doctor-release/doctor-release.js +27 -0
- package/dist/cli/commands/doctor-release/theme/index.d.ts +14 -0
- package/dist/cli/commands/doctor-release/theme/index.js +33 -0
- package/dist/cli/commands/help.js +13 -15
- package/dist/cli/commands/kitchen-sink/async.js +14 -16
- package/dist/cli/commands/kitchen-sink/async.test.js +15 -17
- package/dist/cli/commands/kitchen-sink/index.js +16 -18
- package/dist/cli/commands/kitchen-sink/index.test.js +19 -21
- package/dist/cli/commands/kitchen-sink/prompts.js +14 -16
- package/dist/cli/commands/kitchen-sink/prompts.test.js +15 -17
- package/dist/cli/commands/kitchen-sink/static.js +14 -16
- package/dist/cli/commands/kitchen-sink/static.test.js +15 -17
- package/dist/cli/commands/notifications/generate.js +14 -16
- package/dist/cli/commands/notifications/list.js +14 -16
- package/dist/cli/commands/search.js +14 -16
- package/dist/cli/commands/upgrade.js +14 -16
- package/dist/cli/commands/upgrade.test.js +1 -1
- package/dist/cli/commands/version.js +14 -16
- package/dist/cli/commands/version.test.js +15 -17
- package/dist/cli/services/commands/notifications.js +13 -13
- package/dist/cli/services/commands/search.js +7 -8
- package/dist/cli/services/commands/search.test.js +8 -9
- package/dist/cli/services/commands/version.js +8 -9
- package/dist/cli/services/commands/version.test.js +10 -11
- package/dist/cli/services/doctor-release/context.d.ts +16 -0
- package/dist/cli/services/doctor-release/context.js +9 -0
- package/dist/cli/services/doctor-release/theme/runner.d.ts +7 -0
- package/dist/cli/services/doctor-release/theme/runner.js +24 -0
- package/dist/cli/services/doctor-release/theme/tests/init.d.ts +11 -0
- package/dist/cli/services/doctor-release/theme/tests/init.js +21 -0
- package/dist/cli/services/doctor-release/theme/tests/push.d.ts +10 -0
- package/dist/cli/services/doctor-release/theme/tests/push.js +21 -0
- package/dist/cli/services/kitchen-sink/async.js +7 -8
- package/dist/cli/services/kitchen-sink/prompts.js +7 -8
- package/dist/cli/services/kitchen-sink/static.js +7 -8
- package/dist/cli/services/upgrade.js +8 -9
- package/dist/cli/services/upgrade.test.js +10 -11
- package/dist/{custom-oclif-loader-H4CDTFND.js → custom-oclif-loader-NCJY2PN7.js} +7 -8
- package/dist/{del-E4LJOSMR.js → del-63DSU6FP.js} +7 -7
- package/dist/{devtools-D47L6HIC.js → devtools-4MXU7BNJ.js} +2 -2
- package/dist/{devtools-2SG3BFWJ.js → devtools-BAOTGU3O.js} +2 -2
- package/dist/{error-handler-JLUD7HQX.js → error-handler-IXWAFENZ.js} +11 -13
- package/dist/{estree-PY6WKTNG.js → estree-U57GTUKI.js} +14 -35
- package/dist/{flow-YN54TSCB.js → flow-CBPGBIW5.js} +2 -4
- package/dist/{glimmer-RMPUUUDS.js → glimmer-VWCK7UCR.js} +2 -6
- package/dist/{graphql-PPLVYWBL.js → graphql-2HHXB4VZ.js} +3 -5
- package/dist/hooks/postrun.js +12 -12
- package/dist/hooks/prerun.js +13 -13
- package/dist/{html-3U6QZZZ4.js → html-ST4I6M3K.js} +4 -6
- package/dist/index.js +5853 -2950
- package/dist/{lib-XGN4IWQ3.js → lib-EAXRR46C.js} +2 -3
- package/dist/{local-Q5P3JTHB.js → local-TYNIF77M.js} +9 -10
- package/dist/{markdown-RHRQTUMC.js → markdown-NVTT3U3H.js} +4 -13
- package/dist/{meriyah-7MIMHTWQ.js → meriyah-H6RUUN2F.js} +2 -9
- package/dist/{morph-37GC7LQM.js → morph-WMDG66QN.js} +68 -143
- package/dist/{multipart-parser-IYYNISJK.js → multipart-parser-WKKMXACL.js} +2 -2
- package/dist/{node-package-manager-JQCYAVNE.js → node-package-manager-XAEBCALT.js} +8 -9
- package/dist/{npa-E675GQOI.js → npa-GRSJKUWS.js} +5 -7
- package/dist/{postcss-MSOPGY7M.js → postcss-LKRKUSYR.js} +4 -6
- package/dist/{prettier-2ITB6I34.js → prettier-YOC7I4QS.js} +29 -29
- package/dist/{source-map-UFUVQCYE.js → source-map-KSW2YKNC.js} +2 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/{ui-2P2WEBXY.js → ui-FDJIH2AF.js} +7 -8
- package/dist/{workerd-5QLA2QUA.js → workerd-DSSWQ3UN.js} +16 -18
- package/dist/{yaml-6GALFXQY.js → yaml-54MHMX7H.js} +6 -9
- package/oclif.manifest.json +134 -9
- package/package.json +7 -7
- package/dist/chunk-6OAKJOUE.js +0 -2238
- package/dist/chunk-EZQWZ57B.js +0 -53
package/dist/chunk-EZQWZ57B.js
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
__commonJS,
|
|
3
|
-
__require,
|
|
4
|
-
init_cjs_shims
|
|
5
|
-
} from "./chunk-PKR7KJ6P.js";
|
|
6
|
-
|
|
7
|
-
// ../../node_modules/.pnpm/validate-npm-package-name@5.0.1/node_modules/validate-npm-package-name/lib/index.js
|
|
8
|
-
var require_lib = __commonJS({
|
|
9
|
-
"../../node_modules/.pnpm/validate-npm-package-name@5.0.1/node_modules/validate-npm-package-name/lib/index.js"(exports, module) {
|
|
10
|
-
"use strict";
|
|
11
|
-
init_cjs_shims();
|
|
12
|
-
var { builtinModules: builtins } = __require("module"), scopedPackagePattern = new RegExp("^(?:@([^/]+?)[/])?([^/]+?)$"), blacklist = [
|
|
13
|
-
"node_modules",
|
|
14
|
-
"favicon.ico"
|
|
15
|
-
];
|
|
16
|
-
function validate(name) {
|
|
17
|
-
var warnings = [], errors = [];
|
|
18
|
-
if (name === null)
|
|
19
|
-
return errors.push("name cannot be null"), done(warnings, errors);
|
|
20
|
-
if (name === void 0)
|
|
21
|
-
return errors.push("name cannot be undefined"), done(warnings, errors);
|
|
22
|
-
if (typeof name != "string")
|
|
23
|
-
return errors.push("name must be a string"), done(warnings, errors);
|
|
24
|
-
if (name.length || errors.push("name length must be greater than zero"), name.match(/^\./) && errors.push("name cannot start with a period"), name.match(/^_/) && errors.push("name cannot start with an underscore"), name.trim() !== name && errors.push("name cannot contain leading or trailing spaces"), blacklist.forEach(function(blacklistedName) {
|
|
25
|
-
name.toLowerCase() === blacklistedName && errors.push(blacklistedName + " is a blacklisted name");
|
|
26
|
-
}), builtins.includes(name.toLowerCase()) && warnings.push(name + " is a core module name"), name.length > 214 && warnings.push("name can no longer contain more than 214 characters"), name.toLowerCase() !== name && warnings.push("name can no longer contain capital letters"), /[~'!()*]/.test(name.split("/").slice(-1)[0]) && warnings.push(`name can no longer contain special characters ("~'!()*")`), encodeURIComponent(name) !== name) {
|
|
27
|
-
var nameMatch = name.match(scopedPackagePattern);
|
|
28
|
-
if (nameMatch) {
|
|
29
|
-
var user = nameMatch[1], pkg = nameMatch[2];
|
|
30
|
-
if (encodeURIComponent(user) === user && encodeURIComponent(pkg) === pkg)
|
|
31
|
-
return done(warnings, errors);
|
|
32
|
-
}
|
|
33
|
-
errors.push("name can only contain URL-friendly characters");
|
|
34
|
-
}
|
|
35
|
-
return done(warnings, errors);
|
|
36
|
-
}
|
|
37
|
-
var done = function(warnings, errors) {
|
|
38
|
-
var result = {
|
|
39
|
-
validForNewPackages: errors.length === 0 && warnings.length === 0,
|
|
40
|
-
validForOldPackages: errors.length === 0,
|
|
41
|
-
warnings,
|
|
42
|
-
errors
|
|
43
|
-
};
|
|
44
|
-
return result.warnings.length || delete result.warnings, result.errors.length || delete result.errors, result;
|
|
45
|
-
};
|
|
46
|
-
module.exports = validate;
|
|
47
|
-
}
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
export {
|
|
51
|
-
require_lib
|
|
52
|
-
};
|
|
53
|
-
//# sourceMappingURL=chunk-EZQWZ57B.js.map
|