@storm-software/workspace-tools 1.33.1 → 1.34.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@storm-software/workspace-tools",
3
- "version": "1.33.1",
3
+ "version": "1.34.1",
4
4
  "private": false,
5
5
  "description": "⚡ A Nx plugin package that contains various executors and generators used in a Storm workspaces.",
6
6
  "keywords": [
package/src/base/index.js CHANGED
@@ -33,9 +33,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
33
33
  var require_resolve_from = __commonJS({
34
34
  "node_modules/.pnpm/resolve-from@4.0.0/node_modules/resolve-from/index.js"(exports, module2) {
35
35
  "use strict";
36
- var path2 = require("path");
36
+ var path = require("path");
37
37
  var Module = require("module");
38
- var fs2 = require("fs");
38
+ var fs = require("fs");
39
39
  var resolveFrom = (fromDir, moduleId, silent) => {
40
40
  if (typeof fromDir !== "string") {
41
41
  throw new TypeError(`Expected \`fromDir\` to be of type \`string\`, got \`${typeof fromDir}\``);
@@ -44,17 +44,17 @@ var require_resolve_from = __commonJS({
44
44
  throw new TypeError(`Expected \`moduleId\` to be of type \`string\`, got \`${typeof moduleId}\``);
45
45
  }
46
46
  try {
47
- fromDir = fs2.realpathSync(fromDir);
47
+ fromDir = fs.realpathSync(fromDir);
48
48
  } catch (err) {
49
49
  if (err.code === "ENOENT") {
50
- fromDir = path2.resolve(fromDir);
50
+ fromDir = path.resolve(fromDir);
51
51
  } else if (silent) {
52
52
  return null;
53
53
  } else {
54
54
  throw err;
55
55
  }
56
56
  }
57
- const fromFile = path2.join(fromDir, "noop.js");
57
+ const fromFile = path.join(fromDir, "noop.js");
58
58
  const resolveFileName = () => Module._resolveFilename(moduleId, {
59
59
  id: fromFile,
60
60
  filename: fromFile,
@@ -126,7 +126,7 @@ var require_parent_module = __commonJS({
126
126
  var require_import_fresh = __commonJS({
127
127
  "node_modules/.pnpm/import-fresh@3.3.0/node_modules/import-fresh/index.js"(exports, module2) {
128
128
  "use strict";
129
- var path2 = require("path");
129
+ var path = require("path");
130
130
  var resolveFrom = require_resolve_from();
131
131
  var parentModule = require_parent_module();
132
132
  module2.exports = (moduleId) => {
@@ -134,7 +134,7 @@ var require_import_fresh = __commonJS({
134
134
  throw new TypeError("Expected a string");
135
135
  }
136
136
  const parentPath = parentModule(__filename);
137
- const cwd = parentPath ? path2.dirname(parentPath) : __dirname;
137
+ const cwd = parentPath ? path.dirname(parentPath) : __dirname;
138
138
  const filePath = resolveFrom(cwd, moduleId);
139
139
  const oldModule = require.cache[filePath];
140
140
  if (oldModule && oldModule.parent) {
@@ -1576,15 +1576,15 @@ var require_route = __commonJS({
1576
1576
  };
1577
1577
  }
1578
1578
  function wrapConversion(toModel, graph) {
1579
- var path2 = [graph[toModel].parent, toModel];
1579
+ var path = [graph[toModel].parent, toModel];
1580
1580
  var fn = conversions[graph[toModel].parent][toModel];
1581
1581
  var cur = graph[toModel].parent;
1582
1582
  while (graph[cur].parent) {
1583
- path2.unshift(graph[cur].parent);
1583
+ path.unshift(graph[cur].parent);
1584
1584
  fn = link(conversions[graph[cur].parent][cur], fn);
1585
1585
  cur = graph[cur].parent;
1586
1586
  }
1587
- fn.conversion = path2;
1587
+ fn.conversion = path;
1588
1588
  return fn;
1589
1589
  }
1590
1590
  module2.exports = function(fromModel) {
@@ -5580,7 +5580,7 @@ ${error.message}`;
5580
5580
  return typescript.sys.fileExists(fileName);
5581
5581
  });
5582
5582
  if (filePath !== void 0) {
5583
- const { config, error } = typescript.readConfigFile(filePath, (path2) => typescript.sys.readFile(path2));
5583
+ const { config, error } = typescript.readConfigFile(filePath, (path) => typescript.sys.readFile(path));
5584
5584
  if (error) {
5585
5585
  throw new Error(`Error in ${filePath}: ${error.messageText.toString()}`);
5586
5586
  }
@@ -5703,42 +5703,42 @@ var require_defaults = __commonJS({
5703
5703
  var require_env_paths = __commonJS({
5704
5704
  "node_modules/.pnpm/env-paths@2.2.1/node_modules/env-paths/index.js"(exports, module2) {
5705
5705
  "use strict";
5706
- var path2 = require("path");
5706
+ var path = require("path");
5707
5707
  var os = require("os");
5708
5708
  var homedir = os.homedir();
5709
5709
  var tmpdir = os.tmpdir();
5710
5710
  var { env } = process;
5711
5711
  var macos = (name) => {
5712
- const library = path2.join(homedir, "Library");
5712
+ const library = path.join(homedir, "Library");
5713
5713
  return {
5714
- data: path2.join(library, "Application Support", name),
5715
- config: path2.join(library, "Preferences", name),
5716
- cache: path2.join(library, "Caches", name),
5717
- log: path2.join(library, "Logs", name),
5718
- temp: path2.join(tmpdir, name)
5714
+ data: path.join(library, "Application Support", name),
5715
+ config: path.join(library, "Preferences", name),
5716
+ cache: path.join(library, "Caches", name),
5717
+ log: path.join(library, "Logs", name),
5718
+ temp: path.join(tmpdir, name)
5719
5719
  };
5720
5720
  };
5721
5721
  var windows = (name) => {
5722
- const appData = env.APPDATA || path2.join(homedir, "AppData", "Roaming");
5723
- const localAppData = env.LOCALAPPDATA || path2.join(homedir, "AppData", "Local");
5722
+ const appData = env.APPDATA || path.join(homedir, "AppData", "Roaming");
5723
+ const localAppData = env.LOCALAPPDATA || path.join(homedir, "AppData", "Local");
5724
5724
  return {
5725
5725
  // Data/config/cache/log are invented by me as Windows isn't opinionated about this
5726
- data: path2.join(localAppData, name, "Data"),
5727
- config: path2.join(appData, name, "Config"),
5728
- cache: path2.join(localAppData, name, "Cache"),
5729
- log: path2.join(localAppData, name, "Log"),
5730
- temp: path2.join(tmpdir, name)
5726
+ data: path.join(localAppData, name, "Data"),
5727
+ config: path.join(appData, name, "Config"),
5728
+ cache: path.join(localAppData, name, "Cache"),
5729
+ log: path.join(localAppData, name, "Log"),
5730
+ temp: path.join(tmpdir, name)
5731
5731
  };
5732
5732
  };
5733
5733
  var linux = (name) => {
5734
- const username = path2.basename(homedir);
5734
+ const username = path.basename(homedir);
5735
5735
  return {
5736
- data: path2.join(env.XDG_DATA_HOME || path2.join(homedir, ".local", "share"), name),
5737
- config: path2.join(env.XDG_CONFIG_HOME || path2.join(homedir, ".config"), name),
5738
- cache: path2.join(env.XDG_CACHE_HOME || path2.join(homedir, ".cache"), name),
5736
+ data: path.join(env.XDG_DATA_HOME || path.join(homedir, ".local", "share"), name),
5737
+ config: path.join(env.XDG_CONFIG_HOME || path.join(homedir, ".config"), name),
5738
+ cache: path.join(env.XDG_CACHE_HOME || path.join(homedir, ".cache"), name),
5739
5739
  // https://wiki.debian.org/XDGBaseDirectorySpecification#state
5740
- log: path2.join(env.XDG_STATE_HOME || path2.join(homedir, ".local", "state"), name),
5741
- temp: path2.join(tmpdir, username, name)
5740
+ log: path.join(env.XDG_STATE_HOME || path.join(homedir, ".local", "state"), name),
5741
+ temp: path.join(tmpdir, username, name)
5742
5742
  };
5743
5743
  };
5744
5744
  var envPaths = (name, options) => {
@@ -5811,11 +5811,11 @@ var require_util = __commonJS({
5811
5811
  return result;
5812
5812
  }
5813
5813
  exports.emplace = emplace;
5814
- function getPropertyByPath(source, path2) {
5815
- if (typeof path2 === "string" && Object.prototype.hasOwnProperty.call(source, path2)) {
5816
- return source[path2];
5814
+ function getPropertyByPath(source, path) {
5815
+ if (typeof path === "string" && Object.prototype.hasOwnProperty.call(source, path)) {
5816
+ return source[path];
5817
5817
  }
5818
- const parsedPath = typeof path2 === "string" ? path2.split(".") : path2;
5818
+ const parsedPath = typeof path === "string" ? path.split(".") : path;
5819
5819
  return parsedPath.reduce((previous, key) => {
5820
5820
  if (previous === void 0) {
5821
5821
  return previous;
@@ -5828,9 +5828,9 @@ var require_util = __commonJS({
5828
5828
  return Object.fromEntries(Object.entries(options).filter(([, value]) => value !== void 0));
5829
5829
  }
5830
5830
  exports.removeUndefinedValuesFromObject = removeUndefinedValuesFromObject;
5831
- async function isDirectory(path2) {
5831
+ async function isDirectory(path) {
5832
5832
  try {
5833
- const stat = await fs_1.promises.stat(path2);
5833
+ const stat = await fs_1.promises.stat(path);
5834
5834
  return stat.isDirectory();
5835
5835
  } catch (e) {
5836
5836
  if (e.code === "ENOENT") {
@@ -5840,9 +5840,9 @@ var require_util = __commonJS({
5840
5840
  }
5841
5841
  }
5842
5842
  exports.isDirectory = isDirectory;
5843
- function isDirectorySync(path2) {
5843
+ function isDirectorySync(path) {
5844
5844
  try {
5845
- const stat = fs_1.default.statSync(path2);
5845
+ const stat = fs_1.default.statSync(path);
5846
5846
  return stat.isDirectory();
5847
5847
  } catch (e) {
5848
5848
  if (e.code === "ENOENT") {
@@ -5940,7 +5940,7 @@ var require_ExplorerBase = __commonJS({
5940
5940
  const idx = importStack.indexOf(fullPath);
5941
5941
  if (idx !== -1) {
5942
5942
  throw new Error(`Circular import detected:
5943
- ${[...importStack, fullPath].map((path2, i) => `${i + 1}. ${path2}`).join("\n")} (same as ${idx + 1}.)`);
5943
+ ${[...importStack, fullPath].map((path, i) => `${i + 1}. ${path}`).join("\n")} (same as ${idx + 1}.)`);
5944
5944
  }
5945
5945
  }
5946
5946
  }
@@ -6125,9 +6125,9 @@ var require_Explorer = __commonJS({
6125
6125
  throw error;
6126
6126
  }
6127
6127
  }
6128
- async #fileExists(path2) {
6128
+ async #fileExists(path) {
6129
6129
  try {
6130
- await promises_1.default.stat(path2);
6130
+ await promises_1.default.stat(path);
6131
6131
  return true;
6132
6132
  } catch (e) {
6133
6133
  return false;
@@ -6283,9 +6283,9 @@ var require_ExplorerSync = __commonJS({
6283
6283
  throw error;
6284
6284
  }
6285
6285
  }
6286
- #fileExists(path2) {
6286
+ #fileExists(path) {
6287
6287
  try {
6288
- fs_1.default.statSync(path2);
6288
+ fs_1.default.statSync(path);
6289
6289
  return true;
6290
6290
  } catch (e) {
6291
6291
  return false;
@@ -6405,7 +6405,7 @@ var require_dist = __commonJS({
6405
6405
  };
6406
6406
  }
6407
6407
  function getResolvedSearchPlaces(moduleName, toolDefinedSearchPlaces, userConfiguredOptions) {
6408
- const userConfiguredSearchPlaces = userConfiguredOptions.searchPlaces?.map((path2) => path2.replace("{name}", moduleName));
6408
+ const userConfiguredSearchPlaces = userConfiguredOptions.searchPlaces?.map((path) => path.replace("{name}", moduleName));
6409
6409
  if (userConfiguredOptions.mergeSearchPlaces) {
6410
6410
  return [...userConfiguredSearchPlaces ?? [], ...toolDefinedSearchPlaces];
6411
6411
  }
@@ -7372,15 +7372,15 @@ var require_route2 = __commonJS({
7372
7372
  };
7373
7373
  }
7374
7374
  function wrapConversion(toModel, graph) {
7375
- const path2 = [graph[toModel].parent, toModel];
7375
+ const path = [graph[toModel].parent, toModel];
7376
7376
  let fn = conversions[graph[toModel].parent][toModel];
7377
7377
  let cur = graph[toModel].parent;
7378
7378
  while (graph[cur].parent) {
7379
- path2.unshift(graph[cur].parent);
7379
+ path.unshift(graph[cur].parent);
7380
7380
  fn = link(conversions[graph[cur].parent][cur], fn);
7381
7381
  cur = graph[cur].parent;
7382
7382
  }
7383
- fn.conversion = path2;
7383
+ fn.conversion = path;
7384
7384
  return fn;
7385
7385
  }
7386
7386
  module2.exports = function(fromModel) {
@@ -8114,147 +8114,21 @@ var LogLevelLabel = {
8114
8114
  TRACE: "trace"
8115
8115
  };
8116
8116
 
8117
- // node_modules/.pnpm/locate-path@7.2.0/node_modules/locate-path/index.js
8118
- var import_node_process = __toESM(require("node:process"), 1);
8119
- var import_node_path = __toESM(require("node:path"), 1);
8120
- var import_node_fs = __toESM(require("node:fs"), 1);
8121
- var import_node_url = require("node:url");
8122
-
8123
- // node_modules/.pnpm/yocto-queue@1.0.0/node_modules/yocto-queue/index.js
8124
- var Node = class {
8125
- value;
8126
- next;
8127
- constructor(value) {
8128
- this.value = value;
8129
- }
8130
- };
8131
- var Queue = class {
8132
- #head;
8133
- #tail;
8134
- #size;
8135
- constructor() {
8136
- this.clear();
8137
- }
8138
- enqueue(value) {
8139
- const node = new Node(value);
8140
- if (this.#head) {
8141
- this.#tail.next = node;
8142
- this.#tail = node;
8143
- } else {
8144
- this.#head = node;
8145
- this.#tail = node;
8146
- }
8147
- this.#size++;
8148
- }
8149
- dequeue() {
8150
- const current = this.#head;
8151
- if (!current) {
8152
- return;
8153
- }
8154
- this.#head = this.#head.next;
8155
- this.#size--;
8156
- return current.value;
8157
- }
8158
- clear() {
8159
- this.#head = void 0;
8160
- this.#tail = void 0;
8161
- this.#size = 0;
8162
- }
8163
- get size() {
8164
- return this.#size;
8165
- }
8166
- *[Symbol.iterator]() {
8167
- let current = this.#head;
8168
- while (current) {
8169
- yield current.value;
8170
- current = current.next;
8171
- }
8172
- }
8173
- };
8174
-
8175
- // node_modules/.pnpm/locate-path@7.2.0/node_modules/locate-path/index.js
8176
- var typeMappings = {
8177
- directory: "isDirectory",
8178
- file: "isFile"
8179
- };
8180
- function checkType(type) {
8181
- if (Object.hasOwnProperty.call(typeMappings, type)) {
8182
- return;
8183
- }
8184
- throw new Error(`Invalid type specified: ${type}`);
8185
- }
8186
- var matchType = (type, stat) => stat[typeMappings[type]]();
8187
- var toPath = (urlOrPath) => urlOrPath instanceof URL ? (0, import_node_url.fileURLToPath)(urlOrPath) : urlOrPath;
8188
- function locatePathSync(paths, {
8189
- cwd = import_node_process.default.cwd(),
8190
- type = "file",
8191
- allowSymlinks = true
8192
- } = {}) {
8193
- checkType(type);
8194
- cwd = toPath(cwd);
8195
- const statFunction = allowSymlinks ? import_node_fs.default.statSync : import_node_fs.default.lstatSync;
8196
- for (const path_ of paths) {
8197
- try {
8198
- const stat = statFunction(import_node_path.default.resolve(cwd, path_), {
8199
- throwIfNoEntry: false
8200
- });
8201
- if (!stat) {
8202
- continue;
8203
- }
8204
- if (matchType(type, stat)) {
8205
- return path_;
8206
- }
8207
- } catch {
8208
- }
8209
- }
8210
- }
8211
-
8212
8117
  // packages/config-tools/src/utilities/find-up.ts
8118
+ var import_fs = require("fs");
8213
8119
  var import_path = require("path");
8214
- var import_url = require("url");
8215
- var findUpStop = Symbol("findUpStop");
8216
- function toPath2(urlOrPath) {
8217
- return urlOrPath instanceof URL ? (0, import_url.fileURLToPath)(urlOrPath) : urlOrPath;
8218
- }
8219
- function findUpMultipleSync(names, options = { limit: 1, type: "file" }) {
8220
- let directory = (0, import_path.resolve)(toPath2(options.cwd) ?? "");
8221
- const { root } = (0, import_path.parse)(directory);
8222
- const stopAt = (0, import_path.resolve)(directory, toPath2(options.stopAt) ?? root);
8223
- const limit = options.limit ?? Number.POSITIVE_INFINITY;
8224
- if (typeof names === "function") {
8225
- const foundPath = names(options.cwd);
8226
- return locatePathSync([foundPath], options);
8227
- }
8228
- const runNameMatcher = (name) => {
8229
- const paths = [name].flat();
8230
- const runMatcher = (locateOptions) => {
8231
- if (typeof name !== "function") {
8232
- return locatePathSync(paths, locateOptions);
8233
- }
8234
- const foundPath = name(locateOptions.cwd);
8235
- if (typeof foundPath === "string") {
8236
- return locatePathSync([foundPath], locateOptions);
8237
- }
8238
- return foundPath;
8239
- };
8240
- const matches = [];
8241
- while (true) {
8242
- const foundPath = runMatcher({ ...options, cwd: directory });
8243
- if (foundPath) {
8244
- matches.push((0, import_path.resolve)(directory, foundPath));
8245
- }
8246
- if (directory === stopAt || matches.length >= limit) {
8247
- break;
8248
- }
8249
- directory = (0, import_path.dirname)(directory);
8250
- }
8251
- return matches;
8252
- };
8253
- return (names && Array.isArray(names) ? names : [names]).map((name) => runNameMatcher(name)).flat().map((path2) => path2 ? path2 : "");
8254
- }
8255
- function findUpSync(names, options = { limit: 1, type: "file" }) {
8256
- const matches = findUpMultipleSync(names, options);
8257
- return matches[0];
8120
+ var MAX_PATH_SEARCH_DEPTH = 30;
8121
+ var depth = 0;
8122
+ function findFolderUp(startPath, endFileNames) {
8123
+ startPath = startPath ?? process.cwd();
8124
+ if (endFileNames.some((endFileName) => (0, import_fs.existsSync)((0, import_path.join)(startPath, endFileName)))) {
8125
+ return startPath;
8126
+ } else if (startPath !== "/" && depth++ < MAX_PATH_SEARCH_DEPTH) {
8127
+ const parent = (0, import_path.join)(startPath, "..");
8128
+ return findFolderUp(parent, endFileNames);
8129
+ } else {
8130
+ return void 0;
8131
+ }
8258
8132
  }
8259
8133
 
8260
8134
  // packages/config-tools/src/utilities/find-workspace-root.ts
@@ -8282,15 +8156,14 @@ var rootFiles = [
8282
8156
  "pnpm-lock.yml",
8283
8157
  "bun.lockb"
8284
8158
  ];
8285
- function findWorkspaceRootSafeSync(pathInsideMonorepo) {
8286
- return process.env.STORM_WORKSPACE_ROOT ? process.env.STORM_WORKSPACE_ROOT : process.env.NX_WORKSPACE_ROOT_PATH ? process.env.NX_WORKSPACE_ROOT_PATH : findUpSync(rootFiles, {
8287
- cwd: pathInsideMonorepo ?? process.cwd(),
8288
- type: "file",
8289
- limit: 1
8290
- });
8159
+ function findWorkspaceRootSafe(pathInsideMonorepo) {
8160
+ if (process.env.STORM_WORKSPACE_ROOT || process.env.NX_WORKSPACE_ROOT_PATH) {
8161
+ return process.env.STORM_WORKSPACE_ROOT ?? process.env.NX_WORKSPACE_ROOT_PATH;
8162
+ }
8163
+ return findFolderUp(pathInsideMonorepo ?? process.cwd(), rootFiles);
8291
8164
  }
8292
- function findWorkspaceRootSync(pathInsideMonorepo) {
8293
- const result = findWorkspaceRootSafeSync(pathInsideMonorepo);
8165
+ function findWorkspaceRoot(pathInsideMonorepo) {
8166
+ const result = findWorkspaceRootSafe(pathInsideMonorepo);
8294
8167
  if (!result) {
8295
8168
  throw new Error(
8296
8169
  `Cannot find workspace root upwards from known path. Files search list includes:
@@ -8304,7 +8177,7 @@ Path: ${pathInsideMonorepo ? pathInsideMonorepo : process.cwd()}`
8304
8177
  }
8305
8178
 
8306
8179
  // packages/config-tools/src/utilities/get-default-config.ts
8307
- var import_fs = require("fs");
8180
+ var import_fs2 = require("fs");
8308
8181
  var import_path2 = require("path");
8309
8182
 
8310
8183
  // node_modules/.pnpm/zod@3.22.4/node_modules/zod/lib/index.mjs
@@ -8648,8 +8521,8 @@ function getErrorMap() {
8648
8521
  return overrideErrorMap;
8649
8522
  }
8650
8523
  var makeIssue = (params) => {
8651
- const { data, path: path2, errorMaps, issueData } = params;
8652
- const fullPath = [...path2, ...issueData.path || []];
8524
+ const { data, path, errorMaps, issueData } = params;
8525
+ const fullPath = [...path, ...issueData.path || []];
8653
8526
  const fullIssue = {
8654
8527
  ...issueData,
8655
8528
  path: fullPath
@@ -8747,11 +8620,11 @@ var errorUtil;
8747
8620
  errorUtil2.toString = (message) => typeof message === "string" ? message : message === null || message === void 0 ? void 0 : message.message;
8748
8621
  })(errorUtil || (errorUtil = {}));
8749
8622
  var ParseInputLazyPath = class {
8750
- constructor(parent, value, path2, key) {
8623
+ constructor(parent, value, path, key) {
8751
8624
  this._cachedPath = [];
8752
8625
  this.parent = parent;
8753
8626
  this.data = value;
8754
- this._path = path2;
8627
+ this._path = path;
8755
8628
  this._key = key;
8756
8629
  }
8757
8630
  get path() {
@@ -11923,6 +11796,7 @@ var StormConfigSchema = objectType({
11923
11796
  runtimeVersion: stringType().trim().regex(
11924
11797
  /^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/
11925
11798
  ).default("1.0.0").describe("The global version of the Storm runtime"),
11799
+ packageManager: enumType(["npm", "yarn", "pnpm", "bun"]).default("npm").describe("The package manager used by the repository"),
11926
11800
  timezone: stringType().trim().default("America/New_York").describe("The default timezone of the workspace"),
11927
11801
  locale: stringType().trim().default("en-US").describe("The default locale of the workspace"),
11928
11802
  logLevel: enumType(["silent", "fatal", "error", "warn", "info", "debug", "trace"]).optional().describe(
@@ -11950,6 +11824,7 @@ var DefaultColorConfig = {
11950
11824
  fatal: "#7d1a1a"
11951
11825
  };
11952
11826
  var DefaultStormConfig = {
11827
+ name: "storm-workspace",
11953
11828
  namespace: "storm-software",
11954
11829
  license: "Apache License 2.0",
11955
11830
  homepage: "https://stormsoftware.org",
@@ -11957,6 +11832,7 @@ var DefaultStormConfig = {
11957
11832
  owner: "@storm-software/development",
11958
11833
  worker: "stormie-bot",
11959
11834
  runtimeDirectory: "node_modules/.storm",
11835
+ packageManager: "npm",
11960
11836
  timezone: "America/New_York",
11961
11837
  locale: "en-US",
11962
11838
  env: "production",
@@ -11971,12 +11847,12 @@ var DefaultStormConfig = {
11971
11847
  var getDefaultConfig = (config = {}, root) => {
11972
11848
  let name = "storm-workspace";
11973
11849
  let namespace = "storm-software";
11974
- let repository = "https://github.com/storm-software/storm-stack";
11850
+ let repository = "https://github.com/storm-software/storm-ops";
11975
11851
  let license = DefaultStormConfig.license;
11976
11852
  let homepage = DefaultStormConfig.homepage;
11977
- const workspaceRoot = findWorkspaceRootSync(root);
11978
- if ((0, import_fs.existsSync)((0, import_path2.join)(workspaceRoot, "package.json"))) {
11979
- const file = (0, import_fs.readFileSync)((0, import_path2.join)(workspaceRoot, "package.json"), {
11853
+ const workspaceRoot = findWorkspaceRoot(root);
11854
+ if ((0, import_fs2.existsSync)((0, import_path2.join)(workspaceRoot, "package.json"))) {
11855
+ const file = (0, import_fs2.readFileSync)((0, import_path2.join)(workspaceRoot, "package.json"), {
11980
11856
  encoding: "utf-8"
11981
11857
  });
11982
11858
  if (file) {