@storm-software/workspace-tools 1.60.23 → 1.62.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 +29 -0
- package/README.md +2 -2
- package/index.js +475 -575
- package/meta.json +1 -1
- package/package.json +1 -1
- package/src/base/index.js +136 -128
- package/src/executors/npm-publish/executor.js +6 -0
- package/src/executors/tsup/executor.js +158 -157
- package/src/executors/tsup/schema.d.ts +2 -2
- package/src/executors/tsup/schema.json +7 -23
- package/src/executors/tsup-browser/executor.js +158 -155
- package/src/executors/tsup-neutral/executor.js +158 -155
- package/src/executors/tsup-node/executor.js +158 -155
- package/src/executors/typia/executor.js +33 -31
- package/src/generators/browser-library/generator.js +125 -120
- package/src/generators/config-schema/generator.js +29 -28
- package/src/generators/neutral-library/generator.js +125 -120
- package/src/generators/node-library/generator.js +125 -120
- package/src/generators/preset/generator.js +24 -25
- package/src/generators/release-version/generator.js +59 -47
- package/src/utils/index.js +299 -403
|
@@ -171961,7 +171961,13 @@ var import_node_child_process = require("node:child_process");
|
|
|
171961
171961
|
var LARGE_BUFFER = 1024 * 1e6;
|
|
171962
171962
|
async function npmPublishExecutorFn(options8, context) {
|
|
171963
171963
|
const isDryRun = process.env.NX_DRY_RUN === "true" || options8.dryRun || false;
|
|
171964
|
+
if (!context.projectName) {
|
|
171965
|
+
throw new Error("The executor requires a projectName.");
|
|
171966
|
+
}
|
|
171964
171967
|
const projectConfig = context.projectsConfigurations?.projects?.[context.projectName];
|
|
171968
|
+
if (!projectConfig) {
|
|
171969
|
+
throw new Error(`Could not find project configuration for ${context.projectName}`);
|
|
171970
|
+
}
|
|
171965
171971
|
const packageRoot = (0, import_devkit.joinPathFragments)(context.root, options8.packageRoot ?? projectConfig.root);
|
|
171966
171972
|
const packageJsonPath = (0, import_devkit.joinPathFragments)(packageRoot, "package.json");
|
|
171967
171973
|
const projectPackageJson = (0, import_devkit.readJsonFile)(packageJsonPath);
|