@nextsparkjs/cli 0.1.0-beta.100 → 0.1.0-beta.102

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.
@@ -0,0 +1,8 @@
1
+ import {
2
+ addPlugin,
3
+ addPluginCommand
4
+ } from "./chunk-DXL5CEZD.js";
5
+ export {
6
+ addPlugin,
7
+ addPluginCommand
8
+ };
@@ -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-Q7DOR7XO.js");
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