@shell-shock/preset-cli 0.9.8 → 0.9.10
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/components/banner-builtin.cjs +2 -2
- package/dist/components/banner-builtin.d.cts.map +1 -1
- package/dist/components/banner-builtin.d.mts.map +1 -1
- package/dist/components/banner-builtin.mjs +2 -2
- package/dist/components/banner-builtin.mjs.map +1 -1
- package/dist/components/command-entry.cjs +21 -12
- package/dist/components/command-entry.mjs +20 -11
- package/dist/components/command-entry.mjs.map +1 -1
- package/dist/components/command-router.cjs +3 -3
- package/dist/components/command-router.mjs +3 -3
- package/dist/components/command-router.mjs.map +1 -1
- package/dist/components/upgrade-builtin.cjs +8 -8
- package/dist/components/upgrade-builtin.mjs +8 -8
- package/dist/components/upgrade-builtin.mjs.map +1 -1
- package/dist/components/virtual-command-entry.cjs +13 -5
- package/dist/components/virtual-command-entry.mjs +13 -5
- package/dist/components/virtual-command-entry.mjs.map +1 -1
- package/dist/helpers/{get-default-options.cjs → get-global-options.cjs} +5 -5
- package/dist/helpers/{get-default-options.mjs → get-global-options.mjs} +6 -6
- package/dist/helpers/get-global-options.mjs.map +1 -0
- package/dist/index.cjs +9 -9
- package/dist/index.d.cts.map +1 -1
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +9 -9
- package/dist/index.mjs.map +1 -1
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts +17 -0
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.cts.map +1 -0
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts +17 -0
- package/dist/node_modules/.pnpm/@stryke_types@0.11.3/node_modules/@stryke/types/dist/base.d.mts.map +1 -0
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +130 -0
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +1 -0
- package/dist/packages/plugin-changelog/dist/components/index.mjs +3 -0
- package/dist/packages/plugin-changelog/dist/index.d.cts +2 -0
- package/dist/packages/plugin-changelog/dist/index.d.mts +2 -0
- package/dist/packages/plugin-changelog/dist/index.mjs +52 -0
- package/dist/packages/plugin-changelog/dist/index.mjs.map +1 -0
- package/dist/packages/plugin-changelog/dist/types/plugin.d.cts +43 -0
- package/dist/packages/plugin-changelog/dist/types/plugin.d.cts.map +1 -0
- package/dist/packages/plugin-changelog/dist/types/plugin.d.mts +43 -0
- package/dist/packages/plugin-changelog/dist/types/plugin.d.mts.map +1 -0
- package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs +10 -0
- package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs.map +1 -0
- package/dist/plugin-changelog/dist/components/changelog-command.cjs +130 -0
- package/dist/plugin-changelog/dist/components/index.cjs +1 -0
- package/dist/plugin-changelog/dist/index.cjs +53 -0
- package/dist/types/plugin.d.cts +11 -6
- package/dist/types/plugin.d.cts.map +1 -1
- package/dist/types/plugin.d.mts +11 -6
- package/dist/types/plugin.d.mts.map +1 -1
- package/dist/unified/dist/markdown-Bs-BRrSC.cjs +10 -0
- package/package.json +22 -21
- package/dist/helpers/get-default-options.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":"
|
|
1
|
+
{"version":3,"file":"plugin.d.mts","names":[],"sources":["../../src/types/plugin.ts"],"mappings":";;;;;;;;;;;;;KAyEY,WAAA;AAAA,KAEA,gBAAA,GAAmB,IAAA,CAAK,mBAAA,qBAClC,iBAAA,GACA,oBAAA,GACA,oBAAA;;AALF;;;;;AAEA;;;;;EAeI,WAAA;EAbF;;;;;;;;;;;;;;EA6BE,aAAA,GACI,aAAA,OACE,OAAA,EAAS,OAAA,EAAS,KAAA,EAAO,WAAA,KAAgB,aAAA;EAjCf;;;;;;;;;;;EA+ChC,WAAA,GAAc,WAAA;EAAd;;;EAKA,MAAA,GAAS,IAAA,CAAK,mBAAA;EAAA;;;EAKd,WAAA,GAAc,IAAA,CAAK,wBAAA;EAKnB;;;EAAA,SAAA,GAAY,sBAAA;AAAA;AAAA,KAGJ,mBAAA,GAAsB,UAAA,GAChC,qBAAA,GACA,uBAAA,GACA,uBAAA,GACA,sBAAA,GACA,oBAAA,GACA,2BAAA,GACA,yBAAA,GACA,uBAAA,GACA,gBAAA;AAAA,KAEU,uBAAA,GAA0B,gBAAA,GACpC,yBAAA,GACA,2BAAA,GACA,2BAAA,GACA,0BAAA,GACA,wBAAA,GACA,+BAAA,GACA,6BAAA,GACA,2BAAA,GACA,QAAA,CAAS,gBAAA;AAAA,KAEC,gBAAA,yBACc,uBAAA,GAA0B,uBAAA,IAChD,OAAA,CAAQ,eAAA,IACV,kBAAA,CAAmB,eAAA,IACnB,oBAAA,CAAqB,eAAA,IACrB,oBAAA,CAAqB,eAAA,IACrB,mBAAA,CAAoB,eAAA,IACpB,iBAAA,CAAkB,eAAA,IAClB,wBAAA,CAAyB,eAAA,IACzB,sBAAA,CAAuB,eAAA,IACvB,oBAAA,CAAqB,eAAA"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
|
|
2
|
+
//#region ../unified/dist/markdown-Bs-BRrSC.mjs
|
|
3
|
+
function e(e) {
|
|
4
|
+
return e.replaceAll("`", "\\`").replaceAll("${", "\\${").replaceAll(`\\`, `\\\\`).replaceAll(`
|
|
5
|
+
`, `\\n`).replaceAll(`\r`, `\\r`).replaceAll(` `, `\\t`);
|
|
6
|
+
}
|
|
7
|
+
const t = (t) => `textColors.heading.primary(\`${e(t)}\`)`;
|
|
8
|
+
|
|
9
|
+
//#endregion
|
|
10
|
+
exports.t = t;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@shell-shock/preset-cli",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.10",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "A package containing a Shell Shock plugin to generate source code given a list design tokens.",
|
|
6
6
|
"keywords": [
|
|
@@ -181,28 +181,28 @@
|
|
|
181
181
|
"dependencies": {
|
|
182
182
|
"@alloy-js/core": "0.23.0-dev.8",
|
|
183
183
|
"@alloy-js/typescript": "0.23.0-dev.4",
|
|
184
|
-
"@powerlines/deepkit": "^0.6.
|
|
185
|
-
"@powerlines/plugin-alloy": "^0.26.
|
|
186
|
-
"@powerlines/plugin-plugin": "^0.12.
|
|
187
|
-
"@shell-shock/core": "^0.
|
|
188
|
-
"@shell-shock/plugin-banner": "^0.1.
|
|
189
|
-
"@shell-shock/plugin-completions": "^0.4.
|
|
190
|
-
"@shell-shock/plugin-console": "^0.2.
|
|
191
|
-
"@shell-shock/plugin-help": "^0.2.
|
|
192
|
-
"@shell-shock/plugin-prompts": "^0.3.
|
|
193
|
-
"@shell-shock/plugin-theme": "^0.4.
|
|
194
|
-
"@shell-shock/plugin-upgrade": "^0.1.
|
|
195
|
-
"@shell-shock/preset-script": "^0.6.
|
|
196
|
-
"@stryke/path": "^0.27.
|
|
197
|
-
"@stryke/string-format": "^0.17.
|
|
198
|
-
"@stryke/type-checks": "^0.6.
|
|
184
|
+
"@powerlines/deepkit": "^0.6.167",
|
|
185
|
+
"@powerlines/plugin-alloy": "^0.26.9",
|
|
186
|
+
"@powerlines/plugin-plugin": "^0.12.343",
|
|
187
|
+
"@shell-shock/core": "^0.16.1",
|
|
188
|
+
"@shell-shock/plugin-banner": "^0.1.25",
|
|
189
|
+
"@shell-shock/plugin-completions": "^0.4.6",
|
|
190
|
+
"@shell-shock/plugin-console": "^0.2.2",
|
|
191
|
+
"@shell-shock/plugin-help": "^0.2.16",
|
|
192
|
+
"@shell-shock/plugin-prompts": "^0.3.39",
|
|
193
|
+
"@shell-shock/plugin-theme": "^0.4.11",
|
|
194
|
+
"@shell-shock/plugin-upgrade": "^0.1.43",
|
|
195
|
+
"@shell-shock/preset-script": "^0.6.53",
|
|
196
|
+
"@stryke/path": "^0.27.4",
|
|
197
|
+
"@stryke/string-format": "^0.17.9",
|
|
198
|
+
"@stryke/type-checks": "^0.6.1",
|
|
199
199
|
"cfonts": "^3.3.1",
|
|
200
|
-
"defu": "^6.1.
|
|
201
|
-
"powerlines": "^0.42.
|
|
200
|
+
"defu": "^6.1.7",
|
|
201
|
+
"powerlines": "^0.42.33"
|
|
202
202
|
},
|
|
203
203
|
"devDependencies": {
|
|
204
|
-
"@
|
|
205
|
-
"@types/node": "^25.5.
|
|
204
|
+
"@stryke/types": "^0.11.3",
|
|
205
|
+
"@types/node": "^25.5.2",
|
|
206
206
|
"@types/react": "^19.2.14"
|
|
207
207
|
},
|
|
208
208
|
"publishConfig": {
|
|
@@ -228,5 +228,6 @@
|
|
|
228
228
|
"./package.json": "./package.json"
|
|
229
229
|
}
|
|
230
230
|
},
|
|
231
|
-
"
|
|
231
|
+
"inlinedDependencies": { "@stryke/types": "0.11.3" },
|
|
232
|
+
"gitHead": "5620dfed15a7d3ff47ad3f1665f6fdd8c6fd5d08"
|
|
232
233
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-default-options.mjs","names":["getDefaultOptions","getDefaultOptionsBase"],"sources":["../../src/helpers/get-default-options.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 type { CommandBase, CommandOption } from \"@shell-shock/core\";\nimport { CommandParameterKinds } from \"@shell-shock/core\";\nimport { getDefaultOptions as getDefaultOptionsBase } from \"@shell-shock/preset-script/helpers/get-default-options\";\nimport type { CLIPresetContext } from \"../types\";\n\n/**\n * Get the default command options.\n *\n * @param context - The build context.\n * @param _ - The command input.\n * @returns The default command options.\n */\nexport function getDefaultOptions(\n context: CLIPresetContext,\n _: CommandBase\n): CommandOption[] {\n return [\n ...getDefaultOptionsBase(),\n context.config.interactive !== \"never\" &&\n context.config.interactive !== true && {\n name: \"interactive\",\n title: \"Interactive\",\n description:\n \"Enable interactive mode - will be set to false if running in a CI pipeline.\",\n alias: [\"i\", \"interact\"],\n kind: CommandParameterKinds.boolean,\n optional: true,\n default: context.config.interactive !== false\n },\n context.config.interactive !== \"never\" &&\n context.config.interactive !== false && {\n name: \"non-interactive\",\n title: \"Non-Interactive\",\n description:\n \"Disable interactive mode - will be set to true if running in a CI pipeline.\",\n alias: [\"no-interactive\"],\n kind: CommandParameterKinds.boolean,\n optional: true,\n default: false,\n isNegativeOf: \"interactive\"\n }\n ].filter(Boolean) as CommandOption[];\n}\n"],"mappings":";;;;;;;;;;;AA8BA,SAAgBA,oBACd,SACA,GACiB;AACjB,QAAO;EACL,GAAGC,mBAAuB;EAC1B,QAAQ,OAAO,gBAAgB,WAC7B,QAAQ,OAAO,gBAAgB,QAAQ;GACrC,MAAM;GACN,OAAO;GACP,aACE;GACF,OAAO,CAAC,KAAK,WAAW;GACxB,MAAM,sBAAsB;GAC5B,UAAU;GACV,SAAS,QAAQ,OAAO,gBAAgB;GACzC;EACH,QAAQ,OAAO,gBAAgB,WAC7B,QAAQ,OAAO,gBAAgB,SAAS;GACtC,MAAM;GACN,OAAO;GACP,aACE;GACF,OAAO,CAAC,iBAAiB;GACzB,MAAM,sBAAsB;GAC5B,UAAU;GACV,SAAS;GACT,cAAc;GACf;EACJ,CAAC,OAAO,QAAQ"}
|