@eggjs/tsconfig 3.1.0-beta.3 → 3.1.0-beta.30

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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/tsconfig.json +5 -2
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": "3.1.0-beta.3",
4
+ "version": "3.1.0-beta.30",
5
5
  "keywords": [
6
6
  "egg",
7
7
  "typescript",
@@ -15,22 +15,22 @@
15
15
  "bugs": {
16
16
  "url": "https://github.com/eggjs/egg/issues"
17
17
  },
18
+ "homepage": "https://github.com/eggjs/egg/tree/next/packages/tsconfig",
18
19
  "repository": {
19
20
  "type": "git",
20
21
  "url": "git+https://github.com/eggjs/egg.git",
21
22
  "directory": "packages/tsconfig"
22
23
  },
23
24
  "engines": {
24
- "node": ">=22.17.1"
25
+ "node": ">=22.18.0"
25
26
  },
26
27
  "publishConfig": {
27
28
  "access": "public"
28
29
  },
29
30
  "devDependencies": {
30
- "@types/node": "24",
31
31
  "coffee": "5",
32
- "typescript": "5",
33
- "vitest": "beta"
32
+ "typescript": "^5.9.3",
33
+ "vitest": "4.0.1"
34
34
  },
35
35
  "type": "module",
36
36
  "scripts": {
package/tsconfig.json CHANGED
@@ -36,8 +36,11 @@
36
36
  "incremental": false,
37
37
  // https://nodejs.org/en/learn/typescript/publishing-a-ts-package#treat-types-like-a-test
38
38
  "erasableSyntaxOnly": true,
39
- "verbatimModuleSyntax": true,
39
+ // only for lib, not good for app
40
+ "verbatimModuleSyntax": false,
40
41
  "rewriteRelativeImportExtensions": true,
41
- "allowImportingTsExtensions": true
42
+ "allowImportingTsExtensions": true,
43
+ // https://www.typescriptlang.org/docs/handbook/release-notes/typescript-5-5.html#isolated-declarations
44
+ "isolatedDeclarations": false
42
45
  }
43
46
  }