@storm-software/workspace-tools 1.43.14 → 1.43.15
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/CHANGELOG.md +7 -0
- package/index.js +14 -2
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +13 -1
- package/src/executors/design-tokens/executor.js +13 -1
- package/src/executors/tsup/executor.js +14 -2
- package/src/executors/tsup-browser/executor.js +14 -2
- package/src/executors/tsup-neutral/executor.js +14 -2
- package/src/executors/tsup-node/executor.js +14 -2
- package/src/generators/browser-library/generator.js +13 -1
- package/src/generators/config-schema/generator.js +13 -1
- package/src/generators/neutral-library/generator.js +13 -1
- package/src/generators/node-library/generator.js +13 -1
- package/src/generators/preset/generator.js +13 -1
package/package.json
CHANGED
package/src/base/index.js
CHANGED
|
@@ -47665,7 +47665,19 @@ var loadStormConfig = async (workspaceRoot) => {
|
|
|
47665
47665
|
const configEnv = getConfigEnv();
|
|
47666
47666
|
for (const key of Object.keys(configEnv)) {
|
|
47667
47667
|
if (configEnv[key] !== void 0 && configEnv[key] !== null) {
|
|
47668
|
-
|
|
47668
|
+
if (key === "colors") {
|
|
47669
|
+
configFile.colors = {
|
|
47670
|
+
primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
|
|
47671
|
+
background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
|
|
47672
|
+
success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
|
|
47673
|
+
info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
|
|
47674
|
+
warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
|
|
47675
|
+
error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
|
|
47676
|
+
fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
|
|
47677
|
+
};
|
|
47678
|
+
} else {
|
|
47679
|
+
configFile[key] = configEnv[key];
|
|
47680
|
+
}
|
|
47669
47681
|
}
|
|
47670
47682
|
}
|
|
47671
47683
|
const config = StormConfigSchema.parse(configFile);
|
|
@@ -65581,7 +65581,19 @@ var loadStormConfig = async (workspaceRoot) => {
|
|
|
65581
65581
|
const configEnv = getConfigEnv();
|
|
65582
65582
|
for (const key of Object.keys(configEnv)) {
|
|
65583
65583
|
if (configEnv[key] !== void 0 && configEnv[key] !== null) {
|
|
65584
|
-
|
|
65584
|
+
if (key === "colors") {
|
|
65585
|
+
configFile.colors = {
|
|
65586
|
+
primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
|
|
65587
|
+
background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
|
|
65588
|
+
success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
|
|
65589
|
+
info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
|
|
65590
|
+
warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
|
|
65591
|
+
error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
|
|
65592
|
+
fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
|
|
65593
|
+
};
|
|
65594
|
+
} else {
|
|
65595
|
+
configFile[key] = configEnv[key];
|
|
65596
|
+
}
|
|
65585
65597
|
}
|
|
65586
65598
|
}
|
|
65587
65599
|
const config = StormConfigSchema.parse(configFile);
|
|
@@ -130522,7 +130522,19 @@ var loadStormConfig = async (workspaceRoot) => {
|
|
|
130522
130522
|
const configEnv = getConfigEnv();
|
|
130523
130523
|
for (const key of Object.keys(configEnv)) {
|
|
130524
130524
|
if (configEnv[key] !== void 0 && configEnv[key] !== null) {
|
|
130525
|
-
|
|
130525
|
+
if (key === "colors") {
|
|
130526
|
+
configFile.colors = {
|
|
130527
|
+
primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
|
|
130528
|
+
background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
|
|
130529
|
+
success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
|
|
130530
|
+
info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
|
|
130531
|
+
warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
|
|
130532
|
+
error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
|
|
130533
|
+
fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
|
|
130534
|
+
};
|
|
130535
|
+
} else {
|
|
130536
|
+
configFile[key] = configEnv[key];
|
|
130537
|
+
}
|
|
130526
130538
|
}
|
|
130527
130539
|
}
|
|
130528
130540
|
const config = StormConfigSchema.parse(configFile);
|
|
@@ -137265,7 +137277,7 @@ ${externalDependencies.map((dep) => {
|
|
|
137265
137277
|
for (const externalDependency of externalDependencies) {
|
|
137266
137278
|
console.log(externalDependency);
|
|
137267
137279
|
const packageConfig = externalDependency.node.data;
|
|
137268
|
-
if (packageConfig?.packageName && externalDependency.node.type === "npm") {
|
|
137280
|
+
if (packageConfig?.packageName && externalDependency.node.type === "npm" && packageConfig?.packageName !== "@biomejs/biome") {
|
|
137269
137281
|
console.log("In if statement");
|
|
137270
137282
|
console.log(packageConfig);
|
|
137271
137283
|
const { packageName, version } = packageConfig;
|
|
@@ -130513,7 +130513,19 @@ var loadStormConfig = async (workspaceRoot) => {
|
|
|
130513
130513
|
const configEnv = getConfigEnv();
|
|
130514
130514
|
for (const key of Object.keys(configEnv)) {
|
|
130515
130515
|
if (configEnv[key] !== void 0 && configEnv[key] !== null) {
|
|
130516
|
-
|
|
130516
|
+
if (key === "colors") {
|
|
130517
|
+
configFile.colors = {
|
|
130518
|
+
primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
|
|
130519
|
+
background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
|
|
130520
|
+
success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
|
|
130521
|
+
info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
|
|
130522
|
+
warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
|
|
130523
|
+
error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
|
|
130524
|
+
fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
|
|
130525
|
+
};
|
|
130526
|
+
} else {
|
|
130527
|
+
configFile[key] = configEnv[key];
|
|
130528
|
+
}
|
|
130517
130529
|
}
|
|
130518
130530
|
}
|
|
130519
130531
|
const config = StormConfigSchema.parse(configFile);
|
|
@@ -137296,7 +137308,7 @@ ${externalDependencies.map((dep) => {
|
|
|
137296
137308
|
for (const externalDependency of externalDependencies) {
|
|
137297
137309
|
console.log(externalDependency);
|
|
137298
137310
|
const packageConfig = externalDependency.node.data;
|
|
137299
|
-
if (packageConfig?.packageName && externalDependency.node.type === "npm") {
|
|
137311
|
+
if (packageConfig?.packageName && externalDependency.node.type === "npm" && packageConfig?.packageName !== "@biomejs/biome") {
|
|
137300
137312
|
console.log("In if statement");
|
|
137301
137313
|
console.log(packageConfig);
|
|
137302
137314
|
const { packageName, version } = packageConfig;
|
|
@@ -130513,7 +130513,19 @@ var loadStormConfig = async (workspaceRoot) => {
|
|
|
130513
130513
|
const configEnv = getConfigEnv();
|
|
130514
130514
|
for (const key of Object.keys(configEnv)) {
|
|
130515
130515
|
if (configEnv[key] !== void 0 && configEnv[key] !== null) {
|
|
130516
|
-
|
|
130516
|
+
if (key === "colors") {
|
|
130517
|
+
configFile.colors = {
|
|
130518
|
+
primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
|
|
130519
|
+
background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
|
|
130520
|
+
success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
|
|
130521
|
+
info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
|
|
130522
|
+
warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
|
|
130523
|
+
error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
|
|
130524
|
+
fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
|
|
130525
|
+
};
|
|
130526
|
+
} else {
|
|
130527
|
+
configFile[key] = configEnv[key];
|
|
130528
|
+
}
|
|
130517
130529
|
}
|
|
130518
130530
|
}
|
|
130519
130531
|
const config = StormConfigSchema.parse(configFile);
|
|
@@ -137296,7 +137308,7 @@ ${externalDependencies.map((dep) => {
|
|
|
137296
137308
|
for (const externalDependency of externalDependencies) {
|
|
137297
137309
|
console.log(externalDependency);
|
|
137298
137310
|
const packageConfig = externalDependency.node.data;
|
|
137299
|
-
if (packageConfig?.packageName && externalDependency.node.type === "npm") {
|
|
137311
|
+
if (packageConfig?.packageName && externalDependency.node.type === "npm" && packageConfig?.packageName !== "@biomejs/biome") {
|
|
137300
137312
|
console.log("In if statement");
|
|
137301
137313
|
console.log(packageConfig);
|
|
137302
137314
|
const { packageName, version } = packageConfig;
|
|
@@ -130513,7 +130513,19 @@ var loadStormConfig = async (workspaceRoot) => {
|
|
|
130513
130513
|
const configEnv = getConfigEnv();
|
|
130514
130514
|
for (const key of Object.keys(configEnv)) {
|
|
130515
130515
|
if (configEnv[key] !== void 0 && configEnv[key] !== null) {
|
|
130516
|
-
|
|
130516
|
+
if (key === "colors") {
|
|
130517
|
+
configFile.colors = {
|
|
130518
|
+
primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
|
|
130519
|
+
background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
|
|
130520
|
+
success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
|
|
130521
|
+
info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
|
|
130522
|
+
warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
|
|
130523
|
+
error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
|
|
130524
|
+
fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
|
|
130525
|
+
};
|
|
130526
|
+
} else {
|
|
130527
|
+
configFile[key] = configEnv[key];
|
|
130528
|
+
}
|
|
130517
130529
|
}
|
|
130518
130530
|
}
|
|
130519
130531
|
const config = StormConfigSchema.parse(configFile);
|
|
@@ -137296,7 +137308,7 @@ ${externalDependencies.map((dep) => {
|
|
|
137296
137308
|
for (const externalDependency of externalDependencies) {
|
|
137297
137309
|
console.log(externalDependency);
|
|
137298
137310
|
const packageConfig = externalDependency.node.data;
|
|
137299
|
-
if (packageConfig?.packageName && externalDependency.node.type === "npm") {
|
|
137311
|
+
if (packageConfig?.packageName && externalDependency.node.type === "npm" && packageConfig?.packageName !== "@biomejs/biome") {
|
|
137300
137312
|
console.log("In if statement");
|
|
137301
137313
|
console.log(packageConfig);
|
|
137302
137314
|
const { packageName, version } = packageConfig;
|
|
@@ -47658,7 +47658,19 @@ var loadStormConfig = async (workspaceRoot) => {
|
|
|
47658
47658
|
const configEnv = getConfigEnv();
|
|
47659
47659
|
for (const key of Object.keys(configEnv)) {
|
|
47660
47660
|
if (configEnv[key] !== void 0 && configEnv[key] !== null) {
|
|
47661
|
-
|
|
47661
|
+
if (key === "colors") {
|
|
47662
|
+
configFile.colors = {
|
|
47663
|
+
primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
|
|
47664
|
+
background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
|
|
47665
|
+
success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
|
|
47666
|
+
info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
|
|
47667
|
+
warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
|
|
47668
|
+
error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
|
|
47669
|
+
fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
|
|
47670
|
+
};
|
|
47671
|
+
} else {
|
|
47672
|
+
configFile[key] = configEnv[key];
|
|
47673
|
+
}
|
|
47662
47674
|
}
|
|
47663
47675
|
}
|
|
47664
47676
|
const config = StormConfigSchema.parse(configFile);
|
|
@@ -30416,7 +30416,19 @@ var loadStormConfig = async (workspaceRoot) => {
|
|
|
30416
30416
|
const configEnv = getConfigEnv();
|
|
30417
30417
|
for (const key of Object.keys(configEnv)) {
|
|
30418
30418
|
if (configEnv[key] !== void 0 && configEnv[key] !== null) {
|
|
30419
|
-
|
|
30419
|
+
if (key === "colors") {
|
|
30420
|
+
configFile.colors = {
|
|
30421
|
+
primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
|
|
30422
|
+
background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
|
|
30423
|
+
success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
|
|
30424
|
+
info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
|
|
30425
|
+
warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
|
|
30426
|
+
error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
|
|
30427
|
+
fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
|
|
30428
|
+
};
|
|
30429
|
+
} else {
|
|
30430
|
+
configFile[key] = configEnv[key];
|
|
30431
|
+
}
|
|
30420
30432
|
}
|
|
30421
30433
|
}
|
|
30422
30434
|
const config = StormConfigSchema.parse(configFile);
|
|
@@ -47658,7 +47658,19 @@ var loadStormConfig = async (workspaceRoot) => {
|
|
|
47658
47658
|
const configEnv = getConfigEnv();
|
|
47659
47659
|
for (const key of Object.keys(configEnv)) {
|
|
47660
47660
|
if (configEnv[key] !== void 0 && configEnv[key] !== null) {
|
|
47661
|
-
|
|
47661
|
+
if (key === "colors") {
|
|
47662
|
+
configFile.colors = {
|
|
47663
|
+
primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
|
|
47664
|
+
background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
|
|
47665
|
+
success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
|
|
47666
|
+
info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
|
|
47667
|
+
warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
|
|
47668
|
+
error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
|
|
47669
|
+
fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
|
|
47670
|
+
};
|
|
47671
|
+
} else {
|
|
47672
|
+
configFile[key] = configEnv[key];
|
|
47673
|
+
}
|
|
47662
47674
|
}
|
|
47663
47675
|
}
|
|
47664
47676
|
const config = StormConfigSchema.parse(configFile);
|
|
@@ -47658,7 +47658,19 @@ var loadStormConfig = async (workspaceRoot) => {
|
|
|
47658
47658
|
const configEnv = getConfigEnv();
|
|
47659
47659
|
for (const key of Object.keys(configEnv)) {
|
|
47660
47660
|
if (configEnv[key] !== void 0 && configEnv[key] !== null) {
|
|
47661
|
-
|
|
47661
|
+
if (key === "colors") {
|
|
47662
|
+
configFile.colors = {
|
|
47663
|
+
primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
|
|
47664
|
+
background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
|
|
47665
|
+
success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
|
|
47666
|
+
info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
|
|
47667
|
+
warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
|
|
47668
|
+
error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
|
|
47669
|
+
fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
|
|
47670
|
+
};
|
|
47671
|
+
} else {
|
|
47672
|
+
configFile[key] = configEnv[key];
|
|
47673
|
+
}
|
|
47662
47674
|
}
|
|
47663
47675
|
}
|
|
47664
47676
|
const config = StormConfigSchema.parse(configFile);
|
|
@@ -30417,7 +30417,19 @@ var loadStormConfig = async (workspaceRoot) => {
|
|
|
30417
30417
|
const configEnv = getConfigEnv();
|
|
30418
30418
|
for (const key of Object.keys(configEnv)) {
|
|
30419
30419
|
if (configEnv[key] !== void 0 && configEnv[key] !== null) {
|
|
30420
|
-
|
|
30420
|
+
if (key === "colors") {
|
|
30421
|
+
configFile.colors = {
|
|
30422
|
+
primary: process.env.STORM_COLOR_PRIMARY ?? configFile.colors?.primary,
|
|
30423
|
+
background: process.env.STORM_COLOR_BACKGROUND ?? configFile.colors?.primary,
|
|
30424
|
+
success: process.env.STORM_COLOR_SUCCESS ?? configFile.colors?.primary,
|
|
30425
|
+
info: process.env.STORM_COLOR_INFO ?? configFile.colors?.primary,
|
|
30426
|
+
warning: process.env.STORM_COLOR_WARNING ?? configFile.colors?.primary,
|
|
30427
|
+
error: process.env.STORM_COLOR_ERROR ?? configFile.colors?.primary,
|
|
30428
|
+
fatal: process.env.STORM_COLOR_FATAL ?? configFile.colors?.primary
|
|
30429
|
+
};
|
|
30430
|
+
} else {
|
|
30431
|
+
configFile[key] = configEnv[key];
|
|
30432
|
+
}
|
|
30421
30433
|
}
|
|
30422
30434
|
}
|
|
30423
30435
|
const config = StormConfigSchema.parse(configFile);
|