@storm-software/tsdown 0.38.16 → 0.38.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
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/dist/build.cjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkKG2IUSXKcjs = require('./chunk-KG2IUSXK.cjs');
|
|
5
5
|
require('./chunk-IO7MJMVE.cjs');
|
|
6
6
|
require('./chunk-65E5RX7I.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.build =
|
|
10
|
+
exports.build = _chunkKG2IUSXKcjs.build; exports.cleanOutputPath = _chunkKG2IUSXKcjs.cleanOutputPath;
|
package/dist/build.js
CHANGED
|
@@ -843,6 +843,13 @@ var workspaceDirectorySchema = z.object({
|
|
|
843
843
|
schemaRegistry.add(workspaceDirectorySchema, {
|
|
844
844
|
description: "Various directories used by the workspace to store data, cache, and configuration files"
|
|
845
845
|
});
|
|
846
|
+
var variantSchema = z._default(
|
|
847
|
+
z.enum(["minimal", "monorepo"]),
|
|
848
|
+
"monorepo"
|
|
849
|
+
);
|
|
850
|
+
schemaRegistry.add(variantSchema, {
|
|
851
|
+
description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
|
|
852
|
+
});
|
|
846
853
|
var errorCodesFileSchema = z._default(
|
|
847
854
|
z.string().check(z.trim()),
|
|
848
855
|
STORM_DEFAULT_ERROR_CODES_FILE
|
|
@@ -1040,6 +1047,7 @@ var workspaceConfigSchema = z.object({
|
|
|
1040
1047
|
$schema: schemaNameSchema,
|
|
1041
1048
|
extends: extendsSchema,
|
|
1042
1049
|
name: nameSchema,
|
|
1050
|
+
variant: variantSchema,
|
|
1043
1051
|
namespace: namespaceSchema,
|
|
1044
1052
|
organization: orgSchema,
|
|
1045
1053
|
repository: repositorySchema,
|
|
@@ -1278,6 +1286,7 @@ var getConfigEnv = () => {
|
|
|
1278
1286
|
let config = {
|
|
1279
1287
|
extends: process.env[`${prefix}EXTENDS`] || void 0,
|
|
1280
1288
|
name: process.env[`${prefix}NAME`] || void 0,
|
|
1289
|
+
variant: process.env[`${prefix}VARIANT`] || void 0,
|
|
1281
1290
|
namespace: process.env[`${prefix}NAMESPACE`] || void 0,
|
|
1282
1291
|
owner: process.env[`${prefix}OWNER`] || void 0,
|
|
1283
1292
|
bot: {
|
|
@@ -1502,6 +1511,9 @@ var setConfigEnv = (config) => {
|
|
|
1502
1511
|
if (config.name) {
|
|
1503
1512
|
process.env[`${prefix}NAME`] = config.name;
|
|
1504
1513
|
}
|
|
1514
|
+
if (config.variant) {
|
|
1515
|
+
process.env[`${prefix}VARIANT`] = config.variant;
|
|
1516
|
+
}
|
|
1505
1517
|
if (config.namespace) {
|
|
1506
1518
|
process.env[`${prefix}NAMESPACE`] = config.namespace;
|
|
1507
1519
|
}
|
|
@@ -843,6 +843,13 @@ var workspaceDirectorySchema = z.object({
|
|
|
843
843
|
schemaRegistry.add(workspaceDirectorySchema, {
|
|
844
844
|
description: "Various directories used by the workspace to store data, cache, and configuration files"
|
|
845
845
|
});
|
|
846
|
+
var variantSchema = z._default(
|
|
847
|
+
z.enum(["minimal", "monorepo"]),
|
|
848
|
+
"monorepo"
|
|
849
|
+
);
|
|
850
|
+
schemaRegistry.add(variantSchema, {
|
|
851
|
+
description: "The variant of the workspace. This can be used to enable or disable certain features or configurations."
|
|
852
|
+
});
|
|
846
853
|
var errorCodesFileSchema = z._default(
|
|
847
854
|
z.string().check(z.trim()),
|
|
848
855
|
STORM_DEFAULT_ERROR_CODES_FILE
|
|
@@ -1040,6 +1047,7 @@ var workspaceConfigSchema = z.object({
|
|
|
1040
1047
|
$schema: schemaNameSchema,
|
|
1041
1048
|
extends: extendsSchema,
|
|
1042
1049
|
name: nameSchema,
|
|
1050
|
+
variant: variantSchema,
|
|
1043
1051
|
namespace: namespaceSchema,
|
|
1044
1052
|
organization: orgSchema,
|
|
1045
1053
|
repository: repositorySchema,
|
|
@@ -1278,6 +1286,7 @@ var getConfigEnv = () => {
|
|
|
1278
1286
|
let config = {
|
|
1279
1287
|
extends: process.env[`${prefix}EXTENDS`] || void 0,
|
|
1280
1288
|
name: process.env[`${prefix}NAME`] || void 0,
|
|
1289
|
+
variant: process.env[`${prefix}VARIANT`] || void 0,
|
|
1281
1290
|
namespace: process.env[`${prefix}NAMESPACE`] || void 0,
|
|
1282
1291
|
owner: process.env[`${prefix}OWNER`] || void 0,
|
|
1283
1292
|
bot: {
|
|
@@ -1502,6 +1511,9 @@ var setConfigEnv = (config) => {
|
|
|
1502
1511
|
if (config.name) {
|
|
1503
1512
|
process.env[`${prefix}NAME`] = config.name;
|
|
1504
1513
|
}
|
|
1514
|
+
if (config.variant) {
|
|
1515
|
+
process.env[`${prefix}VARIANT`] = config.variant;
|
|
1516
|
+
}
|
|
1505
1517
|
if (config.namespace) {
|
|
1506
1518
|
process.env[`${prefix}NAMESPACE`] = config.namespace;
|
|
1507
1519
|
}
|
package/dist/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _chunkKG2IUSXKcjs = require('./chunk-KG2IUSXK.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
@@ -16,4 +16,4 @@ require('./chunk-ZBPRDZS4.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.DEFAULT_BUILD_OPTIONS = _chunk65E5RX7Icjs.DEFAULT_BUILD_OPTIONS; exports.build =
|
|
19
|
+
exports.DEFAULT_BUILD_OPTIONS = _chunk65E5RX7Icjs.DEFAULT_BUILD_OPTIONS; exports.build = _chunkKG2IUSXKcjs.build; exports.clean = _chunkIO7MJMVEcjs.clean; exports.cleanDirectories = _chunkIO7MJMVEcjs.cleanDirectories; exports.cleanOutputPath = _chunkKG2IUSXKcjs.cleanOutputPath;
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/tsdown",
|
|
3
|
-
"version": "0.38.
|
|
3
|
+
"version": "0.38.18",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A package containing `tsdown` utilities for building Storm Software libraries and applications",
|
|
6
6
|
"repository": {
|
|
@@ -149,9 +149,9 @@
|
|
|
149
149
|
"tsdown": { "optional": false }
|
|
150
150
|
},
|
|
151
151
|
"dependencies": {
|
|
152
|
-
"@storm-software/build-tools": "^0.153.
|
|
153
|
-
"@storm-software/config": "^1.
|
|
154
|
-
"@storm-software/config-tools": "^1.
|
|
152
|
+
"@storm-software/build-tools": "^0.153.14",
|
|
153
|
+
"@storm-software/config": "^1.129.0",
|
|
154
|
+
"@storm-software/config-tools": "^1.181.1",
|
|
155
155
|
"chokidar": "^4.0.3",
|
|
156
156
|
"commander": "^12.1.0",
|
|
157
157
|
"es-toolkit": "^1.39.10",
|
|
@@ -174,5 +174,5 @@
|
|
|
174
174
|
},
|
|
175
175
|
"publishConfig": { "access": "public" },
|
|
176
176
|
"sideEffects": false,
|
|
177
|
-
"gitHead": "
|
|
177
|
+
"gitHead": "658730b4c2e45539c2c7e8a27a7de490a0313325"
|
|
178
178
|
}
|