@gunshi/plugin-global 1.0.0-beta.1 → 1.0.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -101,7 +101,7 @@ const release = define({
101
101
 
102
102
  Other commands of the same CLI are unaffected, and so is the entry command unless it declares the name itself.
103
103
 
104
- One case is left to this plugin on purpose: a schema that is identical to the one this plugin registers, field for field, cannot be told apart from it, so `version: { type: 'boolean', short: 'v', description: 'Display this version' }` still prints the version of the CLI. Any difference at all — a description of your own, an extra property, another type — makes the argument the command's.
104
+ This holds whatever the schema is, even one identical to the schema this plugin registers: a command that declares `version: { type: 'boolean', short: 'v', description: 'Display this version' }` receives `--version` and `-v` itself, and the version of the CLI is not printed. To keep the behaviour of this plugin on a command, leave the name out of its `args`.
105
105
 
106
106
  ## 🧩 Context Extensions
107
107
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gunshi/plugin-global",
3
3
  "description": "global options plugin for gunshi",
4
- "version": "1.0.0-beta.1",
4
+ "version": "1.0.0-rc.1",
5
5
  "author": {
6
6
  "name": "kazuya kawaguchi",
7
7
  "email": "kawakazu80@gmail.com"
@@ -51,10 +51,10 @@
51
51
  }
52
52
  },
53
53
  "dependencies": {
54
- "@gunshi/plugin": "1.0.0-beta.1"
54
+ "@gunshi/plugin": "1.0.0-rc.1"
55
55
  },
56
56
  "devDependencies": {
57
- "@gunshi/shared": "1.0.0-beta.1",
57
+ "@gunshi/shared": "1.0.0-rc.1",
58
58
  "deno": "^2.7.14",
59
59
  "jsr": "^0.14.3",
60
60
  "jsr-exports-lint": "^0.4.2",