@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.
@@ -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);