@shell-shock/core 0.15.1 → 0.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api.cjs +10 -7
- package/dist/api.cjs.map +1 -1
- package/dist/api.d.cts +1 -1
- package/dist/api.d.cts.map +1 -1
- package/dist/api.d.mts +1 -1
- package/dist/api.d.mts.map +1 -1
- package/dist/api.mjs +11 -8
- package/dist/api.mjs.map +1 -1
- package/dist/components/helpers.cjs +1 -1
- package/dist/components/helpers.cjs.map +1 -1
- package/dist/components/helpers.mjs +1 -1
- package/dist/components/helpers.mjs.map +1 -1
- package/dist/components/index.cjs +8 -4
- package/dist/components/index.d.cts +4 -2
- package/dist/components/index.d.mts +4 -2
- package/dist/components/index.mjs +4 -2
- package/dist/components/options-parser-logic.cjs +68 -48
- package/dist/components/options-parser-logic.cjs.map +1 -1
- package/dist/components/options-parser-logic.d.cts.map +1 -1
- package/dist/components/options-parser-logic.d.mts.map +1 -1
- package/dist/components/options-parser-logic.mjs +68 -48
- package/dist/components/options-parser-logic.mjs.map +1 -1
- package/dist/components/spawn-builtin.cjs +656 -0
- package/dist/components/spawn-builtin.cjs.map +1 -0
- package/dist/components/spawn-builtin.d.cts +12 -0
- package/dist/components/spawn-builtin.d.cts.map +1 -0
- package/dist/components/spawn-builtin.d.mts +12 -0
- package/dist/components/spawn-builtin.d.mts.map +1 -0
- package/dist/components/spawn-builtin.mjs +653 -0
- package/dist/components/spawn-builtin.mjs.map +1 -0
- package/dist/components/state-builtin.cjs +545 -0
- package/dist/components/state-builtin.cjs.map +1 -0
- package/dist/components/state-builtin.d.cts +18 -0
- package/dist/components/state-builtin.d.cts.map +1 -0
- package/dist/components/state-builtin.d.mts +18 -0
- package/dist/components/state-builtin.d.mts.map +1 -0
- package/dist/components/state-builtin.mjs +539 -0
- package/dist/components/state-builtin.mjs.map +1 -0
- package/dist/components/utils-builtin.cjs +15 -509
- package/dist/components/utils-builtin.cjs.map +1 -1
- package/dist/components/utils-builtin.d.cts +1 -10
- package/dist/components/utils-builtin.d.cts.map +1 -1
- package/dist/components/utils-builtin.d.mts +1 -10
- package/dist/components/utils-builtin.d.mts.map +1 -1
- package/dist/components/utils-builtin.mjs +17 -508
- package/dist/components/utils-builtin.mjs.map +1 -1
- package/dist/config.cjs.map +1 -1
- package/dist/config.mjs.map +1 -1
- package/dist/contexts/options.cjs +9 -9
- package/dist/contexts/options.cjs.map +1 -1
- package/dist/contexts/options.d.cts +2 -2
- package/dist/contexts/options.d.cts.map +1 -1
- package/dist/contexts/options.d.mts +2 -2
- package/dist/contexts/options.d.mts.map +1 -1
- package/dist/contexts/options.mjs +9 -9
- package/dist/contexts/options.mjs.map +1 -1
- package/dist/index.cjs +2 -10
- package/dist/index.d.cts +1 -2
- package/dist/index.d.mts +1 -2
- package/dist/index.mjs +1 -7
- package/dist/plugin.cjs +17 -32
- package/dist/plugin.cjs.map +1 -1
- package/dist/plugin.d.cts +1 -1
- package/dist/plugin.d.cts.map +1 -1
- package/dist/plugin.d.mts +1 -1
- package/dist/plugin.d.mts.map +1 -1
- package/dist/plugin.mjs +16 -30
- package/dist/plugin.mjs.map +1 -1
- package/dist/resolver/resolve.cjs +1 -1
- package/dist/resolver/resolve.cjs.map +1 -1
- package/dist/resolver/resolve.mjs +1 -1
- package/dist/resolver/resolve.mjs.map +1 -1
- package/dist/types/config.cjs +3 -1
- package/dist/types/config.cjs.map +1 -1
- package/dist/types/config.d.cts +1 -1
- package/dist/types/config.d.cts.map +1 -1
- package/dist/types/config.d.mts +1 -1
- package/dist/types/config.d.mts.map +1 -1
- package/dist/types/config.mjs +3 -1
- package/dist/types/config.mjs.map +1 -1
- package/dist/types/env.cjs +2 -1
- package/dist/types/env.cjs.map +1 -1
- package/dist/types/env.d.cts +15 -0
- package/dist/types/env.d.cts.map +1 -1
- package/dist/types/env.d.mts +15 -0
- package/dist/types/env.d.mts.map +1 -1
- package/dist/types/env.mjs +2 -1
- package/dist/types/env.mjs.map +1 -1
- package/dist/types/index.cjs +0 -2
- package/dist/types/index.d.cts +1 -2
- package/dist/types/index.d.mts +1 -2
- package/dist/types/index.mjs +1 -2
- package/package.json +49 -35
- package/dist/index.cjs.map +0 -1
- package/dist/index.mjs.map +0 -1
- package/dist/types/runtime.cjs +0 -13
- package/dist/types/runtime.cjs.map +0 -1
- package/dist/types/runtime.d.cts +0 -14
- package/dist/types/runtime.d.cts.map +0 -1
- package/dist/types/runtime.d.mts +0 -14
- package/dist/types/runtime.d.mts.map +0 -1
- package/dist/types/runtime.mjs +0 -11
- package/dist/types/runtime.mjs.map +0 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shell-shock/core",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing the core Shell Shock functionality used to build and manage a command-line application.",
|
|
6
6
|
"keywords": ["shell-shock", "powerlines", "storm-software"],
|
|
@@ -129,6 +129,34 @@
|
|
|
129
129
|
"default": "./dist/components/options-parser-logic.mjs"
|
|
130
130
|
}
|
|
131
131
|
},
|
|
132
|
+
"./components/spawn-builtin": {
|
|
133
|
+
"require": {
|
|
134
|
+
"types": "./dist/components/spawn-builtin.d.cts",
|
|
135
|
+
"default": "./dist/components/spawn-builtin.cjs"
|
|
136
|
+
},
|
|
137
|
+
"import": {
|
|
138
|
+
"types": "./dist/components/spawn-builtin.d.mts",
|
|
139
|
+
"default": "./dist/components/spawn-builtin.mjs"
|
|
140
|
+
},
|
|
141
|
+
"default": {
|
|
142
|
+
"types": "./dist/components/spawn-builtin.d.mts",
|
|
143
|
+
"default": "./dist/components/spawn-builtin.mjs"
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
"./components/state-builtin": {
|
|
147
|
+
"require": {
|
|
148
|
+
"types": "./dist/components/state-builtin.d.cts",
|
|
149
|
+
"default": "./dist/components/state-builtin.cjs"
|
|
150
|
+
},
|
|
151
|
+
"import": {
|
|
152
|
+
"types": "./dist/components/state-builtin.d.mts",
|
|
153
|
+
"default": "./dist/components/state-builtin.mjs"
|
|
154
|
+
},
|
|
155
|
+
"default": {
|
|
156
|
+
"types": "./dist/components/state-builtin.d.mts",
|
|
157
|
+
"default": "./dist/components/state-builtin.mjs"
|
|
158
|
+
}
|
|
159
|
+
},
|
|
132
160
|
"./components/usage": {
|
|
133
161
|
"require": {
|
|
134
162
|
"types": "./dist/components/usage.d.cts",
|
|
@@ -325,20 +353,6 @@
|
|
|
325
353
|
"types": "./dist/types/options.d.mts",
|
|
326
354
|
"default": "./dist/types/options.mjs"
|
|
327
355
|
}
|
|
328
|
-
},
|
|
329
|
-
"./types/runtime": {
|
|
330
|
-
"require": {
|
|
331
|
-
"types": "./dist/types/runtime.d.cts",
|
|
332
|
-
"default": "./dist/types/runtime.cjs"
|
|
333
|
-
},
|
|
334
|
-
"import": {
|
|
335
|
-
"types": "./dist/types/runtime.d.mts",
|
|
336
|
-
"default": "./dist/types/runtime.mjs"
|
|
337
|
-
},
|
|
338
|
-
"default": {
|
|
339
|
-
"types": "./dist/types/runtime.d.mts",
|
|
340
|
-
"default": "./dist/types/runtime.mjs"
|
|
341
|
-
}
|
|
342
356
|
}
|
|
343
357
|
},
|
|
344
358
|
"main": "./dist/index.cjs",
|
|
@@ -350,39 +364,39 @@
|
|
|
350
364
|
"@alloy-js/core": "0.23.0-dev.8",
|
|
351
365
|
"@alloy-js/markdown": "0.23.0-dev.1",
|
|
352
366
|
"@alloy-js/typescript": "0.23.0-dev.4",
|
|
353
|
-
"@powerlines/deepkit": "^0.6.
|
|
354
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
355
|
-
"@powerlines/plugin-automd": "^0.1.
|
|
356
|
-
"@powerlines/plugin-deepkit": "^0.11.
|
|
357
|
-
"@powerlines/plugin-nodejs": "^0.1.
|
|
358
|
-
"@powerlines/plugin-tsdown": "^0.1.
|
|
367
|
+
"@powerlines/deepkit": "^0.6.167",
|
|
368
|
+
"@powerlines/plugin-alloy": "^0.26.9",
|
|
369
|
+
"@powerlines/plugin-automd": "^0.1.392",
|
|
370
|
+
"@powerlines/plugin-deepkit": "^0.11.271",
|
|
371
|
+
"@powerlines/plugin-nodejs": "^0.1.316",
|
|
372
|
+
"@powerlines/plugin-tsdown": "^0.1.334",
|
|
359
373
|
"@standard-schema/spec": "^1.1.0",
|
|
360
374
|
"@standard-schema/utils": "^0.3.0",
|
|
361
|
-
"@stryke/cli": "^0.13.
|
|
362
|
-
"@stryke/convert": "^0.6.
|
|
363
|
-
"@stryke/fs": "^0.33.
|
|
364
|
-
"@stryke/helpers": "^0.10.
|
|
365
|
-
"@stryke/json": "^0.14.
|
|
366
|
-
"@stryke/path": "^0.27.
|
|
367
|
-
"@stryke/string-format": "^0.17.
|
|
368
|
-
"@stryke/type-checks": "^0.6.
|
|
369
|
-
"@stryke/types": "^0.11.
|
|
370
|
-
"@stryke/zod": "^0.3.
|
|
375
|
+
"@stryke/cli": "^0.13.38",
|
|
376
|
+
"@stryke/convert": "^0.6.58",
|
|
377
|
+
"@stryke/fs": "^0.33.66",
|
|
378
|
+
"@stryke/helpers": "^0.10.8",
|
|
379
|
+
"@stryke/json": "^0.14.12",
|
|
380
|
+
"@stryke/path": "^0.27.4",
|
|
381
|
+
"@stryke/string-format": "^0.17.9",
|
|
382
|
+
"@stryke/type-checks": "^0.6.1",
|
|
383
|
+
"@stryke/types": "^0.11.3",
|
|
384
|
+
"@stryke/zod": "^0.3.13",
|
|
371
385
|
"automd": "^0.4.3",
|
|
372
386
|
"defu": "^6.1.6",
|
|
373
387
|
"json-schema": "^0.4.0",
|
|
374
388
|
"tsdown": "^0.21.7"
|
|
375
389
|
},
|
|
376
390
|
"devDependencies": {
|
|
377
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
391
|
+
"@powerlines/plugin-plugin": "^0.12.343",
|
|
378
392
|
"@types/json-schema": "^7.0.15",
|
|
379
|
-
"@types/node": "^25.5.
|
|
380
|
-
"powerlines": "^0.42.
|
|
393
|
+
"@types/node": "^25.5.2",
|
|
394
|
+
"powerlines": "^0.42.33",
|
|
381
395
|
"typescript": "^5.9.3",
|
|
382
396
|
"zod": "^4.3.6"
|
|
383
397
|
},
|
|
384
398
|
"peerDependencies": { "powerlines": ">=0.42.10", "zod": "^3.25.0 || ^4.0.0" },
|
|
385
399
|
"peerDependenciesMeta": { "zod": { "optional": true } },
|
|
386
400
|
"publishConfig": { "access": "public" },
|
|
387
|
-
"gitHead": "
|
|
401
|
+
"gitHead": "99864265fd762dd8a4dcdb5740242469cde2b448"
|
|
388
402
|
}
|
package/dist/index.cjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { ShellShockAPI, createShellShock } from \"./api\";\n\nexport * from \"./types\";\n\n// eslint-disable-next-line perfectionist/sort-named-exports\nexport { ShellShockAPI, createShellShock };\nexport default ShellShockAPI;\n"],"mappings":""}
|
package/dist/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","names":[],"sources":["../src/index.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nimport { ShellShockAPI, createShellShock } from \"./api\";\n\nexport * from \"./types\";\n\n// eslint-disable-next-line perfectionist/sort-named-exports\nexport { ShellShockAPI, createShellShock };\nexport default ShellShockAPI;\n"],"mappings":""}
|
package/dist/types/runtime.cjs
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
|
|
2
|
-
|
|
3
|
-
//#region src/types/runtime.ts
|
|
4
|
-
const __ΩCommandContext = [
|
|
5
|
-
"path",
|
|
6
|
-
"segments",
|
|
7
|
-
"CommandContext",
|
|
8
|
-
"P&4!&F4\"Mw#y"
|
|
9
|
-
];
|
|
10
|
-
|
|
11
|
-
//#endregion
|
|
12
|
-
exports.__ΩCommandContext = __ΩCommandContext;
|
|
13
|
-
//# sourceMappingURL=runtime.cjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.cjs","names":[],"sources":["../../src/types/runtime.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport interface CommandContext {\n /**\n * The current command path within the runtime context.\n */\n path: string;\n\n /**\n * The individual segments that make up the path.\n */\n segments: string[];\n}\n"],"mappings":""}
|
package/dist/types/runtime.d.cts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
//#region src/types/runtime.d.ts
|
|
2
|
-
interface CommandContext {
|
|
3
|
-
/**
|
|
4
|
-
* The current command path within the runtime context.
|
|
5
|
-
*/
|
|
6
|
-
path: string;
|
|
7
|
-
/**
|
|
8
|
-
* The individual segments that make up the path.
|
|
9
|
-
*/
|
|
10
|
-
segments: string[];
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
export { CommandContext };
|
|
14
|
-
//# sourceMappingURL=runtime.d.cts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.cts","names":[],"sources":["../../src/types/runtime.ts"],"mappings":";UAkBiB,cAAA;EAAA;;;EAIf,IAAA;EAKQ;;;EAAR,QAAA;AAAA"}
|
package/dist/types/runtime.d.mts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
//#region src/types/runtime.d.ts
|
|
2
|
-
interface CommandContext {
|
|
3
|
-
/**
|
|
4
|
-
* The current command path within the runtime context.
|
|
5
|
-
*/
|
|
6
|
-
path: string;
|
|
7
|
-
/**
|
|
8
|
-
* The individual segments that make up the path.
|
|
9
|
-
*/
|
|
10
|
-
segments: string[];
|
|
11
|
-
}
|
|
12
|
-
//#endregion
|
|
13
|
-
export { CommandContext };
|
|
14
|
-
//# sourceMappingURL=runtime.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.d.mts","names":[],"sources":["../../src/types/runtime.ts"],"mappings":";UAkBiB,cAAA;EAAA;;;EAIf,IAAA;EAKQ;;;EAAR,QAAA;AAAA"}
|
package/dist/types/runtime.mjs
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"runtime.mjs","names":[],"sources":["../../src/types/runtime.ts"],"sourcesContent":["/* -------------------------------------------------------------------\n\n ⚡ Storm Software - Shell Shock\n\n This code was released as part of the Shell Shock project. Shell Shock\n is maintained by Storm Software under the Apache-2.0 license, and is\n free for commercial and private use. For more information, please visit\n our licensing page at https://stormsoftware.com/licenses/projects/shell-shock.\n\n Website: https://stormsoftware.com\n Repository: https://github.com/storm-software/shell-shock\n Documentation: https://docs.stormsoftware.com/projects/shell-shock\n Contact: https://stormsoftware.com/contact\n\n SPDX-License-Identifier: Apache-2.0\n\n ------------------------------------------------------------------- */\n\nexport interface CommandContext {\n /**\n * The current command path within the runtime context.\n */\n path: string;\n\n /**\n * The individual segments that make up the path.\n */\n segments: string[];\n}\n"],"mappings":""}
|