@shell-shock/plugin-update 0.1.67 → 0.1.69

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.
Files changed (51) hide show
  1. package/dist/components/index.cjs +1 -2
  2. package/dist/components/index.mjs +2 -2
  3. package/dist/components/update-builtin.cjs +143 -236
  4. package/dist/components/update-builtin.d.cts +1 -2
  5. package/dist/components/update-builtin.d.cts.map +1 -1
  6. package/dist/components/update-builtin.d.mts +1 -2
  7. package/dist/components/update-builtin.mjs +11 -101
  8. package/dist/components/update-command.cjs +16 -21
  9. package/dist/components/update-command.d.cts.map +1 -1
  10. package/dist/components/update-command.mjs +5 -10
  11. package/dist/generator.cjs +33 -0
  12. package/dist/generator.d.cts +10 -0
  13. package/dist/generator.d.cts.map +1 -0
  14. package/dist/generator.d.mts +10 -0
  15. package/dist/generator.d.mts.map +1 -0
  16. package/dist/generator.mjs +32 -0
  17. package/dist/generator.mjs.map +1 -0
  18. package/dist/index.cjs +21 -34
  19. package/dist/index.d.cts +2 -2
  20. package/dist/index.d.cts.map +1 -1
  21. package/dist/index.d.mts +2 -2
  22. package/dist/index.mjs +20 -32
  23. package/dist/schemas/env.cjs +27 -0
  24. package/dist/schemas/env.d.cts +145 -0
  25. package/dist/schemas/env.d.cts.map +1 -0
  26. package/dist/schemas/env.d.mts +145 -0
  27. package/dist/{types → schemas}/env.d.mts.map +1 -1
  28. package/dist/schemas/env.mjs +27 -0
  29. package/dist/schemas/index.cjs +4 -0
  30. package/dist/schemas/index.d.cts +2 -0
  31. package/dist/schemas/index.d.mts +2 -0
  32. package/dist/schemas/index.mjs +3 -0
  33. package/dist/types/index.cjs +2 -7
  34. package/dist/types/index.mjs +3 -3
  35. package/dist/types/package-manager.cjs +1 -12
  36. package/dist/types/package-manager.d.cts.map +1 -1
  37. package/dist/types/package-manager.mjs +1 -10
  38. package/dist/types/plugin.cjs +0 -75
  39. package/dist/types/plugin.d.cts +0 -1
  40. package/dist/types/plugin.d.cts.map +1 -1
  41. package/dist/types/plugin.d.mts +0 -1
  42. package/dist/types/plugin.mjs +1 -71
  43. package/package.json +58 -31
  44. package/dist/_virtual/_rolldown/runtime.cjs +0 -29
  45. package/dist/types/env.cjs +0 -12
  46. package/dist/types/env.d.cts +0 -12
  47. package/dist/types/env.d.cts.map +0 -1
  48. package/dist/types/env.d.mts +0 -12
  49. package/dist/types/env.mjs +0 -11
  50. package/dist/types/plugin.mjs.map +0 -1
  51. /package/dist/{types → schemas}/env.mjs.map +0 -0
@@ -1,41 +1,18 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
2
- const require_runtime = require('../_virtual/_rolldown/runtime.cjs');
3
- let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
4
2
  let defu = require("defu");
5
- defu = require_runtime.__toESM(defu, 1);
3
+ let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
6
4
  let _alloy_js_core = require("@alloy-js/core");
7
5
  let _alloy_js_typescript = require("@alloy-js/typescript");
8
- let _powerlines_plugin_alloy_core_components_spacing = require("@powerlines/plugin-alloy/core/components/spacing");
9
- let _powerlines_plugin_alloy_core_contexts_context = require("@powerlines/plugin-alloy/core/contexts/context");
10
- let _powerlines_plugin_alloy_typescript = require("@powerlines/plugin-alloy/typescript");
11
- let _powerlines_plugin_alloy_typescript_components_builtin_file = require("@powerlines/plugin-alloy/typescript/components/builtin-file");
6
+ let _power_plant_alloy_js_core_components_spacing = require("@power-plant/alloy-js/core/components/spacing");
7
+ let _power_plant_alloy_js_typescript = require("@power-plant/alloy-js/typescript");
8
+ let _shell_shock_core_contexts_power_plant = require("@shell-shock/core/contexts/power-plant");
12
9
 
13
10
  //#region src/components/update-builtin.tsx
14
- const __ΩOmit = [
15
- "T",
16
- "K",
17
- () => __ΩPick,
18
- () => __ΩExclude,
19
- "Omit",
20
- "b!b\"e!!e!!ge!\"o$#o##w%y"
21
- ];
22
- const __ΩPick = [
23
- "T",
24
- "K",
25
- "Pick",
26
- "l+e#!e\"!fRb!b\"Pde\"\"N#!w#y"
27
- ];
28
- const __ΩExclude = [
29
- "T",
30
- "U",
31
- "Exclude",
32
- "l6!Re$!RPe#!e$\"qk#%QRb!b\"Pde\"!p)w#y"
33
- ];
34
11
  /**
35
12
  * The `locatePackageJson` handler function declaration code for the Shell Shock project.
36
13
  */
