@storm-software/unbuild 0.22.0 → 0.23.1

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 (50) hide show
  1. package/README.md +1 -1
  2. package/bin/unbuild.js +9840 -3131
  3. package/bin/unbuild.mjs +9817 -3083
  4. package/dist/build.d.mts +1 -0
  5. package/dist/build.d.ts +1 -0
  6. package/dist/build.js +9 -10
  7. package/dist/build.mjs +8 -9
  8. package/dist/chunk-3TNHGERR.mjs +49 -0
  9. package/dist/{chunk-BIZYEBW3.mjs → chunk-4ENAOJ33.mjs} +4 -2
  10. package/dist/chunk-5A3XPRPO.js +29 -0
  11. package/dist/{chunk-AICX43E6.mjs → chunk-67M6JMGM.mjs} +6584 -145
  12. package/dist/chunk-7G3WYTPJ.js +6 -0
  13. package/dist/{chunk-OG2CKJQU.mjs → chunk-AQ2MDNLT.mjs} +5 -5
  14. package/dist/{chunk-IIVTCNH5.mjs → chunk-K7L2WB3G.mjs} +5 -6
  15. package/dist/{chunk-6KE6SIPQ.js → chunk-LYYHOUCS.js} +6 -6
  16. package/dist/chunk-NA6OVNJI.js +287 -0
  17. package/dist/chunk-NOVWJHZD.mjs +6 -0
  18. package/dist/{chunk-FDF3FMZP.mjs → chunk-OUDNDBMR.mjs} +5 -5
  19. package/dist/{chunk-RUNO4F6F.js → chunk-P6LWSWAQ.js} +4 -2
  20. package/dist/chunk-Q6WN55YR.mjs +287 -0
  21. package/dist/chunk-RBSVNX4W.js +49 -0
  22. package/dist/{chunk-BMAXMHJB.js → chunk-SLC5BBLC.js} +6 -6
  23. package/dist/chunk-T5JY3PDF.js +23 -0
  24. package/dist/{chunk-B2WY6JG2.js → chunk-TAHELANG.js} +7629 -1190
  25. package/dist/{chunk-T5NKX2EJ.mjs → chunk-XPX5NQ4D.mjs} +8 -6
  26. package/dist/clean.js +3 -4
  27. package/dist/clean.mjs +2 -3
  28. package/dist/config.d.mts +1 -0
  29. package/dist/config.d.ts +1 -0
  30. package/dist/config.js +7 -8
  31. package/dist/config.mjs +6 -7
  32. package/dist/index.d.mts +1 -0
  33. package/dist/index.d.ts +1 -0
  34. package/dist/index.js +15 -11
  35. package/dist/index.mjs +14 -10
  36. package/dist/types.d.mts +2 -0
  37. package/dist/types.d.ts +2 -0
  38. package/dist/types.js +2 -2
  39. package/dist/types.mjs +2 -1
  40. package/package.json +190 -1
  41. package/dist/chunk-2Q67L63A.js +0 -2456
  42. package/dist/chunk-4WKFVYTI.js +0 -18
  43. package/dist/chunk-B5GGHMTB.mjs +0 -604
  44. package/dist/chunk-E73BVQF5.js +0 -24
  45. package/dist/chunk-ERHVDARL.mjs +0 -0
  46. package/dist/chunk-J5YBLOB7.js +0 -27
  47. package/dist/chunk-LPEX4YW6.mjs +0 -13
  48. package/dist/chunk-OULCUN6I.js +0 -1
  49. package/dist/chunk-SGIQJ2OU.mjs +0 -2455
  50. package/dist/chunk-UUI4UWA4.js +0 -604
package/dist/build.d.mts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { UnbuildOptions } from './types.mjs';
2
2
  import '@storm-software/build-tools';
3
+ import 'jiti';
3
4
  import 'unbuild';
4
5
 
