@storm-software/workspace-tools 1.20.1 → 1.21.1
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/index.js +309 -6979
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +40 -6774
- package/src/executors/tsup/executor.js +72 -6695
- package/src/executors/tsup-neutral/executor.js +285 -6908
- package/src/executors/tsup-node/executor.js +285 -6908
- package/src/generators/config-schema/generator.js +23 -6792
- package/src/generators/node-library/generator.js +18 -6707
- package/src/generators/preset/generator.js +14 -6733
- package/src/utils/index.js +1 -2
package/src/utils/index.js
CHANGED
|
@@ -61,7 +61,6 @@ var getWorkspaceRoot = () => {
|
|
|
61
61
|
|
|
62
62
|
// packages/workspace-tools/src/utils/apply-workspace-tokens.ts
|
|
63
63
|
var applyWorkspaceExecutorTokens = (option, tokenizerOptions) => {
|
|
64
|
-
console.log("applyWorkspaceExecutorTokens", option);
|
|
65
64
|
let result = option;
|
|
66
65
|
if (!result) {
|
|
67
66
|
return result;
|
|
@@ -131,7 +130,7 @@ var applyWorkspaceTokens = (options, config, tokenizerFn) => {
|
|
|
131
130
|
return Object.keys(options).reduce(
|
|
132
131
|
(ret, option) => {
|
|
133
132
|
if (options[option] === void 0 || options[option] === null || typeof options[option] === "number" || typeof options[option] === "boolean" || typeof options[option] === "string") {
|
|
134
|
-
ret[option] = tokenizerFn(option, config);
|
|
133
|
+
ret[option] = tokenizerFn(options[option], config);
|
|
135
134
|
} else if (Array.isArray(options[option])) {
|
|
136
135
|
ret[option] = options[option].map(
|
|
137
136
|
(item) => tokenizerFn(item, config)
|