37
14
  function LocatePackageJsonFunctionDeclaration() {
38
- const context = (_powerlines_plugin_alloy_core_contexts_context.usePowerlines.Ω = [["UpdatePluginContext", "\"w!"]], (0, _powerlines_plugin_alloy_core_contexts_context.usePowerlines)());
15
+ const context = (0, _shell_shock_core_contexts_power_plant.usePowerlines)();
39
16
  return [
40
17
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceDeclaration, {
41
18
  "export": true,
@@ -43,13 +20,13 @@ function LocatePackageJsonFunctionDeclaration() {
43
20
  doc: "Options for the `locatePackageJson` handler function.",
44
21
  get children() {
45
22
  return [
46
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
23
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
47
24
  name: "cwd",
48
25
  type: "string",
49
26
  doc: "The current working directory to use. If not provided, the process's current working directory will be used."
50
27
  }),
51
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
52
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
28
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
29
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
53
30
  name: "isDependencyRequired",
54
31
  type: "boolean",
55
32
  doc: "Whether to only locate a package.json file if it contains the application as a dependency. If set to `true`, the function will check if the located package.json file has the application listed as a dependency in its dependencies, devDependencies, peerDependencies, or optionalDependencies before returning its path. This can be useful in monorepo setups where multiple package.json files may exist, but only the one that includes the application as a dependency is relevant for update purposes."
@@ -57,18 +34,18 @@ function LocatePackageJsonFunctionDeclaration() {
57
34
  ];
58
35
  }
59
36
  }),
60
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
61
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDoc, {
37
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
38
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDoc, {
62
39
  heading: "Locate the package.json file currently being used by the command-line/workspace.",
63
40
  get children() {
64
41
  return [
65
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocRemarks, { children: `This function is used to determine the package.json file currently being used by the command-line/workspace. It can be used in the CLI update command to check if the application is using npm, yarn, or another package manager.` }),
66
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
67
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocParam, {
42
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocRemarks, { children: `This function is used to determine the package.json file currently being used by the command-line/workspace. It can be used in the CLI update command to check if the application is using npm, yarn, or another package manager.` }),
43
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
44
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocParam, {
68
45
  name: "options",
69
46
  children: `The options for the \`locatePackageJson\` function. Currently, there are no options available, but this parameter is included for future extensibility.`
70
47
  }),
71
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocReturns, { children: `A promise that resolves to the package.json file currently being used by the command-line/workspace as a string.` })
48
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocReturns, { children: `A promise that resolves to the package.json file currently being used by the command-line/workspace as a string.` })
72
49
  ];
73
50
  }
74
51
  }),
@@ -96,7 +73,7 @@ function LocatePackageJsonFunctionDeclaration() {
96
73
  name: "parentPath",
97
74
  initializer: _alloy_js_core.code`resolve(currentPath, ".."); `
98
75
  }),
99
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
76
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
100
77
  _alloy_js_core.code`while (parentPath !== currentPath && currentPath !== homePath && currentPath !== tempPath) { `,
101
78
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
102
79
  "const": true,
@@ -133,11 +110,6 @@ function LocatePackageJsonFunctionDeclaration() {
133
110
  })
134
111
  ];
135
112
  }
136
- LocatePackageJsonFunctionDeclaration.__type = [
137
- "LocatePackageJsonFunctionDeclaration",
138
- "The `locatePackageJson` handler function declaration code for the Shell Shock project.",
139
- "P\"/!?\""
140
- ];
141
113
  /**
142
114
  * The `locateLockfile` handler function declaration code for the Shell Shock project.
143
115
  */
@@ -148,25 +120,25 @@ function LocateLockfileFunctionDeclaration() {
148
120
  name: "LocateLockfileOptions",
149
121
  doc: "Options for the `locateLockfile` handler function.",
150
122
  get children() {
151
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
123
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
152
124
  name: "cwd",
153
125
  type: "string",
154
126
  doc: "The current working directory to use. If not provided, the process's current working directory will be used."
155
127
  });
156
128
  }
157
129
  }),
158
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
159
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDoc, {
130
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
131
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDoc, {
160
132
  heading: "Locate the lockfile currently being used by the command-line/workspace.",
161
133
  get children() {
162
134
  return [
163
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocRemarks, { children: `This function is used to determine the lockfile currently being used by the command-line/workspace. It can be used in the CLI update command to check if the application is using npm, yarn, or another package manager.` }),
164
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
165
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocParam, {
135
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocRemarks, { children: `This function is used to determine the lockfile currently being used by the command-line/workspace. It can be used in the CLI update command to check if the application is using npm, yarn, or another package manager.` }),
136
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
137
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocParam, {
166
138
  name: "options",
167
139
  children: `The options for the \`locateLockfile\` function. Currently, there are no options available, but this parameter is included for future extensibility.`
168
140
  }),
169
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocReturns, { children: `A promise that resolves to the lockfile currently being used by the command-line/workspace as a string.` })
141
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocReturns, { children: `A promise that resolves to the lockfile currently being used by the command-line/workspace as a string.` })
170
142
  ];
171
143
  }
172
144
  }),
@@ -193,7 +165,7 @@ function LocateLockfileFunctionDeclaration() {
193
165
  name: "parentPath",
194
166
  initializer: _alloy_js_core.code`resolve(currentPath, ".."); `
195
167
  }),
196
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
168
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
197
169
  _alloy_js_core.code`while (parentPath !== currentPath && currentPath !== homePath && currentPath !== tempPath) { `,
198
170
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
199
171
  "const": true,
@@ -226,35 +198,30 @@ function LocateLockfileFunctionDeclaration() {
226
198
  })
227
199
  ];
228
200
  }
229
- LocateLockfileFunctionDeclaration.__type = [
230
- "LocateLockfileFunctionDeclaration",
231
- "The `locateLockfile` handler function declaration code for the Shell Shock project.",
232
- "P\"/!?\""
233
- ];
234
201
  /**
235
202
  * The `getPackageManager` handler function declaration code for the Shell Shock project.
236
203
  */
