@storm-software/workspace-tools 1.180.10 → 1.181.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 CHANGED
@@ -1,3 +1,10 @@
1
+ ## 1.181.0 (2024-09-11)
2
+
3
+ ### Features
4
+
5
+ - **workspace-tools:** Added TypeScript as a peerDependency
6
+ ([74da29f1](https://github.com/storm-software/storm-ops/commit/74da29f1))
7
+
1
8
  ## 1.180.10 (2024-09-11)
2
9
 
3
10
  ### Bug Fixes
package/README.md CHANGED
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
21
21
 
22
22
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
23
23
 
24
- [![Version](https://img.shields.io/badge/version-1.180.9-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
24
+ [![Version](https://img.shields.io/badge/version-1.180.10-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://prettier.io/)&nbsp;[![Nx](https://img.shields.io/badge/Nx-17.0.2-lightgrey?style=for-the-badge&logo=nx&logoWidth=20&&color=1fb2a6)](http://nx.dev/)&nbsp;[![NextJs](https://img.shields.io/badge/Next.js-14.0.2-lightgrey?style=for-the-badge&logo=nextdotjs&logoWidth=20&color=1fb2a6)](https://nextjs.org/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;[![documented with Fumadocs](https://img.shields.io/badge/documented_with-fumadocs-success.svg?style=for-the-badge&logo=readthedocs&color=1fb2a6)](https://fumadocs.vercel.app/)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/storm-ops/cr.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
25
25
 
26
26
  <!-- prettier-ignore-start -->
27
27
  <!-- markdownlint-disable -->
package/index.js CHANGED
@@ -67229,9 +67229,9 @@ var init_get_default_config = __esm({
67229
67229
  let repository = "https://github.com/storm-software/storm-ops";
67230
67230
  let license = DEFAULT_STORM_CONFIG.license;
67231
67231
  let homepage = DEFAULT_STORM_CONFIG.homepage;
67232
- const workspaceRoot5 = findWorkspaceRoot(root);
67233
- if ((0, import_node_fs10.existsSync)((0, import_node_path7.join)(workspaceRoot5, "package.json"))) {
67234
- const file = (0, import_node_fs10.readFileSync)((0, import_node_path7.join)(workspaceRoot5, "package.json"), {
67232
+ const workspaceRoot4 = findWorkspaceRoot(root);
67233
+ if ((0, import_node_fs10.existsSync)((0, import_node_path7.join)(workspaceRoot4, "package.json"))) {
67234
+ const file = (0, import_node_fs10.readFileSync)((0, import_node_path7.join)(workspaceRoot4, "package.json"), {
67235
67235
  encoding: "utf-8"
67236
67236
  });
67237
67237
  if (file) {
@@ -67264,7 +67264,7 @@ var init_get_default_config = __esm({
67264
67264
  return ret;
67265
67265
  }, {}),
67266
67266
  colors: { ...DEFAULT_COLOR_CONFIG, ...config.colors },
67267
- workspaceRoot: workspaceRoot5,
67267
+ workspaceRoot: workspaceRoot4,
67268
67268
  name,
67269
67269
  namespace,
67270
67270
  repository,
@@ -68110,14 +68110,14 @@ var init_create_storm_config = __esm({
68110
68110
  init_get_default_config();
68111
68111
  _extension_cache = /* @__PURE__ */ new WeakMap();
68112
68112
  _static_cache = void 0;
68113
- createConfig = (workspaceRoot5) => {
68114
- return createStormConfig(void 0, void 0, workspaceRoot5);
68113
+ createConfig = (workspaceRoot4) => {
68114
+ return createStormConfig(void 0, void 0, workspaceRoot4);
68115
68115
  };
68116
- createStormConfig = (extensionName, schema, workspaceRoot5) => {
68116
+ createStormConfig = (extensionName, schema, workspaceRoot4) => {
68117
68117
  let result;
68118
68118
  if (!_static_cache?.data || !_static_cache?.timestamp || _static_cache.timestamp < Date.now() - 3e4) {
68119
68119
  const config = getConfigEnv();
68120
- const defaultConfig = getDefaultConfig(config, workspaceRoot5);
68120
+ const defaultConfig = getDefaultConfig(config, workspaceRoot4);
68121
68121
  result = StormConfigSchema.parse({
68122
68122
  ...defaultConfig,
68123
68123
  ...config,
@@ -68126,7 +68126,7 @@ var init_create_storm_config = __esm({
68126
68126
  ...config.colors
68127
68127
  }
68128
68128
  });
68129
- result.workspaceRoot ??= defaultConfig.workspaceRoot ? defaultConfig.workspaceRoot : findWorkspaceRoot(workspaceRoot5);
68129
+ result.workspaceRoot ??= defaultConfig.workspaceRoot ? defaultConfig.workspaceRoot : findWorkspaceRoot(workspaceRoot4);
68130
68130
  } else {
68131
68131
  result = _static_cache.data;
68132
68132
  }
@@ -68154,7 +68154,7 @@ var init_create_storm_config = __esm({
68154
68154
  _extension_cache.set(extension_cache_key, extension);
68155
68155
  return extension;
68156
68156
  };
68157
- loadStormConfig = async (workspaceRoot5) => {
68157
+ loadStormConfig = async (workspaceRoot4) => {
68158
68158
  let config = {};
68159
68159
  if (_static_cache?.data && _static_cache?.timestamp && _static_cache.timestamp >= Date.now() + 3e4) {
68160
68160
  writeInfo(
@@ -68163,7 +68163,7 @@ var init_create_storm_config = __esm({
68163
68163
  );
68164
68164
  return _static_cache.data;
68165
68165
  }
68166
- let _workspaceRoot = workspaceRoot5;
68166
+ let _workspaceRoot = workspaceRoot4;
68167
68167
  if (!_workspaceRoot) {
68168
68168
  _workspaceRoot = findWorkspaceRoot();
68169
68169
  }
@@ -218272,22 +218272,22 @@ var withRunExecutor = (name, executorFn, executorOptions = {}) => async (_option
218272
218272
  "The Build process failed because the context is not valid. Please run this command from a workspace."
218273
218273
  );
218274
218274
  }
218275
- const workspaceRoot5 = findWorkspaceRoot2();
218276
- const projectRoot = context.projectsConfigurations.projects[context.projectName]?.root ?? workspaceRoot5;
218277
- const sourceRoot = context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? workspaceRoot5;
218275
+ const workspaceRoot4 = findWorkspaceRoot2();
218276
+ const projectRoot = context.projectsConfigurations.projects[context.projectName]?.root ?? workspaceRoot4;
218277
+ const sourceRoot = context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? workspaceRoot4;
218278
218278
  const projectName = context.projectsConfigurations.projects[context.projectName]?.name ?? context.projectName;
218279
- config.workspaceRoot = workspaceRoot5;
218279
+ config.workspaceRoot = workspaceRoot4;
218280
218280
  if (!executorOptions.skipReadingConfig) {
218281
218281
  writeDebug2(
218282
218282
  `Loading the Storm Config from environment variables and storm.config.js file...
218283
- - workspaceRoot: ${workspaceRoot5}
218283
+ - workspaceRoot: ${workspaceRoot4}
218284
218284
  - projectRoot: ${projectRoot}
218285
218285
  - sourceRoot: ${sourceRoot}
218286
218286
  - projectName: ${projectName}
218287
218287
  `,
218288
218288
  config
218289
218289
  );
218290
- config = await loadStormConfig2(workspaceRoot5);
218290
+ config = await loadStormConfig2(workspaceRoot4);
218291
218291
  }
218292
218292
  if (executorOptions?.hooks?.applyDefaultOptions) {
218293
218293
  writeDebug2("Running the applyDefaultOptions hook...", config);
@@ -218307,7 +218307,7 @@ ${Object.keys(options).map(
218307
218307
  options,
218308
218308
  {
218309
218309
  config,
218310
- workspaceRoot: workspaceRoot5,
218310
+ workspaceRoot: workspaceRoot4,
218311
218311
  projectRoot,
218312
218312
  sourceRoot,
218313
218313
  projectName,
@@ -218403,14 +218403,14 @@ var withRunGenerator = (name, generatorFn, generatorOptions = {
218403
218403
  writeInfo2(`\u26A1 Running the ${name} generator...
218404
218404
 
218405
218405
  `, config);
218406
- const workspaceRoot5 = findWorkspaceRoot2();
218406
+ const workspaceRoot4 = findWorkspaceRoot2();
218407
218407
  if (!generatorOptions.skipReadingConfig) {
218408
218408
  writeDebug2(
218409
218409
  `Loading the Storm Config from environment variables and storm.config.js file...
218410
- - workspaceRoot: ${workspaceRoot5}`,
218410
+ - workspaceRoot: ${workspaceRoot4}`,
218411
218411
  config
218412
218412
  );
218413
- config = await loadStormConfig2(workspaceRoot5);
218413
+ config = await loadStormConfig2(workspaceRoot4);
218414
218414
  }
218415
218415
  if (generatorOptions?.hooks?.applyDefaultOptions) {
218416
218416
  writeDebug2("Running the applyDefaultOptions hook...", config);
@@ -229902,7 +229902,7 @@ var import_devkit6 = require("@nx/devkit");
229902
229902
  var import_js2 = require("@nx/js");
229903
229903
  var import_node_fs11 = require("node:fs");
229904
229904
  var import_node_path13 = require("node:path");
229905
- function normalizeOptions2(projectRoot, sourceRoot, options) {
229905
+ function normalizeOptions2(projectRoot, sourceRoot, options, config) {
229906
229906
  if (global.NX_GRAPH_CREATION)
229907
229907
  return options;
229908
229908
  normalizeRelativePaths(projectRoot, options);
@@ -229922,7 +229922,10 @@ function normalizeOptions2(projectRoot, sourceRoot, options) {
229922
229922
  generateExportsField: options.generateExportsField ?? false,
229923
229923
  javascriptEnabled: options.javascriptEnabled ?? false,
229924
229924
  skipTypeCheck: options.skipTypeCheck ?? false,
229925
- skipTypeField: options.skipTypeField ?? false
229925
+ skipTypeField: options.skipTypeField ?? false,
229926
+ projectRoot,
229927
+ sourceRoot,
229928
+ config
229926
229929
  };
229927
229930
  }
229928
229931
  function normalizeAssets(assets, root, sourceRoot) {
@@ -230013,12 +230016,14 @@ function analyze() {
230013
230016
  }
230014
230017
  };
230015
230018
  }
230016
- async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, config) {
230019
+ async function withRollupConfig(rawOptions, rollupConfig = {}, config, dependencies) {
230017
230020
  const { writeWarning: writeWarning2, correctPaths: correctPaths2 } = await Promise.resolve().then(() => (init_src2(), src_exports));
230018
230021
  const ts = (0, import_ensure_typescript.ensureTypescript)();
230019
230022
  const finalConfig = { ...rollupConfig };
230020
230023
  const projectNode = getProjectNode();
230021
- const projectRoot = correctPaths2((0, import_node_path14.join)(import_devkit7.workspaceRoot, projectNode.data.root));
230024
+ const projectRoot = correctPaths2(
230025
+ (0, import_node_path14.join)(config.workspaceRoot, projectNode.data.root)
230026
+ );
230022
230027
  const projectGraph = global.NX_GRAPH_CREATION ? null : (0, import_devkit7.readCachedProjectGraph)();
230023
230028
  if (!projectGraph) {
230024
230029
  throw new Error(`Cannot find project graph.`);
@@ -230037,7 +230042,7 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
230037
230042
  const result = (0, import_buildable_libs_utils.calculateProjectBuildableDependencies)(
230038
230043
  void 0,
230039
230044
  projectGraph,
230040
- import_devkit7.workspaceRoot,
230045
+ config.workspaceRoot,
230041
230046
  projectNode.name,
230042
230047
  process.env.NX_TASK_TARGET_TARGET,
230043
230048
  process.env.NX_TASK_TARGET_CONFIGURATION,
@@ -230051,13 +230056,16 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
230051
230056
  const options = normalizeOptions2(
230052
230057
  projectNode.data.root,
230053
230058
  projectNode.data.sourceRoot,
230054
- rawOptions
230059
+ rawOptions,
230060
+ config
230061
+ );
230062
+ const tsConfigPath = correctPaths2(
230063
+ (0, import_node_path14.join)(config.workspaceRoot, options.tsConfig)
230055
230064
  );
230056
- const tsConfigPath = correctPaths2((0, import_node_path14.join)(import_devkit7.workspaceRoot, options.tsConfig));
230057
230065
  const tsConfigFile = ts.readConfigFile(tsConfigPath, ts.sys.readFile);
230058
230066
  const tsConfigInclude = [
230059
230067
  ...tsConfigFile.config?.include && Array.isArray(tsConfigFile.config.include) ? tsConfigFile.config.include : [],
230060
- (0, import_node_path14.join)(import_devkit7.workspaceRoot, "node_modules/typescript/lib/*.d.ts")
230068
+ (0, import_node_path14.join)(config.workspaceRoot, "node_modules/typescript/lib/*.d.ts")
230061
230069
  ];
230062
230070
  const tsConfig = ts.parseJsonConfigFileContent(
230063
230071
  {
@@ -230100,13 +230108,13 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
230100
230108
  // Options are not normalized with project root during graph creation due to the lack of project and project root.
230101
230109
  // Cannot be joined with workspace root now, but will be handled by @nx/rollup/plugin.
230102
230110
  options.outputPath
230103
- ) : correctPaths2((0, import_node_path14.join)(import_devkit7.workspaceRoot, options.outputPath)),
230111
+ ) : correctPaths2((0, import_node_path14.join)(config.workspaceRoot, options.outputPath)),
230104
230112
  sourcemap: options.sourceMap
230105
230113
  }));
230106
230114
  }
230107
230115
  let packageJson = {};
230108
230116
  if (!global.NX_GRAPH_CREATION) {
230109
- const packageJsonPath = options.project ? (0, import_node_path14.join)(import_devkit7.workspaceRoot, options.project) : (0, import_node_path14.join)(projectRoot, "package.json");
230117
+ const packageJsonPath = options.project ? (0, import_node_path14.join)(config.workspaceRoot, options.project) : (0, import_node_path14.join)(projectRoot, "package.json");
230110
230118
  if (!(0, import_node_fs12.existsSync)(packageJsonPath)) {
230111
230119
  throw new Error(`Cannot find ${packageJsonPath}.`);
230112
230120
  }
@@ -230152,7 +230160,8 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
230152
230160
  copy2({
230153
230161
  targets: convertCopyAssetsToRollupOptions(
230154
230162
  options.outputPath,
230155
- options.assets
230163
+ options.assets,
230164
+ config.workspaceRoot
230156
230165
  )
230157
230166
  }),
230158
230167
  image(),
@@ -230162,7 +230171,7 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
230162
230171
  extensions: fileExtensions
230163
230172
  }),
230164
230173
  require_rollup_plugin_typescript2_cjs()({
230165
- cwd: correctPaths2(import_devkit7.workspaceRoot),
230174
+ cwd: correctPaths2(config.workspaceRoot),
230166
230175
  check: !options.skipTypeCheck,
230167
230176
  typescript: ts,
230168
230177
  tsconfig: options.tsConfig,
@@ -230200,7 +230209,7 @@ async function withRollupConfig(rawOptions, rollupConfig = {}, dependencies, con
230200
230209
  },
230201
230210
  cwd: correctPaths2(
230202
230211
  (0, import_node_path14.join)(
230203
- import_devkit7.workspaceRoot,
230212
+ config.workspaceRoot,
230204
230213
  projectNode.data.sourceRoot ?? projectNode.data.root
230205
230214
  )
230206
230215
  ),
@@ -230240,9 +230249,14 @@ function createInput(options) {
230240
230249
  if (global.NX_GRAPH_CREATION) return {};
230241
230250
  const mainEntryFileName = options.outputFileName || options.main;
230242
230251
  const input = {};
230243
- input[(0, import_node_path14.parse)(mainEntryFileName).name] = (0, import_node_path14.join)(import_devkit7.workspaceRoot, options.main);
230252
+ input[(0, import_node_path14.parse)(mainEntryFileName).name] = (0, import_node_path14.join)(
230253
+ options.config.workspaceRoot,
230254
+ options.main
230255
+ );
230244
230256
  options.additionalEntryPoints?.forEach((entry) => {
230245
- input[(0, import_node_path14.parse)(entry).name] = (0, import_node_path14.join)(import_devkit7.workspaceRoot, entry);
230257
+ const entryPoint = (0, import_node_path14.join)(options.config.workspaceRoot, entry);
230258
+ const entryName = entryPoint.includes(options.sourceRoot) ? entryPoint.replace(options.sourceRoot, "") : entryPoint.replace(options.config.workspaceRoot, "");
230259
+ input[entryName.replaceAll("\\", "/").startsWith("/") ? entryName.slice(1) : entryName] = entryPoint;
230246
230260
  });
230247
230261
  return input;
230248
230262
  }
@@ -230272,10 +230286,10 @@ async function createTsCompilerOptions(parsedCommandLine, options, dependencies,
230272
230286
  }
230273
230287
  return compilerOptions;
230274
230288
  }
230275
- function convertCopyAssetsToRollupOptions(outputPath, assets) {
230289
+ function convertCopyAssetsToRollupOptions(outputPath, assets, workspaceRoot4) {
230276
230290
  return assets ? assets.map((a2) => ({
230277
230291
  src: (0, import_node_path14.join)(a2.input, a2.glob).replace(/\\/g, "/"),
230278
- dest: (0, import_node_path14.join)(import_devkit7.workspaceRoot, outputPath, a2.output).replace(/\\/g, "/")
230292
+ dest: (0, import_node_path14.join)(workspaceRoot4, outputPath, a2.output).replace(/\\/g, "/")
230279
230293
  })) : [];
230280
230294
  }
230281
230295
  function readCompatibleFormats(config) {
@@ -230304,7 +230318,7 @@ async function* rollupExecutorFn(options, context, config) {
230304
230318
  if (!context?.projectName || !context?.projectsConfigurations?.projects?.[context.projectName]?.root) {
230305
230319
  throw new Error("Nx executor context was invalid");
230306
230320
  }
230307
- const workspaceRoot5 = findWorkspaceRoot2();
230321
+ const workspaceRoot4 = findWorkspaceRoot2();
230308
230322
  const projectRoot = context?.projectsConfigurations?.projects[context.projectName]?.root;
230309
230323
  const sourceRoot = context.projectsConfigurations.projects[context.projectName]?.sourceRoot ?? projectRoot;
230310
230324
  if (options.clean !== false) {
@@ -230334,7 +230348,7 @@ async function* rollupExecutorFn(options, context, config) {
230334
230348
  const files = await new Glob("**/*.{ts,mts,cts,tsx}", {
230335
230349
  absolute: true,
230336
230350
  cwd: sourceRoot,
230337
- root: workspaceRoot5
230351
+ root: workspaceRoot4
230338
230352
  }).walk();
230339
230353
  options.additionalEntryPoints = files.reduce(
230340
230354
  (ret, file) => {
@@ -230345,10 +230359,10 @@ async function* rollupExecutorFn(options, context, config) {
230345
230359
  return ret;
230346
230360
  },
230347
230361
  options.additionalEntryPoints?.map(
230348
- (entry) => correctPaths2((0, import_path5.join)(workspaceRoot5, entry))
230362
+ (entry) => correctPaths2((0, import_path5.join)(workspaceRoot4, entry))
230349
230363
  ) ?? []
230350
230364
  ).map((entry) => {
230351
- const formatted = entry.replace(workspaceRoot5, "");
230365
+ const formatted = entry.replace(workspaceRoot4, "");
230352
230366
  return formatted.startsWith("/") ? formatted.slice(1) : formatted;
230353
230367
  });
230354
230368
  }
@@ -230460,8 +230474,8 @@ async function createRollupOptions(options, context, config) {
230460
230474
  const rollupConfig = await withRollupConfig(
230461
230475
  options,
230462
230476
  {},
230463
- dependencies,
230464
- config
230477
+ config,
230478
+ dependencies
230465
230479
  );
230466
230480
  const generatePackageJsonPlugin = Array.isArray(rollupConfig.plugins) ? rollupConfig.plugins.find(
230467
230481
  (p2) => p2?.["name"] === import_generate_package_json2.pluginName
@@ -233234,13 +233248,13 @@ async function releaseVersionGeneratorFn(tree, options, config) {
233234
233248
  `, config);
233235
233249
  const stopwatch = getStopwatch2("Storm Release Version generator");
233236
233250
  try {
233237
- const workspaceRoot5 = findWorkspaceRoot2();
233251
+ const workspaceRoot4 = findWorkspaceRoot2();
233238
233252
  writeDebug2(
233239
233253
  `Loading the Storm Config from environment variables and storm.config.js file...
233240
- - workspaceRoot: ${workspaceRoot5}`,
233254
+ - workspaceRoot: ${workspaceRoot4}`,
233241
233255
  config
233242
233256
  );
233243
- config = await loadStormConfig2(workspaceRoot5);
233257
+ config = await loadStormConfig2(workspaceRoot4);
233244
233258
  writeTrace2(
233245
233259
  `Generator schema options \u2699\uFE0F
233246
233260
  ${Object.keys(options ?? {}).map((key) => ` - ${key}=${JSON.stringify(options[key])}`).join("\n")}`,
@@ -234079,10 +234093,10 @@ function cargoMetadata() {
234079
234093
  }
234080
234094
  return JSON.parse(output3.output);
234081
234095
  }
234082
- function isExternal(packageOrDep, workspaceRoot5) {
234096
+ function isExternal(packageOrDep, workspaceRoot4) {
234083
234097
  const isRegistry = packageOrDep.source?.startsWith("registry+") ?? false;
234084
234098
  const isGit = packageOrDep.source?.startsWith("git+") ?? false;
234085
- const isOutsideWorkspace = "path" in packageOrDep && (0, import_node_path20.relative)(workspaceRoot5, packageOrDep.path).startsWith("..");
234099
+ const isOutsideWorkspace = "path" in packageOrDep && (0, import_node_path20.relative)(workspaceRoot4, packageOrDep.path).startsWith("..");
234086
234100
  return isRegistry || isGit || isOutsideWorkspace;
234087
234101
  }
234088
234102
  function runProcess(processCmd, ...args) {