build-ts 15.0.20 → 15.1.0
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 +8 -8
- package/package.json +13 -13
package/README.md
CHANGED
|
@@ -25,9 +25,9 @@ An opinionated tool for building a Node.js app and library written in TypeScript
|
|
|
25
25
|
`npx build-ts app [project path]`, e.g.,
|
|
26
26
|
|
|
27
27
|
```sh
|
|
28
|
-
npx build-ts app test
|
|
28
|
+
npx build-ts app test/fixtures/app-node
|
|
29
29
|
# or
|
|
30
|
-
cd test
|
|
30
|
+
cd test/fixtures/app-node && npx build-ts app
|
|
31
31
|
```
|
|
32
32
|
|
|
33
33
|
## Firebase Functions
|
|
@@ -35,9 +35,9 @@ cd test-fixtures/app-node && npx build-ts app
|
|
|
35
35
|
`npx build-ts functions [project path]`, e.g.,
|
|
36
36
|
|
|
37
37
|
```sh
|
|
38
|
-
npx build-ts app test
|
|
38
|
+
npx build-ts app test/fixtures/functions
|
|
39
39
|
# or
|
|
40
|
-
cd test
|
|
40
|
+
cd test/fixtures/functions && npx build-ts app
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
## Node.js / Browser Library
|
|
@@ -45,9 +45,9 @@ cd test-fixtures/functions && npx build-ts app
|
|
|
45
45
|
`npx build-ts lib [project path]`, e.g.,
|
|
46
46
|
|
|
47
47
|
```sh
|
|
48
|
-
npx build-ts lib test
|
|
48
|
+
npx build-ts lib test/fixtures/lib
|
|
49
49
|
# or
|
|
50
|
-
cd test
|
|
50
|
+
cd test/fixtures/lib && npx build-ts lib
|
|
51
51
|
```
|
|
52
52
|
|
|
53
53
|
## React Library
|
|
@@ -55,9 +55,9 @@ cd test-fixtures/lib && npx build-ts lib
|
|
|
55
55
|
`npx build-ts lib [project path]`, e.g.,
|
|
56
56
|
|
|
57
57
|
```sh
|
|
58
|
-
npx build-ts lib test
|
|
58
|
+
npx build-ts lib test/fixtures/lib-react
|
|
59
59
|
# or
|
|
60
|
-
cd test
|
|
60
|
+
cd test/fixtures/lib-react && npx build-ts lib
|
|
61
61
|
```
|
|
62
62
|
|
|
63
63
|
## Run TypeScript code with arguments
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "build-ts",
|
|
3
|
-
"version": "15.0
|
|
3
|
+
"version": "15.1.0",
|
|
4
4
|
"repository": "github:WillBooster/build-ts",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"author": "WillBooster Inc.",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,java,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test{-,/}fixtures/**\" || true",
|
|
27
27
|
"start": "tsx src/index.ts",
|
|
28
28
|
"start-prod": "yarn build && yarn build-ts",
|
|
29
|
-
"test": "vitest",
|
|
29
|
+
"test": "vitest run",
|
|
30
30
|
"typecheck": "wb typecheck"
|
|
31
31
|
},
|
|
32
32
|
"prettier": "@willbooster/prettier-config",
|
|
@@ -49,15 +49,15 @@
|
|
|
49
49
|
"@willbooster/shared-lib-node": "7.0.5",
|
|
50
50
|
"babel-plugin-polyfill-corejs3": "0.13.0",
|
|
51
51
|
"babel-plugin-transform-remove-console": "6.9.4",
|
|
52
|
-
"chalk": "5.
|
|
53
|
-
"core-js": "3.45.
|
|
54
|
-
"core-js-pure": "3.45.
|
|
52
|
+
"chalk": "5.6.0",
|
|
53
|
+
"core-js": "3.45.1",
|
|
54
|
+
"core-js-pure": "3.45.1",
|
|
55
55
|
"date-time": "4.0.0",
|
|
56
56
|
"pretty-ms": "9.2.0",
|
|
57
|
-
"rollup": "4.
|
|
57
|
+
"rollup": "4.47.1",
|
|
58
58
|
"rollup-plugin-analyzer": "4.0.0",
|
|
59
59
|
"rollup-plugin-keep-import": "1.0.3",
|
|
60
|
-
"rollup-plugin-node-externals": "8.0
|
|
60
|
+
"rollup-plugin-node-externals": "8.1.0",
|
|
61
61
|
"rollup-plugin-preserve-directives": "0.4.0",
|
|
62
62
|
"rollup-plugin-string": "3.0.0",
|
|
63
63
|
"rollup-plugin-ts": "3.4.5",
|
|
@@ -75,11 +75,11 @@
|
|
|
75
75
|
"@types/signal-exit": "3.0.4",
|
|
76
76
|
"@types/yargs": "17.0.33",
|
|
77
77
|
"@willbooster/babel-configs": "2.3.0",
|
|
78
|
-
"@willbooster/eslint-config-ts": "11.4.
|
|
78
|
+
"@willbooster/eslint-config-ts": "11.4.5",
|
|
79
79
|
"@willbooster/prettier-config": "10.2.0",
|
|
80
|
-
"@willbooster/wb": "
|
|
80
|
+
"@willbooster/wb": "10.0.3",
|
|
81
81
|
"conventional-changelog-conventionalcommits": "9.1.0",
|
|
82
|
-
"eslint": "9.
|
|
82
|
+
"eslint": "9.34.0",
|
|
83
83
|
"eslint-config-flat-gitignore": "2.1.0",
|
|
84
84
|
"eslint-config-prettier": "10.1.8",
|
|
85
85
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
@@ -87,7 +87,7 @@
|
|
|
87
87
|
"eslint-plugin-sort-class-members": "1.21.0",
|
|
88
88
|
"eslint-plugin-sort-destructure-keys": "2.0.0",
|
|
89
89
|
"eslint-plugin-unicorn": "60.0.0",
|
|
90
|
-
"eslint-plugin-unused-imports": "4.
|
|
90
|
+
"eslint-plugin-unused-imports": "4.2.0",
|
|
91
91
|
"globals": "16.3.0",
|
|
92
92
|
"husky": "9.1.7",
|
|
93
93
|
"lint-staged": "16.1.5",
|
|
@@ -98,10 +98,10 @@
|
|
|
98
98
|
"semantic-release": "24.2.7",
|
|
99
99
|
"sort-package-json": "3.4.0",
|
|
100
100
|
"type-fest": "4.41.0",
|
|
101
|
-
"typescript-eslint": "8.
|
|
101
|
+
"typescript-eslint": "8.40.0",
|
|
102
102
|
"vitest": "3.2.4"
|
|
103
103
|
},
|
|
104
|
-
"packageManager": "yarn@4.9.
|
|
104
|
+
"packageManager": "yarn@4.9.3",
|
|
105
105
|
"engines": {
|
|
106
106
|
"node": ">=20"
|
|
107
107
|
}
|