@shell-shock/preset-cli 0.0.5 → 0.0.6

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/README.md CHANGED
@@ -27,7 +27,7 @@ This package is part of the ⚡<b>Shell Shock</b> monorepo. The Shell Shock pack
27
27
 
28
28
  <h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
29
29
 
30
- [![Version](https://img.shields.io/badge/version-0.0.3-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://stormsoftware.com/projects/shell-shock/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/shell-shock/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
30
+ [![Version](https://img.shields.io/badge/version-0.0.4-1fb2a6.svg?style=for-the-badge&color=1fb2a6)](https://stormsoftware.com/projects/shell-shock/)&nbsp;[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=for-the-badge&logo=commitlint&color=1fb2a6)](http://commitizen.github.io/cz-cli/)&nbsp;![Semantic-Release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge&color=1fb2a6)&nbsp;![GitHub Workflow Status (with event)](https://img.shields.io/github/actions/workflow/status/storm-software/shell-shock/release.yml?style=for-the-badge&logo=github-actions&color=1fb2a6)
31
31
 
32
32
  <!-- prettier-ignore-start -->
33
33
  <!-- markdownlint-disable -->
@@ -56,8 +56,7 @@ function getDefaultOptions(context, _) {
56
56
  description: "Hide the banner displayed while running the CLI application (will be set to true if running in a CI pipeline).",
57
57
  kind: __powerlines_deepkit_vendor_type.ReflectionKind.boolean,
58
58
  optional: true,
59
- default: false,
60
- isNegativeOf: "banner"
59
+ default: false
61
60
  },
62
61
  {
63
62
  name: "verbose",
@@ -55,8 +55,7 @@ function getDefaultOptions(context, _) {
55
55
  description: "Hide the banner displayed while running the CLI application (will be set to true if running in a CI pipeline).",
56
56
  kind: ReflectionKind.boolean,
57
57
  optional: true,
58
- default: false,
59
- isNegativeOf: "banner"
58
+ default: false
60
59
  },
61
60
  {
62
61
  name: "verbose",
@@ -1 +1 @@
1
- {"version":3,"file":"get-default-options.mjs","names":["ReflectionKind","getDefaultOptions","context","_","name","title","description","alias","kind","boolean","optional","default","skipAddingNegative","config","interactive","isNegativeOf","filter","Boolean"],"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 { ReflectionKind } from \"@powerlines/deepkit/vendor/type\";\nimport type { CommandBase, CommandOption } from \"@shell-shock/core\";\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 {\n name: \"help\",\n title: \"Help\",\n description: \"Show help information.\",\n alias: [\"h\", \"?\"],\n kind: ReflectionKind.boolean,\n optional: true,\n default: false,\n skipAddingNegative: true\n },\n {\n name: \"version\",\n title: \"Version\",\n description: \"Show the version of the application.\",\n alias: [\"v\"],\n kind: ReflectionKind.boolean,\n optional: true,\n default: false,\n skipAddingNegative: true\n },\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: ReflectionKind.boolean,\n optional: true,\n default: context.config.interactive !== false\n },\n context.config.interactive !== \"never\" &&\n context.config.interactive !== false && {\n name: \"no-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-interact\"],\n kind: ReflectionKind.boolean,\n optional: true,\n default: false,\n isNegativeOf: \"interactive\"\n },\n {\n name: \"no-banner\",\n title: \"Hide Banner\",\n description:\n \"Hide the banner displayed while running the CLI application (will be set to true if running in a CI pipeline).\",\n kind: ReflectionKind.boolean,\n optional: true,\n default: false,\n isNegativeOf: \"banner\"\n },\n {\n name: \"verbose\",\n title: \"Verbose\",\n description: \"Enable verbose output.\",\n kind: ReflectionKind.boolean,\n optional: true,\n default: false,\n skipAddingNegative: true\n }\n ].filter(Boolean) as CommandOption[];\n}\n"],"mappings":";;;;;;;;;;AA6BA,SAAgBC,kBACdC,SACAC,GACiB;AACjB,QAAO;EACL;GACEC,MAAM;GACNC,OAAO;GACPC,aAAa;GACbC,OAAO,CAAC,KAAK,IAAI;GACjBC,MAAMR,eAAeS;GACrBC,UAAU;GACVC,SAAS;GACTC,oBAAoB;GACrB;EACD;GACER,MAAM;GACNC,OAAO;GACPC,aAAa;GACbC,OAAO,CAAC,IAAI;GACZC,MAAMR,eAAeS;GACrBC,UAAU;GACVC,SAAS;GACTC,oBAAoB;GACrB;EACDV,QAAQW,OAAOC,gBAAgB,WAC7BZ,QAAQW,OAAOC,gBAAgB,QAAQ;GACrCV,MAAM;GACNC,OAAO;GACPC,aACE;GACFC,OAAO,CAAC,KAAK,WAAW;GACxBC,MAAMR,eAAeS;GACrBC,UAAU;GACVC,SAAST,QAAQW,OAAOC,gBAAgB;GACzC;EACHZ,QAAQW,OAAOC,gBAAgB,WAC7BZ,QAAQW,OAAOC,gBAAgB,SAAS;GACtCV,MAAM;GACNC,OAAO;GACPC,aACE;GACFC,OAAO,CAAC,cAAc;GACtBC,MAAMR,eAAeS;GACrBC,UAAU;GACVC,SAAS;GACTI,cAAc;GACf;EACH;GACEX,MAAM;GACNC,OAAO;GACPC,aACE;GACFE,MAAMR,eAAeS;GACrBC,UAAU;GACVC,SAAS;GACTI,cAAc;GACf;EACD;GACEX,MAAM;GACNC,OAAO;GACPC,aAAa;GACbE,MAAMR,eAAeS;GACrBC,UAAU;GACVC,SAAS;GACTC,oBAAoB;GACrB;EACF,CAACI,OAAOC,QAAQ"}
1
+ {"version":3,"file":"get-default-options.mjs","names":["ReflectionKind","getDefaultOptions","context","_","name","title","description","alias","kind","boolean","optional","default","skipAddingNegative","config","interactive","isNegativeOf","filter","Boolean"],"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 { ReflectionKind } from \"@powerlines/deepkit/vendor/type\";\nimport type { CommandBase, CommandOption } from \"@shell-shock/core\";\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 {\n name: \"help\",\n title: \"Help\",\n description: \"Show help information.\",\n alias: [\"h\", \"?\"],\n kind: ReflectionKind.boolean,\n optional: true,\n default: false,\n skipAddingNegative: true\n },\n {\n name: \"version\",\n title: \"Version\",\n description: \"Show the version of the application.\",\n alias: [\"v\"],\n kind: ReflectionKind.boolean,\n optional: true,\n default: false,\n skipAddingNegative: true\n },\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: ReflectionKind.boolean,\n optional: true,\n default: context.config.interactive !== false\n },\n context.config.interactive !== \"never\" &&\n context.config.interactive !== false && {\n name: \"no-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-interact\"],\n kind: ReflectionKind.boolean,\n optional: true,\n default: false,\n isNegativeOf: \"interactive\"\n },\n {\n name: \"no-banner\",\n title: \"Hide Banner\",\n description:\n \"Hide the banner displayed while running the CLI application (will be set to true if running in a CI pipeline).\",\n kind: ReflectionKind.boolean,\n optional: true,\n default: false\n },\n {\n name: \"verbose\",\n title: \"Verbose\",\n description: \"Enable verbose output.\",\n kind: ReflectionKind.boolean,\n optional: true,\n default: false,\n skipAddingNegative: true\n }\n ].filter(Boolean) as CommandOption[];\n}\n"],"mappings":";;;;;;;;;;AA6BA,SAAgBC,kBACdC,SACAC,GACiB;AACjB,QAAO;EACL;GACEC,MAAM;GACNC,OAAO;GACPC,aAAa;GACbC,OAAO,CAAC,KAAK,IAAI;GACjBC,MAAMR,eAAeS;GACrBC,UAAU;GACVC,SAAS;GACTC,oBAAoB;GACrB;EACD;GACER,MAAM;GACNC,OAAO;GACPC,aAAa;GACbC,OAAO,CAAC,IAAI;GACZC,MAAMR,eAAeS;GACrBC,UAAU;GACVC,SAAS;GACTC,oBAAoB;GACrB;EACDV,QAAQW,OAAOC,gBAAgB,WAC7BZ,QAAQW,OAAOC,gBAAgB,QAAQ;GACrCV,MAAM;GACNC,OAAO;GACPC,aACE;GACFC,OAAO,CAAC,KAAK,WAAW;GACxBC,MAAMR,eAAeS;GACrBC,UAAU;GACVC,SAAST,QAAQW,OAAOC,gBAAgB;GACzC;EACHZ,QAAQW,OAAOC,gBAAgB,WAC7BZ,QAAQW,OAAOC,gBAAgB,SAAS;GACtCV,MAAM;GACNC,OAAO;GACPC,aACE;GACFC,OAAO,CAAC,cAAc;GACtBC,MAAMR,eAAeS;GACrBC,UAAU;GACVC,SAAS;GACTI,cAAc;GACf;EACH;GACEX,MAAM;GACNC,OAAO;GACPC,aACE;GACFE,MAAMR,eAAeS;GACrBC,UAAU;GACVC,SAAS;GACV;EACD;GACEP,MAAM;GACNC,OAAO;GACPC,aAAa;GACbE,MAAMR,eAAeS;GACrBC,UAAU;GACVC,SAAS;GACTC,oBAAoB;GACrB;EACF,CAACI,OAAOC,QAAQ"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shell-shock/preset-cli",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "type": "module",
5
5
  "description": "A package containing a Shell Shock plugin to generate source code given a list design tokens.",
6
6
  "repository": {
@@ -124,19 +124,19 @@
124
124
  "dependencies": {
125
125
  "@alloy-js/core": "0.22.0",
126
126
  "@alloy-js/typescript": "^0.22.0",
127
- "@powerlines/deepkit": "^0.6.44",
128
- "@powerlines/plugin-alloy": "^0.20.7",
129
- "@powerlines/plugin-plugin": "^0.12.215",
130
- "@shell-shock/core": "^0.4.1",
131
- "@shell-shock/plugin-theme": "^0.0.9",
132
- "@shell-shock/preset-script": "^0.2.1",
127
+ "@powerlines/deepkit": "^0.6.46",
128
+ "@powerlines/plugin-alloy": "^0.20.9",
129
+ "@powerlines/plugin-plugin": "^0.12.217",
130
+ "@shell-shock/core": "^0.4.2",
131
+ "@shell-shock/plugin-theme": "^0.0.10",
132
+ "@shell-shock/preset-script": "^0.3.0",
133
133
  "@stryke/string-format": "^0.13.7",
134
134
  "cfonts": "^3.3.1",
135
- "powerlines": "^0.38.31"
135
+ "powerlines": "^0.38.33"
136
136
  },
137
137
  "devDependencies": {
138
138
  "@babel/core": "^7.29.0",
139
- "@types/node": "^22.19.7",
139
+ "@types/node": "^22.19.8",
140
140
  "@types/react": "^19.2.10"
141
141
  },
142
142
  "publishConfig": {
@@ -163,5 +163,5 @@
163
163
  }
164
164
  },
165
165
  "types": "./dist/index.d.cts",
166
- "gitHead": "e40c2e1e052ea01a5c75aae48a9e9436d4bff313"
166
+ "gitHead": "93f7eadb6fb5670226a117c04e7e8b505554d76d"
167
167
  }