@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.
- package/README.md +1 -1
- package/bin/unbuild.cjs +798 -412
- package/bin/unbuild.js +826 -420
- package/dist/build.cjs +8 -8
- package/dist/build.js +7 -7
- package/dist/{chunk-3GQAWCBQ.js → chunk-3RG5ZIWI.js} +0 -3
- package/dist/{chunk-HZNOKNKE.js → chunk-4KHUAP4R.js} +13 -10
- package/dist/{chunk-BFBEOACU.cjs → chunk-ALGMIE4E.cjs} +471 -257
- package/dist/{chunk-5FQ2QYFQ.js → chunk-ATN45QRM.js} +418 -204
- package/dist/{chunk-F4MPFQDI.cjs → chunk-FAW45G3E.cjs} +13 -10
- package/dist/{chunk-3BXXHK3F.cjs → chunk-MO3MUSJO.cjs} +7 -15
- package/dist/chunk-OBGZSXTJ.cjs +10 -0
- package/dist/{chunk-DUDE4LYM.js → chunk-PCGRQKDH.js} +2 -10
- package/dist/{chunk-PWE7CANF.cjs → chunk-Q2G4VMOW.cjs} +198 -130
- package/dist/{chunk-ITHOVA3D.cjs → chunk-Q3NBYYR4.cjs} +4 -12
- package/dist/{chunk-ZB2JWLJS.cjs → chunk-Q4VUCJPK.cjs} +51 -16
- package/dist/chunk-WQLDD6CA.js +106 -0
- package/dist/{chunk-3BDIPKMO.js → chunk-XQLLOGJZ.js} +197 -129
- package/dist/{chunk-SMAV5VSP.js → chunk-XWLZOFQ4.js} +6 -14
- package/dist/clean.cjs +4 -4
- package/dist/clean.js +3 -3
- package/dist/index.cjs +9 -9
- package/dist/index.js +8 -8
- package/dist/plugins/analyze.cjs +4 -4
- package/dist/plugins/analyze.js +3 -3
- package/dist/plugins/on-error.cjs +4 -4
- package/dist/plugins/on-error.js +3 -3
- package/dist/plugins/swc.cjs +5 -8
- package/dist/plugins/swc.js +4 -7
- package/dist/plugins/tsc.cjs +4 -4
- package/dist/plugins/tsc.js +3 -3
- package/dist/plugins/type-definitions.cjs +9 -6
- package/dist/plugins/type-definitions.js +9 -6
- package/dist/types.cjs +1 -1
- package/dist/types.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-BGYQAVKQ.cjs +0 -13
- package/dist/chunk-XXRSY6EE.js +0 -71
- /package/dist/{chunk-OULCUN6I.js → chunk-GGNOJ77I.js} +0 -0
- /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
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
14
|
-
require('./chunk-
|
|
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 =
|
|
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-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
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-
|
|
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 =
|
|
6
|
+
var onErrorPlugin = (options) => ({
|
|
10
7
|
name: "storm:on-error",
|
|
11
8
|
buildEnd(error) {
|
|
12
9
|
if (error) {
|
|
13
|
-
writeError(
|
|
10
|
+
writeError(
|
|
11
|
+
`The following errors occurred during the build:
|
|
14
12
|
${error ? error.message : "Unknown build error"}
|
|
15
13
|
|
|
16
|
-
`,
|
|
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(
|
|
21
|
+
writeError(
|
|
22
|
+
`The following errors occurred during the build:
|
|
22
23
|
${error ? error.message : "Unknown build error"}
|
|
23
24
|
|
|
24
|
-
`,
|
|
25
|
+
`,
|
|
26
|
+
options.config
|
|
27
|
+
);
|
|
25
28
|
throw new Error("Storm unbuild process failed with errors.");
|
|
26
29
|
}
|
|
27
|
-
})
|
|
30
|
+
});
|
|
28
31
|
|
|
29
32
|
export {
|
|
30
33
|
onErrorPlugin
|