@foxglove/tsconfig 1.1.0 → 2.0.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 +2 -0
- package/base.json +4 -4
- package/package.json +15 -13
package/README.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# @foxglove/tsconfig
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@foxglove/tsconfig)
|
|
4
|
+
|
|
3
5
|
Base tsconfig for Foxglove projects.
|
|
4
6
|
|
|
5
7
|
To use, run `npm i --save-dev @foxglove/tsconfig`, then extend your `tsconfig.json` like so:
|
package/base.json
CHANGED
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
{
|
|
4
4
|
"$schema": "https://json.schemastore.org/tsconfig",
|
|
5
5
|
"compilerOptions": {
|
|
6
|
-
// build
|
|
7
|
-
"module": "
|
|
8
|
-
"target": "
|
|
9
|
-
"lib": ["
|
|
6
|
+
// build es2022 modules by default
|
|
7
|
+
"module": "es2022",
|
|
8
|
+
"target": "es2022",
|
|
9
|
+
"lib": ["es2022"],
|
|
10
10
|
"moduleResolution": "node",
|
|
11
11
|
"esModuleInterop": true,
|
|
12
12
|
"importHelpers": true,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@foxglove/tsconfig",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "
|
|
4
|
+
"version": "2.0.0",
|
|
5
5
|
"description": "Base TypeScript configuration for Foxglove projects",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"repository": "github:foxglove/tsconfig",
|
|
@@ -17,18 +17,20 @@
|
|
|
17
17
|
"lint": "tsc --project base.json --outDir dist && eslint ."
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@foxglove/eslint-plugin": "0.
|
|
21
|
-
"@types/jest": "
|
|
22
|
-
"@typescript-eslint/eslint-plugin": "
|
|
23
|
-
"@typescript-eslint/parser": "
|
|
20
|
+
"@foxglove/eslint-plugin": "0.21.2",
|
|
21
|
+
"@types/jest": "29.5.1",
|
|
22
|
+
"@typescript-eslint/eslint-plugin": "5.59.1",
|
|
23
|
+
"@typescript-eslint/parser": "5.59.1",
|
|
24
24
|
"esbuild-jest": "0.5.0",
|
|
25
|
-
"eslint": "
|
|
26
|
-
"eslint-config-prettier": "8.
|
|
27
|
-
"eslint-plugin-
|
|
28
|
-
"eslint-plugin-
|
|
29
|
-
"eslint-plugin-
|
|
30
|
-
"jest": "27.
|
|
31
|
-
"prettier": "2.
|
|
32
|
-
"
|
|
25
|
+
"eslint": "8.39.0",
|
|
26
|
+
"eslint-config-prettier": "8.8.0",
|
|
27
|
+
"eslint-plugin-es": "4.1.0",
|
|
28
|
+
"eslint-plugin-filenames": "1.3.2",
|
|
29
|
+
"eslint-plugin-import": "2.27.5",
|
|
30
|
+
"eslint-plugin-jest": "27.2.1",
|
|
31
|
+
"eslint-plugin-prettier": "4.2.1",
|
|
32
|
+
"jest": "29.5.0",
|
|
33
|
+
"prettier": "2.8.8",
|
|
34
|
+
"typescript": "5.0.4"
|
|
33
35
|
}
|
|
34
36
|
}
|