@gunshi/plugin-global 1.0.0-rc.4 → 1.0.0-rc.5
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 +0 -6
- package/lib/index.js +1 -1
- package/package.json +4 -9
package/README.md
CHANGED
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
[![Version][npm-version-src]][npm-version-href]
|
|
4
4
|
[![InstallSize][install-size-src]][install-size-src]
|
|
5
|
-
[![JSR][jsr-src]][jsr-href]
|
|
6
5
|
|
|
7
6
|
> global options plugin for gunshi.
|
|
8
7
|
|
|
@@ -20,9 +19,6 @@ pnpm add @gunshi/plugin-global
|
|
|
20
19
|
# yarn
|
|
21
20
|
yarn add @gunshi/plugin-global
|
|
22
21
|
|
|
23
|
-
# deno
|
|
24
|
-
deno add jsr:@gunshi/plugin-global
|
|
25
|
-
|
|
26
22
|
# bun
|
|
27
23
|
bun add @gunshi/plugin-global
|
|
28
24
|
```
|
|
@@ -181,6 +177,4 @@ See the [API References](./docs/index.md)
|
|
|
181
177
|
|
|
182
178
|
[npm-version-src]: https://img.shields.io/npm/v/@gunshi/plugin-global?style=flat
|
|
183
179
|
[npm-version-href]: https://npmjs.com/package/@gunshi/plugin-global@alpha
|
|
184
|
-
[jsr-src]: https://jsr.io/badges/@gunshi/plugin-global
|
|
185
|
-
[jsr-href]: https://jsr.io/@gunshi/plugin-global
|
|
186
180
|
[install-size-src]: https://pkg-size.dev/badge/install/39632
|
package/lib/index.js
CHANGED
|
@@ -81,7 +81,7 @@ function markReported(ctx, error) {
|
|
|
81
81
|
return true;
|
|
82
82
|
}
|
|
83
83
|
/**
|
|
84
|
-
* Set the exit code of the process, where the runtime has one (Node.js
|
|
84
|
+
* Set the exit code of the process, where the runtime has one (Node.js and Bun have `process`).
|
|
85
85
|
* The core does not call the APIs of a runtime, so the plugin, which reports the errors, sets it.
|
|
86
86
|
*
|
|
87
87
|
* @param code - The exit code
|
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-rc.
|
|
4
|
+
"version": "1.0.0-rc.5",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "kazuya kawaguchi",
|
|
7
7
|
"email": "kawakazu80@gmail.com"
|
|
@@ -51,20 +51,15 @@
|
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@gunshi/plugin": "1.0.0-rc.
|
|
54
|
+
"@gunshi/plugin": "1.0.0-rc.5"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@gunshi/shared": "1.0.0-rc.
|
|
58
|
-
"deno": "^2.7.14",
|
|
59
|
-
"jsr": "^0.14.3",
|
|
60
|
-
"jsr-exports-lint": "^0.4.2",
|
|
57
|
+
"@gunshi/shared": "1.0.0-rc.5",
|
|
61
58
|
"publint": "^0.3.20",
|
|
62
59
|
"tsdown": "0.22.14"
|
|
63
60
|
},
|
|
64
61
|
"scripts": {
|
|
65
62
|
"build": "tsdown",
|
|
66
|
-
"build:docs": "tsx ../../scripts/api-references.ts"
|
|
67
|
-
"lint:jsr": "jsr publish --dry-run --allow-dirty",
|
|
68
|
-
"typecheck:deno": "deno check --import-map=../../importmap.json ./src"
|
|
63
|
+
"build:docs": "tsx ../../scripts/api-references.ts"
|
|
69
64
|
}
|
|
70
65
|
}
|