@storm-software/unbuild 0.41.21 → 0.41.22

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.
Files changed (40) hide show
  1. package/README.md +1 -1
  2. package/bin/unbuild.cjs +798 -412
  3. package/bin/unbuild.js +826 -420
  4. package/dist/build.cjs +8 -8
  5. package/dist/build.js +7 -7
  6. package/dist/{chunk-3GQAWCBQ.js → chunk-3RG5ZIWI.js} +0 -3
  7. package/dist/{chunk-HZNOKNKE.js → chunk-4KHUAP4R.js} +13 -10
  8. package/dist/{chunk-BFBEOACU.cjs → chunk-ALGMIE4E.cjs} +471 -257
  9. package/dist/{chunk-5FQ2QYFQ.js → chunk-ATN45QRM.js} +418 -204
  10. package/dist/{chunk-F4MPFQDI.cjs → chunk-FAW45G3E.cjs} +13 -10
  11. package/dist/{chunk-3BXXHK3F.cjs → chunk-MO3MUSJO.cjs} +7 -15
  12. package/dist/chunk-OBGZSXTJ.cjs +10 -0
  13. package/dist/{chunk-DUDE4LYM.js → chunk-PCGRQKDH.js} +2 -10
  14. package/dist/{chunk-PWE7CANF.cjs → chunk-Q2G4VMOW.cjs} +198 -130
  15. package/dist/{chunk-ITHOVA3D.cjs → chunk-Q3NBYYR4.cjs} +4 -12
  16. package/dist/{chunk-ZB2JWLJS.cjs → chunk-Q4VUCJPK.cjs} +51 -16
  17. package/dist/chunk-WQLDD6CA.js +106 -0
  18. package/dist/{chunk-3BDIPKMO.js → chunk-XQLLOGJZ.js} +197 -129
  19. package/dist/{chunk-SMAV5VSP.js → chunk-XWLZOFQ4.js} +6 -14
  20. package/dist/clean.cjs +4 -4
  21. package/dist/clean.js +3 -3
  22. package/dist/index.cjs +9 -9
  23. package/dist/index.js +8 -8
  24. package/dist/plugins/analyze.cjs +4 -4
  25. package/dist/plugins/analyze.js +3 -3
  26. package/dist/plugins/on-error.cjs +4 -4
  27. package/dist/plugins/on-error.js +3 -3
  28. package/dist/plugins/swc.cjs +5 -8
  29. package/dist/plugins/swc.js +4 -7
  30. package/dist/plugins/tsc.cjs +4 -4
  31. package/dist/plugins/tsc.js +3 -3
  32. package/dist/plugins/type-definitions.cjs +9 -6
  33. package/dist/plugins/type-definitions.js +9 -6
  34. package/dist/types.cjs +1 -1
  35. package/dist/types.js +1 -1
  36. package/package.json +1 -1
  37. package/dist/chunk-BGYQAVKQ.cjs +0 -13
  38. package/dist/chunk-XXRSY6EE.js +0 -71
  39. /package/dist/{chunk-OULCUN6I.js → chunk-GGNOJ77I.js} +0 -0
  40. /package/dist/{chunk-ORA4UQMU.cjs → chunk-SFZRYJZ2.cjs} +0 -0
package/dist/build.cjs CHANGED
@@ -5,13 +5,13 @@
5
5
 
6
6
 
7
7
 
8
- var _chunkBFBEOACUcjs = require('./chunk-BFBEOACU.cjs');
9
- require('./chunk-ITHOVA3D.cjs');
10
- require('./chunk-3BXXHK3F.cjs');
11
- require('./chunk-F4MPFQDI.cjs');
12
- require('./chunk-ZB2JWLJS.cjs');
13
- require('./chunk-PWE7CANF.cjs');
14
- require('./chunk-BGYQAVKQ.cjs');
8
+ var _chunkALGMIE4Ecjs = require('./chunk-ALGMIE4E.cjs');
9
+ require('./chunk-Q3NBYYR4.cjs');
10
+ require('./chunk-MO3MUSJO.cjs');
11
+ require('./chunk-FAW45G3E.cjs');
12
+ require('./chunk-Q4VUCJPK.cjs');
13
+ require('./chunk-Q2G4VMOW.cjs');
14
+ require('./chunk-OBGZSXTJ.cjs');
15
15
 
