@storm-software/unbuild 0.51.16 → 0.51.18
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 +12 -0
- package/bin/unbuild.js +12 -0
- package/dist/build.cjs +2 -2
- package/dist/build.js +1 -1
- package/dist/{chunk-NJI2VF66.js → chunk-GMJ7A3ZF.js} +12 -0
- package/dist/{chunk-SBRM2MWT.cjs → chunk-IE44IJPR.cjs} +12 -0
- package/dist/index.cjs +2 -2
- package/dist/index.js +1 -1
- package/package.json +5 -5
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/bin/unbuild.cjs
CHANGED
|
@@ -356,6 +356,13 @@ var workspaceDirectorySchema = z.object({
|
|
|
356
356
|
schemaRegistry.add(workspaceDirectorySchema, {
|
|
357
357
|
description: "Various directories used by the workspace to store data, cache, and configuration files"
|
|
358
358
|
});
|
|
359
|
+
var variantSchema = z._default(
|
|
360
|
+
z.enum(["minimal", "monorepo"]),
|
|
361
|
+
"monorepo"
|
|
362
|
+
);
|
|
363
|
+
schemaRegistry.add(variantSchema, {
|
|
364
|
+
description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
|
|
365
|
+
});
|
|
359
366
|
var errorCodesFileSchema = z._default(
|
|
360
367
|
z.string().check(z.trim()),
|
|
361
368
|
STORM_DEFAULT_ERROR_CODES_FILE
|
|
@@ -553,6 +560,7 @@ var workspaceConfigSchema = z.object({
|
|
|
553
560
|
$schema: schemaNameSchema,
|
|
554
561
|
extends: extendsSchema,
|
|
555
562
|
name: nameSchema,
|
|
563
|
+
variant: variantSchema,
|
|
556
564
|
namespace: namespaceSchema,
|
|
557
565
|
organization: orgSchema,
|
|
558
566
|
repository: repositorySchema,
|
|
@@ -1358,6 +1366,7 @@ var getConfigEnv = () => {
|
|
|
1358
1366
|
let config = {
|
|
1359
1367
|
extends: process.env[`${prefix}EXTENDS`] || void 0,
|
|
1360
1368
|
name: process.env[`${prefix}NAME`] || void 0,
|
|
1369
|
+
variant: process.env[`${prefix}VARIANT`] || void 0,
|
|
1361
1370
|
namespace: process.env[`${prefix}NAMESPACE`] || void 0,
|
|
1362
1371
|
owner: process.env[`${prefix}OWNER`] || void 0,
|
|
1363
1372
|
bot: {
|
|
@@ -1582,6 +1591,9 @@ var setConfigEnv = (config) => {
|
|
|
1582
1591
|
if (config.name) {
|
|
1583
1592
|
process.env[`${prefix}NAME`] = config.name;
|
|
1584
1593
|
}
|
|
1594
|
+
if (config.variant) {
|
|
1595
|
+
process.env[`${prefix}VARIANT`] = config.variant;
|
|
1596
|
+
}
|
|
1585
1597
|
if (config.namespace) {
|
|
1586
1598
|
process.env[`${prefix}NAMESPACE`] = config.namespace;
|
|
1587
1599
|
}
|
package/bin/unbuild.js
CHANGED
|
@@ -334,6 +334,13 @@ var workspaceDirectorySchema = z.object({
|
|
|
334
334
|
schemaRegistry.add(workspaceDirectorySchema, {
|
|
335
335
|
description: "Various directories used by the workspace to store data, cache, and configuration files"
|
|
336
336
|
});
|
|
337
|
+
var variantSchema = z._default(
|
|
338
|
+
z.enum(["minimal", "monorepo"]),
|
|
339
|
+
"monorepo"
|
|
340
|
+
);
|
|
341
|
+
schemaRegistry.add(variantSchema, {
|
|
342
|
+
description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
|
|
343
|
+
});
|
|
337
344
|
var errorCodesFileSchema = z._default(
|
|
338
345
|
z.string().check(z.trim()),
|
|
339
346
|
STORM_DEFAULT_ERROR_CODES_FILE
|
|
@@ -531,6 +538,7 @@ var workspaceConfigSchema = z.object({
|
|
|
531
538
|
$schema: schemaNameSchema,
|
|
532
539
|
extends: extendsSchema,
|
|
533
540
|
name: nameSchema,
|
|
541
|
+
variant: variantSchema,
|
|
534
542
|
namespace: namespaceSchema,
|
|
535
543
|
organization: orgSchema,
|
|
536
544
|
repository: repositorySchema,
|
|
@@ -1336,6 +1344,7 @@ var getConfigEnv = () => {
|
|
|
1336
1344
|
let config = {
|
|
1337
1345
|
extends: process.env[`${prefix}EXTENDS`] || void 0,
|
|
1338
1346
|
name: process.env[`${prefix}NAME`] || void 0,
|
|
1347
|
+
variant: process.env[`${prefix}VARIANT`] || void 0,
|
|
1339
1348
|
namespace: process.env[`${prefix}NAMESPACE`] || void 0,
|
|
1340
1349
|
owner: process.env[`${prefix}OWNER`] || void 0,
|
|
1341
1350
|
bot: {
|
|
@@ -1560,6 +1569,9 @@ var setConfigEnv = (config) => {
|
|
|
1560
1569
|
if (config.name) {
|
|
1561
1570
|
process.env[`${prefix}NAME`] = config.name;
|
|
1562
1571
|
}
|
|
1572
|
+
if (config.variant) {
|
|
1573
|
+
process.env[`${prefix}VARIANT`] = config.variant;
|
|
1574
|
+
}
|
|
1563
1575
|
if (config.namespace) {
|
|
1564
1576
|
process.env[`${prefix}NAMESPACE`] = config.namespace;
|
|
1565
1577
|
}
|
package/dist/build.cjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkIE44IJPRcjs = require('./chunk-IE44IJPR.cjs');
|
|
9
9
|
require('./chunk-5LYLEQEH.cjs');
|
|
10
10
|
require('./chunk-XYM4DLHB.cjs');
|
|
11
11
|
require('./chunk-ULVTNQE3.cjs');
|
|
@@ -19,4 +19,4 @@ require('./chunk-OBGZSXTJ.cjs');
|
|
|
19
19
|
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
exports.build =
|
|
22
|
+
exports.build = _chunkIE44IJPRcjs.build; exports.cleanOutputPath = _chunkIE44IJPRcjs.cleanOutputPath; exports.copyBuildAssets = _chunkIE44IJPRcjs.copyBuildAssets; exports.executeUnbuild = _chunkIE44IJPRcjs.executeUnbuild; exports.generatePackageJson = _chunkIE44IJPRcjs.generatePackageJson; exports.resolveOptions = _chunkIE44IJPRcjs.resolveOptions;
|
package/dist/build.js
CHANGED
|
@@ -830,6 +830,13 @@ var workspaceDirectorySchema = z.object({
|
|
|
830
830
|
schemaRegistry.add(workspaceDirectorySchema, {
|
|
831
831
|
description: "Various directories used by the workspace to store data, cache, and configuration files"
|
|
832
832
|
});
|
|
833
|
+
var variantSchema = z._default(
|
|
834
|
+
z.enum(["minimal", "monorepo"]),
|
|
835
|
+
"monorepo"
|
|
836
|
+
);
|
|
837
|
+
schemaRegistry.add(variantSchema, {
|
|
838
|
+
description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
|
|
839
|
+
});
|
|
833
840
|
var errorCodesFileSchema = z._default(
|
|
834
841
|
z.string().check(z.trim()),
|
|
835
842
|
STORM_DEFAULT_ERROR_CODES_FILE
|
|
@@ -1027,6 +1034,7 @@ var workspaceConfigSchema = z.object({
|
|
|
1027
1034
|
$schema: schemaNameSchema,
|
|
1028
1035
|
extends: extendsSchema,
|
|
1029
1036
|
name: nameSchema,
|
|
1037
|
+
variant: variantSchema,
|
|
1030
1038
|
namespace: namespaceSchema,
|
|
1031
1039
|
organization: orgSchema,
|
|
1032
1040
|
repository: repositorySchema,
|
|
@@ -1265,6 +1273,7 @@ var getConfigEnv = () => {
|
|
|
1265
1273
|
let config = {
|
|
1266
1274
|
extends: process.env[`${prefix}EXTENDS`] || void 0,
|
|
1267
1275
|
name: process.env[`${prefix}NAME`] || void 0,
|
|
1276
|
+
variant: process.env[`${prefix}VARIANT`] || void 0,
|
|
1268
1277
|
namespace: process.env[`${prefix}NAMESPACE`] || void 0,
|
|
1269
1278
|
owner: process.env[`${prefix}OWNER`] || void 0,
|
|
1270
1279
|
bot: {
|
|
@@ -1489,6 +1498,9 @@ var setConfigEnv = (config) => {
|
|
|
1489
1498
|
if (config.name) {
|
|
1490
1499
|
process.env[`${prefix}NAME`] = config.name;
|
|
1491
1500
|
}
|
|
1501
|
+
if (config.variant) {
|
|
1502
|
+
process.env[`${prefix}VARIANT`] = config.variant;
|
|
1503
|
+
}
|
|
1492
1504
|
if (config.namespace) {
|
|
1493
1505
|
process.env[`${prefix}NAMESPACE`] = config.namespace;
|
|
1494
1506
|
}
|
|
@@ -830,6 +830,13 @@ var workspaceDirectorySchema = z.object({
|
|
|
830
830
|
schemaRegistry.add(workspaceDirectorySchema, {
|
|
831
831
|
description: "Various directories used by the workspace to store data, cache, and configuration files"
|
|
832
832
|
});
|
|
833
|
+
var variantSchema = z._default(
|
|
834
|
+
z.enum(["minimal", "monorepo"]),
|
|
835
|
+
"monorepo"
|
|
836
|
+
);
|
|
837
|
+
schemaRegistry.add(variantSchema, {
|
|
838
|
+
description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
|
|
839
|
+
});
|
|
833
840
|
var errorCodesFileSchema = z._default(
|
|
834
841
|
z.string().check(z.trim()),
|
|
835
842
|
STORM_DEFAULT_ERROR_CODES_FILE
|
|
@@ -1027,6 +1034,7 @@ var workspaceConfigSchema = z.object({
|
|
|
1027
1034
|
$schema: schemaNameSchema,
|
|
1028
1035
|
extends: extendsSchema,
|
|
1029
1036
|
name: nameSchema,
|
|
1037
|
+
variant: variantSchema,
|
|
1030
1038
|
namespace: namespaceSchema,
|
|
1031
1039
|
organization: orgSchema,
|
|
1032
1040
|
repository: repositorySchema,
|
|
@@ -1265,6 +1273,7 @@ var getConfigEnv = () => {
|
|
|
1265
1273
|
let config = {
|
|
1266
1274
|
extends: process.env[`${prefix}EXTENDS`] || void 0,
|
|
1267
1275
|
name: process.env[`${prefix}NAME`] || void 0,
|
|
1276
|
+
variant: process.env[`${prefix}VARIANT`] || void 0,
|
|
1268
1277
|
namespace: process.env[`${prefix}NAMESPACE`] || void 0,
|
|
1269
1278
|
owner: process.env[`${prefix}OWNER`] || void 0,
|
|
1270
1279
|
bot: {
|
|
@@ -1489,6 +1498,9 @@ var setConfigEnv = (config) => {
|
|
|
1489
1498
|
if (config.name) {
|
|
1490
1499
|
process.env[`${prefix}NAME`] = config.name;
|
|
1491
1500
|
}
|
|
1501
|
+
if (config.variant) {
|
|
1502
|
+
process.env[`${prefix}VARIANT`] = config.variant;
|
|
1503
|
+
}
|
|
1492
1504
|
if (config.namespace) {
|
|
1493
1505
|
process.env[`${prefix}NAMESPACE`] = config.namespace;
|
|
1494
1506
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _chunkIE44IJPRcjs = require('./chunk-IE44IJPR.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
@@ -30,4 +30,4 @@ require('./chunk-OBGZSXTJ.cjs');
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
exports.build =
|
|
33
|
+
exports.build = _chunkIE44IJPRcjs.build; exports.clean = _chunk5LYLEQEHcjs.clean; exports.cleanDirectories = _chunk5LYLEQEHcjs.cleanDirectories; exports.cleanOutputPath = _chunkIE44IJPRcjs.cleanOutputPath; exports.copyBuildAssets = _chunkIE44IJPRcjs.copyBuildAssets; exports.createTsCompilerOptions = _chunkQRSVSWU2cjs.createTsCompilerOptions; exports.executeUnbuild = _chunkIE44IJPRcjs.executeUnbuild; exports.generatePackageJson = _chunkIE44IJPRcjs.generatePackageJson; exports.loadConfig = _chunkQRSVSWU2cjs.loadConfig; exports.resolveOptions = _chunkIE44IJPRcjs.resolveOptions;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/unbuild",
|
|
3
|
-
"version": "0.51.
|
|
3
|
+
"version": "0.51.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing `unbuild` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"repository": {
|
|
@@ -147,9 +147,9 @@
|
|
|
147
147
|
"typescript": { "optional": false }
|
|
148
148
|
},
|
|
149
149
|
"dependencies": {
|
|
150
|
-
"@storm-software/build-tools": "^0.153.
|
|
151
|
-
"@storm-software/config": "^1.
|
|
152
|
-
"@storm-software/config-tools": "^1.
|
|
150
|
+
"@storm-software/build-tools": "^0.153.14",
|
|
151
|
+
"@storm-software/config": "^1.129.0",
|
|
152
|
+
"@storm-software/config-tools": "^1.181.1",
|
|
153
153
|
"commander": "^12.1.0",
|
|
154
154
|
"defu": "6.1.4",
|
|
155
155
|
"esbuild": "^0.25.0",
|
|
@@ -171,5 +171,5 @@
|
|
|
171
171
|
},
|
|
172
172
|
"publishConfig": { "access": "public" },
|
|
173
173
|
"sideEffects": false,
|
|
174
|
-
"gitHead": "
|
|
174
|
+
"gitHead": "658730b4c2e45539c2c7e8a27a7de490a0313325"
|
|
175
175
|
}
|