@storm-software/unbuild 0.25.2 → 0.26.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/README.md +1 -1
- package/bin/unbuild.cjs +3366 -0
- package/bin/unbuild.js +2713 -62900
- package/dist/build.cjs +14 -0
- package/dist/{build.d.mts → build.d.cts} +1 -3
- package/dist/build.d.ts +0 -2
- package/dist/build.js +14 -20
- package/dist/chunk-3GQAWCBQ.js +13 -0
- package/dist/{chunk-4BAUMYRN.mjs → chunk-4RR7YISH.js} +9 -8
- package/dist/chunk-BRHZNXQM.js +603 -0
- package/dist/chunk-DRQUQQ5D.js +2459 -0
- package/dist/{chunk-4ENAOJ33.mjs → chunk-ESRR2FD2.js} +2 -4
- package/dist/chunk-GHVDJY3S.cjs +603 -0
- package/dist/chunk-HO6B5DC7.cjs +27 -0
- package/dist/{chunk-6UMHN4KS.mjs → chunk-JIVM7FQJ.js} +3 -5
- package/dist/chunk-KAXKUEZ7.cjs +63 -0
- package/dist/chunk-ORA4UQMU.cjs +1 -0
- package/dist/chunk-OULCUN6I.js +0 -0
- package/dist/{chunk-P6LWSWAQ.js → chunk-SHHAZOHN.cjs} +2 -4
- package/dist/{chunk-ESGPHEWU.mjs → chunk-TFMXUACY.js} +6 -8
- package/dist/{chunk-PVZYPNLZ.js → chunk-TRA2WJ3W.cjs} +6 -8
- package/dist/{chunk-BUCFGCTW.js → chunk-UV35N5R4.cjs} +5 -7
- package/dist/chunk-VEX5RCZW.js +63 -0
- package/dist/chunk-XGMJ3OUH.cjs +2460 -0
- package/dist/{chunk-SQOZCV36.js → chunk-XKHSZIHP.cjs} +8 -7
- package/dist/{chunk-WXJPXYHF.mjs → chunk-YCGXRIUD.js} +3 -5
- package/dist/chunk-YDYGZTJK.cjs +18 -0
- package/dist/clean.cjs +10 -0
- package/dist/clean.js +10 -10
- package/dist/config.cjs +12 -0
- package/dist/{config.d.mts → config.d.cts} +1 -3
- package/dist/config.d.ts +0 -2
- package/dist/config.js +12 -12
- package/dist/index.cjs +28 -0
- package/dist/{index.d.mts → index.d.cts} +4 -6
- package/dist/index.d.ts +0 -2
- package/dist/index.js +28 -39
- package/dist/types.cjs +2 -0
- package/dist/{types.d.mts → types.d.cts} +0 -4
- package/dist/types.d.ts +0 -4
- package/dist/types.js +1 -2
- package/package.json +38 -37
- package/bin/unbuild.mjs +0 -63530
- package/dist/build.mjs +0 -20
- package/dist/chunk-3TNHGERR.mjs +0 -49
- package/dist/chunk-44VTNVZA.js +0 -29
- package/dist/chunk-45FJ3WQ6.js +0 -7528
- package/dist/chunk-4HFICKAT.js +0 -451
- package/dist/chunk-4IU7LXNH.mjs +0 -4054
- package/dist/chunk-523YIUTF.js +0 -19937
- package/dist/chunk-7G3WYTPJ.js +0 -6
- package/dist/chunk-AMTVM7UD.js +0 -4054
- package/dist/chunk-DIRFSBOA.mjs +0 -84
- package/dist/chunk-EGCWTBMT.mjs +0 -1120
- package/dist/chunk-EKTZK3IJ.mjs +0 -765
- package/dist/chunk-FAXWFK7Q.mjs +0 -7528
- package/dist/chunk-G6BE6UP3.mjs +0 -2481
- package/dist/chunk-K5SQO3GD.mjs +0 -451
- package/dist/chunk-MCNTIU52.js +0 -3050
- package/dist/chunk-NMYL4VJJ.js +0 -84
- package/dist/chunk-NOVWJHZD.mjs +0 -6
- package/dist/chunk-Q4GMTWGF.mjs +0 -19937
- package/dist/chunk-RBSVNX4W.js +0 -49
- package/dist/chunk-RM7SW35Z.js +0 -1120
- package/dist/chunk-S532A3LO.js +0 -510
- package/dist/chunk-TEEYWCSY.mjs +0 -3050
- package/dist/chunk-VJI72AA6.mjs +0 -510
- package/dist/chunk-W7YS7HE5.js +0 -765
- package/dist/chunk-YIP6AERX.js +0 -2484
- package/dist/clean.mjs +0 -10
- package/dist/config.mjs +0 -12
- package/dist/dist-JWSUGJW5.js +0 -17571
- package/dist/dist-LXRVOZWD.mjs +0 -17570
- package/dist/esm-2JSYGY2W.js +0 -1716
- package/dist/esm-2LICJFKF.mjs +0 -1716
- package/dist/execa-2KYLC5PR.mjs +0 -2424
- package/dist/execa-QRX32ES4.js +0 -2424
- package/dist/index.mjs +0 -39
- package/dist/json5-JI6Y4EBT.mjs +0 -10
- package/dist/json5-ZRUT32KA.js +0 -10
- package/dist/jsonc-2MC7UMCL.js +0 -15
- package/dist/jsonc-PDDMSRDH.mjs +0 -15
- package/dist/multipart-parser-FQDS23TV.mjs +0 -187
- package/dist/multipart-parser-IX66WIWH.js +0 -187
- package/dist/toml-IHKP66UV.mjs +0 -10
- package/dist/toml-MDHAEB3G.js +0 -10
- package/dist/types.mjs +0 -2
- package/dist/yaml-GMY56OHD.mjs +0 -10
- package/dist/yaml-UTMAXQ2T.js +0 -10
- /package/dist/{clean.d.mts → clean.d.cts} +0 -0
package/dist/build.cjs
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _chunkXGMJ3OUHcjs = require('./chunk-XGMJ3OUH.cjs');
|
|
4
|
+
require('./chunk-TRA2WJ3W.cjs');
|
|
5
|
+
require('./chunk-HO6B5DC7.cjs');
|
|
6
|
+
require('./chunk-KAXKUEZ7.cjs');
|
|
7
|
+
require('./chunk-SHHAZOHN.cjs');
|
|
8
|
+
require('./chunk-UV35N5R4.cjs');
|
|
9
|
+
require('./chunk-XKHSZIHP.cjs');
|
|
10
|
+
require('./chunk-GHVDJY3S.cjs');
|
|
11
|
+
require('./chunk-YDYGZTJK.cjs');
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
exports.build = _chunkXGMJ3OUHcjs.build;
|
package/dist/build.d.ts
CHANGED
package/dist/build.js
CHANGED
|
@@ -1,20 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
require('./chunk-MCNTIU52.js');
|
|
16
|
-
require('./chunk-SQOZCV36.js');
|
|
17
|
-
require('./chunk-RBSVNX4W.js');
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
exports.build = _chunkYIP6AERXjs.build;
|
|
1
|
+
import {
|
|
2
|
+
build
|
|
3
|
+
} from "./chunk-DRQUQQ5D.js";
|
|
4
|
+
import "./chunk-JIVM7FQJ.js";
|
|
5
|
+
import "./chunk-TFMXUACY.js";
|
|
6
|
+
import "./chunk-VEX5RCZW.js";
|
|
7
|
+
import "./chunk-ESRR2FD2.js";
|
|
8
|
+
import "./chunk-YCGXRIUD.js";
|
|
9
|
+
import "./chunk-4RR7YISH.js";
|
|
10
|
+
import "./chunk-BRHZNXQM.js";
|
|
11
|
+
import "./chunk-3GQAWCBQ.js";
|
|
12
|
+
export {
|
|
13
|
+
build
|
|
14
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
3
|
+
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
4
|
+
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
5
|
+
}) : x)(function(x) {
|
|
6
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
7
|
+
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
8
|
+
});
|
|
9
|
+
|
|
10
|
+
export {
|
|
11
|
+
__name,
|
|
12
|
+
__require
|
|
13
|
+
};
|
|
@@ -1,26 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
writeError
|
|
3
|
+
} from "./chunk-BRHZNXQM.js";
|
|
4
|
+
import {
|
|
5
|
+
__name
|
|
6
|
+
} from "./chunk-3GQAWCBQ.js";
|
|
5
7
|
|
|
6
8
|
// src/plugins/on-error.ts
|
|
7
|
-
init_esm_shims();
|
|
8
9
|
var onErrorPlugin = /* @__PURE__ */ __name((options, resolvedOptions) => ({
|
|
9
10
|
name: "storm:on-error",
|
|
10
11
|
buildEnd(error) {
|
|
11
12
|
if (error) {
|
|
12
|
-
|
|
13
|
+
writeError(`The following errors occurred during the build:
|
|
13
14
|
${error ? error.message : "Unknown build error"}
|
|
14
15
|
|
|
15
|
-
|
|
16
|
+
`, resolvedOptions.config);
|
|
16
17
|
throw new Error("Storm unbuild process failed with errors.");
|
|
17
18
|
}
|
|
18
19
|
},
|
|
19
20
|
renderError(error) {
|
|
20
|
-
|
|
21
|
+
writeError(`The following errors occurred during the build:
|
|
21
22
|
${error ? error.message : "Unknown build error"}
|
|
22
23
|
|
|
23
|
-
|
|
24
|
+
`, resolvedOptions.config);
|
|
24
25
|
throw new Error("Storm unbuild process failed with errors.");
|
|
25
26
|
}
|
|
26
27
|
}), "onErrorPlugin");
|