237
204
  function GetPackageManagerFunctionDeclaration() {
238
205
  return [
239
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
240
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TypeDeclaration, {
206
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
207
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TypeDeclaration, {
241
208
  "export": true,
242
209
  name: "GetPackageManagerOptions",
243
210
  doc: "Options for the `getPackageManager` handler function.",
244
211
  children: _alloy_js_core.code`LocateLockfileOptions;`
245
212
  }),
246
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
247
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDoc, {
213
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
214
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDoc, {
248
215
  heading: "Get the package manager currently being used by the command-line/workspace.",
249
216
  get children() {
250
217
  return [
251
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocRemarks, { children: `This function is used to determine the package manager currently being used by the command-line/workspace. It can be used in the CLI update command to check if the application is using npm, yarn, or another package manager.` }),
252
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
253
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocParam, {
218
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocRemarks, { children: `This function is used to determine the package manager currently being used by the command-line/workspace. It can be used in the CLI update command to check if the application is using npm, yarn, or another package manager.` }),
219
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
220
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocParam, {
254
221
  name: "options",
255
222
  children: `The options for the \`getPackageManager\` function. Currently, there are no options available, but this parameter is included for future extensibility.`
256
223
  }),
257
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocReturns, { children: `A promise that resolves to the package manager currently being used by the command-line/workspace as a string.` })
224
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocReturns, { children: `A promise that resolves to the package manager currently being used by the command-line/workspace as a string.` })
258
225
  ];
259
226
  }
260
227
  }),
@@ -283,7 +250,7 @@ function GetPackageManagerFunctionDeclaration() {
283
250
  type: "string",
284
251
  initializer: _alloy_js_core.code`process.env.npm_execpath ?? ""; `
285
252
  }),
286
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
253
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
287
254
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.IfStatement, {
288
255
  condition: _alloy_js_core.code`userAgent.startsWith("yarn") || execPath.includes("yarn")`,
289
256
  children: _alloy_js_core.code`return "yarn"; `
@@ -303,7 +270,7 @@ function GetPackageManagerFunctionDeclaration() {
303
270
  name: "lockfilePath",
304
271
  initializer: _alloy_js_core.code`locateLockfile(options); `
305
272
  }),
306
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
273
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
307
274
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.IfStatement, {
308
275
  condition: _alloy_js_core.code`lockfilePath === "yarn.lock"`,
309
276
  children: _alloy_js_core.code`return "yarn"; `
@@ -340,7 +307,7 @@ function GetPackageManagerFunctionDeclaration() {
340
307
  condition: _alloy_js_core.code`packageJson.devEngines?.packageManager?.name && typeof packageJson.devEngines.packageManager.name === "string" && ["npm", "yarn", "pnpm", "deno", "bun"].includes(packageJson.devEngines.packageManager.name)`,
341
308
  children: _alloy_js_core.code`return packageJson.devEngines.packageManager.name; `
342
309
  }),
343
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
310
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
344
311
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
345
312
  "const": true,
346
313
  name: "dependencies",
@@ -370,7 +337,7 @@ function GetPackageManagerFunctionDeclaration() {
370
337
  ];
371
338
  }
372
339
  }),
373
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
340
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
374
341
  _alloy_js_core.code`return "npm"; `
375
342
  ];
376
343
  } })
@@ -381,11 +348,6 @@ function GetPackageManagerFunctionDeclaration() {
381
348
  })
382
349
  ];
383
350
  }
384
- GetPackageManagerFunctionDeclaration.__type = [
385
- "GetPackageManagerFunctionDeclaration",
386
- "The `getPackageManager` handler function declaration code for the Shell Shock project.",
387
- "P\"/!?\""
388
- ];
389
351
  /**
390
352
  * The `fetchNpmPackage` handler function declaration code for the Shell Shock project.
391
353
  */
@@ -397,13 +359,13 @@ function FetchNpmPackageFunctionDeclaration() {
397
359
  doc: "Represents a maintainer of an npm package.",
398
360
  get children() {
399
361
  return [
400
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
362
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
401
363
  name: "email",
402
364
  type: "string",
403
365
  doc: "The email of the npm package maintainer."
404
366
  }),
405
367
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
406
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
368
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
407
369
  name: "username",
408
370
  type: "string",
409
371
  doc: "The username of the npm package maintainer."
@@ -411,32 +373,32 @@ function FetchNpmPackageFunctionDeclaration() {
411
373
  ];
412
374
  }
413
375
  }),
414
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
376
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
415
377
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceDeclaration, {
416
378
  "export": true,
417
379
  name: "NpmPackageLinks",
418
380
  doc: "Represents the links of an npm package.",
419
381
  get children() {
420
382
  return [
421
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
383
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
422
384
  name: "homepage",
423
385
  type: "string",
424
386
  doc: "The homepage of the npm package."
425
387
  }),
426
388
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
427
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
389
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
428
390
  name: "repository",
429
391
  type: "string",
430
392
  doc: "The repository of the npm package."
431
393
  }),
432
394
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
433
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
395
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
434
396
  name: "bugs",
435
397
  type: "string",
436
398
  doc: "The bugs page of the npm package."
437
399
  }),
438
400
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
439
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
401
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
440
402
  name: "npm",
441
403
  type: "string",
442
404
  doc: "The npm page of the npm package."
@@ -444,56 +406,56 @@ function FetchNpmPackageFunctionDeclaration() {
444
406
  ];
445
407
  }
446
408
  }),
447
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
409
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
448
410
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceDeclaration, {
449
411
  "export": true,
450
412
  name: "NpmPackage",
451
413
  doc: "Represents an npm package.",
452
414
  get children() {
453
415
  return [
454
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
416
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
455
417
  name: "name",
456
418
  type: "string",
457
419
  doc: "The name of the npm package."
458
420
  }),
459
421
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
460
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
422
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
461
423
  name: "date",
462
424
  type: "Date",
463
425
  doc: "The date when the npm package was last updated."
464
426
  }),
465
427
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
466
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
428
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
467
429
  name: "version",
468
430
  type: "string",
469
431
  doc: "The version of the npm package."
470
432
  }),
471
433
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
472
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
434
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
473
435
  name: "description",
474
436
  type: "string",
475
437
  doc: "The description of the npm package."
476
438
  }),
477
439
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
478
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
440
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
479
441
  name: "keywords",
