Skip to content

Commit 4a49351

Browse files
committed
v0.0.2
1 parent e9d5f22 commit 4a49351

File tree

8 files changed

+283
-170
lines changed

8 files changed

+283
-170
lines changed

README.md

+1-21
Original file line numberDiff line numberDiff line change
@@ -18,27 +18,7 @@ parser to support args syntax.
1818

1919
<!--START:options-->
2020
## Options
21-
* _comment_: `null` (default: null) - comment
22-
* _field_
23-
* _empty_: `string` (default: ) - empty
24-
* _exact_: `boolean` (default: false) - exact
25-
* _names_: `any` (default: undefined) - names
26-
* _nonameprefix_: `string` (default: field~) - nonameprefix
27-
* _separation_: `null` (default: null) - separation
28-
* _header_: `boolean` (default: true) - header
29-
* _number_: `null` (default: null) - number
30-
* _object_: `boolean` (default: true) - object
31-
* _record_
32-
* _empty_: `boolean` (default: false) - empty
33-
* _separators_: `null` (default: null) - separators
34-
* _stream_: `null` (default: null) - stream
35-
* _strict_: `boolean` (default: true) - strict
36-
* _string_
37-
* _args_: `null` (default: null) - args
38-
* _quote_: `string` (default: ") - quote
39-
* _trim_: `null` (default: null) - trim
40-
* _value_: `null` (default: null) - value
41-
21+
_None_
4222
<!--END:options-->
4323

4424

coverage/lcov.info

+93-8
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,102 @@
11
TN:
22
SF:dist/args.js
3-
FN:6,(anonymous_0)
4-
FNF:1
5-
FNH:1
3+
FN:8,(anonymous_0)
4+
FN:37,(anonymous_1)
5+
FN:41,(anonymous_2)
6+
FN:46,(anonymous_3)
7+
FN:54,(anonymous_4)
8+
FN:59,(anonymous_5)
9+
FN:67,(anonymous_6)
10+
FN:75,operate
11+
FNF:8
12+
FNH:5
613
FNDA:1,(anonymous_0)
14+
FNDA:1,(anonymous_1)
15+
FNDA:0,(anonymous_2)
16+
FNDA:1,(anonymous_3)
17+
FNDA:0,(anonymous_4)
18+
FNDA:1,(anonymous_5)
19+
FNDA:1,(anonymous_6)
20+
FNDA:0,operate
721
DA:3,1
822
DA:4,1
23+
DA:5,1
924
DA:6,1
10-
DA:7,1
25+
DA:8,1
1126
DA:9,1
12-
DA:11,1
13-
LF:6
14-
LH:6
15-
BRF:0
27+
DA:10,1
28+
DA:11,0
29+
DA:12,0
30+
DA:13,0
31+
DA:14,0
32+
DA:15,0
33+
DA:16,0
34+
DA:17,0
35+
DA:18,0
36+
DA:19,0
37+
DA:22,0
38+
DA:25,0
39+
DA:28,1
40+
DA:36,1
41+
DA:37,1
42+
DA:38,1
43+
DA:41,0
44+
DA:46,1
45+
DA:47,1
46+
DA:54,0
47+
DA:59,1
48+
DA:60,1
49+
DA:67,1
50+
DA:68,1
51+
DA:76,0
52+
DA:78,0
53+
DA:79,0
54+
DA:80,0
55+
DA:81,0
56+
DA:82,0
57+
DA:83,0
58+
DA:84,0
59+
DA:85,0
60+
DA:89,0
61+
DA:91,0
62+
DA:92,0
63+
DA:93,0
64+
DA:94,0
65+
DA:97,0
66+
DA:100,0
67+
DA:101,0
68+
DA:102,0
69+
DA:104,0
70+
DA:105,0
71+
DA:106,0
72+
DA:107,0
73+
DA:108,0
74+
DA:110,0
75+
DA:111,0
76+
DA:112,0
77+
DA:118,0
78+
DA:119,0
79+
DA:123,0
80+
DA:124,0
81+
DA:127,0
82+
DA:144,1
83+
DA:146,1
84+
LF:63
85+
LH:19
86+
BRDA:18,0,0,0
87+
BRDA:18,0,1,0
88+
BRDA:83,1,0,0
89+
BRDA:83,1,1,0
90+
BRDA:91,2,0,0
91+
BRDA:91,2,1,0
92+
BRDA:93,3,0,0
93+
BRDA:93,3,1,0
94+
BRDA:110,4,0,0
95+
BRDA:110,4,1,0
96+
BRDA:118,5,0,0
97+
BRDA:118,5,1,0
98+
BRDA:123,6,0,0
99+
BRDA:123,6,1,0
100+
BRF:14
16101
BRH:0
17102
end_of_record

dist/args.js

+69-38
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/args.js.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+14-15
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
{
22
"name": "@jsonic/args",
3-
"version": "0.0.1",
3+
"version": "0.0.2",
44
"description": "This plugin allows the [Jsonic](https://jsonic.senecajs.org) JSON parser to parse REPL and command line arguments.",
55
"main": "dist/args.js",
66
"type": "commonjs",
7-
"browser": "dist/args.min.js",
87
"types": "dist/args.d.ts",
98
"homepage": "https://github.com/jsonicjs/args",
109
"keywords": [
@@ -25,8 +24,8 @@
2524
"test-watch": "jest --coverage --watchAll",
2625
"watch": "tsc -w -d",
2726
"doc": "jsonic-doc",
28-
"build": "tsc -d && cp args.js args.min.js && browserify -o args.min.js -e args.js -s @JsonicArgs -im -i assert -p tinyify",
29-
"prettier": "prettier --write --no-semi --single-quote *.ts test/*.js",
27+
"build": "tsc -d",
28+
"prettier": "prettier --write --no-semi --single-quote src/*.ts test/*.js",
3029
"clean": "rm -rf node_modules yarn.lock package-lock.json",
3130
"reset": "npm run clean && npm i && npm run build && npm test",
3231
"repo-tag": "REPO_VERSION=`node -e \"console.log(require('./package').version)\"` && echo TAG: v$REPO_VERSION && git commit -a -m v$REPO_VERSION && git push && git tag v$REPO_VERSION && git push --tags;",
@@ -41,22 +40,22 @@
4140
"LICENSE"
4241
],
4342
"devDependencies": {
44-
"@jsonic/doc": "^0.0.5",
45-
"@jsonic/jsonic-next": ">=2.12.1",
46-
"@types/jest": "^29.5.3",
47-
"browserify": "^17.0.0",
43+
"@jsonic/doc": "^0.0.9",
44+
"@jsonic/jsonic-next": ">=2.13.0",
45+
"@types/jest": "^29.5.14",
46+
"browserify": "^17.0.1",
4847
"es-jest": "^2.1.0",
49-
"esbuild": "^0.19.1",
50-
"jest": "^29.6.2",
51-
"prettier": "^3.0.1",
48+
"esbuild": "^0.24.0",
49+
"jest": "^29.7.0",
50+
"prettier": "^3.3.3",
5251
"tinyify": "^4.0.0",
53-
"typescript": "^5.1.6"
52+
"typescript": "^5.6.3"
5453
},
5554
"peerDependencies": {
56-
"@jsonic/jsonic-next": ">=2.12.1"
55+
"@jsonic/jsonic-next": ">=2.13.0"
5756
},
5857
"dependencies": {
59-
"gubu": "^5.0.1",
60-
"patrun": "^7.2.5"
58+
"gubu": "^8.3.0",
59+
"patrun": "^7.2.7"
6160
}
6261
}

0 commit comments

Comments
 (0)