@storm-software/workspace-tools 1.35.1 → 1.35.2
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 +18 -3
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +18 -3
- package/src/executors/design-tokens/executor.js +18 -3
- package/src/executors/tsup/executor.js +18 -3
- package/src/executors/tsup-browser/executor.js +18 -3
- package/src/executors/tsup-neutral/executor.js +18 -3
- package/src/executors/tsup-node/executor.js +18 -3
- package/src/generators/browser-library/generator.js +18 -3
- package/src/generators/config-schema/generator.js +18 -3
- package/src/generators/neutral-library/generator.js +18 -3
- package/src/generators/node-library/generator.js +18 -3
- package/src/generators/preset/generator.js +18 -3
package/package.json
CHANGED
package/src/base/index.js
CHANGED
|
@@ -8134,6 +8134,13 @@ function findFolderUp(startPath, endFileNames) {
|
|
|
8134
8134
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
8135
8135
|
var rootFiles = [
|
|
8136
8136
|
"lerna.json",
|
|
8137
|
+
"storm.config.js",
|
|
8138
|
+
"storm.config.ts",
|
|
8139
|
+
".storm.json",
|
|
8140
|
+
".storm.yaml",
|
|
8141
|
+
".storm.yml",
|
|
8142
|
+
".storm.js",
|
|
8143
|
+
".storm.ts",
|
|
8137
8144
|
"nx.json",
|
|
8138
8145
|
"turbo.json",
|
|
8139
8146
|
"npm-workspace.json",
|
|
@@ -11808,7 +11815,7 @@ var StormConfigSchema = objectType({
|
|
|
11808
11815
|
colors: ColorConfigSchema.describe(
|
|
11809
11816
|
"Storm theme config values used for styling various package elements"
|
|
11810
11817
|
),
|
|
11811
|
-
extensions: recordType(anyType()).default({}).describe("Configuration of each used extension")
|
|
11818
|
+
extensions: recordType(anyType()).optional().default({}).describe("Configuration of each used extension")
|
|
11812
11819
|
}).describe(
|
|
11813
11820
|
"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
|
|
11814
11821
|
);
|
|
@@ -11874,7 +11881,9 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
11874
11881
|
repository,
|
|
11875
11882
|
license: license ?? DefaultStormConfig.license,
|
|
11876
11883
|
homepage: homepage ?? DefaultStormConfig.homepage,
|
|
11877
|
-
extensions: {
|
|
11884
|
+
extensions: {
|
|
11885
|
+
...config.extensions
|
|
11886
|
+
}
|
|
11878
11887
|
});
|
|
11879
11888
|
};
|
|
11880
11889
|
|
|
@@ -11972,7 +11981,13 @@ var getConfigEnv = () => {
|
|
|
11972
11981
|
};
|
|
11973
11982
|
const serializedConfig = process.env[`${prefix}CONFIG`];
|
|
11974
11983
|
if (serializedConfig) {
|
|
11975
|
-
|
|
11984
|
+
const parsed = JSON.parse(serializedConfig);
|
|
11985
|
+
config = {
|
|
11986
|
+
...config,
|
|
11987
|
+
...parsed,
|
|
11988
|
+
colors: { ...config.colors, ...parsed.colors },
|
|
11989
|
+
extensions: { ...config.extensions, ...parsed.extensions }
|
|
11990
|
+
};
|
|
11976
11991
|
}
|
|
11977
11992
|
const extensionPrefix = `${prefix}EXTENSION_`;
|
|
11978
11993
|
return Object.keys(process.env).filter((key) => key.startsWith(extensionPrefix)).reduce((ret, key) => {
|
|
@@ -61503,6 +61503,13 @@ function findFolderUp(startPath, endFileNames) {
|
|
|
61503
61503
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
61504
61504
|
var rootFiles = [
|
|
61505
61505
|
"lerna.json",
|
|
61506
|
+
"storm.config.js",
|
|
61507
|
+
"storm.config.ts",
|
|
61508
|
+
".storm.json",
|
|
61509
|
+
".storm.yaml",
|
|
61510
|
+
".storm.yml",
|
|
61511
|
+
".storm.js",
|
|
61512
|
+
".storm.ts",
|
|
61506
61513
|
"nx.json",
|
|
61507
61514
|
"turbo.json",
|
|
61508
61515
|
"npm-workspace.json",
|
|
@@ -65177,7 +65184,7 @@ var StormConfigSchema = objectType({
|
|
|
65177
65184
|
colors: ColorConfigSchema.describe(
|
|
65178
65185
|
"Storm theme config values used for styling various package elements"
|
|
65179
65186
|
),
|
|
65180
|
-
extensions: recordType(anyType()).default({}).describe("Configuration of each used extension")
|
|
65187
|
+
extensions: recordType(anyType()).optional().default({}).describe("Configuration of each used extension")
|
|
65181
65188
|
}).describe(
|
|
65182
65189
|
"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
|
|
65183
65190
|
);
|
|
@@ -65243,7 +65250,9 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
65243
65250
|
repository,
|
|
65244
65251
|
license: license ?? DefaultStormConfig.license,
|
|
65245
65252
|
homepage: homepage ?? DefaultStormConfig.homepage,
|
|
65246
|
-
extensions: {
|
|
65253
|
+
extensions: {
|
|
65254
|
+
...config.extensions
|
|
65255
|
+
}
|
|
65247
65256
|
});
|
|
65248
65257
|
};
|
|
65249
65258
|
|
|
@@ -65341,7 +65350,13 @@ var getConfigEnv = () => {
|
|
|
65341
65350
|
};
|
|
65342
65351
|
const serializedConfig = process.env[`${prefix}CONFIG`];
|
|
65343
65352
|
if (serializedConfig) {
|
|
65344
|
-
|
|
65353
|
+
const parsed = JSON.parse(serializedConfig);
|
|
65354
|
+
config = {
|
|
65355
|
+
...config,
|
|
65356
|
+
...parsed,
|
|
65357
|
+
colors: { ...config.colors, ...parsed.colors },
|
|
65358
|
+
extensions: { ...config.extensions, ...parsed.extensions }
|
|
65359
|
+
};
|
|
65345
65360
|
}
|
|
65346
65361
|
const extensionPrefix = `${prefix}EXTENSION_`;
|
|
65347
65362
|
return Object.keys(process.env).filter((key) => key.startsWith(extensionPrefix)).reduce((ret, key) => {
|
|
@@ -112533,6 +112533,13 @@ function findFolderUp(startPath, endFileNames) {
|
|
|
112533
112533
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
112534
112534
|
var rootFiles = [
|
|
112535
112535
|
"lerna.json",
|
|
112536
|
+
"storm.config.js",
|
|
112537
|
+
"storm.config.ts",
|
|
112538
|
+
".storm.json",
|
|
112539
|
+
".storm.yaml",
|
|
112540
|
+
".storm.yml",
|
|
112541
|
+
".storm.js",
|
|
112542
|
+
".storm.ts",
|
|
112536
112543
|
"nx.json",
|
|
112537
112544
|
"turbo.json",
|
|
112538
112545
|
"npm-workspace.json",
|
|
@@ -116207,7 +116214,7 @@ var StormConfigSchema = objectType({
|
|
|
116207
116214
|
colors: ColorConfigSchema.describe(
|
|
116208
116215
|
"Storm theme config values used for styling various package elements"
|
|
116209
116216
|
),
|
|
116210
|
-
extensions: recordType(anyType()).default({}).describe("Configuration of each used extension")
|
|
116217
|
+
extensions: recordType(anyType()).optional().default({}).describe("Configuration of each used extension")
|
|
116211
116218
|
}).describe(
|
|
116212
116219
|
"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
|
|
116213
116220
|
);
|
|
@@ -116273,7 +116280,9 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
116273
116280
|
repository,
|
|
116274
116281
|
license: license ?? DefaultStormConfig.license,
|
|
116275
116282
|
homepage: homepage ?? DefaultStormConfig.homepage,
|
|
116276
|
-
extensions: {
|
|
116283
|
+
extensions: {
|
|
116284
|
+
...config.extensions
|
|
116285
|
+
}
|
|
116277
116286
|
});
|
|
116278
116287
|
};
|
|
116279
116288
|
|
|
@@ -116371,7 +116380,13 @@ var getConfigEnv = () => {
|
|
|
116371
116380
|
};
|
|
116372
116381
|
const serializedConfig = process.env[`${prefix}CONFIG`];
|
|
116373
116382
|
if (serializedConfig) {
|
|
116374
|
-
|
|
116383
|
+
const parsed = JSON.parse(serializedConfig);
|
|
116384
|
+
config = {
|
|
116385
|
+
...config,
|
|
116386
|
+
...parsed,
|
|
116387
|
+
colors: { ...config.colors, ...parsed.colors },
|
|
116388
|
+
extensions: { ...config.extensions, ...parsed.extensions }
|
|
116389
|
+
};
|
|
116375
116390
|
}
|
|
116376
116391
|
const extensionPrefix = `${prefix}EXTENSION_`;
|
|
116377
116392
|
return Object.keys(process.env).filter((key) => key.startsWith(extensionPrefix)).reduce((ret, key) => {
|
|
@@ -106299,6 +106299,13 @@ function findFolderUp(startPath, endFileNames) {
|
|
|
106299
106299
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
106300
106300
|
var rootFiles = [
|
|
106301
106301
|
"lerna.json",
|
|
106302
|
+
"storm.config.js",
|
|
106303
|
+
"storm.config.ts",
|
|
106304
|
+
".storm.json",
|
|
106305
|
+
".storm.yaml",
|
|
106306
|
+
".storm.yml",
|
|
106307
|
+
".storm.js",
|
|
106308
|
+
".storm.ts",
|
|
106302
106309
|
"nx.json",
|
|
106303
106310
|
"turbo.json",
|
|
106304
106311
|
"npm-workspace.json",
|
|
@@ -109973,7 +109980,7 @@ var StormConfigSchema = objectType({
|
|
|
109973
109980
|
colors: ColorConfigSchema.describe(
|
|
109974
109981
|
"Storm theme config values used for styling various package elements"
|
|
109975
109982
|
),
|
|
109976
|
-
extensions: recordType(anyType()).default({}).describe("Configuration of each used extension")
|
|
109983
|
+
extensions: recordType(anyType()).optional().default({}).describe("Configuration of each used extension")
|
|
109977
109984
|
}).describe(
|
|
109978
109985
|
"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
|
|
109979
109986
|
);
|
|
@@ -110039,7 +110046,9 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
110039
110046
|
repository,
|
|
110040
110047
|
license: license ?? DefaultStormConfig.license,
|
|
110041
110048
|
homepage: homepage ?? DefaultStormConfig.homepage,
|
|
110042
|
-
extensions: {
|
|
110049
|
+
extensions: {
|
|
110050
|
+
...config.extensions
|
|
110051
|
+
}
|
|
110043
110052
|
});
|
|
110044
110053
|
};
|
|
110045
110054
|
|
|
@@ -110137,7 +110146,13 @@ var getConfigEnv = () => {
|
|
|
110137
110146
|
};
|
|
110138
110147
|
const serializedConfig = process.env[`${prefix}CONFIG`];
|
|
110139
110148
|
if (serializedConfig) {
|
|
110140
|
-
|
|
110149
|
+
const parsed = JSON.parse(serializedConfig);
|
|
110150
|
+
config = {
|
|
110151
|
+
...config,
|
|
110152
|
+
...parsed,
|
|
110153
|
+
colors: { ...config.colors, ...parsed.colors },
|
|
110154
|
+
extensions: { ...config.extensions, ...parsed.extensions }
|
|
110155
|
+
};
|
|
110141
110156
|
}
|
|
110142
110157
|
const extensionPrefix = `${prefix}EXTENSION_`;
|
|
110143
110158
|
return Object.keys(process.env).filter((key) => key.startsWith(extensionPrefix)).reduce((ret, key) => {
|
|
@@ -106299,6 +106299,13 @@ function findFolderUp(startPath, endFileNames) {
|
|
|
106299
106299
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
106300
106300
|
var rootFiles = [
|
|
106301
106301
|
"lerna.json",
|
|
106302
|
+
"storm.config.js",
|
|
106303
|
+
"storm.config.ts",
|
|
106304
|
+
".storm.json",
|
|
106305
|
+
".storm.yaml",
|
|
106306
|
+
".storm.yml",
|
|
106307
|
+
".storm.js",
|
|
106308
|
+
".storm.ts",
|
|
106302
106309
|
"nx.json",
|
|
106303
106310
|
"turbo.json",
|
|
106304
106311
|
"npm-workspace.json",
|
|
@@ -109973,7 +109980,7 @@ var StormConfigSchema = objectType({
|
|
|
109973
109980
|
colors: ColorConfigSchema.describe(
|
|
109974
109981
|
"Storm theme config values used for styling various package elements"
|
|
109975
109982
|
),
|
|
109976
|
-
extensions: recordType(anyType()).default({}).describe("Configuration of each used extension")
|
|
109983
|
+
extensions: recordType(anyType()).optional().default({}).describe("Configuration of each used extension")
|
|
109977
109984
|
}).describe(
|
|
109978
109985
|
"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
|
|
109979
109986
|
);
|
|
@@ -110039,7 +110046,9 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
110039
110046
|
repository,
|
|
110040
110047
|
license: license ?? DefaultStormConfig.license,
|
|
110041
110048
|
homepage: homepage ?? DefaultStormConfig.homepage,
|
|
110042
|
-
extensions: {
|
|
110049
|
+
extensions: {
|
|
110050
|
+
...config.extensions
|
|
110051
|
+
}
|
|
110043
110052
|
});
|
|
110044
110053
|
};
|
|
110045
110054
|
|
|
@@ -110137,7 +110146,13 @@ var getConfigEnv = () => {
|
|
|
110137
110146
|
};
|
|
110138
110147
|
const serializedConfig = process.env[`${prefix}CONFIG`];
|
|
110139
110148
|
if (serializedConfig) {
|
|
110140
|
-
|
|
110149
|
+
const parsed = JSON.parse(serializedConfig);
|
|
110150
|
+
config = {
|
|
110151
|
+
...config,
|
|
110152
|
+
...parsed,
|
|
110153
|
+
colors: { ...config.colors, ...parsed.colors },
|
|
110154
|
+
extensions: { ...config.extensions, ...parsed.extensions }
|
|
110155
|
+
};
|
|
110141
110156
|
}
|
|
110142
110157
|
const extensionPrefix = `${prefix}EXTENSION_`;
|
|
110143
110158
|
return Object.keys(process.env).filter((key) => key.startsWith(extensionPrefix)).reduce((ret, key) => {
|
|
@@ -106299,6 +106299,13 @@ function findFolderUp(startPath, endFileNames) {
|
|
|
106299
106299
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
106300
106300
|
var rootFiles = [
|
|
106301
106301
|
"lerna.json",
|
|
106302
|
+
"storm.config.js",
|
|
106303
|
+
"storm.config.ts",
|
|
106304
|
+
".storm.json",
|
|
106305
|
+
".storm.yaml",
|
|
106306
|
+
".storm.yml",
|
|
106307
|
+
".storm.js",
|
|
106308
|
+
".storm.ts",
|
|
106302
106309
|
"nx.json",
|
|
106303
106310
|
"turbo.json",
|
|
106304
106311
|
"npm-workspace.json",
|
|
@@ -109973,7 +109980,7 @@ var StormConfigSchema = objectType({
|
|
|
109973
109980
|
colors: ColorConfigSchema.describe(
|
|
109974
109981
|
"Storm theme config values used for styling various package elements"
|
|
109975
109982
|
),
|
|
109976
|
-
extensions: recordType(anyType()).default({}).describe("Configuration of each used extension")
|
|
109983
|
+
extensions: recordType(anyType()).optional().default({}).describe("Configuration of each used extension")
|
|
109977
109984
|
}).describe(
|
|
109978
109985
|
"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
|
|
109979
109986
|
);
|
|
@@ -110039,7 +110046,9 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
110039
110046
|
repository,
|
|
110040
110047
|
license: license ?? DefaultStormConfig.license,
|
|
110041
110048
|
homepage: homepage ?? DefaultStormConfig.homepage,
|
|
110042
|
-
extensions: {
|
|
110049
|
+
extensions: {
|
|
110050
|
+
...config.extensions
|
|
110051
|
+
}
|
|
110043
110052
|
});
|
|
110044
110053
|
};
|
|
110045
110054
|
|
|
@@ -110137,7 +110146,13 @@ var getConfigEnv = () => {
|
|
|
110137
110146
|
};
|
|
110138
110147
|
const serializedConfig = process.env[`${prefix}CONFIG`];
|
|
110139
110148
|
if (serializedConfig) {
|
|
110140
|
-
|
|
110149
|
+
const parsed = JSON.parse(serializedConfig);
|
|
110150
|
+
config = {
|
|
110151
|
+
...config,
|
|
110152
|
+
...parsed,
|
|
110153
|
+
colors: { ...config.colors, ...parsed.colors },
|
|
110154
|
+
extensions: { ...config.extensions, ...parsed.extensions }
|
|
110155
|
+
};
|
|
110141
110156
|
}
|
|
110142
110157
|
const extensionPrefix = `${prefix}EXTENSION_`;
|
|
110143
110158
|
return Object.keys(process.env).filter((key) => key.startsWith(extensionPrefix)).reduce((ret, key) => {
|
|
@@ -43580,6 +43580,13 @@ function findFolderUp(startPath, endFileNames) {
|
|
|
43580
43580
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
43581
43581
|
var rootFiles = [
|
|
43582
43582
|
"lerna.json",
|
|
43583
|
+
"storm.config.js",
|
|
43584
|
+
"storm.config.ts",
|
|
43585
|
+
".storm.json",
|
|
43586
|
+
".storm.yaml",
|
|
43587
|
+
".storm.yml",
|
|
43588
|
+
".storm.js",
|
|
43589
|
+
".storm.ts",
|
|
43583
43590
|
"nx.json",
|
|
43584
43591
|
"turbo.json",
|
|
43585
43592
|
"npm-workspace.json",
|
|
@@ -47254,7 +47261,7 @@ var StormConfigSchema = objectType({
|
|
|
47254
47261
|
colors: ColorConfigSchema.describe(
|
|
47255
47262
|
"Storm theme config values used for styling various package elements"
|
|
47256
47263
|
),
|
|
47257
|
-
extensions: recordType(anyType()).default({}).describe("Configuration of each used extension")
|
|
47264
|
+
extensions: recordType(anyType()).optional().default({}).describe("Configuration of each used extension")
|
|
47258
47265
|
}).describe(
|
|
47259
47266
|
"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
|
|
47260
47267
|
);
|
|
@@ -47320,7 +47327,9 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
47320
47327
|
repository,
|
|
47321
47328
|
license: license ?? DefaultStormConfig.license,
|
|
47322
47329
|
homepage: homepage ?? DefaultStormConfig.homepage,
|
|
47323
|
-
extensions: {
|
|
47330
|
+
extensions: {
|
|
47331
|
+
...config.extensions
|
|
47332
|
+
}
|
|
47324
47333
|
});
|
|
47325
47334
|
};
|
|
47326
47335
|
|
|
@@ -47418,7 +47427,13 @@ var getConfigEnv = () => {
|
|
|
47418
47427
|
};
|
|
47419
47428
|
const serializedConfig = process.env[`${prefix}CONFIG`];
|
|
47420
47429
|
if (serializedConfig) {
|
|
47421
|
-
|
|
47430
|
+
const parsed = JSON.parse(serializedConfig);
|
|
47431
|
+
config = {
|
|
47432
|
+
...config,
|
|
47433
|
+
...parsed,
|
|
47434
|
+
colors: { ...config.colors, ...parsed.colors },
|
|
47435
|
+
extensions: { ...config.extensions, ...parsed.extensions }
|
|
47436
|
+
};
|
|
47422
47437
|
}
|
|
47423
47438
|
const extensionPrefix = `${prefix}EXTENSION_`;
|
|
47424
47439
|
return Object.keys(process.env).filter((key) => key.startsWith(extensionPrefix)).reduce((ret, key) => {
|
|
@@ -26338,6 +26338,13 @@ function findFolderUp(startPath, endFileNames) {
|
|
|
26338
26338
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
26339
26339
|
var rootFiles = [
|
|
26340
26340
|
"lerna.json",
|
|
26341
|
+
"storm.config.js",
|
|
26342
|
+
"storm.config.ts",
|
|
26343
|
+
".storm.json",
|
|
26344
|
+
".storm.yaml",
|
|
26345
|
+
".storm.yml",
|
|
26346
|
+
".storm.js",
|
|
26347
|
+
".storm.ts",
|
|
26341
26348
|
"nx.json",
|
|
26342
26349
|
"turbo.json",
|
|
26343
26350
|
"npm-workspace.json",
|
|
@@ -30012,7 +30019,7 @@ var StormConfigSchema = objectType({
|
|
|
30012
30019
|
colors: ColorConfigSchema.describe(
|
|
30013
30020
|
"Storm theme config values used for styling various package elements"
|
|
30014
30021
|
),
|
|
30015
|
-
extensions: recordType(anyType()).default({}).describe("Configuration of each used extension")
|
|
30022
|
+
extensions: recordType(anyType()).optional().default({}).describe("Configuration of each used extension")
|
|
30016
30023
|
}).describe(
|
|
30017
30024
|
"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
|
|
30018
30025
|
);
|
|
@@ -30078,7 +30085,9 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
30078
30085
|
repository,
|
|
30079
30086
|
license: license ?? DefaultStormConfig.license,
|
|
30080
30087
|
homepage: homepage ?? DefaultStormConfig.homepage,
|
|
30081
|
-
extensions: {
|
|
30088
|
+
extensions: {
|
|
30089
|
+
...config.extensions
|
|
30090
|
+
}
|
|
30082
30091
|
});
|
|
30083
30092
|
};
|
|
30084
30093
|
|
|
@@ -30176,7 +30185,13 @@ var getConfigEnv = () => {
|
|
|
30176
30185
|
};
|
|
30177
30186
|
const serializedConfig = process.env[`${prefix}CONFIG`];
|
|
30178
30187
|
if (serializedConfig) {
|
|
30179
|
-
|
|
30188
|
+
const parsed = JSON.parse(serializedConfig);
|
|
30189
|
+
config = {
|
|
30190
|
+
...config,
|
|
30191
|
+
...parsed,
|
|
30192
|
+
colors: { ...config.colors, ...parsed.colors },
|
|
30193
|
+
extensions: { ...config.extensions, ...parsed.extensions }
|
|
30194
|
+
};
|
|
30180
30195
|
}
|
|
30181
30196
|
const extensionPrefix = `${prefix}EXTENSION_`;
|
|
30182
30197
|
return Object.keys(process.env).filter((key) => key.startsWith(extensionPrefix)).reduce((ret, key) => {
|
|
@@ -43580,6 +43580,13 @@ function findFolderUp(startPath, endFileNames) {
|
|
|
43580
43580
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
43581
43581
|
var rootFiles = [
|
|
43582
43582
|
"lerna.json",
|
|
43583
|
+
"storm.config.js",
|
|
43584
|
+
"storm.config.ts",
|
|
43585
|
+
".storm.json",
|
|
43586
|
+
".storm.yaml",
|
|
43587
|
+
".storm.yml",
|
|
43588
|
+
".storm.js",
|
|
43589
|
+
".storm.ts",
|
|
43583
43590
|
"nx.json",
|
|
43584
43591
|
"turbo.json",
|
|
43585
43592
|
"npm-workspace.json",
|
|
@@ -47254,7 +47261,7 @@ var StormConfigSchema = objectType({
|
|
|
47254
47261
|
colors: ColorConfigSchema.describe(
|
|
47255
47262
|
"Storm theme config values used for styling various package elements"
|
|
47256
47263
|
),
|
|
47257
|
-
extensions: recordType(anyType()).default({}).describe("Configuration of each used extension")
|
|
47264
|
+
extensions: recordType(anyType()).optional().default({}).describe("Configuration of each used extension")
|
|
47258
47265
|
}).describe(
|
|
47259
47266
|
"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
|
|
47260
47267
|
);
|
|
@@ -47320,7 +47327,9 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
47320
47327
|
repository,
|
|
47321
47328
|
license: license ?? DefaultStormConfig.license,
|
|
47322
47329
|
homepage: homepage ?? DefaultStormConfig.homepage,
|
|
47323
|
-
extensions: {
|
|
47330
|
+
extensions: {
|
|
47331
|
+
...config.extensions
|
|
47332
|
+
}
|
|
47324
47333
|
});
|
|
47325
47334
|
};
|
|
47326
47335
|
|
|
@@ -47418,7 +47427,13 @@ var getConfigEnv = () => {
|
|
|
47418
47427
|
};
|
|
47419
47428
|
const serializedConfig = process.env[`${prefix}CONFIG`];
|
|
47420
47429
|
if (serializedConfig) {
|
|
47421
|
-
|
|
47430
|
+
const parsed = JSON.parse(serializedConfig);
|
|
47431
|
+
config = {
|
|
47432
|
+
...config,
|
|
47433
|
+
...parsed,
|
|
47434
|
+
colors: { ...config.colors, ...parsed.colors },
|
|
47435
|
+
extensions: { ...config.extensions, ...parsed.extensions }
|
|
47436
|
+
};
|
|
47422
47437
|
}
|
|
47423
47438
|
const extensionPrefix = `${prefix}EXTENSION_`;
|
|
47424
47439
|
return Object.keys(process.env).filter((key) => key.startsWith(extensionPrefix)).reduce((ret, key) => {
|
|
@@ -43580,6 +43580,13 @@ function findFolderUp(startPath, endFileNames) {
|
|
|
43580
43580
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
43581
43581
|
var rootFiles = [
|
|
43582
43582
|
"lerna.json",
|
|
43583
|
+
"storm.config.js",
|
|
43584
|
+
"storm.config.ts",
|
|
43585
|
+
".storm.json",
|
|
43586
|
+
".storm.yaml",
|
|
43587
|
+
".storm.yml",
|
|
43588
|
+
".storm.js",
|
|
43589
|
+
".storm.ts",
|
|
43583
43590
|
"nx.json",
|
|
43584
43591
|
"turbo.json",
|
|
43585
43592
|
"npm-workspace.json",
|
|
@@ -47254,7 +47261,7 @@ var StormConfigSchema = objectType({
|
|
|
47254
47261
|
colors: ColorConfigSchema.describe(
|
|
47255
47262
|
"Storm theme config values used for styling various package elements"
|
|
47256
47263
|
),
|
|
47257
|
-
extensions: recordType(anyType()).default({}).describe("Configuration of each used extension")
|
|
47264
|
+
extensions: recordType(anyType()).optional().default({}).describe("Configuration of each used extension")
|
|
47258
47265
|
}).describe(
|
|
47259
47266
|
"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
|
|
47260
47267
|
);
|
|
@@ -47320,7 +47327,9 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
47320
47327
|
repository,
|
|
47321
47328
|
license: license ?? DefaultStormConfig.license,
|
|
47322
47329
|
homepage: homepage ?? DefaultStormConfig.homepage,
|
|
47323
|
-
extensions: {
|
|
47330
|
+
extensions: {
|
|
47331
|
+
...config.extensions
|
|
47332
|
+
}
|
|
47324
47333
|
});
|
|
47325
47334
|
};
|
|
47326
47335
|
|
|
@@ -47418,7 +47427,13 @@ var getConfigEnv = () => {
|
|
|
47418
47427
|
};
|
|
47419
47428
|
const serializedConfig = process.env[`${prefix}CONFIG`];
|
|
47420
47429
|
if (serializedConfig) {
|
|
47421
|
-
|
|
47430
|
+
const parsed = JSON.parse(serializedConfig);
|
|
47431
|
+
config = {
|
|
47432
|
+
...config,
|
|
47433
|
+
...parsed,
|
|
47434
|
+
colors: { ...config.colors, ...parsed.colors },
|
|
47435
|
+
extensions: { ...config.extensions, ...parsed.extensions }
|
|
47436
|
+
};
|
|
47422
47437
|
}
|
|
47423
47438
|
const extensionPrefix = `${prefix}EXTENSION_`;
|
|
47424
47439
|
return Object.keys(process.env).filter((key) => key.startsWith(extensionPrefix)).reduce((ret, key) => {
|
|
@@ -26339,6 +26339,13 @@ function findFolderUp(startPath, endFileNames) {
|
|
|
26339
26339
|
// packages/config-tools/src/utilities/find-workspace-root.ts
|
|
26340
26340
|
var rootFiles = [
|
|
26341
26341
|
"lerna.json",
|
|
26342
|
+
"storm.config.js",
|
|
26343
|
+
"storm.config.ts",
|
|
26344
|
+
".storm.json",
|
|
26345
|
+
".storm.yaml",
|
|
26346
|
+
".storm.yml",
|
|
26347
|
+
".storm.js",
|
|
26348
|
+
".storm.ts",
|
|
26342
26349
|
"nx.json",
|
|
26343
26350
|
"turbo.json",
|
|
26344
26351
|
"npm-workspace.json",
|
|
@@ -30013,7 +30020,7 @@ var StormConfigSchema = objectType({
|
|
|
30013
30020
|
colors: ColorConfigSchema.describe(
|
|
30014
30021
|
"Storm theme config values used for styling various package elements"
|
|
30015
30022
|
),
|
|
30016
|
-
extensions: recordType(anyType()).default({}).describe("Configuration of each used extension")
|
|
30023
|
+
extensions: recordType(anyType()).optional().default({}).describe("Configuration of each used extension")
|
|
30017
30024
|
}).describe(
|
|
30018
30025
|
"Storm Workspace config values used during various dev-ops processes. This type is a combination of the StormPackageConfig and StormProject types. It represents the config of the entire monorepo."
|
|
30019
30026
|
);
|
|
@@ -30079,7 +30086,9 @@ var getDefaultConfig = (config = {}, root) => {
|
|
|
30079
30086
|
repository,
|
|
30080
30087
|
license: license ?? DefaultStormConfig.license,
|
|
30081
30088
|
homepage: homepage ?? DefaultStormConfig.homepage,
|
|
30082
|
-
extensions: {
|
|
30089
|
+
extensions: {
|
|
30090
|
+
...config.extensions
|
|
30091
|
+
}
|
|
30083
30092
|
});
|
|
30084
30093
|
};
|
|
30085
30094
|
|
|
@@ -30177,7 +30186,13 @@ var getConfigEnv = () => {
|
|
|
30177
30186
|
};
|
|
30178
30187
|
const serializedConfig = process.env[`${prefix}CONFIG`];
|
|
30179
30188
|
if (serializedConfig) {
|
|
30180
|
-
|
|
30189
|
+
const parsed = JSON.parse(serializedConfig);
|
|
30190
|
+
config = {
|
|
30191
|
+
...config,
|
|
30192
|
+
...parsed,
|
|
30193
|
+
colors: { ...config.colors, ...parsed.colors },
|
|
30194
|
+
extensions: { ...config.extensions, ...parsed.extensions }
|
|
30195
|
+
};
|
|
30181
30196
|
}
|
|
30182
30197
|
const extensionPrefix = `${prefix}EXTENSION_`;
|
|
30183
30198
|
return Object.keys(process.env).filter((key) => key.startsWith(extensionPrefix)).reduce((ret, key) => {
|