@yuu1111/tsconfig 1.0.1 → 1.0.3

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 (3) hide show
  1. package/README.md +8 -7
  2. package/base.json +4 -4
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -12,21 +12,22 @@ bun add -D @yuu1111/tsconfig
12
12
 
13
13
  Extend one of the presets in your `tsconfig.json`:
14
14
 
15
- ### React
15
+ ### Base
16
16
 
17
17
  ```json
18
18
  {
19
- "extends": "@yuu1111/tsconfig/react.json",
20
- "compilerOptions": {
21
- "outDir": "dist"
22
- }
19
+ "extends": "@yuu1111/tsconfig/base.json"
23
20
  }
24
21
  ```
25
22
 
26
- ### Base
23
+ ### React
24
+
27
25
  ```json
28
26
  {
29
- "extends": "@yuu1111/tsconfig/base.json"
27
+ "extends": "@yuu1111/tsconfig/react.json",
28
+ "compilerOptions": {
29
+ "outDir": "dist"
30
+ }
30
31
  }
31
32
  ```
32
33
 
package/base.json CHANGED
@@ -2,16 +2,16 @@
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
3
  "compilerOptions": {
4
4
  "strict": true,
5
+ "lib": ["ESNext"],
5
6
  "target": "ESNext",
6
- "module": "ESNext",
7
+ "module": "Preserve",
8
+ "moduleDetection": "force",
7
9
  "moduleResolution": "bundler",
8
10
  "esModuleInterop": true,
11
+ "noEmit": true,
9
12
  "isolatedModules": true,
10
13
  "skipLibCheck": true,
11
14
  "resolveJsonModule": true,
12
- "declaration": true,
13
- "declarationMap": true,
14
- "sourceMap": true,
15
15
  "forceConsistentCasingInFileNames": true,
16
16
  "verbatimModuleSyntax": true,
17
17
  "noUncheckedIndexedAccess": true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yuu1111/tsconfig",
3
- "version": "1.0.1",
3
+ "version": "1.0.3",
4
4
  "description": "Shared TypeScript configurations",
5
5
  "license": "MIT",
6
6
  "tsconfig": "./base.json",