480
442
  type: "string[]",
481
443
  doc: "A list of keywords associated with the npm package."
482
444
  }),
483
445
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
484
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
446
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
485
447
  name: "license",
486
448
  type: "string",
487
449
  doc: "The license of the npm package."
488
450
  }),
489
451
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
490
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
452
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
491
453
  name: "maintainers",
492
454
  type: "NpmPackageMaintainer[]",
493
455
  doc: "The maintainers of the npm package."
494
456
  }),
495
457
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
496
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
458
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
497
459
  name: "links",
498
460
  type: "NpmPackageLinks",
499
461
  doc: "The links of the npm package."
@@ -502,44 +464,44 @@ function FetchNpmPackageFunctionDeclaration() {
502
464
  ];
503
465
  }
504
466
  }),
505
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
467
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
506
468
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceDeclaration, {
507
469
  "export": true,
508
470
  name: "NpmPackageSearchResultItem",
509
471
  doc: "Represents an npm package search result item.",
510
472
  get children() {
511
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
473
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
512
474
  name: "package",
513
475
  type: "NpmPackage",
514
476
  doc: "The npm package details."
515
477
  });
516
478
  }
517
479
  }),
518
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
480
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
519
481
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceDeclaration, {
520
482
  "export": true,
521
483
  name: "NpmPackageSearchResult",
522
484
  doc: "Represents an npm package search result.",
523
485
  get children() {
524
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
486
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
525
487
  name: "objects",
526
488
  type: "NpmPackageSearchResultItem[]",
527
489
  doc: "The list of npm package search result items."
528
490
  });
529
491
  }
530
492
  }),
531
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
532
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDoc, {
493
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
494
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDoc, {
533
495
  heading: "Fetch details of an npm package.",
534
496
  get children() {
535
497
  return [
536
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocRemarks, { children: `This function is used to fetch an npm package. It can be used in the CLI update command to check if the application is using npm, yarn, or another package manager.` }),
537
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
538
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocParam, {
498
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocRemarks, { children: `This function is used to fetch an npm package. It can be used in the CLI update command to check if the application is using npm, yarn, or another package manager.` }),
499
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
500
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocParam, {
539
501
  name: "packageName",
540
502
  children: `The name of the npm package to fetch.`
541
503
  }),
542
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocReturns, { children: `A promise that resolves to the npm package details or undefined if the package is not found.` })
504
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocReturns, { children: `A promise that resolves to the npm package details or undefined if the package is not found.` })
543
505
  ];
544
506
  }
545
507
  }),
@@ -570,27 +532,22 @@ function FetchNpmPackageFunctionDeclaration() {
570
532
  })
571
533
  ];
572
534
  }
573
- FetchNpmPackageFunctionDeclaration.__type = [
574
- "FetchNpmPackageFunctionDeclaration",
575
- "The `fetchNpmPackage` handler function declaration code for the Shell Shock project.",
576
- "P\"/!?\""
577
- ];
578
535
  /**
579
536
  * The `getLatestVersion` handler function declaration code for the Shell Shock project.
580
537
  */
581
538
  function GetLatestVersionFunctionDeclaration() {
582
- const context = (_powerlines_plugin_alloy_core_contexts_context.usePowerlines.Ω = [["UpdatePluginContext", "\"w!"]], (0, _powerlines_plugin_alloy_core_contexts_context.usePowerlines)());
583
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDoc, {
539
+ const context = (0, _shell_shock_core_contexts_power_plant.usePowerlines)();
540
+ return [(0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDoc, {
584
541
  heading: "Get the latest version of the application from the npm registry.",
585
542
  get children() {
586
543
  return [
587
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocRemarks, { children: `This function is used to retrieve the latest version of the application from the npm registry. It can be used in the CLI update command to check if there is a newer version of the application available.` }),
588
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
589
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocParam, {
544
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocRemarks, { children: `This function is used to retrieve the latest version of the application from the npm registry. It can be used in the CLI update command to check if there is a newer version of the application available.` }),
545
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
546
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocParam, {
590
547
  name: "packageName",
591
548
  children: `The name of the npm package to fetch.`
592
549
  }),
593
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocReturns, { children: `A promise that resolves to the latest version of the specified npm package as a string.` })
550
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocReturns, { children: `A promise that resolves to the latest version of the specified npm package as a string.` })
594
551
  ];
595
552
  }
596
553
  }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.FunctionDeclaration, {
@@ -611,37 +568,32 @@ function GetLatestVersionFunctionDeclaration() {
611
568
  name: "result",
612
569
  initializer: _alloy_js_core.code`await fetchNpmPackage(packageName); `
613
570
  }),
614
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
571
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
615
572
  _alloy_js_core.code`return result?.version; `
616
573
  ];
617
574
  }
618
575
  })];
619
576
  }
620
- GetLatestVersionFunctionDeclaration.__type = [
621
- "GetLatestVersionFunctionDeclaration",
622
- "The `getLatestVersion` handler function declaration code for the Shell Shock project.",
623
- "P\"/!?\""
624
- ];
625
577
  /**
626
578
  * The `update` handler function declaration code for the Shell Shock project.
627
579
  */
