@nextsparkjs/cli 0.1.0-beta.100 → 0.1.0-beta.101
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/add-plugin-KIJLCOEQ.js +8 -0
- package/dist/{chunk-5GBCARGX.js → chunk-DXL5CEZD.js} +9 -2
- package/dist/cli.js +962 -490
- package/package.json +1 -1
- package/dist/add-plugin-Q7DOR7XO.js +0 -10
- package/dist/add-plugin-Q7DOR7XO.js.map +0 -1
- package/dist/chunk-5GBCARGX.js.map +0 -1
- package/dist/chunk-DGUM43GV.js +0 -11
- package/dist/chunk-DGUM43GV.js.map +0 -1
- package/dist/chunk-QXD4PBX6.js +0 -435
- package/dist/chunk-QXD4PBX6.js.map +0 -1
- package/dist/cli.js.map +0 -1
- package/dist/index.d.ts +0 -46
- package/dist/index.js +0 -24
- package/dist/index.js.map +0 -1
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
var __require = /* @__PURE__ */ ((x2) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x2, {
|
|
2
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
3
|
+
}) : x2)(function(x2) {
|
|
4
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
5
|
+
throw Error('Dynamic require of "' + x2 + '" is not supported');
|
|
6
|
+
});
|
|
7
|
+
|
|
1
8
|
// src/commands/add-plugin.ts
|
|
2
9
|
import chalk7 from "chalk";
|
|
3
10
|
import ora from "ora";
|
|
@@ -520,7 +527,7 @@ async function runPostinstall(packageJson, installedPath, context) {
|
|
|
520
527
|
if (!pluginExists) {
|
|
521
528
|
console.log(` Installing required plugin: ${plugin}`);
|
|
522
529
|
context.installingPlugins.add(plugin);
|
|
523
|
-
const { addPlugin: addPlugin2 } = await import("./add-plugin-
|
|
530
|
+
const { addPlugin: addPlugin2 } = await import("./add-plugin-KIJLCOEQ.js");
|
|
524
531
|
await addPlugin2(plugin, { installingPlugins: context.installingPlugins });
|
|
525
532
|
}
|
|
526
533
|
}
|
|
@@ -688,6 +695,7 @@ function addPluginCommand(packageSpec, options) {
|
|
|
688
695
|
}
|
|
689
696
|
|
|
690
697
|
export {
|
|
698
|
+
__require,
|
|
691
699
|
fetchPackage,
|
|
692
700
|
validateTheme,
|
|
693
701
|
installTheme,
|
|
@@ -695,4 +703,3 @@ export {
|
|
|
695
703
|
addPluginCommand,
|
|
696
704
|
runPostinstall
|
|
697
705
|
};
|
|
698
|
-
//# sourceMappingURL=chunk-5GBCARGX.js.map
|