@eggjs/tsconfig 1.0.0 → 1.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/History.md +6 -0
- package/README.md +8 -2
- package/package.json +7 -7
- package/tsconfig.json +2 -1
package/History.md
CHANGED
|
@@ -1,4 +1,10 @@
|
|
|
1
1
|
|
|
2
|
+
1.1.0 / 2022-06-20
|
|
3
|
+
==================
|
|
4
|
+
|
|
5
|
+
**others**
|
|
6
|
+
* [[`9722eb2`](http://github.com/eggjs/tsconfig/commit/9722eb25e2f67fa1b87eff226507e241583c418d)] - 📦 NEW: Enable useUnknownInCatchVariables (#2) (fengmk2 <<fengmk2@gmail.com>>)
|
|
7
|
+
|
|
2
8
|
1.0.0 / 2020-07-30
|
|
3
9
|
==================
|
|
4
10
|
|
package/README.md
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
# @eggjs/tsconfig
|
|
2
|
+
|
|
2
3
|
Base tsconfig file for egg project
|
|
3
4
|
|
|
4
5
|
## Badges
|
|
5
6
|
|
|
6
7
|
[![NPM version][npm-image]][npm-url]
|
|
8
|
+
[](https://github.com/eggjs/tsconfig/actions/workflows/nodejs.yml)
|
|
7
9
|
[![NPM quality][quality-image]][quality-url]
|
|
8
10
|
[![npm download][download-image]][download-url]
|
|
9
11
|
|
|
@@ -19,7 +21,7 @@ Base tsconfig file for egg project
|
|
|
19
21
|
## Install
|
|
20
22
|
|
|
21
23
|
```shell
|
|
22
|
-
npm i --save @eggjs/tsconfig
|
|
24
|
+
npm i --save-dev @eggjs/tsconfig
|
|
23
25
|
```
|
|
24
26
|
|
|
25
27
|
## Usage
|
|
@@ -27,6 +29,10 @@ npm i --save @eggjs/tsconfig
|
|
|
27
29
|
```json
|
|
28
30
|
// tsconfig.json
|
|
29
31
|
{
|
|
30
|
-
"extends": "@eggjs/tsconfig"
|
|
32
|
+
"extends": "@eggjs/tsconfig",
|
|
33
|
+
// custom config
|
|
34
|
+
"compilerOptions": {
|
|
35
|
+
// override @eggjs/tsconfig options here
|
|
36
|
+
}
|
|
31
37
|
}
|
|
32
38
|
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eggjs/tsconfig",
|
|
3
3
|
"description": "Base tsconfig for egg ts project",
|
|
4
|
-
"version": "1.
|
|
4
|
+
"version": "1.1.0",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"egg",
|
|
7
7
|
"typescript",
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
"url": "https://github.com/eggjs/tsconfig.git"
|
|
26
26
|
},
|
|
27
27
|
"engines": {
|
|
28
|
-
"node": ">=
|
|
28
|
+
"node": ">=14.0.0"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"coffee": "^5.4.0",
|
|
32
|
-
"egg-bin": "^
|
|
33
|
-
"egg-ci": "^1.
|
|
34
|
-
"typescript": "^
|
|
32
|
+
"egg-bin": "^5.1.0",
|
|
33
|
+
"egg-ci": "^2.1.0",
|
|
34
|
+
"typescript": "^4.7.4"
|
|
35
35
|
},
|
|
36
36
|
"ci": {
|
|
37
|
-
"
|
|
38
|
-
"versions": "
|
|
37
|
+
"os": "linux",
|
|
38
|
+
"versions": "14, 16, 18"
|
|
39
39
|
}
|
|
40
40
|
}
|