628
580
  function GetUpdateCommandFunctionDeclaration() {
629
- const context = (_powerlines_plugin_alloy_core_contexts_context.usePowerlines.Ω = [["UpdatePluginContext", "\"w!"]], (0, _powerlines_plugin_alloy_core_contexts_context.usePowerlines)());
630
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDoc, {
581
+ const context = (0, _shell_shock_core_contexts_power_plant.usePowerlines)();
582
+ return [(0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDoc, {
631
583
  heading: "A function to get the update command for a specific package manager.",
632
584
  get children() {
633
585
  return [
634
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocRemarks, { children: `This function is used to get the appropriate update command for a specific package manager. It can be used in the CLI update command to determine which command to run based on the package manager being used by the application.` }),
635
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
636
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocParam, {
586
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocRemarks, { children: `This function is used to get the appropriate update command for a specific package manager. It can be used in the CLI update command to determine which command to run based on the package manager being used by the application.` }),
587
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
588
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocParam, {
637
589
  name: "packageManager",
638
590
  children: `The name of the package manager to get the update command for. This should be one of "npm", "yarn", "pnpm", "deno", or "bun".`
639
591
  }),
640
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocParam, {
592
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocParam, {
641
593
  name: "cwd",
642
594
  children: `The current working directory to use when determining the update command. This can be used to locate the appropriate package.json and lockfile to determine how to run the update command. If not provided, the process's current working directory will be used.`
643
595
  }),
644
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocReturns, { children: `An array of strings representing the command and its arguments to run in order to update the application dependencies using the specified package manager.` })
596
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocReturns, { children: `An array of strings representing the command and its arguments to run in order to update the application dependencies using the specified package manager.` })
645
597
  ];
646
598
  }
647
599
  }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.FunctionDeclaration, {
@@ -666,7 +618,7 @@ function GetUpdateCommandFunctionDeclaration() {
666
618
  return _alloy_js_core.code`(await getLatestVersion("${context.packageJson.name}")) || "latest"; `;
667
619
  }
668
620
  }),
669
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
621
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
670
622
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.IfStatement, {
671
623
  condition: _alloy_js_core.code`packageManager === "yarn"`,
672
624
  get children() {
@@ -698,11 +650,6 @@ function GetUpdateCommandFunctionDeclaration() {
698
650
  }
699
651
  })];
700
652
  }
701
- GetUpdateCommandFunctionDeclaration.__type = [
702
- "GetUpdateCommandFunctionDeclaration",
703
- "The `update` handler function declaration code for the Shell Shock project.",
704
- "P\"/!?\""
705
- ];
706
653
  /**
707
654
  * The `update` handler function declaration code for the Shell Shock project.
708
655
  */
@@ -713,13 +660,13 @@ function UpdateFunctionDeclaration() {
713
660
  doc: "Options for the `update` handler function.",
714
661
  get children() {
715
662
  return [
716
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
663
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
717
664
  name: "stdout",
718
665
  type: "(data: string) => void",
719
666
  doc: "A callback function that is called with the stdout output of the command."
720
667
  }),
721
668
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
722
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
669
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
723
670
  name: "stderr",
724
671
  type: "(err: string) => void",
725
672
  doc: "A callback function that is called with the stderr output of the command."
@@ -727,25 +674,25 @@ function UpdateFunctionDeclaration() {
727
674
  ];
728
675
  }
729
676
  }),
730
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
731
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TypeDeclaration, {
677
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
678
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TypeDeclaration, {
732
679
  "export": true,
733
680
  name: "UpdateOptions",
734
681
  doc: "Options for the `update` handler function.",
735
682
  children: _alloy_js_core.code`UpdateBaseOptions & GetPackageManagerOptions & Parameters<typeof spawn>[1];`
736
683
  }),
737
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
738
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDoc, {
684
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
685
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDoc, {
739
686
  heading: "Update the application dependencies.",
740
687
  get children() {
741
688
  return [
742
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocRemarks, { children: `This function is used to update the application dependencies. It can be used in the CLI update command to ensure that all necessary dependencies are up-to-date.` }),
743
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
744
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocParam, {
689
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocRemarks, { children: `This function is used to update the application dependencies. It can be used in the CLI update command to ensure that all necessary dependencies are up-to-date.` }),
690
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
691
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocParam, {
745
692
  name: "options",
746
693
  children: `The options for the \`update\` function. Currently, there are no options available, but this parameter is included for future extensibility.`
747
694
  }),
748
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocReturns, { children: `A promise that resolves when the update of dependencies is complete.` })
695
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocReturns, { children: `A promise that resolves when the update of dependencies is complete.` })
749
696
  ];
750
697
  }
751
698
  }),
@@ -765,7 +712,7 @@ function UpdateFunctionDeclaration() {
765
712
  name: "packageManager",
766
713
  initializer: _alloy_js_core.code`await getPackageManager(options); `
767
714
  }),
768
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
715
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
769
716
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
770
717
  "const": true,
771
718
  name: "args",
@@ -801,22 +748,17 @@ function UpdateFunctionDeclaration() {
801
748
  })
802
749
  ];
803
750
  }
804
- UpdateFunctionDeclaration.__type = [
805
- "UpdateFunctionDeclaration",
806
- "The `update` handler function declaration code for the Shell Shock project.",
807
- "P\"/!?\""
808
- ];
809
751
  /**
810
752
  * The `updateVersionCheckFile` handler function declaration code for the Shell Shock project.
811
753
  */
812
754
  function UpdateVersionCheckFileFunctionDeclaration() {
813
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDoc, {
755
+ return [(0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDoc, {
814
756
  heading: "A helper function that updates the version check file.",
815
757
  get children() {
816
758
  return [
817
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocRemarks, { children: `This function is used to update the version check file with the current timestamp. It can be used in the CLI update command to record the last time a check for updates was performed. The function writes a "update-check.json" file in the data directory, which contains a timestamp of the last check for updates.` }),
818
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
819
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocReturns, { children: `A promise that resolves to a boolean indicating whether a check for updates is required.` })
759
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocRemarks, { children: `This function is used to update the version check file with the current timestamp. It can be used in the CLI update command to record the last time a check for updates was performed. The function writes a "update-check.json" file in the data directory, which contains a timestamp of the last check for updates.` }),
760
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
761
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocReturns, { children: `A promise that resolves to a boolean indicating whether a check for updates is required.` })
820
762
  ];
821
763
  }
822
764
  }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.FunctionDeclaration, {
@@ -832,23 +774,18 @@ function UpdateVersionCheckFileFunctionDeclaration() {
832
774
  }
833
775
  })];
