@storm-software/workspace-tools 1.21.12 → 1.21.14

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.21.13](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.21.12...workspace-tools-v1.21.13) (2023-12-03)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * **workspace-tools:** Ensure only storm env are written to build package ([16d7fc9](https://github.com/storm-software/storm-ops/commit/16d7fc90c831d89e0d79bc02683c8a3ad7af63ce))
7
+
8
+ ## [1.21.12](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.21.11...workspace-tools-v1.21.12) (2023-12-03)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * **workspace-tools:** Resolved issue with output extensions ([9a64356](https://github.com/storm-software/storm-ops/commit/9a643562c629527f83c0d9cab2912cf498d55bb6))
14
+
1
15
  ## [1.21.11](https://github.com/storm-software/storm-ops/compare/workspace-tools-v1.21.10...workspace-tools-v1.21.11) (2023-12-03)
2
16
 
3
17
 
package/README.md CHANGED
@@ -16,7 +16,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
16
16
 
17
17
  <h3 align="center">💻 Visit <a href="https://stormsoftware.org" target="_blank">stormsoftware.org</a> to stay up to date with this developer</h3><br />
18
18
 
19
- [![Version](https://img.shields.io/badge/version-1.21.9-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
19
+ [![Version](https://img.shields.io/badge/version-1.21.11-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;
20
20
  [![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with docusaurus](https://img.shields.io/badge/documented_with-docusaurus-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://docusaurus.io/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
21
21
 
22
22
  <h3 align="center" bold="true">⚠️ <b>Attention</b> ⚠️ This repository, and the apps, libraries, and tools contained within, is still in it's initial development phase. As a result, bugs and issues are expected with it's usage. When the main development phase completes, a proper release will be performed, the packages will be availible through NPM (and other distributions), and this message will be removed. However, in the meantime, please feel free to report any issues you may come across.</h3><br />
package/index.js CHANGED
@@ -108929,6 +108929,7 @@ var setConfigEnv = (config) => {
108929
108929
  process.env[`${prefix}BRANCH`] = config.branch;
108930
108930
  process.env[`${prefix}PRE_MAJOR`] = String(config.preMajor);
108931
108931
  process.env[`${prefix}LOG_LEVEL`] = String(config.logLevel);
108932
+ process.env.LOG_LEVEL = String(config.logLevel);
108932
108933
  process.env.NX_VERBOSE_LOGGING = String(
108933
108934
  getLogLevel(config.logLevel) >= LogLevel.DEBUG ? true : false
108934
108935
  );
@@ -109061,7 +109062,9 @@ var withRunExecutor = (name, executorFn, executorOptions = {
109061
109062
  const startTime = Date.now();
109062
109063
  try {
109063
109064
  console.info(
109064
- chalk.bold.hex("#1fb2a6")(`\u26A1 Running the ${name} executor...`)
109065
+ chalk.bold.hex("#1fb2a6")(`\u26A1 Running the ${name} executor...
109066
+
109067
+ `)
109065
109068
  );
109066
109069
  if (!context.projectsConfigurations?.projects || !context.projectName || !context.projectsConfigurations.projects[context.projectName]) {
109067
109070
  throw new Error(
@@ -109096,8 +109099,9 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${process.env[key]}`).join("\
109096
109099
  getLogLevel(config.logLevel) >= LogLevel.INFO && console.info(
109097
109100
  chalk.hex("#0ea5e9").italic(`
109098
109101
 
109099
- \u2699\uFE0F Executor schema options:
109100
- `, options)
109102
+ \u2699\uFE0F Executor schema options:
109103
+ `),
109104
+ options
109101
109105
  );
109102
109106
  const tokenized = applyWorkspaceTokens(
109103
109107
  options,
@@ -109147,7 +109151,7 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${process.env[key]}`).join("\
109147
109151
  } catch (error) {
109148
109152
  console.error(
109149
109153
  chalk.bold.hex("#7d1a1a")(
109150
- `\u274C An error occurred while running the executor
109154
+ `\u274C An error occurred while running the executor
109151
109155
 
109152
109156
  `
109153
109157
  ),
@@ -109173,7 +109177,9 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
109173
109177
  const startTime = Date.now();
109174
109178
  try {
109175
109179
  console.info(
109176
- chalk2.bold.hex("#1fb2a6")(`\u26A1 Running the ${name} generator...`)
109180
+ chalk2.bold.hex("#1fb2a6")(`\u26A1 Running the ${name} generator...
109181
+
109182
+ `)
109177
109183
  );
109178
109184
  let config;
109179
109185
  if (!generatorOptions.skipReadingConfig) {
@@ -109197,7 +109203,7 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${process.env[key]}`).join("\
109197
109203
  getLogLevel(config?.logLevel) >= LogLevel.TRACE && console.debug(chalk2.dim(`Completed the applyDefaultOptions hook...`));
109198
109204
  }
109199
109205
  getLogLevel(config.logLevel) >= LogLevel.INFO && console.info(
109200
- chalk2.hex("#0ea5e9").italic("\n\n\u2699\uFE0F Generator schema options: \n"),
109206
+ chalk2.hex("#0ea5e9").italic("\n\n \u2699\uFE0F Generator schema options: \n"),
109201
109207
  options
109202
109208
  );
109203
109209
  const tokenized = applyWorkspaceTokens(
@@ -109238,7 +109244,7 @@ ${Object.keys(process.env).map((key) => ` - ${key}=${process.env[key]}`).join("\
109238
109244
  } catch (error) {
109239
109245
  console.error(
109240
109246
  chalk2.bold.hex("#7d1a1a")(
109241
- `\u274C An error occurred while running the generator
109247
+ `\u274C An error occurred while running the generator
109242
109248
 
109243
109249
  `
109244
109250
  ),
@@ -116035,6 +116041,10 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
116035
116041
  )
116036
116042
  );
116037
116043
  }
116044
+ const stormEnv = Object.keys(options.env).filter((key) => key.startsWith("STORM_")).reduce((ret, key) => {
116045
+ ret[key] = options.env[key];
116046
+ return ret;
116047
+ }, {});
116038
116048
  options.plugins.push(await (0, import_decky.load)());
116039
116049
  options.plugins.push(
116040
116050
  (0, import_esbuild_decorators.esbuildDecorators)({
@@ -116042,9 +116052,11 @@ ${(0, import_fs3.readFileSync)(file, "utf-8")}`,
116042
116052
  cwd: workspaceRoot
116043
116053
  })
116044
116054
  );
116045
- options.plugins.push(environmentPlugin(options.env));
116055
+ options.plugins.push(environmentPlugin(stormEnv));
116046
116056
  const config = getConfig(context.root, projectRoot, sourceRoot, {
116047
116057
  ...options,
116058
+ define: stormEnv,
116059
+ env: stormEnv,
116048
116060
  dtsTsConfig: getNormalizedTsConfig(
116049
116061
  context.root,
116050
116062
  options.outputPath,