@gunshi/resources 1.0.0-rc.3 → 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 -3
- package/lib/index.js +3 -3
- package/locales/en-US.json +3 -3
- package/package.json +2 -7
package/README.md
CHANGED
package/lib/index.js
CHANGED
|
@@ -19,14 +19,14 @@ var src_default = {
|
|
|
19
19
|
CHOICES: "choices",
|
|
20
20
|
help: "Display this help message",
|
|
21
21
|
version: "Display this version",
|
|
22
|
-
"err:arg:required-option": "
|
|
22
|
+
"err:arg:required-option": "Option {$displayName} is required",
|
|
23
23
|
"err:arg:required-positional": "Positional argument {$displayName} is required",
|
|
24
24
|
"err:arg:invalid-type": "Invalid value for {$displayName}: expected {$expected}",
|
|
25
25
|
"err:arg:invalid-choice": "Invalid value for {$displayName}: expected one of {$choices}",
|
|
26
26
|
"err:arg:custom-parse": "Invalid value for {$displayName}: {$reason}",
|
|
27
27
|
"err:arg:unknown-option": "Unknown option: {$rawName}",
|
|
28
|
-
"err:arg:unexpected-value": "
|
|
29
|
-
"err:arg:missing-value": "
|
|
28
|
+
"err:arg:unexpected-value": "Option {$displayName} does not take a value",
|
|
29
|
+
"err:arg:missing-value": "Option {$displayName} requires a value",
|
|
30
30
|
"err:arg:missing-value:hint": "(to pass '{$next}' as its value, write '{$suggestion}')",
|
|
31
31
|
"err:arg:conflict": "{$displayName} conflicts with {$conflictDisplayName}",
|
|
32
32
|
"err:arg:invalid-default": "Invalid default for {$displayName}: {$actual} is not one of {$choices}",
|
package/locales/en-US.json
CHANGED
|
@@ -12,14 +12,14 @@
|
|
|
12
12
|
"CHOICES": "choices",
|
|
13
13
|
"help": "Display this help message",
|
|
14
14
|
"version": "Display this version",
|
|
15
|
-
"err:arg:required-option": "
|
|
15
|
+
"err:arg:required-option": "Option {$displayName} is required",
|
|
16
16
|
"err:arg:required-positional": "Positional argument {$displayName} is required",
|
|
17
17
|
"err:arg:invalid-type": "Invalid value for {$displayName}: expected {$expected}",
|
|
18
18
|
"err:arg:invalid-choice": "Invalid value for {$displayName}: expected one of {$choices}",
|
|
19
19
|
"err:arg:custom-parse": "Invalid value for {$displayName}: {$reason}",
|
|
20
20
|
"err:arg:unknown-option": "Unknown option: {$rawName}",
|
|
21
|
-
"err:arg:unexpected-value": "
|
|
22
|
-
"err:arg:missing-value": "
|
|
21
|
+
"err:arg:unexpected-value": "Option {$displayName} does not take a value",
|
|
22
|
+
"err:arg:missing-value": "Option {$displayName} requires a value",
|
|
23
23
|
"err:arg:missing-value:hint": "(to pass '{$next}' as its value, write '{$suggestion}')",
|
|
24
24
|
"err:arg:conflict": "{$displayName} conflicts with {$conflictDisplayName}",
|
|
25
25
|
"err:arg:invalid-default": "Invalid default for {$displayName}: {$actual} is not one of {$choices}",
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gunshi/resources",
|
|
3
3
|
"description": "built-in localization resources 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"
|
|
@@ -64,15 +64,10 @@
|
|
|
64
64
|
},
|
|
65
65
|
"devDependencies": {
|
|
66
66
|
"@types/node": "^26.0.0",
|
|
67
|
-
"deno": "^2.7.14",
|
|
68
|
-
"jsr": "^0.14.3",
|
|
69
|
-
"jsr-exports-lint": "^0.4.2",
|
|
70
67
|
"publint": "^0.3.20",
|
|
71
68
|
"tsdown": "0.22.14"
|
|
72
69
|
},
|
|
73
70
|
"scripts": {
|
|
74
|
-
"build": "tsdown"
|
|
75
|
-
"lint:jsr": "jsr publish --dry-run --allow-dirty",
|
|
76
|
-
"typecheck:deno": "deno check --import-map=../../importmap.json ./src"
|
|
71
|
+
"build": "tsdown"
|
|
77
72
|
}
|
|
78
73
|
}
|