834
776
  }
835
- UpdateVersionCheckFileFunctionDeclaration.__type = [
836
- "UpdateVersionCheckFileFunctionDeclaration",
837
- "The `updateVersionCheckFile` handler function declaration code for the Shell Shock project.",
838
- "P\"/!?\""
839
- ];
840
777
  /**
841
778
  * The `isCheckForUpdatesRequired` handler function declaration code for the Shell Shock project.
842
779
  */
843
780
  function IsCheckForUpdatesRequiredFunctionDeclaration() {
844
- const context = (_powerlines_plugin_alloy_core_contexts_context.usePowerlines.Ω = [["UpdatePluginContext", "\"w!"]], (0, _powerlines_plugin_alloy_core_contexts_context.usePowerlines)());
845
- return [(0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDoc, {
781
+ const context = (0, _shell_shock_core_contexts_power_plant.usePowerlines)();
782
+ return [(0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDoc, {
846
783
  heading: "A helper function that verifies if a check for updates is required.",
847
784
  get children() {
848
785
  return [
849
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocRemarks, { children: `This function is used to determine if a check for updates is required based on the last time a check was performed. It can be used in the CLI update command to avoid unnecessary checks for updates if one was recently performed. The function checks for the existence of a "update-check.json" file in the data directory, which contains a timestamp of the last check for updates. If the file does not exist or if the timestamp is older than a specified stale time, the function will return true, indicating that a check for updates is required. Otherwise, it will return false.` }),
850
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
851
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocReturns, { children: `A promise that resolves to a boolean indicating whether a check for updates is required.` })
786
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocRemarks, { children: `This function is used to determine if a check for updates is required based on the last time a check was performed. It can be used in the CLI update command to avoid unnecessary checks for updates if one was recently performed. The function checks for the existence of a "update-check.json" file in the data directory, which contains a timestamp of the last check for updates. If the file does not exist or if the timestamp is older than a specified stale time, the function will return true, indicating that a check for updates is required. Otherwise, it will return false.` }),
787
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
788
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocReturns, { children: `A promise that resolves to a boolean indicating whether a check for updates is required.` })
852
789
  ];
853
790
  }
854
791
  }), (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.FunctionDeclaration, {
@@ -861,7 +798,7 @@ function IsCheckForUpdatesRequiredFunctionDeclaration() {
861
798
  condition: _alloy_js_core.code`!isInteractive || isCI || env.SKIP_UPDATE_CHECK`,
862
799
  children: _alloy_js_core.code`return false; `
863
800
  }),
864
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
801
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
865
802
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
866
803
  "const": true,
867
804
  name: "filePath",
@@ -897,16 +834,11 @@ function IsCheckForUpdatesRequiredFunctionDeclaration() {
897
834
  }
898
835
  })];
899
836
  }
900
- IsCheckForUpdatesRequiredFunctionDeclaration.__type = [
901
- "IsCheckForUpdatesRequiredFunctionDeclaration",
902
- "The `isCheckForUpdatesRequired` handler function declaration code for the Shell Shock project.",
903
- "P\"/!?\""
904
- ];
905
837
  /**
906
838
  * The `checkForUpdates` handler function declaration code for the Shell Shock project.
907
839
  */
908
840
  function CheckForUpdatesFunctionDeclaration() {
909
- const context = (_powerlines_plugin_alloy_core_contexts_context.usePowerlines.Ω = [["UpdatePluginContext", "\"w!"]], (0, _powerlines_plugin_alloy_core_contexts_context.usePowerlines)());
841
+ const context = (0, _shell_shock_core_contexts_power_plant.usePowerlines)();
910
842
  return [
911
843
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceDeclaration, {
912
844
  "export": true,
@@ -914,49 +846,49 @@ function CheckForUpdatesFunctionDeclaration() {
914
846
  "extends": "GetPackageManagerOptions",
915
847
  doc: "Options for the `checkForUpdates` handler function.",
916
848
  get children() {
917
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
849
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
918
850
  name: "force",
919
851
  type: "boolean",
920
852
  doc: "Whether to force a check for updates regardless of the last check timestamp. If set to `true`, the function will bypass the timestamp check and perform a check for updates, updating the timestamp in the process. This can be useful if you want to ensure that a check for updates is performed even if one was recently done, such as when the user explicitly requests it or when certain conditions are met that warrant an immediate check."
921
853
  });
922
854
  }
923
855
  }),
924
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
856
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
925
857
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceDeclaration, {
926
858
  name: "CheckForUpdatesBaseResult",
927
859
  get children() {
928
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
860
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
929
861
  name: "isError",
930
862
  type: "boolean",
931
863
  doc: "Indicates whether an error occurred while checking for updates."
932
864
  });
933
865
  }
934
866
  }),
935
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
867
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
936
868
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceDeclaration, {
937
869
  name: "CheckForUpdatesSuccessResult",
938
870
  "extends": "CheckForUpdatesBaseResult",
939
871
  get children() {
940
872
  return [
941
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
873
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
942
874
  name: "latestVersion",
943
875
  type: "string",
944
876
  doc: "The latest version of the application dependencies."
945
877
  }),
946
878
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
947
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
879
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
948
880
  name: "currentVersion",
949
881
  type: "string",
950
882
  doc: "The current version of the application dependencies."
951
883
  }),
952
884
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
953
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
885
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
954
886
  name: "isUpToDate",
955
887
  type: "boolean",
956
888
  doc: "Indicates whether the application dependencies are up-to-date."
957
889
  }),
958
890
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
959
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
891
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
960
892
  name: "package",
961
893
  type: "NpmPackage",
962
894
  doc: "The npm package that was checked for updates."
@@ -964,37 +896,37 @@ function CheckForUpdatesFunctionDeclaration() {
964
896
  ];
