@storm-software/workspace-tools 1.205.0 → 1.207.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 +14 -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 +234 -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
|
@@ -67120,7 +67120,7 @@ var init_types2 = __esm({
|
|
|
67120
67120
|
});
|
|
67121
67121
|
|
|
67122
67122
|
// packages/config-tools/src/utilities/get-log-level.ts
|
|
67123
|
-
var getLogLevel, getLogLevelLabel;
|
|
67123
|
+
var getLogLevel, getLogLevelLabel, isVerbose;
|
|
67124
67124
|
var init_get_log_level = __esm({
|
|
67125
67125
|
"packages/config-tools/src/utilities/get-log-level.ts"() {
|
|
67126
67126
|
init_types2();
|
|
@@ -67173,6 +67173,10 @@ var init_get_log_level = __esm({
|
|
|
67173
67173
|
}
|
|
67174
67174
|
return LogLevelLabel.INFO;
|
|
67175
67175
|
};
|
|
67176
|
+
isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
67177
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
67178
|
+
return logLevel <= LogLevel.DEBUG;
|
|
67179
|
+
};
|
|
67176
67180
|
}
|
|
67177
67181
|
});
|
|
67178
67182
|
|
|
@@ -68072,6 +68076,7 @@ __export(src_exports, {
|
|
|
68072
68076
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
68073
68077
|
getStopwatch: () => getStopwatch,
|
|
68074
68078
|
handleProcess: () => handleProcess,
|
|
68079
|
+
isVerbose: () => isVerbose,
|
|
68075
68080
|
loadStormConfig: () => loadStormConfig,
|
|
68076
68081
|
removeExtension: () => removeExtension,
|
|
68077
68082
|
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,
|
|
@@ -92402,7 +92402,7 @@ var init_types2 = __esm({
|
|
|
92402
92402
|
});
|
|
92403
92403
|
|
|
92404
92404
|
// packages/config-tools/src/utilities/get-log-level.ts
|
|
92405
|
-
var getLogLevel, getLogLevelLabel;
|
|
92405
|
+
var getLogLevel, getLogLevelLabel, isVerbose;
|
|
92406
92406
|
var init_get_log_level = __esm({
|
|
92407
92407
|
"packages/config-tools/src/utilities/get-log-level.ts"() {
|
|
92408
92408
|
init_types2();
|
|
@@ -92455,6 +92455,10 @@ var init_get_log_level = __esm({
|
|
|
92455
92455
|
}
|
|
92456
92456
|
return LogLevelLabel.INFO;
|
|
92457
92457
|
};
|
|
92458
|
+
isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
92459
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
92460
|
+
return logLevel <= LogLevel.DEBUG;
|
|
92461
|
+
};
|
|
92458
92462
|
}
|
|
92459
92463
|
});
|
|
92460
92464
|
|
|
@@ -93354,6 +93358,7 @@ __export(src_exports, {
|
|
|
93354
93358
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
93355
93359
|
getStopwatch: () => getStopwatch,
|
|
93356
93360
|
handleProcess: () => handleProcess,
|
|
93361
|
+
isVerbose: () => isVerbose,
|
|
93357
93362
|
loadStormConfig: () => loadStormConfig,
|
|
93358
93363
|
removeExtension: () => removeExtension,
|
|
93359
93364
|
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,
|
|
@@ -67753,6 +67758,9 @@ var ProjectTagConstants = {
|
|
|
67753
67758
|
NPM: "npm",
|
|
67754
67759
|
CONTAINER: "container",
|
|
67755
67760
|
CYCLONE: "cyclone"
|
|
67761
|
+
},
|
|
67762
|
+
Plugin: {
|
|
67763
|
+
TAG_ID: "plugin"
|
|
67756
67764
|
}
|
|
67757
67765
|
};
|
|
67758
67766
|
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,
|
|
@@ -67753,6 +67758,9 @@ var ProjectTagConstants = {
|
|
|
67753
67758
|
NPM: "npm",
|
|
67754
67759
|
CONTAINER: "container",
|
|
67755
67760
|
CYCLONE: "cyclone"
|
|
67761
|
+
},
|
|
67762
|
+
Plugin: {
|
|
67763
|
+
TAG_ID: "plugin"
|
|
67756
67764
|
}
|
|
67757
67765
|
};
|
|
67758
67766
|
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,
|
|
@@ -67753,6 +67758,9 @@ var ProjectTagConstants = {
|
|
|
67753
67758
|
NPM: "npm",
|
|
67754
67759
|
CONTAINER: "container",
|
|
67755
67760
|
CYCLONE: "cyclone"
|
|
67761
|
+
},
|
|
67762
|
+
Plugin: {
|
|
67763
|
+
TAG_ID: "plugin"
|
|
67756
67764
|
}
|
|
67757
67765
|
};
|
|
67758
67766
|
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,
|
|
@@ -68456,7 +68456,7 @@ var init_types2 = __esm({
|
|
|
68456
68456
|
});
|
|
68457
68457
|
|
|
68458
68458
|
// packages/config-tools/src/utilities/get-log-level.ts
|
|
68459
|
-
var getLogLevel, getLogLevelLabel;
|
|
68459
|
+
var getLogLevel, getLogLevelLabel, isVerbose;
|
|
68460
68460
|
var init_get_log_level = __esm({
|
|
68461
68461
|
"packages/config-tools/src/utilities/get-log-level.ts"() {
|
|
68462
68462
|
init_types2();
|
|
@@ -68509,6 +68509,10 @@ var init_get_log_level = __esm({
|
|
|
68509
68509
|
}
|
|
68510
68510
|
return LogLevelLabel.INFO;
|
|
68511
68511
|
};
|
|
68512
|
+
isVerbose = (label = LogLevelLabel.SILENT) => {
|
|
68513
|
+
const logLevel = typeof label === "string" ? getLogLevel(label) : label;
|
|
68514
|
+
return logLevel <= LogLevel.DEBUG;
|
|
68515
|
+
};
|
|
68512
68516
|
}
|
|
68513
68517
|
});
|
|
68514
68518
|
|
|
@@ -69408,6 +69412,7 @@ __export(src_exports, {
|
|
|
69408
69412
|
getLogLevelLabel: () => getLogLevelLabel,
|
|
69409
69413
|
getStopwatch: () => getStopwatch,
|
|
69410
69414
|
handleProcess: () => handleProcess,
|
|
69415
|
+
isVerbose: () => isVerbose,
|
|
69411
69416
|
loadStormConfig: () => loadStormConfig,
|
|
69412
69417
|
removeExtension: () => removeExtension,
|
|
69413
69418
|
run: () => run,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type CreateDependencies, type CreateNodes } from "@nx/devkit";
|
|
2
|
-
export declare const name = "storm-software/rust
|
|
2
|
+
export declare const name = "storm-software/rust";
|
|
3
3
|
export declare const description = "Plugin for parsing Cargo.toml files";
|
|
4
4
|
export type CargoPluginProfileMap = Record<string, string> & {
|
|
5
5
|
development?: string;
|
|
@@ -114,6 +114,9 @@ var ProjectTagConstants = {
|
|
|
114
114
|
NPM: "npm",
|
|
115
115
|
CONTAINER: "container",
|
|
116
116
|
CYCLONE: "cyclone"
|
|
117
|
+
},
|
|
118
|
+
Plugin: {
|
|
119
|
+
TAG_ID: "plugin"
|
|
117
120
|
}
|
|
118
121
|
};
|
|
119
122
|
var formatProjectTag = (variant, value) => {
|
|
@@ -137,7 +140,13 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
137
140
|
project.tags.push(formatProjectTag(variant, value));
|
|
138
141
|
}
|
|
139
142
|
};
|
|
140
|
-
var
|
|
143
|
+
var addPluginProjectTag = (project, plugin) => {
|
|
144
|
+
project.tags = project.tags ?? [];
|
|
145
|
+
project.tags.push(
|
|
146
|
+
formatProjectTag(ProjectTagConstants.Plugin.TAG_ID, plugin)
|
|
147
|
+
);
|
|
148
|
+
};
|
|
149
|
+
var setDefaultProjectTags = (project, plugin) => {
|
|
141
150
|
project.tags = project.tags ?? [];
|
|
142
151
|
addProjectTag(
|
|
143
152
|
project,
|
|
@@ -157,10 +166,13 @@ var setDefaultProjectTags = (project) => {
|
|
|
157
166
|
project.targets?.build?.options.platform === "node" ? ProjectTagConstants.Platform.NODE : project.targets?.build?.options.platform === "worker" ? ProjectTagConstants.Platform.WORKER : project.targets?.build?.options.platform === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL,
|
|
158
167
|
{ overwrite: false }
|
|
159
168
|
);
|
|
169
|
+
if (plugin) {
|
|
170
|
+
addPluginProjectTag(project, plugin);
|
|
171
|
+
}
|
|
160
172
|
};
|
|
161
173
|
|
|
162
174
|
// packages/workspace-tools/src/plugins/rust/cargo-toml.ts
|
|
163
|
-
var name = "storm-software/rust
|
|
175
|
+
var name = "storm-software/rust";
|
|
164
176
|
var description = "Plugin for parsing Cargo.toml files";
|
|
165
177
|
var DefaultCargoPluginProfileMap = {
|
|
166
178
|
development: "dev",
|
|
@@ -385,7 +397,7 @@ var createNodes = [
|
|
|
385
397
|
ProjectTagConstants.Language.RUST,
|
|
386
398
|
{ overwrite: true }
|
|
387
399
|
);
|
|
388
|
-
setDefaultProjectTags(project);
|
|
400
|
+
setDefaultProjectTags(project, name);
|
|
389
401
|
projects[root] = {
|
|
390
402
|
...project,
|
|
391
403
|
release: {
|
|
@@ -64,6 +64,9 @@ var ProjectTagConstants = {
|
|
|
64
64
|
NPM: "npm",
|
|
65
65
|
CONTAINER: "container",
|
|
66
66
|
CYCLONE: "cyclone"
|
|
67
|
+
},
|
|
68
|
+
Plugin: {
|
|
69
|
+
TAG_ID: "plugin"
|
|
67
70
|
}
|
|
68
71
|
};
|
|
69
72
|
var formatProjectTag = (variant, value) => {
|
|
@@ -100,7 +103,13 @@ var addProjectTag = (project, variant, value, options = {
|
|
|
100
103
|
project.tags.push(formatProjectTag(variant, value));
|
|
101
104
|
}
|
|
102
105
|
};
|
|
103
|
-
var
|
|
106
|
+
var addPluginProjectTag = (project, plugin) => {
|
|
107
|
+
project.tags = project.tags ?? [];
|
|
108
|
+
project.tags.push(
|
|
109
|
+
formatProjectTag(ProjectTagConstants.Plugin.TAG_ID, plugin)
|
|
110
|
+
);
|
|
111
|
+
};
|
|
112
|
+
var setDefaultProjectTags = (project, plugin) => {
|
|
104
113
|
project.tags = project.tags ?? [];
|
|
105
114
|
addProjectTag(
|
|
106
115
|
project,
|
|
@@ -120,10 +129,13 @@ var setDefaultProjectTags = (project) => {
|
|
|
120
129
|
project.targets?.build?.options.platform === "node" ? ProjectTagConstants.Platform.NODE : project.targets?.build?.options.platform === "worker" ? ProjectTagConstants.Platform.WORKER : project.targets?.build?.options.platform === "browser" ? ProjectTagConstants.Platform.BROWSER : ProjectTagConstants.Platform.NEUTRAL,
|
|
121
130
|
{ overwrite: false }
|
|
122
131
|
);
|
|
132
|
+
if (plugin) {
|
|
133
|
+
addPluginProjectTag(project, plugin);
|
|
134
|
+
}
|
|
123
135
|
};
|
|
124
136
|
|
|
125
137
|
// packages/workspace-tools/src/plugins/typescript/project-config.ts
|
|
126
|
-
var name = "storm-software/typescript
|
|
138
|
+
var name = "storm-software/typescript";
|
|
127
139
|
var createNodes = [
|
|
128
140
|
"{project.json,**/project.json}",
|
|
129
141
|
(file, opts = { includeApps: true }, ctx) => {
|
|
@@ -327,7 +339,7 @@ var createNodes = [
|
|
|
327
339
|
ProjectTagConstants.Language.TYPESCRIPT,
|
|
328
340
|
{ overwrite: true }
|
|
329
341
|
);
|
|
330
|
-
setDefaultProjectTags(project);
|
|
342
|
+
setDefaultProjectTags(project, name);
|
|
331
343
|
return project?.name ? {
|
|
332
344
|
projects: {
|
|
333
345
|
[project.name]: {
|