@storm-software/unbuild 0.57.222 → 0.57.225
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 +16 -16
- package/bin/unbuild.js +16 -16
- package/dist/build.cjs +7 -7
- package/dist/build.js +6 -6
- package/dist/{chunk-ROFC2IQA.cjs → chunk-4S37FSA4.cjs} +2 -2
- package/dist/{chunk-5Q2S4U57.js → chunk-4YZB33F3.js} +18 -18
- package/dist/{chunk-7GZ2ZBKW.cjs → chunk-5IFC3VFL.cjs} +3 -3
- package/dist/{chunk-JF6Y4WH6.js → chunk-5YNMAFOH.js} +1 -1
- package/dist/{chunk-K7LEIUET.js → chunk-F6C32LDB.js} +1 -1
- package/dist/{chunk-XZ6O7MCW.js → chunk-INCSXY4G.js} +1 -1
- package/dist/{chunk-6KIN4GZO.js → chunk-IXEYZDLQ.js} +1 -1
- package/dist/{chunk-BDGQ4KZS.cjs → chunk-QDBPL4XM.cjs} +57 -57
- package/dist/{chunk-3ZCIIDMR.cjs → chunk-SWMSXPOY.cjs} +3 -3
- package/dist/{chunk-7KWZHUN2.cjs → chunk-TI7LEWRN.cjs} +3 -3
- package/dist/{chunk-2DAHJKJE.cjs → chunk-YBAENWC7.cjs} +2 -2
- package/dist/{chunk-RJD3FW5L.js → chunk-ZO3LA4ZI.js} +3 -3
- package/dist/clean.cjs +3 -3
- package/dist/clean.js +2 -2
- package/dist/index.cjs +7 -7
- package/dist/index.js +6 -6
- package/dist/plugins/analyze.cjs +3 -3
- package/dist/plugins/analyze.js +2 -2
- package/dist/plugins/on-error.cjs +3 -3
- package/dist/plugins/on-error.js +2 -2
- package/dist/plugins/tsc.cjs +3 -3
- package/dist/plugins/tsc.js +2 -2
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -27,7 +27,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
27
27
|
|
|
28
28
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
29
29
|
|
|
30
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
31
31
|
|
|
32
32
|
<!-- prettier-ignore-start -->
|
|
33
33
|
<!-- markdownlint-disable -->
|
package/bin/unbuild.cjs
CHANGED
|
@@ -54,7 +54,7 @@ var colorSchema = z.string().check(
|
|
|
54
54
|
schemaRegistry.add(colorSchema, {
|
|
55
55
|
description: "A base schema for describing the format of colors"
|
|
56
56
|
});
|
|
57
|
-
var darkColorSchema = z._default(colorSchema, "#
|
|
57
|
+
var darkColorSchema = z._default(colorSchema, "#1e2124");
|
|
58
58
|
schemaRegistry.add(darkColorSchema, {
|
|
59
59
|
description: "The dark background color of the workspace"
|
|
60
60
|
});
|
|
@@ -78,8 +78,8 @@ var linkColorSchema = z._default(colorSchema, "#3fa6ff");
|
|
|
78
78
|
schemaRegistry.add(linkColorSchema, {
|
|
79
79
|
description: "The color used to display hyperlink text"
|
|
80
80
|
});
|
|
81
|
-
var
|
|
82
|
-
schemaRegistry.add(
|
|
81
|
+
var discoveryColorSchema = z._default(colorSchema, "#818cf8");
|
|
82
|
+
schemaRegistry.add(discoveryColorSchema, {
|
|
83
83
|
description: "The second brand specific color of the workspace"
|
|
84
84
|
});
|
|
85
85
|
var successColorSchema = z._default(colorSchema, "#45b27e");
|
|
@@ -129,7 +129,7 @@ var darkColorsSchema = z.object({
|
|
|
129
129
|
alternate: alternateColorSchema,
|
|
130
130
|
accent: accentColorSchema,
|
|
131
131
|
link: linkColorSchema,
|
|
132
|
-
|
|
132
|
+
discovery: discoveryColorSchema,
|
|
133
133
|
success: successColorSchema,
|
|
134
134
|
info: infoColorSchema,
|
|
135
135
|
debug: debugColorSchema,
|
|
@@ -148,7 +148,7 @@ var lightColorsSchema = z.object({
|
|
|
148
148
|
alternate: alternateColorSchema,
|
|
149
149
|
accent: accentColorSchema,
|
|
150
150
|
link: linkColorSchema,
|
|
151
|
-
|
|
151
|
+
discovery: discoveryColorSchema,
|
|
152
152
|
success: successColorSchema,
|
|
153
153
|
info: infoColorSchema,
|
|
154
154
|
debug: debugColorSchema,
|
|
@@ -171,7 +171,7 @@ var singleColorsSchema = z.object({
|
|
|
171
171
|
alternate: alternateColorSchema,
|
|
172
172
|
accent: accentColorSchema,
|
|
173
173
|
link: linkColorSchema,
|
|
174
|
-
|
|
174
|
+
discovery: discoveryColorSchema,
|
|
175
175
|
success: successColorSchema,
|
|
176
176
|
info: infoColorSchema,
|
|
177
177
|
debug: debugColorSchema,
|
|
@@ -655,7 +655,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
655
655
|
foreground: "#1d1e22",
|
|
656
656
|
brand: "#1fb2a6",
|
|
657
657
|
alternate: "#db2777",
|
|
658
|
-
|
|
658
|
+
discovery: "#5C4EE5",
|
|
659
659
|
success: "#087f5b",
|
|
660
660
|
info: "#0550ae",
|
|
661
661
|
debug: "#8afafc",
|
|
@@ -669,11 +669,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
669
669
|
gradient: ["#1fb2a6", "#db2777", "#5C4EE5"]
|
|
670
670
|
},
|
|
671
671
|
dark: {
|
|
672
|
-
background: "#
|
|
672
|
+
background: "#1e2124",
|
|
673
673
|
foreground: "#cbd5e1",
|
|
674
674
|
brand: "#2dd4bf",
|
|
675
675
|
alternate: "#db2777",
|
|
676
|
-
|
|
676
|
+
discovery: "#818cf8",
|
|
677
677
|
success: "#10b981",
|
|
678
678
|
info: "#58a6ff",
|
|
679
679
|
debug: "#8afafc",
|
|
@@ -1238,7 +1238,7 @@ var COLOR_KEYS = [
|
|
|
1238
1238
|
"accent",
|
|
1239
1239
|
"link",
|
|
1240
1240
|
"success",
|
|
1241
|
-
"
|
|
1241
|
+
"discovery",
|
|
1242
1242
|
"info",
|
|
1243
1243
|
"warning",
|
|
1244
1244
|
"danger",
|
|
@@ -1616,7 +1616,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
1616
1616
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
1617
1617
|
accent: process.env[`${prefix}ACCENT`],
|
|
1618
1618
|
link: process.env[`${prefix}LINK`],
|
|
1619
|
-
|
|
1619
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1620
1620
|
success: process.env[`${prefix}SUCCESS`],
|
|
1621
1621
|
info: process.env[`${prefix}INFO`],
|
|
1622
1622
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -1656,7 +1656,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1656
1656
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
1657
1657
|
accent: process.env[`${prefix}ACCENT`],
|
|
1658
1658
|
link: process.env[`${prefix}LINK`],
|
|
1659
|
-
|
|
1659
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1660
1660
|
success: process.env[`${prefix}SUCCESS`],
|
|
1661
1661
|
info: process.env[`${prefix}INFO`],
|
|
1662
1662
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -1953,8 +1953,8 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1953
1953
|
if (config.link) {
|
|
1954
1954
|
process.env[`${prefix}LINK`] = config.link;
|
|
1955
1955
|
}
|
|
1956
|
-
if (config.
|
|
1957
|
-
process.env[`${prefix}
|
|
1956
|
+
if (config.discovery) {
|
|
1957
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1958
1958
|
}
|
|
1959
1959
|
if (config.success) {
|
|
1960
1960
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -2014,8 +2014,8 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
2014
2014
|
if (config.link) {
|
|
2015
2015
|
process.env[`${prefix}LINK`] = config.link;
|
|
2016
2016
|
}
|
|
2017
|
-
if (config.
|
|
2018
|
-
process.env[`${prefix}
|
|
2017
|
+
if (config.discovery) {
|
|
2018
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
2019
2019
|
}
|
|
2020
2020
|
if (config.success) {
|
|
2021
2021
|
process.env[`${prefix}SUCCESS`] = config.success;
|
package/bin/unbuild.js
CHANGED
|
@@ -32,7 +32,7 @@ var colorSchema = z.string().check(
|
|
|
32
32
|
schemaRegistry.add(colorSchema, {
|
|
33
33
|
description: "A base schema for describing the format of colors"
|
|
34
34
|
});
|
|
35
|
-
var darkColorSchema = z._default(colorSchema, "#
|
|
35
|
+
var darkColorSchema = z._default(colorSchema, "#1e2124");
|
|
36
36
|
schemaRegistry.add(darkColorSchema, {
|
|
37
37
|
description: "The dark background color of the workspace"
|
|
38
38
|
});
|
|
@@ -56,8 +56,8 @@ var linkColorSchema = z._default(colorSchema, "#3fa6ff");
|
|
|
56
56
|
schemaRegistry.add(linkColorSchema, {
|
|
57
57
|
description: "The color used to display hyperlink text"
|
|
58
58
|
});
|
|
59
|
-
var
|
|
60
|
-
schemaRegistry.add(
|
|
59
|
+
var discoveryColorSchema = z._default(colorSchema, "#818cf8");
|
|
60
|
+
schemaRegistry.add(discoveryColorSchema, {
|
|
61
61
|
description: "The second brand specific color of the workspace"
|
|
62
62
|
});
|
|
63
63
|
var successColorSchema = z._default(colorSchema, "#45b27e");
|
|
@@ -107,7 +107,7 @@ var darkColorsSchema = z.object({
|
|
|
107
107
|
alternate: alternateColorSchema,
|
|
108
108
|
accent: accentColorSchema,
|
|
109
109
|
link: linkColorSchema,
|
|
110
|
-
|
|
110
|
+
discovery: discoveryColorSchema,
|
|
111
111
|
success: successColorSchema,
|
|
112
112
|
info: infoColorSchema,
|
|
113
113
|
debug: debugColorSchema,
|
|
@@ -126,7 +126,7 @@ var lightColorsSchema = z.object({
|
|
|
126
126
|
alternate: alternateColorSchema,
|
|
127
127
|
accent: accentColorSchema,
|
|
128
128
|
link: linkColorSchema,
|
|
129
|
-
|
|
129
|
+
discovery: discoveryColorSchema,
|
|
130
130
|
success: successColorSchema,
|
|
131
131
|
info: infoColorSchema,
|
|
132
132
|
debug: debugColorSchema,
|
|
@@ -149,7 +149,7 @@ var singleColorsSchema = z.object({
|
|
|
149
149
|
alternate: alternateColorSchema,
|
|
150
150
|
accent: accentColorSchema,
|
|
151
151
|
link: linkColorSchema,
|
|
152
|
-
|
|
152
|
+
discovery: discoveryColorSchema,
|
|
153
153
|
success: successColorSchema,
|
|
154
154
|
info: infoColorSchema,
|
|
155
155
|
debug: debugColorSchema,
|
|
@@ -633,7 +633,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
633
633
|
foreground: "#1d1e22",
|
|
634
634
|
brand: "#1fb2a6",
|
|
635
635
|
alternate: "#db2777",
|
|
636
|
-
|
|
636
|
+
discovery: "#5C4EE5",
|
|
637
637
|
success: "#087f5b",
|
|
638
638
|
info: "#0550ae",
|
|
639
639
|
debug: "#8afafc",
|
|
@@ -647,11 +647,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
647
647
|
gradient: ["#1fb2a6", "#db2777", "#5C4EE5"]
|
|
648
648
|
},
|
|
649
649
|
dark: {
|
|
650
|
-
background: "#
|
|
650
|
+
background: "#1e2124",
|
|
651
651
|
foreground: "#cbd5e1",
|
|
652
652
|
brand: "#2dd4bf",
|
|
653
653
|
alternate: "#db2777",
|
|
654
|
-
|
|
654
|
+
discovery: "#818cf8",
|
|
655
655
|
success: "#10b981",
|
|
656
656
|
info: "#58a6ff",
|
|
657
657
|
debug: "#8afafc",
|
|
@@ -1216,7 +1216,7 @@ var COLOR_KEYS = [
|
|
|
1216
1216
|
"accent",
|
|
1217
1217
|
"link",
|
|
1218
1218
|
"success",
|
|
1219
|
-
"
|
|
1219
|
+
"discovery",
|
|
1220
1220
|
"info",
|
|
1221
1221
|
"warning",
|
|
1222
1222
|
"danger",
|
|
@@ -1594,7 +1594,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
1594
1594
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
1595
1595
|
accent: process.env[`${prefix}ACCENT`],
|
|
1596
1596
|
link: process.env[`${prefix}LINK`],
|
|
1597
|
-
|
|
1597
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1598
1598
|
success: process.env[`${prefix}SUCCESS`],
|
|
1599
1599
|
info: process.env[`${prefix}INFO`],
|
|
1600
1600
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -1634,7 +1634,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1634
1634
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
1635
1635
|
accent: process.env[`${prefix}ACCENT`],
|
|
1636
1636
|
link: process.env[`${prefix}LINK`],
|
|
1637
|
-
|
|
1637
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1638
1638
|
success: process.env[`${prefix}SUCCESS`],
|
|
1639
1639
|
info: process.env[`${prefix}INFO`],
|
|
1640
1640
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -1931,8 +1931,8 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1931
1931
|
if (config.link) {
|
|
1932
1932
|
process.env[`${prefix}LINK`] = config.link;
|
|
1933
1933
|
}
|
|
1934
|
-
if (config.
|
|
1935
|
-
process.env[`${prefix}
|
|
1934
|
+
if (config.discovery) {
|
|
1935
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1936
1936
|
}
|
|
1937
1937
|
if (config.success) {
|
|
1938
1938
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -1992,8 +1992,8 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1992
1992
|
if (config.link) {
|
|
1993
1993
|
process.env[`${prefix}LINK`] = config.link;
|
|
1994
1994
|
}
|
|
1995
|
-
if (config.
|
|
1996
|
-
process.env[`${prefix}
|
|
1995
|
+
if (config.discovery) {
|
|
1996
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1997
1997
|
}
|
|
1998
1998
|
if (config.success) {
|
|
1999
1999
|
process.env[`${prefix}SUCCESS`] = config.success;
|
package/dist/build.cjs
CHANGED
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
9
|
-
require('./chunk-
|
|
10
|
-
require('./chunk-
|
|
11
|
-
require('./chunk-
|
|
12
|
-
require('./chunk-
|
|
13
|
-
require('./chunk-
|
|
8
|
+
var _chunkQDBPL4XMcjs = require('./chunk-QDBPL4XM.cjs');
|
|
9
|
+
require('./chunk-SWMSXPOY.cjs');
|
|
10
|
+
require('./chunk-4S37FSA4.cjs');
|
|
11
|
+
require('./chunk-TI7LEWRN.cjs');
|
|
12
|
+
require('./chunk-YBAENWC7.cjs');
|
|
13
|
+
require('./chunk-5IFC3VFL.cjs');
|
|
14
14
|
require('./chunk-OBGZSXTJ.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
@@ -19,4 +19,4 @@ require('./chunk-OBGZSXTJ.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.build =
|
|
22
|
+
exports.build = _chunkQDBPL4XMcjs.build; exports.cleanOutputPath = _chunkQDBPL4XMcjs.cleanOutputPath; exports.copyBuildAssets = _chunkQDBPL4XMcjs.copyBuildAssets; exports.executeUnbuild = _chunkQDBPL4XMcjs.executeUnbuild; exports.generatePackageJson = _chunkQDBPL4XMcjs.generatePackageJson; exports.resolveOptions = _chunkQDBPL4XMcjs.resolveOptions;
|
package/dist/build.js
CHANGED
|
@@ -5,12 +5,12 @@ 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-
|
|
8
|
+
} from "./chunk-4YZB33F3.js";
|
|
9
|
+
import "./chunk-F6C32LDB.js";
|
|
10
|
+
import "./chunk-INCSXY4G.js";
|
|
11
|
+
import "./chunk-5YNMAFOH.js";
|
|
12
|
+
import "./chunk-IXEYZDLQ.js";
|
|
13
|
+
import "./chunk-ZO3LA4ZI.js";
|
|
14
14
|
import "./chunk-3RG5ZIWI.js";
|
|
15
15
|
export {
|
|
16
16
|
build,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk5IFC3VFLcjs = require('./chunk-5IFC3VFL.cjs');
|
|
4
4
|
|
|
5
5
|
// src/plugins/analyze.ts
|
|
6
6
|
var formatBytes = (bytes) => {
|
|
@@ -17,7 +17,7 @@ var analyzePlugin = (options) => {
|
|
|
17
17
|
renderChunk(source, chunk) {
|
|
18
18
|
const sourceBytes = formatBytes(source.length);
|
|
19
19
|
const fileName = chunk.fileName;
|
|
20
|
-
|
|
20
|
+
_chunk5IFC3VFLcjs.writeInfo.call(void 0, ` - ${fileName} ${sourceBytes}`, options.config);
|
|
21
21
|
}
|
|
22
22
|
};
|
|
23
23
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanDirectories
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-F6C32LDB.js";
|
|
4
4
|
import {
|
|
5
5
|
analyzePlugin
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-INCSXY4G.js";
|
|
7
7
|
import {
|
|
8
8
|
onErrorPlugin
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5YNMAFOH.js";
|
|
10
10
|
import {
|
|
11
11
|
loadConfig,
|
|
12
12
|
tscPlugin
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-IXEYZDLQ.js";
|
|
14
14
|
import {
|
|
15
15
|
LogLevel,
|
|
16
16
|
LogLevelLabel,
|
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
writeSuccess,
|
|
26
26
|
writeTrace,
|
|
27
27
|
writeWarning
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-ZO3LA4ZI.js";
|
|
29
29
|
|
|
30
30
|
// src/build.ts
|
|
31
31
|
import {
|
|
@@ -528,7 +528,7 @@ var colorSchema = z.string().check(
|
|
|
528
528
|
schemaRegistry.add(colorSchema, {
|
|
529
529
|
description: "A base schema for describing the format of colors"
|
|
530
530
|
});
|
|
531
|
-
var darkColorSchema = z._default(colorSchema, "#
|
|
531
|
+
var darkColorSchema = z._default(colorSchema, "#1e2124");
|
|
532
532
|
schemaRegistry.add(darkColorSchema, {
|
|
533
533
|
description: "The dark background color of the workspace"
|
|
534
534
|
});
|
|
@@ -552,8 +552,8 @@ var linkColorSchema = z._default(colorSchema, "#3fa6ff");
|
|
|
552
552
|
schemaRegistry.add(linkColorSchema, {
|
|
553
553
|
description: "The color used to display hyperlink text"
|
|
554
554
|
});
|
|
555
|
-
var
|
|
556
|
-
schemaRegistry.add(
|
|
555
|
+
var discoveryColorSchema = z._default(colorSchema, "#818cf8");
|
|
556
|
+
schemaRegistry.add(discoveryColorSchema, {
|
|
557
557
|
description: "The second brand specific color of the workspace"
|
|
558
558
|
});
|
|
559
559
|
var successColorSchema = z._default(colorSchema, "#45b27e");
|
|
@@ -603,7 +603,7 @@ var darkColorsSchema = z.object({
|
|
|
603
603
|
alternate: alternateColorSchema,
|
|
604
604
|
accent: accentColorSchema,
|
|
605
605
|
link: linkColorSchema,
|
|
606
|
-
|
|
606
|
+
discovery: discoveryColorSchema,
|
|
607
607
|
success: successColorSchema,
|
|
608
608
|
info: infoColorSchema,
|
|
609
609
|
debug: debugColorSchema,
|
|
@@ -622,7 +622,7 @@ var lightColorsSchema = z.object({
|
|
|
622
622
|
alternate: alternateColorSchema,
|
|
623
623
|
accent: accentColorSchema,
|
|
624
624
|
link: linkColorSchema,
|
|
625
|
-
|
|
625
|
+
discovery: discoveryColorSchema,
|
|
626
626
|
success: successColorSchema,
|
|
627
627
|
info: infoColorSchema,
|
|
628
628
|
debug: debugColorSchema,
|
|
@@ -645,7 +645,7 @@ var singleColorsSchema = z.object({
|
|
|
645
645
|
alternate: alternateColorSchema,
|
|
646
646
|
accent: accentColorSchema,
|
|
647
647
|
link: linkColorSchema,
|
|
648
|
-
|
|
648
|
+
discovery: discoveryColorSchema,
|
|
649
649
|
success: successColorSchema,
|
|
650
650
|
info: infoColorSchema,
|
|
651
651
|
debug: debugColorSchema,
|
|
@@ -1095,7 +1095,7 @@ var COLOR_KEYS = [
|
|
|
1095
1095
|
"accent",
|
|
1096
1096
|
"link",
|
|
1097
1097
|
"success",
|
|
1098
|
-
"
|
|
1098
|
+
"discovery",
|
|
1099
1099
|
"info",
|
|
1100
1100
|
"warning",
|
|
1101
1101
|
"danger",
|
|
@@ -1434,7 +1434,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
1434
1434
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
1435
1435
|
accent: process.env[`${prefix}ACCENT`],
|
|
1436
1436
|
link: process.env[`${prefix}LINK`],
|
|
1437
|
-
|
|
1437
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1438
1438
|
success: process.env[`${prefix}SUCCESS`],
|
|
1439
1439
|
info: process.env[`${prefix}INFO`],
|
|
1440
1440
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -1474,7 +1474,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1474
1474
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
1475
1475
|
accent: process.env[`${prefix}ACCENT`],
|
|
1476
1476
|
link: process.env[`${prefix}LINK`],
|
|
1477
|
-
|
|
1477
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1478
1478
|
success: process.env[`${prefix}SUCCESS`],
|
|
1479
1479
|
info: process.env[`${prefix}INFO`],
|
|
1480
1480
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -1771,8 +1771,8 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1771
1771
|
if (config.link) {
|
|
1772
1772
|
process.env[`${prefix}LINK`] = config.link;
|
|
1773
1773
|
}
|
|
1774
|
-
if (config.
|
|
1775
|
-
process.env[`${prefix}
|
|
1774
|
+
if (config.discovery) {
|
|
1775
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1776
1776
|
}
|
|
1777
1777
|
if (config.success) {
|
|
1778
1778
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -1832,8 +1832,8 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1832
1832
|
if (config.link) {
|
|
1833
1833
|
process.env[`${prefix}LINK`] = config.link;
|
|
1834
1834
|
}
|
|
1835
|
-
if (config.
|
|
1836
|
-
process.env[`${prefix}
|
|
1835
|
+
if (config.discovery) {
|
|
1836
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1837
1837
|
}
|
|
1838
1838
|
if (config.success) {
|
|
1839
1839
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -94,7 +94,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
94
94
|
foreground: "#1d1e22",
|
|
95
95
|
brand: "#1fb2a6",
|
|
96
96
|
alternate: "#db2777",
|
|
97
|
-
|
|
97
|
+
discovery: "#5C4EE5",
|
|
98
98
|
success: "#087f5b",
|
|
99
99
|
info: "#0550ae",
|
|
100
100
|
debug: "#8afafc",
|
|
@@ -108,11 +108,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
108
108
|
gradient: ["#1fb2a6", "#db2777", "#5C4EE5"]
|
|
109
109
|
},
|
|
110
110
|
dark: {
|
|
111
|
-
background: "#
|
|
111
|
+
background: "#1e2124",
|
|
112
112
|
foreground: "#cbd5e1",
|
|
113
113
|
brand: "#2dd4bf",
|
|
114
114
|
alternate: "#db2777",
|
|
115
|
-
|
|
115
|
+
discovery: "#818cf8",
|
|
116
116
|
success: "#10b981",
|
|
117
117
|
info: "#58a6ff",
|
|
118
118
|
debug: "#8afafc",
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } } function _optionalChain(ops) { let lastAccessLHS = undefined; let value = ops[0]; let i = 1; while (i < ops.length) { const op = ops[i]; const fn = ops[i + 1]; i += 2; if ((op === 'optionalAccess' || op === 'optionalCall') && value == null) { return undefined; } if (op === 'access' || op === 'optionalAccess') { lastAccessLHS = value; value = fn(value); } else if (op === 'call' || op === 'optionalCall') { value = fn((...args) => value.call(lastAccessLHS, ...args)); lastAccessLHS = undefined; } } return value; }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunkSWMSXPOYcjs = require('./chunk-SWMSXPOY.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _chunk4S37FSA4cjs = require('./chunk-4S37FSA4.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
var
|
|
9
|
+
var _chunkTI7LEWRNcjs = require('./chunk-TI7LEWRN.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _chunkYBAENWC7cjs = require('./chunk-YBAENWC7.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -25,7 +25,7 @@ var _chunk2DAHJKJEcjs = require('./chunk-2DAHJKJE.cjs');
|
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
var
|
|
28
|
+
var _chunk5IFC3VFLcjs = require('./chunk-5IFC3VFL.cjs');
|
|
29
29
|
|
|
30
30
|
// src/build.ts
|
|
31
31
|
|
|
@@ -206,7 +206,7 @@ var copyAssets = async (config, assets, outputPath, projectRoot, sourceRoot, gen
|
|
|
206
206
|
output: "src/"
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
|
-
|
|
209
|
+
_chunk5IFC3VFLcjs.writeTrace.call(void 0,
|
|
210
210
|
`\u{1F4DD} Copying the following assets to the output directory:
|
|
211
211
|
${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${pendingAsset} -> ${outputPath}` : ` - ${pendingAsset.input}/${pendingAsset.glob} -> ${joinPaths(outputPath, pendingAsset.output)}`).join("\n")}`,
|
|
212
212
|
config
|
|
@@ -218,9 +218,9 @@ ${pendingAssets.map((pendingAsset) => typeof pendingAsset === "string" ? ` - ${p
|
|
|
218
218
|
assets: pendingAssets
|
|
219
219
|
});
|
|
220
220
|
await assetHandler.processAllAssetsOnce();
|
|
221
|
-
|
|
221
|
+
_chunk5IFC3VFLcjs.writeTrace.call(void 0, "Completed copying assets to the output directory", config);
|
|
222
222
|
if (includeSrc === true) {
|
|
223
|
-
|
|
223
|
+
_chunk5IFC3VFLcjs.writeDebug.call(void 0,
|
|
224
224
|
`\u{1F4DD} Adding banner and writing source files: ${joinPaths(
|
|
225
225
|
outputPath,
|
|
226
226
|
"src"
|
|
@@ -399,7 +399,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
if (localPackages.length > 0) {
|
|
402
|
-
|
|
402
|
+
_chunk5IFC3VFLcjs.writeTrace.call(void 0,
|
|
403
403
|
`\u{1F4E6} Adding local packages to package.json: ${localPackages.map((p) => p.name).join(", ")}`
|
|
404
404
|
);
|
|
405
405
|
const projectJsonFile = await _promises.readFile.call(void 0,
|
|
@@ -447,7 +447,7 @@ var addPackageDependencies = async (workspaceRoot, projectRoot, projectName, pac
|
|
|
447
447
|
return ret;
|
|
448
448
|
}, _nullishCoalesce(packageJson.devDependencies, () => ( {})));
|
|
449
449
|
} else {
|
|
450
|
-
|
|
450
|
+
_chunk5IFC3VFLcjs.writeTrace.call(void 0, "\u{1F4E6} No local packages dependencies to add to package.json");
|
|
451
451
|
}
|
|
452
452
|
return packageJson;
|
|
453
453
|
};
|
|
@@ -528,7 +528,7 @@ var colorSchema = z.string().check(
|
|
|
528
528
|
schemaRegistry.add(colorSchema, {
|
|
529
529
|
description: "A base schema for describing the format of colors"
|
|
530
530
|
});
|
|
531
|
-
var darkColorSchema = z._default(colorSchema, "#
|
|
531
|
+
var darkColorSchema = z._default(colorSchema, "#1e2124");
|
|
532
532
|
schemaRegistry.add(darkColorSchema, {
|
|
533
533
|
description: "The dark background color of the workspace"
|
|
534
534
|
});
|
|
@@ -552,8 +552,8 @@ var linkColorSchema = z._default(colorSchema, "#3fa6ff");
|
|
|
552
552
|
schemaRegistry.add(linkColorSchema, {
|
|
553
553
|
description: "The color used to display hyperlink text"
|
|
554
554
|
});
|
|
555
|
-
var
|
|
556
|
-
schemaRegistry.add(
|
|
555
|
+
var discoveryColorSchema = z._default(colorSchema, "#818cf8");
|
|
556
|
+
schemaRegistry.add(discoveryColorSchema, {
|
|
557
557
|
description: "The second brand specific color of the workspace"
|
|
558
558
|
});
|
|
559
559
|
var successColorSchema = z._default(colorSchema, "#45b27e");
|
|
@@ -603,7 +603,7 @@ var darkColorsSchema = z.object({
|
|
|
603
603
|
alternate: alternateColorSchema,
|
|
604
604
|
accent: accentColorSchema,
|
|
605
605
|
link: linkColorSchema,
|
|
606
|
-
|
|
606
|
+
discovery: discoveryColorSchema,
|
|
607
607
|
success: successColorSchema,
|
|
608
608
|
info: infoColorSchema,
|
|
609
609
|
debug: debugColorSchema,
|
|
@@ -622,7 +622,7 @@ var lightColorsSchema = z.object({
|
|
|
622
622
|
alternate: alternateColorSchema,
|
|
623
623
|
accent: accentColorSchema,
|
|
624
624
|
link: linkColorSchema,
|
|
625
|
-
|
|
625
|
+
discovery: discoveryColorSchema,
|
|
626
626
|
success: successColorSchema,
|
|
627
627
|
info: infoColorSchema,
|
|
628
628
|
debug: debugColorSchema,
|
|
@@ -645,7 +645,7 @@ var singleColorsSchema = z.object({
|
|
|
645
645
|
alternate: alternateColorSchema,
|
|
646
646
|
accent: accentColorSchema,
|
|
647
647
|
link: linkColorSchema,
|
|
648
|
-
|
|
648
|
+
discovery: discoveryColorSchema,
|
|
649
649
|
success: successColorSchema,
|
|
650
650
|
info: infoColorSchema,
|
|
651
651
|
debug: debugColorSchema,
|
|
@@ -1095,7 +1095,7 @@ var COLOR_KEYS = [
|
|
|
1095
1095
|
"accent",
|
|
1096
1096
|
"link",
|
|
1097
1097
|
"success",
|
|
1098
|
-
"
|
|
1098
|
+
"discovery",
|
|
1099
1099
|
"info",
|
|
1100
1100
|
"warning",
|
|
1101
1101
|
"danger",
|
|
@@ -1234,7 +1234,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1234
1234
|
let config = result.config;
|
|
1235
1235
|
const configFile = result.configFile;
|
|
1236
1236
|
if (config && configFile && Object.keys(config).length > 0 && !config.skipConfigLogging) {
|
|
1237
|
-
|
|
1237
|
+
_chunk5IFC3VFLcjs.writeTrace.call(void 0,
|
|
1238
1238
|
`Found Storm configuration file "${configFile.includes(`${workspacePath}/`) ? configFile.replace(`${workspacePath}/`, "") : configFile}" at "${workspacePath}"`,
|
|
1239
1239
|
{
|
|
1240
1240
|
logLevel: "all"
|
|
@@ -1250,7 +1250,7 @@ var getConfigFile = async (filePath, additionalFileNames = []) => {
|
|
|
1250
1250
|
for (const result2 of results) {
|
|
1251
1251
|
if (_optionalChain([result2, 'optionalAccess', _34 => _34.config]) && _optionalChain([result2, 'optionalAccess', _35 => _35.configFile]) && Object.keys(result2.config).length > 0) {
|
|
1252
1252
|
if (!config.skipConfigLogging && !result2.config.skipConfigLogging) {
|
|
1253
|
-
|
|
1253
|
+
_chunk5IFC3VFLcjs.writeTrace.call(void 0,
|
|
1254
1254
|
`Found alternative configuration file "${result2.configFile.includes(`${workspacePath}/`) ? result2.configFile.replace(`${workspacePath}/`, "") : result2.configFile}" at "${workspacePath}"`,
|
|
1255
1255
|
{
|
|
1256
1256
|
logLevel: "all"
|
|
@@ -1366,7 +1366,7 @@ var getConfigEnv = () => {
|
|
|
1366
1366
|
},
|
|
1367
1367
|
logLevel: process.env[`${prefix}LOG_LEVEL`] !== null && process.env[`${prefix}LOG_LEVEL`] !== void 0 ? process.env[`${prefix}LOG_LEVEL`] && Number.isSafeInteger(
|
|
1368
1368
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
1369
|
-
) ?
|
|
1369
|
+
) ? _chunk5IFC3VFLcjs.getLogLevelLabel.call(void 0,
|
|
1370
1370
|
Number.parseInt(process.env[`${prefix}LOG_LEVEL`])
|
|
1371
1371
|
) : process.env[`${prefix}LOG_LEVEL`] : void 0,
|
|
1372
1372
|
skipConfigLogging: process.env[`${prefix}SKIP_CONFIG_LOGGING`] !== void 0 ? Boolean(process.env[`${prefix}SKIP_CONFIG_LOGGING`]) : void 0
|
|
@@ -1434,7 +1434,7 @@ var getSingleThemeColorsEnv = (prefix) => {
|
|
|
1434
1434
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
1435
1435
|
accent: process.env[`${prefix}ACCENT`],
|
|
1436
1436
|
link: process.env[`${prefix}LINK`],
|
|
1437
|
-
|
|
1437
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1438
1438
|
success: process.env[`${prefix}SUCCESS`],
|
|
1439
1439
|
info: process.env[`${prefix}INFO`],
|
|
1440
1440
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -1474,7 +1474,7 @@ var getBaseThemeColorsEnv = (prefix) => {
|
|
|
1474
1474
|
alternate: process.env[`${prefix}ALTERNATE`],
|
|
1475
1475
|
accent: process.env[`${prefix}ACCENT`],
|
|
1476
1476
|
link: process.env[`${prefix}LINK`],
|
|
1477
|
-
|
|
1477
|
+
discovery: process.env[`${prefix}DISCOVERY`],
|
|
1478
1478
|
success: process.env[`${prefix}SUCCESS`],
|
|
1479
1479
|
info: process.env[`${prefix}INFO`],
|
|
1480
1480
|
debug: process.env[`${prefix}DEBUG`],
|
|
@@ -1733,9 +1733,9 @@ var setConfigEnv = (config) => {
|
|
|
1733
1733
|
process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
|
|
1734
1734
|
process.env.LOG_LEVEL = String(config.logLevel);
|
|
1735
1735
|
process.env.NX_VERBOSE_LOGGING = String(
|
|
1736
|
-
|
|
1736
|
+
_chunk5IFC3VFLcjs.getLogLevel.call(void 0, config.logLevel) >= _chunk5IFC3VFLcjs.LogLevel.DEBUG ? true : false
|
|
1737
1737
|
);
|
|
1738
|
-
process.env.RUST_BACKTRACE =
|
|
1738
|
+
process.env.RUST_BACKTRACE = _chunk5IFC3VFLcjs.getLogLevel.call(void 0, config.logLevel) >= _chunk5IFC3VFLcjs.LogLevel.DEBUG ? "full" : "none";
|
|
1739
1739
|
}
|
|
1740
1740
|
if (config.skipConfigLogging !== void 0) {
|
|
1741
1741
|
process.env[`${prefix}SKIP_CONFIG_LOGGING`] = String(
|
|
@@ -1771,8 +1771,8 @@ var setSingleThemeColorsEnv = (prefix, config) => {
|
|
|
1771
1771
|
if (config.link) {
|
|
1772
1772
|
process.env[`${prefix}LINK`] = config.link;
|
|
1773
1773
|
}
|
|
1774
|
-
if (config.
|
|
1775
|
-
process.env[`${prefix}
|
|
1774
|
+
if (config.discovery) {
|
|
1775
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1776
1776
|
}
|
|
1777
1777
|
if (config.success) {
|
|
1778
1778
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -1832,8 +1832,8 @@ var setBaseThemeColorsEnv = (prefix, config) => {
|
|
|
1832
1832
|
if (config.link) {
|
|
1833
1833
|
process.env[`${prefix}LINK`] = config.link;
|
|
1834
1834
|
}
|
|
1835
|
-
if (config.
|
|
1836
|
-
process.env[`${prefix}
|
|
1835
|
+
if (config.discovery) {
|
|
1836
|
+
process.env[`${prefix}DISCOVERY`] = config.discovery;
|
|
1837
1837
|
}
|
|
1838
1838
|
if (config.success) {
|
|
1839
1839
|
process.env[`${prefix}SUCCESS`] = config.success;
|
|
@@ -1883,7 +1883,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1883
1883
|
const configFile = await getConfigFile(_workspaceRoot);
|
|
1884
1884
|
if (!configFile) {
|
|
1885
1885
|
if (!skipLogs) {
|
|
1886
|
-
|
|
1886
|
+
_chunk5IFC3VFLcjs.writeWarning.call(void 0,
|
|
1887
1887
|
"No Storm Workspace configuration file found in the current repository. Please ensure this is the expected behavior - you can add a `storm-workspace.json` file to the root of your workspace if it is not.\n",
|
|
1888
1888
|
{ logLevel: "all" }
|
|
1889
1889
|
);
|
|
@@ -1914,7 +1914,7 @@ var createStormWorkspaceConfig = async (extensionName, schema, workspaceRoot, sk
|
|
|
1914
1914
|
throw new Error(
|
|
1915
1915
|
`Failed to parse Storm Workspace configuration${_optionalChain([error, 'optionalAccess', _60 => _60.message]) ? `: ${error.message}` : ""}
|
|
1916
1916
|
|
|
1917
|
-
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${
|
|
1917
|
+
Please ensure your configuration file is valid JSON and matches the expected schema. The current workspace configuration input is: ${_chunk5IFC3VFLcjs.formatLogMessage.call(void 0,
|
|
1918
1918
|
configInput
|
|
1919
1919
|
)}`,
|
|
1920
1920
|
{
|
|
@@ -1959,9 +1959,9 @@ var loadStormWorkspaceConfig = async (workspaceRoot, skipLogs = false) => {
|
|
|
1959
1959
|
);
|
|
1960
1960
|
setConfigEnv(config);
|
|
1961
1961
|
if (!skipLogs && !config.skipConfigLogging) {
|
|
1962
|
-
|
|
1962
|
+
_chunk5IFC3VFLcjs.writeTrace.call(void 0,
|
|
1963
1963
|
`\u2699\uFE0F Using Storm Workspace configuration:
|
|
1964
|
-
${
|
|
1964
|
+
${_chunk5IFC3VFLcjs.formatLogMessage.call(void 0, config)}`,
|
|
1965
1965
|
config
|
|
1966
1966
|
);
|
|
1967
1967
|
}
|
|
@@ -1997,10 +1997,10 @@ var _findworkspaceroot = require('nx/src/utils/find-workspace-root');
|
|
|
1997
1997
|
|
|
1998
1998
|
var _unbuild = require('unbuild');
|
|
1999
1999
|
async function resolveOptions(options, config) {
|
|
2000
|
-
|
|
2001
|
-
const stopwatch =
|
|
2000
|
+
_chunk5IFC3VFLcjs.writeDebug.call(void 0, " \u2699\uFE0F Resolving build options", config);
|
|
2001
|
+
const stopwatch = _chunk5IFC3VFLcjs.getStopwatch.call(void 0, "Build options resolution");
|
|
2002
2002
|
if (options.configPath) {
|
|
2003
|
-
const configFile = await
|
|
2003
|
+
const configFile = await _chunkYBAENWC7cjs.loadConfig.call(void 0, options.configPath);
|
|
2004
2004
|
if (configFile) {
|
|
2005
2005
|
options = _defu2.default.call(void 0, options, configFile);
|
|
2006
2006
|
}
|
|
@@ -2181,7 +2181,7 @@ async function resolveOptions(options, config) {
|
|
|
2181
2181
|
treeShaking: options.treeShaking !== false,
|
|
2182
2182
|
platform: options.platform || "neutral",
|
|
2183
2183
|
color: true,
|
|
2184
|
-
logLevel: config.logLevel ===
|
|
2184
|
+
logLevel: config.logLevel === _chunk5IFC3VFLcjs.LogLevelLabel.FATAL ? _chunk5IFC3VFLcjs.LogLevelLabel.ERROR : _chunk5IFC3VFLcjs.isVerbose.call(void 0, ) ? "verbose" : config.logLevel
|
|
2185
2185
|
}
|
|
2186
2186
|
}
|
|
2187
2187
|
};
|
|
@@ -2202,7 +2202,7 @@ async function resolveOptions(options, config) {
|
|
|
2202
2202
|
if (options.rollup) {
|
|
2203
2203
|
let rollup = {};
|
|
2204
2204
|
if (typeof options.rollup === "string") {
|
|
2205
|
-
const rollupFile = await
|
|
2205
|
+
const rollupFile = await _chunkYBAENWC7cjs.loadConfig.call(void 0, options.rollup);
|
|
2206
2206
|
if (rollupFile) {
|
|
2207
2207
|
rollup = rollupFile;
|
|
2208
2208
|
}
|
|
@@ -2214,20 +2214,20 @@ async function resolveOptions(options, config) {
|
|
|
2214
2214
|
resolvedOptions.hooks = {
|
|
2215
2215
|
"rollup:options": async (ctx, opts) => {
|
|
2216
2216
|
if (options.plugins && options.plugins.length > 0) {
|
|
2217
|
-
|
|
2217
|
+
_chunk5IFC3VFLcjs.writeDebug.call(void 0,
|
|
2218
2218
|
` \u{1F9E9} Found ${options.plugins.length} plugins in provided build options`,
|
|
2219
2219
|
config
|
|
2220
2220
|
);
|
|
2221
2221
|
opts.plugins = options.plugins;
|
|
2222
2222
|
} else {
|
|
2223
|
-
|
|
2223
|
+
_chunk5IFC3VFLcjs.writeDebug.call(void 0,
|
|
2224
2224
|
` \u{1F9E9} No plugins found in provided build options, using default plugins`,
|
|
2225
2225
|
config
|
|
2226
2226
|
);
|
|
2227
2227
|
opts.plugins = await Promise.all([
|
|
2228
|
-
|
|
2229
|
-
|
|
2230
|
-
|
|
2228
|
+
_chunk4S37FSA4cjs.analyzePlugin.call(void 0, resolvedOptions),
|
|
2229
|
+
_chunkYBAENWC7cjs.tscPlugin.call(void 0, resolvedOptions),
|
|
2230
|
+
_chunkTI7LEWRNcjs.onErrorPlugin.call(void 0, resolvedOptions)
|
|
2231
2231
|
]);
|
|
2232
2232
|
}
|
|
2233
2233
|
},
|
|
@@ -2282,8 +2282,8 @@ var addPackageJsonExport = (file, type = "module", sourceRoot, projectRoot) => {
|
|
|
2282
2282
|
};
|
|
2283
2283
|
async function generatePackageJson(options) {
|
|
2284
2284
|
if (options.generatePackageJson !== false && _fs.existsSync.call(void 0, joinPaths(options.projectRoot, "package.json"))) {
|
|
2285
|
-
|
|
2286
|
-
const stopwatch =
|
|
2285
|
+
_chunk5IFC3VFLcjs.writeDebug.call(void 0, " \u270D\uFE0F Writing package.json file", options.config);
|
|
2286
|
+
const stopwatch = _chunk5IFC3VFLcjs.getStopwatch.call(void 0, "Write package.json file");
|
|
2287
2287
|
const packageJsonPath = joinPaths(options.projectRoot, "project.json");
|
|
2288
2288
|
if (!_fs.existsSync.call(void 0, packageJsonPath)) {
|
|
2289
2289
|
throw new Error("Cannot find package.json configuration");
|
|
@@ -2381,11 +2381,11 @@ async function generatePackageJson(options) {
|
|
|
2381
2381
|
return options;
|
|
2382
2382
|
}
|
|
2383
2383
|
async function executeUnbuild(options) {
|
|
2384
|
-
|
|
2384
|
+
_chunk5IFC3VFLcjs.writeDebug.call(void 0,
|
|
2385
2385
|
` \u{1F680} Running ${options.name} (${options.projectRoot}) build`,
|
|
2386
2386
|
options.config
|
|
2387
2387
|
);
|
|
2388
|
-
const stopwatch =
|
|
2388
|
+
const stopwatch = _chunk5IFC3VFLcjs.getStopwatch.call(void 0,
|
|
2389
2389
|
`${options.name} (${options.projectRoot}) build`
|
|
2390
2390
|
);
|
|
2391
2391
|
try {
|
|
@@ -2394,9 +2394,9 @@ async function executeUnbuild(options) {
|
|
|
2394
2394
|
config: null,
|
|
2395
2395
|
rootDir: joinPaths(options.config.workspaceRoot, options.projectRoot)
|
|
2396
2396
|
};
|
|
2397
|
-
|
|
2397
|
+
_chunk5IFC3VFLcjs.writeTrace.call(void 0,
|
|
2398
2398
|
`Running with unbuild configuration:
|
|
2399
|
-
${
|
|
2399
|
+
${_chunk5IFC3VFLcjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" })}
|
|
2400
2400
|
`,
|
|
2401
2401
|
options.config
|
|
2402
2402
|
);
|
|
@@ -2407,11 +2407,11 @@ ${_chunk7GZ2ZBKWcjs.formatLogMessage.call(void 0, { ...config, env: "<Hidden>" }
|
|
|
2407
2407
|
return options;
|
|
2408
2408
|
}
|
|
2409
2409
|
async function copyBuildAssets(options) {
|
|
2410
|
-
|
|
2410
|
+
_chunk5IFC3VFLcjs.writeDebug.call(void 0,
|
|
2411
2411
|
` \u{1F4CB} Copying asset files to output directory: ${options.outDir}`,
|
|
2412
2412
|
options.config
|
|
2413
2413
|
);
|
|
2414
|
-
const stopwatch =
|
|
2414
|
+
const stopwatch = _chunk5IFC3VFLcjs.getStopwatch.call(void 0, `${options.name} asset copy`);
|
|
2415
2415
|
await copyAssets(
|
|
2416
2416
|
options.config,
|
|
2417
2417
|
_nullishCoalesce(options.assets, () => ( [])),
|
|
@@ -2426,12 +2426,12 @@ async function copyBuildAssets(options) {
|
|
|
2426
2426
|
}
|
|
2427
2427
|
async function cleanOutputPath(options) {
|
|
2428
2428
|
if (options.clean !== false && options.outDir) {
|
|
2429
|
-
|
|
2429
|
+
_chunk5IFC3VFLcjs.writeDebug.call(void 0,
|
|
2430
2430
|
` \u{1F9F9} Cleaning ${options.name} output path: ${options.outDir}`,
|
|
2431
2431
|
options.config
|
|
2432
2432
|
);
|
|
2433
|
-
const stopwatch =
|
|
2434
|
-
await
|
|
2433
|
+
const stopwatch = _chunk5IFC3VFLcjs.getStopwatch.call(void 0, `${options.name} output clean`);
|
|
2434
|
+
await _chunkSWMSXPOYcjs.cleanDirectories.call(void 0, options.name, options.outDir, options.config);
|
|
2435
2435
|
stopwatch();
|
|
2436
2436
|
}
|
|
2437
2437
|
return options;
|
|
@@ -2446,8 +2446,8 @@ async function build(options) {
|
|
|
2446
2446
|
throw new Error("Cannot find workspace root");
|
|
2447
2447
|
}
|
|
2448
2448
|
const config = await getConfig(workspaceRoot.dir);
|
|
2449
|
-
|
|
2450
|
-
const stopwatch =
|
|
2449
|
+
_chunk5IFC3VFLcjs.writeDebug.call(void 0, ` ${_chunk5IFC3VFLcjs.brandIcon.call(void 0, config)} Executing Storm Unbuild pipeline`, config);
|
|
2450
|
+
const stopwatch = _chunk5IFC3VFLcjs.getStopwatch.call(void 0, "Unbuild pipeline");
|
|
2451
2451
|
try {
|
|
2452
2452
|
options.projectRoot = correctPaths(projectRoot);
|
|
2453
2453
|
const resolvedOptions = await resolveOptions(options, config);
|
|
@@ -2459,12 +2459,12 @@ async function build(options) {
|
|
|
2459
2459
|
if (options.buildOnly !== true) {
|
|
2460
2460
|
await copyBuildAssets(resolvedOptions);
|
|
2461
2461
|
}
|
|
2462
|
-
|
|
2462
|
+
_chunk5IFC3VFLcjs.writeSuccess.call(void 0,
|
|
2463
2463
|
` \u{1F3C1} The ${resolvedOptions.name} build completed successfully`,
|
|
2464
2464
|
config
|
|
2465
2465
|
);
|
|
2466
2466
|
} catch (error) {
|
|
2467
|
-
|
|
2467
|
+
_chunk5IFC3VFLcjs.writeFatal.call(void 0,
|
|
2468
2468
|
"Fatal errors that the build process could not recover from have occured. The build process has been terminated.",
|
|
2469
2469
|
config
|
|
2470
2470
|
);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunk5IFC3VFLcjs = require('./chunk-5IFC3VFL.cjs');
|
|
5
5
|
|
|
6
6
|
// src/clean.ts
|
|
7
7
|
var _promises = require('fs/promises');
|
|
8
8
|
async function clean(name = "Unbuild", directory, config) {
|
|
9
|
-
|
|
10
|
-
const stopwatch =
|
|
9
|
+
_chunk5IFC3VFLcjs.writeDebug.call(void 0, ` \u{1F9F9} Cleaning ${name} output path: ${directory}`, config);
|
|
10
|
+
const stopwatch = _chunk5IFC3VFLcjs.getStopwatch.call(void 0, `${name} output clean`);
|
|
11
11
|
await cleanDirectories(name, directory, config);
|
|
12
12
|
stopwatch();
|
|
13
13
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk5IFC3VFLcjs = require('./chunk-5IFC3VFL.cjs');
|
|
4
4
|
|
|
5
5
|
// src/plugins/on-error.ts
|
|
6
6
|
var onErrorPlugin = (options) => ({
|
|
7
7
|
name: "storm:on-error",
|
|
8
8
|
buildEnd(error) {
|
|
9
9
|
if (error) {
|
|
10
|
-
|
|
10
|
+
_chunk5IFC3VFLcjs.writeError.call(void 0,
|
|
11
11
|
`The following errors occurred during the build:
|
|
12
12
|
${error ? error.message : "Unknown build error"}
|
|
13
13
|
|
|
@@ -18,7 +18,7 @@ ${error ? error.message : "Unknown build error"}
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
renderError(error) {
|
|
21
|
-
|
|
21
|
+
_chunk5IFC3VFLcjs.writeError.call(void 0,
|
|
22
22
|
`The following errors occurred during the build:
|
|
23
23
|
${error ? error.message : "Unknown build error"}
|
|
24
24
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } } function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } function _nullishCoalesce(lhs, rhsFn) { if (lhs != null) { return lhs; } else { return rhsFn(); } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _chunk5IFC3VFLcjs = require('./chunk-5IFC3VFL.cjs');
|
|
4
4
|
|
|
5
5
|
// src/plugins/tsc.ts
|
|
6
6
|
|
|
@@ -45,7 +45,7 @@ async function createTsCompilerOptions(config, tsConfigPath, projectRoot, depend
|
|
|
45
45
|
declaration: true,
|
|
46
46
|
paths: _buildablelibsutils.computeCompilerOptionsPaths.call(void 0, tsConfig, _nullishCoalesce(dependencies, () => ( [])))
|
|
47
47
|
};
|
|
48
|
-
|
|
48
|
+
_chunk5IFC3VFLcjs.writeTrace.call(void 0, compilerOptions, config);
|
|
49
49
|
return compilerOptions;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -94,7 +94,7 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
94
94
|
foreground: "#1d1e22",
|
|
95
95
|
brand: "#1fb2a6",
|
|
96
96
|
alternate: "#db2777",
|
|
97
|
-
|
|
97
|
+
discovery: "#5C4EE5",
|
|
98
98
|
success: "#087f5b",
|
|
99
99
|
info: "#0550ae",
|
|
100
100
|
debug: "#8afafc",
|
|
@@ -108,11 +108,11 @@ var DEFAULT_COLOR_CONFIG = {
|
|
|
108
108
|
gradient: ["#1fb2a6", "#db2777", "#5C4EE5"]
|
|
109
109
|
},
|
|
110
110
|
dark: {
|
|
111
|
-
background: "#
|
|
111
|
+
background: "#1e2124",
|
|
112
112
|
foreground: "#cbd5e1",
|
|
113
113
|
brand: "#2dd4bf",
|
|
114
114
|
alternate: "#db2777",
|
|
115
|
-
|
|
115
|
+
discovery: "#818cf8",
|
|
116
116
|
success: "#10b981",
|
|
117
117
|
info: "#58a6ff",
|
|
118
118
|
debug: "#8afafc",
|
package/dist/clean.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('./chunk-
|
|
4
|
+
var _chunkSWMSXPOYcjs = require('./chunk-SWMSXPOY.cjs');
|
|
5
|
+
require('./chunk-5IFC3VFL.cjs');
|
|
6
6
|
require('./chunk-OBGZSXTJ.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.clean =
|
|
10
|
+
exports.clean = _chunkSWMSXPOYcjs.clean; exports.cleanDirectories = _chunkSWMSXPOYcjs.cleanDirectories;
|
package/dist/clean.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -5,19 +5,19 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkQDBPL4XMcjs = require('./chunk-QDBPL4XM.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _chunkSWMSXPOYcjs = require('./chunk-SWMSXPOY.cjs');
|
|
13
13
|
require('./chunk-SFZRYJZ2.cjs');
|
|
14
|
-
require('./chunk-
|
|
15
|
-
require('./chunk-
|
|
14
|
+
require('./chunk-4S37FSA4.cjs');
|
|
15
|
+
require('./chunk-TI7LEWRN.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
var
|
|
20
|
-
require('./chunk-
|
|
19
|
+
var _chunkYBAENWC7cjs = require('./chunk-YBAENWC7.cjs');
|
|
20
|
+
require('./chunk-5IFC3VFL.cjs');
|
|
21
21
|
require('./chunk-OBGZSXTJ.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
@@ -30,4 +30,4 @@ require('./chunk-OBGZSXTJ.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.build =
|
|
33
|
+
exports.build = _chunkQDBPL4XMcjs.build; exports.clean = _chunkSWMSXPOYcjs.clean; exports.cleanDirectories = _chunkSWMSXPOYcjs.cleanDirectories; exports.cleanOutputPath = _chunkQDBPL4XMcjs.cleanOutputPath; exports.copyBuildAssets = _chunkQDBPL4XMcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkYBAENWC7cjs.createTsCompilerOptions; exports.executeUnbuild = _chunkQDBPL4XMcjs.executeUnbuild; exports.generatePackageJson = _chunkQDBPL4XMcjs.generatePackageJson; exports.loadConfig = _chunkYBAENWC7cjs.loadConfig; exports.resolveOptions = _chunkQDBPL4XMcjs.resolveOptions;
|
package/dist/index.js
CHANGED
|
@@ -5,19 +5,19 @@ import {
|
|
|
5
5
|
executeUnbuild,
|
|
6
6
|
generatePackageJson,
|
|
7
7
|
resolveOptions
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4YZB33F3.js";
|
|
9
9
|
import {
|
|
10
10
|
clean,
|
|
11
11
|
cleanDirectories
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-F6C32LDB.js";
|
|
13
13
|
import "./chunk-GGNOJ77I.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-INCSXY4G.js";
|
|
15
|
+
import "./chunk-5YNMAFOH.js";
|
|
16
16
|
import {
|
|
17
17
|
createTsCompilerOptions,
|
|
18
18
|
loadConfig
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
} from "./chunk-IXEYZDLQ.js";
|
|
20
|
+
import "./chunk-ZO3LA4ZI.js";
|
|
21
21
|
import "./chunk-3RG5ZIWI.js";
|
|
22
22
|
export {
|
|
23
23
|
build,
|
package/dist/plugins/analyze.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunk4S37FSA4cjs = require('../chunk-4S37FSA4.cjs');
|
|
4
|
+
require('../chunk-5IFC3VFL.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.analyzePlugin =
|
|
8
|
+
exports.analyzePlugin = _chunk4S37FSA4cjs.analyzePlugin;
|
package/dist/plugins/analyze.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkTI7LEWRNcjs = require('../chunk-TI7LEWRN.cjs');
|
|
4
|
+
require('../chunk-5IFC3VFL.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.onErrorPlugin =
|
|
8
|
+
exports.onErrorPlugin = _chunkTI7LEWRNcjs.onErrorPlugin;
|
package/dist/plugins/on-error.js
CHANGED
package/dist/plugins/tsc.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var _chunkYBAENWC7cjs = require('../chunk-YBAENWC7.cjs');
|
|
4
|
+
require('../chunk-5IFC3VFL.cjs');
|
|
5
5
|
require('../chunk-OBGZSXTJ.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
exports.tscPlugin =
|
|
8
|
+
exports.tscPlugin = _chunkYBAENWC7cjs.tscPlugin;
|
package/dist/plugins/tsc.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/unbuild",
|
|
3
|
-
"version": "0.57.
|
|
3
|
+
"version": "0.57.225",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing `unbuild` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"repository": {
|
|
@@ -135,7 +135,7 @@
|
|
|
135
135
|
"@nx/js": "22.7.5",
|
|
136
136
|
"@swc/core": "1.7.26",
|
|
137
137
|
"nx": "22.7.5",
|
|
138
|
-
"rollup": "^4.
|
|
138
|
+
"rollup": "^4.62.0",
|
|
139
139
|
"typescript": "^5.9.2"
|
|
140
140
|
},
|
|
141
141
|
"peerDependenciesMeta": {
|
|
@@ -147,9 +147,9 @@
|
|
|
147
147
|
"typescript": { "optional": false }
|
|
148
148
|
},
|
|
149
149
|
"dependencies": {
|
|
150
|
-
"@storm-software/build-tools": "^0.158.
|
|
151
|
-
"@storm-software/config": "^1.
|
|
152
|
-
"@storm-software/config-tools": "^1.190.
|
|
150
|
+
"@storm-software/build-tools": "^0.158.224",
|
|
151
|
+
"@storm-software/config": "^1.138.1",
|
|
152
|
+
"@storm-software/config-tools": "^1.190.64",
|
|
153
153
|
"commander": "^12.1.0",
|
|
154
154
|
"defu": "^6.1.7",
|
|
155
155
|
"esbuild": "^0.25.12",
|
|
@@ -157,7 +157,7 @@
|
|
|
157
157
|
"jiti": "^2.7.0",
|
|
158
158
|
"mkdist": "^2.4.1",
|
|
159
159
|
"pkg-types": "^1.3.1",
|
|
160
|
-
"rollup": "^4.
|
|
160
|
+
"rollup": "^4.62.0",
|
|
161
161
|
"rollup-plugin-typescript2": "0.36.0",
|
|
162
162
|
"unbuild": "^3.6.1"
|
|
163
163
|
},
|
|
@@ -171,5 +171,5 @@
|
|
|
171
171
|
},
|
|
172
172
|
"publishConfig": { "access": "public" },
|
|
173
173
|
"sideEffects": false,
|
|
174
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "058ac110e66970612f8f2498c7c1e1246ef4cd54"
|
|
175
175
|
}
|