965
897
  }
966
898
  }),
967
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
899
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
968
900
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceDeclaration, {
969
901
  name: "CheckForUpdatesErrorResult",
970
902
  "extends": "CheckForUpdatesBaseResult",
971
903
  get children() {
972
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
904
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
973
905
  name: "error",
974
906
  type: "Error",
975
907
  doc: "The error that occurred while checking for updates."
976
908
  });
977
909
  }
978
910
  }),
979
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
980
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TypeDeclaration, {
911
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
912
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TypeDeclaration, {
981
913
  "export": true,
982
914
  name: "CheckForUpdatesResult",
983
915
  doc: "The result for the `checkForUpdates` handler function.",
984
916
  children: _alloy_js_core.code`CheckForUpdatesSuccessResult | CheckForUpdatesErrorResult;`
985
917
  }),
986
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
987
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDoc, {
918
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
919
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDoc, {
988
920
  heading: "Check for updates to the application dependencies.",
989
921
  get children() {
990
922
  return [
991
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocRemarks, { children: `This function is used to check for updates to the application dependencies. It can be used in the CLI update command to ensure that all necessary dependencies are up-to-date.` }),
992
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
993
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocParam, {
923
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocRemarks, { children: `This function is used to check for updates to the application dependencies. It can be used in the CLI update command to ensure that all necessary dependencies are up-to-date.` }),
924
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
925
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocParam, {
994
926
  name: "options",
995
927
  children: `The options for the \`checkForUpdates\` function. Currently, there are no options available, but this parameter is included for future extensibility.`
996
928
  }),
997
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocReturns, { children: `A promise that resolves when the check for updates is complete or undefined if the check was not performed.` })
929
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocReturns, { children: `A promise that resolves when the check for updates is complete or undefined if the check was not performed.` })
998
930
  ];
999
931
  }
1000
932
  }),
@@ -1021,7 +953,7 @@ function CheckForUpdatesFunctionDeclaration() {
1021
953
  }; `;
1022
954
  }
1023
955
  }),
1024
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
956
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1025
957
  _alloy_js_core.code`try { `,
1026
958
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
1027
959
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
@@ -1031,7 +963,7 @@ function CheckForUpdatesFunctionDeclaration() {
1031
963
  return _alloy_js_core.code`await fetchNpmPackage("${context.packageJson.name}"); `;
1032
964
  }
1033
965
  }),
1034
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
966
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1035
967
  (0, _alloy_js_core_jsx_runtime.memo)(() => _alloy_js_core.code`
1036
968
  return {
1037
969
  latestVersion: pkg?.version || "${context.packageJson.version}",
@@ -1048,16 +980,11 @@ function CheckForUpdatesFunctionDeclaration() {
1048
980
  })
1049
981
  ];
1050
982
  }
1051
- CheckForUpdatesFunctionDeclaration.__type = [
1052
- "CheckForUpdatesFunctionDeclaration",
1053
- "The `checkForUpdates` handler function declaration code for the Shell Shock project.",
1054
- "P\"/!?\""
1055
- ];
1056
983
  /**
1057
984
  * The `getChangelog` handler function declaration code for the Shell Shock project.
1058
985
  */
1059
986
  function GetChangelogFunctionDeclaration() {
1060
- const context = (_powerlines_plugin_alloy_core_contexts_context.usePowerlines.Ω = [["UpdatePluginContext", "\"w!"]], (0, _powerlines_plugin_alloy_core_contexts_context.usePowerlines)());
987
+ const context = (0, _shell_shock_core_contexts_power_plant.usePowerlines)();
1061
988
  return [
1062
989
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.InterfaceDeclaration, {
1063
990
  "export": true,
@@ -1065,13 +992,13 @@ function GetChangelogFunctionDeclaration() {
1065
992
  doc: "Options for the `getChangelog` handler function.",
1066
993
  get children() {
1067
994
  return [
1068
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
995
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
1069
996
  name: "start",
1070
997
  type: "string",
1071
998
  doc: "The starting version for the changelog."
1072
999
  }),
1073
1000
  (0, _alloy_js_core_jsx_runtime.createIntrinsic)("hbr", {}),
1074
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.InterfaceMember, {
1001
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.InterfaceMember, {
1075
1002
  name: "end",
1076
1003
  type: "string",
1077
1004
  doc: "The ending version for the changelog."
@@ -1080,18 +1007,18 @@ function GetChangelogFunctionDeclaration() {
1080
1007
  ];
1081
1008
  }
1082
1009
  }),
1083
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1084
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDoc, {
1010
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1011
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDoc, {
1085
1012
  heading: "Get the changelog for the application dependencies.",
1086
1013
  get children() {
1087
1014
  return [
1088
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocRemarks, { children: `This function is used to get the changelog for the application dependencies. It can be used in the CLI update command to view the changes between versions.` }),
1089
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1090
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocParam, {
1015
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocRemarks, { children: `This function is used to get the changelog for the application dependencies. It can be used in the CLI update command to view the changes between versions.` }),
1016
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1017
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocParam, {
1091
1018
  name: "options",
1092
1019
  children: `The options for the \`getChangelog\` function. Currently, there are no options available, but this parameter is included for future extensibility.`
1093
1020
  }),
1094
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TSDocReturns, { children: `A promise that resolves when the changelog is retrieved or undefined if the changelog was not retrieved.` })
1021
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_typescript.TSDocReturns, { children: `A promise that resolves when the changelog is retrieved or undefined if the changelog was not retrieved.` })
1095
1022
  ];
1096
1023
  }
1097
1024
  }),
@@ -1173,29 +1100,17 @@ function GetChangelogFunctionDeclaration() {
1173
1100
  })
1174
1101
  ];
1175
1102
  }
