build-ts 5.9.0 → 5.9.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.
- package/README.md +16 -0
- package/package.json +12 -12
package/README.md
CHANGED
|
@@ -59,3 +59,19 @@ npx build-ts lib test-fixtures/lib-react
|
|
|
59
59
|
# or
|
|
60
60
|
cd test-fixtures/lib-react && npx build-ts lib
|
|
61
61
|
```
|
|
62
|
+
|
|
63
|
+
## Run TypeScript code with arguments
|
|
64
|
+
|
|
65
|
+
```sh
|
|
66
|
+
echo "console.log(process.argv)" > test.ts
|
|
67
|
+
npx build-ts run test.ts -- --foo bar
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
The output is like this:
|
|
71
|
+
|
|
72
|
+
```
|
|
73
|
+
[ '/path/to/node',
|
|
74
|
+
'/path/to/build-ts/dist/bin/run.js',
|
|
75
|
+
'--foo',
|
|
76
|
+
'bar' ]
|
|
77
|
+
```
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "build-ts",
|
|
3
|
-
"version": "5.9.
|
|
3
|
+
"version": "5.9.1",
|
|
4
4
|
"repository": "github:WillBooster/build-ts",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "WillBooster Inc.",
|
|
@@ -37,14 +37,14 @@
|
|
|
37
37
|
"@babel/plugin-proposal-class-properties": "7.18.6",
|
|
38
38
|
"@babel/plugin-proposal-numeric-separator": "7.18.6",
|
|
39
39
|
"@babel/plugin-syntax-import-assertions": "7.20.0",
|
|
40
|
-
"@babel/plugin-transform-runtime": "7.22.
|
|
41
|
-
"@babel/preset-env": "7.22.
|
|
42
|
-
"@babel/preset-react": "7.22.
|
|
40
|
+
"@babel/plugin-transform-runtime": "7.22.4",
|
|
41
|
+
"@babel/preset-env": "7.22.4",
|
|
42
|
+
"@babel/preset-react": "7.22.3",
|
|
43
43
|
"@babel/preset-typescript": "7.21.5",
|
|
44
44
|
"@rollup/plugin-babel": "6.0.3",
|
|
45
45
|
"@rollup/plugin-commonjs": "25.0.0",
|
|
46
46
|
"@rollup/plugin-json": "6.0.0",
|
|
47
|
-
"@rollup/plugin-node-resolve": "15.0
|
|
47
|
+
"@rollup/plugin-node-resolve": "15.1.0",
|
|
48
48
|
"@rollup/plugin-replace": "5.0.2",
|
|
49
49
|
"@rollup/plugin-terser": "0.4.3",
|
|
50
50
|
"@rollup/pluginutils": "5.0.2",
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
"core-js": "3.30.2",
|
|
55
55
|
"core-js-pure": "3.30.2",
|
|
56
56
|
"date-time": "4.0.0",
|
|
57
|
-
"dotenv": "16.
|
|
57
|
+
"dotenv": "16.1.3",
|
|
58
58
|
"pretty-ms": "8.0.0",
|
|
59
59
|
"rollup": "3.23.0",
|
|
60
60
|
"rollup-plugin-analyzer": "4.0.0",
|
|
@@ -64,7 +64,7 @@
|
|
|
64
64
|
"rollup-plugin-ts": "3.2.0",
|
|
65
65
|
"signal-exit": "4.0.2",
|
|
66
66
|
"ts-node": "10.9.1",
|
|
67
|
-
"typescript": "5.
|
|
67
|
+
"typescript": "5.1.3",
|
|
68
68
|
"yargs": "17.7.2"
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
"@types/node": "20.1.7",
|
|
76
76
|
"@types/signal-exit": "3.0.1",
|
|
77
77
|
"@types/yargs": "17.0.24",
|
|
78
|
-
"@typescript-eslint/eslint-plugin": "5.59.
|
|
79
|
-
"@typescript-eslint/parser": "5.59.
|
|
78
|
+
"@typescript-eslint/eslint-plugin": "5.59.8",
|
|
79
|
+
"@typescript-eslint/parser": "5.59.8",
|
|
80
80
|
"@willbooster/babel-configs": "1.3.0",
|
|
81
81
|
"@willbooster/eslint-config-ts": "10.1.0",
|
|
82
82
|
"@willbooster/prettier-config": "9.1.1",
|
|
@@ -97,10 +97,10 @@
|
|
|
97
97
|
"prettier": "2.8.8",
|
|
98
98
|
"semantic-release": "21.0.2",
|
|
99
99
|
"sort-package-json": "2.4.1",
|
|
100
|
-
"type-fest": "3.11.
|
|
101
|
-
"vitest": "0.31.
|
|
100
|
+
"type-fest": "3.11.1",
|
|
101
|
+
"vitest": "0.31.4"
|
|
102
102
|
},
|
|
103
|
-
"packageManager": "yarn@4.0.0-rc.
|
|
103
|
+
"packageManager": "yarn@4.0.0-rc.45",
|
|
104
104
|
"engines": {
|
|
105
105
|
"node": ">=16.19.0 <20"
|
|
106
106
|
}
|