@storm-software/workspace-tools 1.35.1 → 1.35.3

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 CHANGED
@@ -1,3 +1,17 @@
1
+ ## [1.35.2](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.35.1...workspace-tools-v1.35.2) (2023-12-23)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **config-tools:** Resolve potential empty extensions config issue ([80836bb](https://github.com/storm-software/storm-ops/commit/80836bbe70afa0b38f67c78f1e127eacb4f8ca87))
7
+
8
+ ## [1.35.1](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.35.0...workspace-tools-v1.35.1) (2023-12-23)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **config-tools:** Resolved isssue with config file loading ([f2e7897](https://github.com/storm-software/storm-ops/commit/f2e789761230d78ec1fedb511744ef57075d2b7d))
14
+
1
15
  # [1.35.0](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.34.2...workspace-tools-v1.35.0) (2023-12-23)
2
16
 
3
17
 
package/index.js CHANGED
@@ -106339,6 +106339,13 @@ function findFolderUp(startPath, endFileNames) {
106339
106339
  // packages/config-tools/src/utilities/find-workspace-root.ts
106340
106340
  var rootFiles = [
106341
106341
  "lerna.json",
106342
+ "storm.config.js",
106343
+ "storm.config.ts",
106344
+ ".storm.json",
106345
+ ".storm.yaml",
106346
+ ".storm.yml",
106347
+ ".storm.js",
106348
+ ".storm.ts",
106342
106349
  "nx.json",
106343
106350
  "turbo.json",
106344
106351
  "npm-workspace.json",
@@ -110013,7 +110020,7 @@ var StormConfigSchema = objectType({
110013
110020
  colors: ColorConfigSchema.describe(
110014
110021
  "Storm theme config values used for styling various package elements"
110015
110022
  ),
110016
- extensions: recordType(anyType()).default({}).describe("Configuration of each used extension")
110023
+ extensions: recordType(anyType()).optional().default({}).describe("Configuration of each used extension")
110017
110024
  }).describe(
110018
110025
  "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."
110019
110026
  );
@@ -110079,7 +110086,9 @@ var getDefaultConfig = (config = {}, root) => {
110079
110086
  repository,
110080
110087
  license: license ?? DefaultStormConfig.license,
110081
110088
  homepage: homepage ?? DefaultStormConfig.homepage,
110082
- extensions: {}
110089
+ extensions: {
110090
+ ...config.extensions
110091
+ }
110083
110092
  });
110084
110093
  };
110085
110094
 
@@ -110177,7 +110186,13 @@ var getConfigEnv = () => {
110177
110186
  };
110178
110187
  const serializedConfig = process.env[`${prefix}CONFIG`];
110179
110188
  if (serializedConfig) {
110180
- config = Object.assign(config, JSON.parse(serializedConfig));
110189
+ const parsed = JSON.parse(serializedConfig);
110190
+ config = {
110191
+ ...config,
110192
+ ...parsed,
110193
+ colors: { ...config.colors, ...parsed.colors },
110194
+ extensions: { ...config.extensions, ...parsed.extensions }
110195
+ };
110181
110196
  }
110182
110197
  const extensionPrefix = `${prefix}EXTENSION_`;
110183
110198
  return Object.keys(process.env).filter((key) => key.startsWith(extensionPrefix)).reduce((ret, key) => {