5
6
  /**
package/dist/build.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { UnbuildOptions } from './types.js';
2
2
  import '@storm-software/build-tools';
3
+ import 'jiti';
3
4
  import 'unbuild';
4
5
 
5
6
  /**
package/dist/build.js CHANGED
@@ -1,14 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
2
 
3
- var _chunk2Q67L63Ajs = require('./chunk-2Q67L63A.js');
4
- require('./chunk-E73BVQF5.js');
5
- require('./chunk-J5YBLOB7.js');
6
- require('./chunk-B2WY6JG2.js');
7
- require('./chunk-RUNO4F6F.js');
8
- require('./chunk-6KE6SIPQ.js');
9
- require('./chunk-BMAXMHJB.js');
10
- require('./chunk-UUI4UWA4.js');
11
- require('./chunk-4WKFVYTI.js');
3
+ var _chunkNA6OVNJIjs = require('./chunk-NA6OVNJI.js');
4
+ require('./chunk-T5JY3PDF.js');
5
+ require('./chunk-5A3XPRPO.js');
6
+ require('./chunk-TAHELANG.js');
7
+ require('./chunk-P6LWSWAQ.js');
8
+ require('./chunk-LYYHOUCS.js');
9
+ require('./chunk-SLC5BBLC.js');
10
+ require('./chunk-RBSVNX4W.js');
12
11
 
13
12
 
14
- exports.build = _chunk2Q67L63Ajs.build;
13
+ exports.build = _chunkNA6OVNJIjs.build;
package/dist/build.mjs CHANGED
@@ -1,14 +1,13 @@
1
1
  import {
2
2
  build
3
- } from "./chunk-SGIQJ2OU.mjs";
4
- import "./chunk-IIVTCNH5.mjs";
5
- import "./chunk-T5NKX2EJ.mjs";
6
- import "./chunk-AICX43E6.mjs";
7
- import "./chunk-BIZYEBW3.mjs";
8
- import "./chunk-FDF3FMZP.mjs";
9
- import "./chunk-OG2CKJQU.mjs";
10
- import "./chunk-B5GGHMTB.mjs";
11
- import "./chunk-LPEX4YW6.mjs";
3
+ } from "./chunk-Q6WN55YR.mjs";
4
+ import "./chunk-K7L2WB3G.mjs";
5
+ import "./chunk-XPX5NQ4D.mjs";
6
+ import "./chunk-67M6JMGM.mjs";
7
+ import "./chunk-4ENAOJ33.mjs";
8
+ import "./chunk-OUDNDBMR.mjs";
9
+ import "./chunk-AQ2MDNLT.mjs";
10
+ import "./chunk-3TNHGERR.mjs";
12
11
  export {
13
12
  build
14
13
  };
@@ -0,0 +1,49 @@
1
+ var __create = Object.create;
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __getProtoOf = Object.getPrototypeOf;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
8
+ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
9
+ get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
10
+ }) : x)(function(x) {
11
+ if (typeof require !== "undefined") return require.apply(this, arguments);
12
+ throw Error('Dynamic require of "' + x + '" is not supported');
13
+ });
14
+ var __esm = (fn, res) => function __init() {
15
+ return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
16
+ };
17
+ var __commonJS = (cb, mod) => function __require2() {
18
+ return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
19
+ };
20
+ var __copyProps = (to, from, except, desc) => {
21
+ if (from && typeof from === "object" || typeof from === "function") {
22
+ for (let key of __getOwnPropNames(from))
23
+ if (!__hasOwnProp.call(to, key) && key !== except)
24
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
25
+ }
26
+ return to;
27
+ };
28
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
29
+ // If the importer is in node compatibility mode or this is not an ESM
30
+ // file that has been converted to a CommonJS file using a Babel-
31
+ // compatible transform (i.e. "__esModule" has not been set), then set
32
+ // "default" to the CommonJS "module.exports" for node compatibility.
33
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
34
+ mod
35
+ ));
36
+
37
+ // ../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.7__@swc+core@1.7.26_@swc+helpers_ekim6y52mwpq6ssxiprcp44dam/node_modules/tsup/assets/esm_shims.js
38
+ var init_esm_shims = __esm({
39
+ "../../node_modules/.pnpm/tsup@8.3.5_@microsoft+api-extractor@7.49.1_@types+node@22.10.7__@swc+core@1.7.26_@swc+helpers_ekim6y52mwpq6ssxiprcp44dam/node_modules/tsup/assets/esm_shims.js"() {
40
+ }
41
+ });
42
+
43
+ export {
44
+ __name,
45
+ __require,
46
+ __commonJS,
47
+ __toESM,
48
+ init_esm_shims
49
+ };
@@ -1,8 +1,10 @@
1
1
  import {
2
- __name
3
- } from "./chunk-LPEX4YW6.mjs";
2
+ __name,
3
+ init_esm_shims
4
+ } from "./chunk-3TNHGERR.mjs";
4
5
 
5
6
  // src/plugins/type-definitions.ts
7
+ init_esm_shims();
6
8
  import { relative } from "node:path";
7
9
  function typeDefinitions(projectRoot) {
8
10
  return {
@@ -0,0 +1,29 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkTAHELANGjs = require('./chunk-TAHELANG.js');
4
+
5
+
6
+ var _chunkP6LWSWAQjs = require('./chunk-P6LWSWAQ.js');
7
+
8
+
9
+ var _chunkLYYHOUCSjs = require('./chunk-LYYHOUCS.js');
10
+
11
+
12
+ var _chunkSLC5BBLCjs = require('./chunk-SLC5BBLC.js');
13
+
14
+
15
+
16
+ var _chunkRBSVNX4Wjs = require('./chunk-RBSVNX4W.js');
17
+
18
+ // src/config.ts
19
+ _chunkRBSVNX4Wjs.init_cjs_shims.call(void 0, );
20
+ var getDefaultBuildPlugins = /* @__PURE__ */ _chunkRBSVNX4Wjs.__name.call(void 0, async (options, resolvedOptions) => Promise.all([
21
+ _chunkLYYHOUCSjs.analyzePlugin.call(void 0, options, resolvedOptions),
22
+ _chunkP6LWSWAQjs.typeDefinitions.call(void 0, resolvedOptions.projectRoot),
23
+ _chunkTAHELANGjs.tscPlugin.call(void 0, options, resolvedOptions),
24
+ _chunkSLC5BBLCjs.onErrorPlugin.call(void 0, options, resolvedOptions)
25
+ ].map((plugin) => Promise.resolve(plugin))), "getDefaultBuildPlugins");
26
+
27
+
28
+
29
+ exports.getDefaultBuildPlugins = getDefaultBuildPlugins;