@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 +14 -0
- package/README.md +1 -1
- package/index.js +20 -8
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +13 -7
- package/src/executors/tsup/executor.js +15 -5
- package/src/executors/tsup-neutral/executor.js +15 -5
- package/src/executors/tsup-node/executor.js +15 -5
- package/src/generators/config-schema/generator.js +6 -3
- package/src/generators/node-library/generator.js +6 -3
- package/src/generators/preset/generator.js +6 -3
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
|
-
[](https://prettier.io/)
|
|
20
20
|
[](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://docusaurus.io/) 
|
|
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
|
-
|
|
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
|
|
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
|
|
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(
|
|
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,
|