@storm-software/workspace-tools 1.205.0 → 1.206.0
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/declarations.d.ts +4 -2
- package/index.js +22661 -18647
- package/meta.json +495 -419
- package/package.json +3 -2
- package/src/base/base-executor.js +6 -1
- package/src/base/base-generator.js +6 -1
- package/src/base/index.js +9 -1
- package/src/base/typescript-library-generator.js +3 -0
- package/src/executors/cargo-build/executor.js +6 -1
- package/src/executors/cargo-check/executor.js +6 -1
- package/src/executors/cargo-clippy/executor.js +6 -1
- package/src/executors/cargo-doc/executor.js +6 -1
- package/src/executors/cargo-format/executor.js +6 -1
- package/src/executors/clean-package/executor.js +6 -1
- package/src/executors/rolldown/executor.js +6 -1
- package/src/executors/rollup/executor.js +19810 -15810
- package/src/executors/size-limit/executor.js +6 -1
- package/src/executors/tsup/executor.js +6 -1
- package/src/executors/tsup-browser/executor.js +6 -1
- package/src/executors/tsup-neutral/executor.js +6 -1
- package/src/executors/tsup-node/executor.js +6 -1
- package/src/executors/typia/executor.js +6 -1
- package/src/executors/unbuild/executor.js +6 -1
- package/src/generators/browser-library/generator.js +9 -1
- package/src/generators/config-schema/generator.js +6 -1
- package/src/generators/neutral-library/generator.js +9 -1
- package/src/generators/node-library/generator.js +9 -1
- package/src/generators/preset/generator.js +6 -1
- package/src/generators/release-version/generator.js +6 -1
- package/src/plugins/rust/cargo-toml.d.ts +1 -1
- package/src/plugins/rust/index.js +15 -3
- package/src/plugins/typescript/index.js +15 -3
- package/src/plugins/typescript/project-config.d.ts +1 -1
- package/src/plugins/typescript/tsup.d.ts +3 -0
- package/src/plugins/typescript/tsup.js +232 -0
- package/src/utils/index.js +21 -2
- package/src/utils/project-tags.d.ts +5 -1
- package/src/utils/project-tags.js +15 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@storm-software/workspace-tools",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.206.0",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"description": "Tools for managing a Storm workspace, including various Nx generators and executors for common development tasks.",
|
|
6
6
|
"repository": {
|
|
@@ -36,6 +36,7 @@
|
|
|
36
36
|
"./executors/*/schema.json": "./src/executors/*/schema.json",
|
|
37
37
|
"./plugins/rust": "./src/plugins/rust/index.js",
|
|
38
38
|
"./plugins/typescript": "./src/plugins/typescript/index.js",
|
|
39
|
+
"./plugins/typescript/tsup": "./src/plugins/typescript/tsup.js",
|
|
39
40
|
"./preset": "./src/generators/preset/preset.js",
|
|
40
41
|
"./base": "./src/base/index.js",
|
|
41
42
|
"./base/*": "./src/base/*.js",
|
|
@@ -108,7 +109,7 @@
|
|
|
108
109
|
"pkg-types": "1.1.1",
|
|
109
110
|
"prettier": "3.3.2",
|
|
110
111
|
"prettier-plugin-packagejson": "2.5.0",
|
|
111
|
-
"rollup": "4.
|
|
112
|
+
"rollup": "^4.29.1",
|
|
112
113
|
"rollup-plugin-copy": "3.5.0",
|
|
113
114
|
"rollup-plugin-dts": "6.1.1",
|
|
114
115
|
"rollup-plugin-typescript2": "0.36.0",
|
|
@@ -66632,7 +66632,7 @@ var init_types2 = __esm({
|
|
|
66632
66632
|
});
|
|
66633
66633
|
|
|
66634
66634
|
// packages/config-tools/src/utilities/get-log-level.ts
|
|
66635
|
-
var getLogLevel, getLogLevelLabel;
|
|
66635
|
+
var getLogLevel, getLogLevelLabel, isVerbose;
|
|
66636
66636
|
var init_get_log_level = __esm({
|
|
66637
66637
|
"packages/config-tools/src/utilities/get-log-level.ts"() {
|
|
66638
66638
|
init_types2();
|
|
@@ -66685,6 +66685,10 @@ var init_get_log_level = __esm({
|
|
|
66685
66685
|
}
|
|
66686
66686
|
return LogLevelLabel.INFO;
|
|
66687
66687
|
};
|
|
66688
|
+
isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
66689
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
66690
|
+
return logLevel <= LogLevel.DEBUG;
|
|
66691
|
+
};
|
|
66688
66692
|
}
|
|
66689
66693
|
});
|
|
66690
66694
|
|
|
@@ -67584,6 +67588,7 @@ __export(src_exports, {
|
|
|
67584
67588
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
67585
67589
|
getStopwatch: () => getStopwatch,
|
|
67586
67590
|
handleProcess: () => handleProcess,
|
|
67591
|
+
isVerbose: () => isVerbose,
|
|
67587
67592
|
loadStormConfig: () => loadStormConfig,
|
|
67588
67593
|
removeExtension: () => removeExtension,
|
|
67589
67594
|
run: () => run,
|
|
@@ -66632,7 +66632,7 @@ var init_types2 = __esm({
|
|
|
66632
66632
|
});
|
|
66633
66633
|
|
|
66634
66634
|
// packages/config-tools/src/utilities/get-log-level.ts
|
|
66635
|
-
var getLogLevel, getLogLevelLabel;
|
|
66635
|
+
var getLogLevel, getLogLevelLabel, isVerbose;
|
|
66636
66636
|
var init_get_log_level = __esm({
|
|
66637
66637
|
"packages/config-tools/src/utilities/get-log-level.ts"() {
|
|
66638
66638
|
init_types2();
|
|
@@ -66685,6 +66685,10 @@ var init_get_log_level = __esm({
|
|
|
66685
66685
|
}
|
|
66686
66686
|
return LogLevelLabel.INFO;
|
|
66687
66687
|
};
|
|
66688
|
+
isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
66689
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
66690
|
+
return logLevel <= LogLevel.DEBUG;
|
|
66691
|
+
};
|
|
66688
66692
|
}
|
|
66689
66693
|
});
|
|
66690
66694
|
|
|
@@ -67584,6 +67588,7 @@ __export(src_exports, {
|
|
|
67584
67588
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
67585
67589
|
getStopwatch: () => getStopwatch,
|
|
67586
67590
|
handleProcess: () => handleProcess,
|
|
67591
|
+
isVerbose: () => isVerbose,
|
|
67587
67592
|
loadStormConfig: () => loadStormConfig,
|
|
67588
67593
|
removeExtension: () => removeExtension,
|
|
67589
67594
|
run: () => run,
|
package/src/base/index.js
CHANGED
|
@@ -66632,7 +66632,7 @@ var init_types2 = __esm({
|
|
|
66632
66632
|
});
|
|
66633
66633
|
|
|
66634
66634
|
// packages/config-tools/src/utilities/get-log-level.ts
|
|
66635
|
-
var getLogLevel, getLogLevelLabel;
|
|
66635
|
+
var getLogLevel, getLogLevelLabel, isVerbose;
|
|
66636
66636
|
var init_get_log_level = __esm({
|
|
66637
66637
|
"packages/config-tools/src/utilities/get-log-level.ts"() {
|
|
66638
66638
|
init_types2();
|
|
@@ -66685,6 +66685,10 @@ var init_get_log_level = __esm({
|
|
|
66685
66685
|
}
|
|
66686
66686
|
return LogLevelLabel.INFO;
|
|
66687
66687
|
};
|
|
66688
|
+
isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
66689
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
66690
|
+
return logLevel <= LogLevel.DEBUG;
|
|
66691
|
+
};
|
|
66688
66692
|
}
|
|
66689
66693
|
});
|
|
66690
66694
|
|
|
@@ -67584,6 +67588,7 @@ __export(src_exports, {
|
|
|
67584
67588
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
67585
67589
|
getStopwatch: () => getStopwatch,
|
|
67586
67590
|
handleProcess: () => handleProcess,
|
|
67591
|
+
isVerbose: () => isVerbose,
|
|
67587
67592
|
loadStormConfig: () => loadStormConfig,
|
|
67588
67593
|
removeExtension: () => removeExtension,
|
|
67589
67594
|
run: () => run,
|
|
@@ -67947,6 +67952,9 @@ var ProjectTagConstants = {
|
|
|
67947
67952
|
NPM: "npm",
|
|
67948
67953
|
CONTAINER: "container",
|
|
67949
67954
|
CYCLONE: "cyclone"
|
|
67955
|
+
},
|
|
67956
|
+
Plugin: {
|
|
67957
|
+
TAG_ID: "plugin"
|
|
67950
67958
|
}
|
|
67951
67959
|
};
|
|
67952
67960
|
var formatProjectTag = (variant, value2) => {
|
|
@@ -66632,7 +66632,7 @@ var init_types2 = __esm({
|
|
|
66632
66632
|
});
|
|
66633
66633
|
|
|
66634
66634
|
// packages/config-tools/src/utilities/get-log-level.ts
|
|
66635
|
-
var getLogLevel, getLogLevelLabel;
|
|
66635
|
+
var getLogLevel, getLogLevelLabel, isVerbose;
|
|
66636
66636
|
var init_get_log_level = __esm({
|
|
66637
66637
|
"packages/config-tools/src/utilities/get-log-level.ts"() {
|
|
66638
66638
|
init_types2();
|
|
@@ -66685,6 +66685,10 @@ var init_get_log_level = __esm({
|
|
|
66685
66685
|
}
|
|
66686
66686
|
return LogLevelLabel.INFO;
|
|
66687
66687
|
};
|
|
66688
|
+
isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
66689
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
66690
|
+
return logLevel <= LogLevel.DEBUG;
|
|
66691
|
+
};
|
|
66688
66692
|
}
|
|
66689
66693
|
});
|
|
66690
66694
|
|
|
@@ -67584,6 +67588,7 @@ __export(src_exports, {
|
|
|
67584
67588
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
67585
67589
|
getStopwatch: () => getStopwatch,
|
|
67586
67590
|
handleProcess: () => handleProcess,
|
|
67591
|
+
isVerbose: () => isVerbose,
|
|
67587
67592
|
loadStormConfig: () => loadStormConfig,
|
|
67588
67593
|
removeExtension: () => removeExtension,
|
|
67589
67594
|
run: () => run,
|
|
@@ -66632,7 +66632,7 @@ var init_types2 = __esm({
|
|
|
66632
66632
|
});
|
|
66633
66633
|
|
|
66634
66634
|
// packages/config-tools/src/utilities/get-log-level.ts
|
|
66635
|
-
var getLogLevel, getLogLevelLabel;
|
|
66635
|
+
var getLogLevel, getLogLevelLabel, isVerbose;
|
|
66636
66636
|
var init_get_log_level = __esm({
|
|
66637
66637
|
"packages/config-tools/src/utilities/get-log-level.ts"() {
|
|
66638
66638
|
init_types2();
|
|
@@ -66685,6 +66685,10 @@ var init_get_log_level = __esm({
|
|
|
66685
66685
|
}
|
|
66686
66686
|
return LogLevelLabel.INFO;
|
|
66687
66687
|
};
|
|
66688
|
+
isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
66689
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
66690
|
+
return logLevel <= LogLevel.DEBUG;
|
|
66691
|
+
};
|
|
66688
66692
|
}
|
|
66689
66693
|
});
|
|
66690
66694
|
|
|
@@ -67584,6 +67588,7 @@ __export(src_exports, {
|
|
|
67584
67588
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
67585
67589
|
getStopwatch: () => getStopwatch,
|
|
67586
67590
|
handleProcess: () => handleProcess,
|
|
67591
|
+
isVerbose: () => isVerbose,
|
|
67587
67592
|
loadStormConfig: () => loadStormConfig,
|
|
67588
67593
|
removeExtension: () => removeExtension,
|
|
67589
67594
|
run: () => run,
|
|
@@ -66632,7 +66632,7 @@ var init_types2 = __esm({
|
|
|
66632
66632
|
});
|
|
66633
66633
|
|
|
66634
66634
|
// packages/config-tools/src/utilities/get-log-level.ts
|
|
66635
|
-
var getLogLevel, getLogLevelLabel;
|
|
66635
|
+
var getLogLevel, getLogLevelLabel, isVerbose;
|
|
66636
66636
|
var init_get_log_level = __esm({
|
|
66637
66637
|
"packages/config-tools/src/utilities/get-log-level.ts"() {
|
|
66638
66638
|
init_types2();
|
|
@@ -66685,6 +66685,10 @@ var init_get_log_level = __esm({
|
|
|
66685
66685
|
}
|
|
66686
66686
|
return LogLevelLabel.INFO;
|
|
66687
66687
|
};
|
|
66688
|
+
isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
66689
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
66690
|
+
return logLevel <= LogLevel.DEBUG;
|
|
66691
|
+
};
|
|
66688
66692
|
}
|
|
66689
66693
|
});
|
|
66690
66694
|
|
|
@@ -67584,6 +67588,7 @@ __export(src_exports, {
|
|
|
67584
67588
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
67585
67589
|
getStopwatch: () => getStopwatch,
|
|
67586
67590
|
handleProcess: () => handleProcess,
|
|
67591
|
+
isVerbose: () => isVerbose,
|
|
67587
67592
|
loadStormConfig: () => loadStormConfig,
|
|
67588
67593
|
removeExtension: () => removeExtension,
|
|
67589
67594
|
run: () => run,
|
|
@@ -66632,7 +66632,7 @@ var init_types2 = __esm({
|
|
|
66632
66632
|
});
|
|
66633
66633
|
|
|
66634
66634
|
// packages/config-tools/src/utilities/get-log-level.ts
|
|
66635
|
-
var getLogLevel, getLogLevelLabel;
|
|
66635
|
+
var getLogLevel, getLogLevelLabel, isVerbose;
|
|
66636
66636
|
var init_get_log_level = __esm({
|
|
66637
66637
|
"packages/config-tools/src/utilities/get-log-level.ts"() {
|
|
66638
66638
|
init_types2();
|
|
@@ -66685,6 +66685,10 @@ var init_get_log_level = __esm({
|
|
|
66685
66685
|
}
|
|
66686
66686
|
return LogLevelLabel.INFO;
|
|
66687
66687
|
};
|
|
66688
|
+
isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
66689
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
66690
|
+
return logLevel <= LogLevel.DEBUG;
|
|
66691
|
+
};
|
|
66688
66692
|
}
|
|
66689
66693
|
});
|
|
66690
66694
|
|
|
@@ -67584,6 +67588,7 @@ __export(src_exports, {
|
|
|
67584
67588
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
67585
67589
|
getStopwatch: () => getStopwatch,
|
|
67586
67590
|
handleProcess: () => handleProcess,
|
|
67591
|
+
isVerbose: () => isVerbose,
|
|
67587
67592
|
loadStormConfig: () => loadStormConfig,
|
|
67588
67593
|
removeExtension: () => removeExtension,
|
|
67589
67594
|
run: () => run,
|
|
@@ -66632,7 +66632,7 @@ var init_types2 = __esm({
|
|
|
66632
66632
|
});
|
|
66633
66633
|
|
|
66634
66634
|
// packages/config-tools/src/utilities/get-log-level.ts
|
|
66635
|
-
var getLogLevel, getLogLevelLabel;
|
|
66635
|
+
var getLogLevel, getLogLevelLabel, isVerbose;
|
|
66636
66636
|
var init_get_log_level = __esm({
|
|
66637
66637
|
"packages/config-tools/src/utilities/get-log-level.ts"() {
|
|
66638
66638
|
init_types2();
|
|
@@ -66685,6 +66685,10 @@ var init_get_log_level = __esm({
|
|
|
66685
66685
|
}
|
|
66686
66686
|
return LogLevelLabel.INFO;
|
|
66687
66687
|
};
|
|
66688
|
+
isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
66689
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
66690
|
+
return logLevel <= LogLevel.DEBUG;
|
|
66691
|
+
};
|
|
66688
66692
|
}
|
|
66689
66693
|
});
|
|
66690
66694
|
|
|
@@ -67584,6 +67588,7 @@ __export(src_exports, {
|
|
|
67584
67588
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
67585
67589
|
getStopwatch: () => getStopwatch,
|
|
67586
67590
|
handleProcess: () => handleProcess,
|
|
67591
|
+
isVerbose: () => isVerbose,
|
|
67587
67592
|
loadStormConfig: () => loadStormConfig,
|
|
67588
67593
|
removeExtension: () => removeExtension,
|
|
67589
67594
|
run: () => run,
|
|
@@ -68953,7 +68953,7 @@ var init_types2 = __esm({
|
|
|
68953
68953
|
});
|
|
68954
68954
|
|
|
68955
68955
|
// packages/config-tools/src/utilities/get-log-level.ts
|
|
68956
|
-
var getLogLevel, getLogLevelLabel;
|
|
68956
|
+
var getLogLevel, getLogLevelLabel, isVerbose;
|
|
68957
68957
|
var init_get_log_level = __esm({
|
|
68958
68958
|
"packages/config-tools/src/utilities/get-log-level.ts"() {
|
|
68959
68959
|
init_types2();
|
|
@@ -69006,6 +69006,10 @@ var init_get_log_level = __esm({
|
|
|
69006
69006
|
}
|
|
69007
69007
|
return LogLevelLabel.INFO;
|
|
69008
69008
|
};
|
|
69009
|
+
isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
69010
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
69011
|
+
return logLevel <= LogLevel.DEBUG;
|
|
69012
|
+
};
|
|
69009
69013
|
}
|
|
69010
69014
|
});
|
|
69011
69015
|
|
|
@@ -69905,6 +69909,7 @@ __export(src_exports, {
|
|
|
69905
69909
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
69906
69910
|
getStopwatch: () => getStopwatch,
|
|
69907
69911
|
handleProcess: () => handleProcess,
|
|
69912
|
+
isVerbose: () => isVerbose,
|
|
69908
69913
|
loadStormConfig: () => loadStormConfig,
|
|
69909
69914
|
removeExtension: () => removeExtension,
|
|
69910
69915
|
run: () => run,
|
|
@@ -66632,7 +66632,7 @@ var init_types2 = __esm({
|
|
|
66632
66632
|
});
|
|
66633
66633
|
|
|
66634
66634
|
// packages/config-tools/src/utilities/get-log-level.ts
|
|
66635
|
-
var getLogLevel, getLogLevelLabel;
|
|
66635
|
+
var getLogLevel, getLogLevelLabel, isVerbose;
|
|
66636
66636
|
var init_get_log_level = __esm({
|
|
66637
66637
|
"packages/config-tools/src/utilities/get-log-level.ts"() {
|
|
66638
66638
|
init_types2();
|
|
@@ -66685,6 +66685,10 @@ var init_get_log_level = __esm({
|
|
|
66685
66685
|
}
|
|
66686
66686
|
return LogLevelLabel.INFO;
|
|
66687
66687
|
};
|
|
66688
|
+
isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
66689
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
66690
|
+
return logLevel <= LogLevel.DEBUG;
|
|
66691
|
+
};
|
|
66688
66692
|
}
|
|
66689
66693
|
});
|
|
66690
66694
|
|
|
@@ -67584,6 +67588,7 @@ __export(src_exports, {
|
|
|
67584
67588
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
67585
67589
|
getStopwatch: () => getStopwatch,
|
|
67586
67590
|
handleProcess: () => handleProcess,
|
|
67591
|
+
isVerbose: () => isVerbose,
|
|
67587
67592
|
loadStormConfig: () => loadStormConfig,
|
|
67588
67593
|
removeExtension: () => removeExtension,
|
|
67589
67594
|
run: () => run,
|