16
16
 
17
17
 
@@ -19,4 +19,4 @@ require('./chunk-BGYQAVKQ.cjs');
19
19
 
20
20
 
21
21
 
22
- exports.build = _chunkBFBEOACUcjs.build; exports.cleanOutputPath = _chunkBFBEOACUcjs.cleanOutputPath; exports.copyBuildAssets = _chunkBFBEOACUcjs.copyBuildAssets; exports.executeUnbuild = _chunkBFBEOACUcjs.executeUnbuild; exports.generatePackageJson = _chunkBFBEOACUcjs.generatePackageJson; exports.resolveOptions = _chunkBFBEOACUcjs.resolveOptions;
22
+ exports.build = _chunkALGMIE4Ecjs.build; exports.cleanOutputPath = _chunkALGMIE4Ecjs.cleanOutputPath; exports.copyBuildAssets = _chunkALGMIE4Ecjs.copyBuildAssets; exports.executeUnbuild = _chunkALGMIE4Ecjs.executeUnbuild; exports.generatePackageJson = _chunkALGMIE4Ecjs.generatePackageJson; exports.resolveOptions = _chunkALGMIE4Ecjs.resolveOptions;
package/dist/build.js CHANGED
@@ -5,13 +5,13 @@ import {
5
5
  executeUnbuild,
6
6
  generatePackageJson,
7
7
  resolveOptions
8
- } from "./chunk-5FQ2QYFQ.js";
9
- import "./chunk-DUDE4LYM.js";
10
- import "./chunk-SMAV5VSP.js";
11
- import "./chunk-HZNOKNKE.js";
12
- import "./chunk-XXRSY6EE.js";
13
- import "./chunk-3BDIPKMO.js";
14
- import "./chunk-3GQAWCBQ.js";
8
+ } from "./chunk-ATN45QRM.js";
9
+ import "./chunk-PCGRQKDH.js";
10
+ import "./chunk-XWLZOFQ4.js";
11
+ import "./chunk-4KHUAP4R.js";
12
+ import "./chunk-WQLDD6CA.js";
13
+ import "./chunk-XQLLOGJZ.js";
14
+ import "./chunk-3RG5ZIWI.js";
15
15
  export {
16
16
  build,
17
17
  cleanOutputPath,
@@ -1,5 +1,3 @@
1
- var __defProp = Object.defineProperty;
2
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
3
1
  var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
4
2
  get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
5
3
  }) : x)(function(x) {
@@ -8,6 +6,5 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
8
6
  });
9
7
 
10
8
  export {
11
- __name,
12
9
  __require
13
10
  };
@@ -1,30 +1,33 @@
1
1
  import {
2
2
  writeError
3
- } from "./chunk-3BDIPKMO.js";
4
- import {
5
- __name
6
- } from "./chunk-3GQAWCBQ.js";
3
+ } from "./chunk-XQLLOGJZ.js";
7
4
 
8
5
  // src/plugins/on-error.ts
9
- var onErrorPlugin = /* @__PURE__ */ __name((options) => ({
6
+ var onErrorPlugin = (options) => ({
10
7
  name: "storm:on-error",
11
8
  buildEnd(error) {
12
9
  if (error) {
13
- writeError(`The following errors occurred during the build:
10
+ writeError(
11
+ `The following errors occurred during the build:
14
12
  ${error ? error.message : "Unknown build error"}
15
13
 
16
- `, options.config);
14
+ `,
15
+ options.config
16
+ );
17
17
  throw new Error("Storm unbuild process failed with errors.");
18
18
  }
19
19
  },
20
20
  renderError(error) {
21
- writeError(`The following errors occurred during the build:
21
+ writeError(
22
+ `The following errors occurred during the build:
22
23
  ${error ? error.message : "Unknown build error"}
23
24
 
24
- `, options.config);
25
+ `,
26
+ options.config
27
+ );
25
28
  throw new Error("Storm unbuild process failed with errors.");
26
29
  }
27
- }), "onErrorPlugin");
30
+ });
28
31
 
29
32
  export {
30
33
  onErrorPlugin