1176
- GetChangelogFunctionDeclaration.__type = [
1177
- "GetChangelogFunctionDeclaration",
1178
- "The `getChangelog` handler function declaration code for the Shell Shock project.",
1179
- "P\"/!?\""
1180
- ];
1181
- const __ΩUpdateBuiltinProps = [
1182
- () => __ΩOmit,
1183
- "id",
1184
- "description",
1185
- "UpdateBuiltinProps",
1186
- "P!P.\".#Jo!#Mw$y"
1187
- ];
1188
1103
  /**
1189
1104
  * A built-in update module for Shell Shock.
1190
1105
  */
1191
1106
  function UpdateBuiltin(props) {
1192
1107
  const [{ children }, rest] = (0, _alloy_js_core.splitProps)(props, ["children"]);
1193
- return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript_components_builtin_file.BuiltinFile, (0, _alloy_js_core_jsx_runtime.mergeProps)({
1108
+ return (0, _alloy_js_core_jsx_runtime.createComponent)(_shell_shock_core_contexts_power_plant.BuiltinFile, (0, _alloy_js_core_jsx_runtime.mergeProps)({
1194
1109
  id: "update",
1195
1110
  description: "A collection of application update utility functions for Shell Shock."
1196
1111
  }, rest, {
1197
1112
  get imports() {
1198
- return (0, defu.default)(rest.imports ?? {}, {
1113
+ return (0, defu.defu)(rest.imports ?? {}, {
1199
1114
  "node:os": "os",
1200
1115
  "node:path": ["join", "resolve"],
1201
1116
  "node:fs": ["existsSync"],
@@ -1208,7 +1123,7 @@ function UpdateBuiltin(props) {
1208
1123
  });
1209
1124
  },
1210
1125
  get builtinImports() {
1211
- return (0, defu.default)(rest.builtinImports ?? {}, {
1126
+ return (0, defu.defu)(rest.builtinImports ?? {}, {
1212
1127
  console: [
1213
1128
  "error",
1214
1129
  "verbose",
@@ -1241,34 +1156,34 @@ function UpdateBuiltin(props) {
1241
1156
  type: "string",
1242
1157
  initializer: _alloy_js_core.code`os.homedir(); `
1243
1158
  }),
1244
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1159
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1245
1160
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_typescript.VarDeclaration, {
1246
1161
  "const": true,
1247
1162
  name: "tempPath",
1248
1163
  type: "string",
1249
1164
  initializer: _alloy_js_core.code`os.tmpdir(); `
1250
1165
  }),
1251
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1166
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1252
1167
  (0, _alloy_js_core_jsx_runtime.createComponent)(LocatePackageJsonFunctionDeclaration, {}),
1253
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1168
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1254
1169
  (0, _alloy_js_core_jsx_runtime.createComponent)(LocateLockfileFunctionDeclaration, {}),
1255
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1170
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1256
1171
  (0, _alloy_js_core_jsx_runtime.createComponent)(GetPackageManagerFunctionDeclaration, {}),
1257
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1172
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1258
1173
  (0, _alloy_js_core_jsx_runtime.createComponent)(FetchNpmPackageFunctionDeclaration, {}),
1259
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1174
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1260
1175
  (0, _alloy_js_core_jsx_runtime.createComponent)(GetLatestVersionFunctionDeclaration, {}),
1261
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1176
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1262
1177
  (0, _alloy_js_core_jsx_runtime.createComponent)(GetUpdateCommandFunctionDeclaration, {}),
1263
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1178
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1264
1179
  (0, _alloy_js_core_jsx_runtime.createComponent)(UpdateFunctionDeclaration, {}),
1265
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1180
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1266
1181
  (0, _alloy_js_core_jsx_runtime.createComponent)(CheckForUpdatesFunctionDeclaration, {}),
1267
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1182
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1268
1183
  (0, _alloy_js_core_jsx_runtime.createComponent)(IsCheckForUpdatesRequiredFunctionDeclaration, {}),
1269
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1184
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1270
1185
  (0, _alloy_js_core_jsx_runtime.createComponent)(UpdateVersionCheckFileFunctionDeclaration, {}),
1271
- (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_core_components_spacing.Spacing, {}),
1186
+ (0, _alloy_js_core_jsx_runtime.createComponent)(_power_plant_alloy_js_core_components_spacing.Spacing, {}),
1272
1187
  (0, _alloy_js_core_jsx_runtime.createComponent)(_alloy_js_core.Show, {
1273
1188
  get when() {
1274
1189
  return Boolean(children);
@@ -1279,13 +1194,6 @@ function UpdateBuiltin(props) {
1279
1194
  }
1280
1195
  }));
1281
1196
  }
1282
- UpdateBuiltin.__type = [
1283
- () => __ΩUpdateBuiltinProps,
1284
- "props",
1285
- "UpdateBuiltin",
1286
- "A built-in update module for Shell Shock.",
1287
- "Pn!2\"\"/#?$"
1288
- ];
1289
1197
 
1290
1198
  //#endregion
1291
1199
  exports.CheckForUpdatesFunctionDeclaration = CheckForUpdatesFunctionDeclaration;
@@ -1299,5 +1207,4 @@ exports.LocateLockfileFunctionDeclaration = LocateLockfileFunctionDeclaration;
1299
1207
  exports.LocatePackageJsonFunctionDeclaration = LocatePackageJsonFunctionDeclaration;
1300
1208
  exports.UpdateBuiltin = UpdateBuiltin;
1301
1209
  exports.UpdateFunctionDeclaration = UpdateFunctionDeclaration;
1302
- exports.UpdateVersionCheckFileFunctionDeclaration = UpdateVersionCheckFileFunctionDeclaration;
1303
- exports.__ΩUpdateBuiltinProps = __ΩUpdateBuiltinProps;
1210
+ exports.UpdateVersionCheckFileFunctionDeclaration = UpdateVersionCheckFileFunctionDeclaration;