@ocavue/tsconfig 0.6.3 → 0.7.1

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 CHANGED
@@ -36,7 +36,7 @@ In `tsconfig.json`, add the following content based on your target environment.
36
36
  "extends": "@ocavue/tsconfig/dom/app.json",
37
37
 
38
38
  // If you're building for non-browser environment:
39
- "extends": "@ocavue/tsconfig/es/app.json"
39
+ "extends": "@ocavue/tsconfig/es/app.json",
40
40
  }
41
41
  ```
42
42
 
@@ -63,7 +63,7 @@ In `tsconfig.json`, add the following content:
63
63
  // tsconfig.json
64
64
  {
65
65
  "extends": "@ocavue/tsconfig/es/root.json",
66
- "references": [{ "path": "./tsconfig.build.json" }]
66
+ "references": [{ "path": "./tsconfig.build.json" }],
67
67
  }
68
68
  ```
69
69
 
@@ -82,7 +82,7 @@ In `tsconfig.build.json`, add the following content based on your build tool and
82
82
  "extends": "@ocavue/tsconfig/es/build-bundler.json",
83
83
 
84
84
  // If you're building for non-browser environment and using tsc:
85
- "extends": "@ocavue/tsconfig/es/build-tsc.json"
85
+ "extends": "@ocavue/tsconfig/es/build-tsc.json",
86
86
  }
87
87
  ```
88
88
 
@@ -121,8 +121,8 @@ In the root `tsconfig.json`, add the following content:
121
121
  "extends": "@ocavue/tsconfig/es/root.json",
122
122
  "references": [
123
123
  { "path": "./apps/my-app/tsconfig.json" },
124
- { "path": "./packages/my-lib/tsconfig.json" }
125
- ]
124
+ { "path": "./packages/my-lib/tsconfig.json" },
125
+ ],
126
126
  }
127
127
  ```
128
128
 
package/dom/app.json CHANGED
@@ -6,6 +6,8 @@
6
6
 
7
7
  // Enable all strict type-checking options.
8
8
  "strict": true,
9
+ // Include "./node_modules/@types/node" for Node.js built-in type definitions.
10
+ "types": ["node"],
9
11
  // Disable unused local variables.
10
12
  "noUnusedLocals": true,
11
13
  // Whether to treat unknown side effect imports like "import './styles.css'" as errors.
@@ -6,6 +6,8 @@
6
6
 
7
7
  // Enable all strict type-checking options.
8
8
  "strict": true,
9
+ // Include "./node_modules/@types/node" for Node.js built-in type definitions.
10
+ "types": ["node"],
9
11
  // Disable unused local variables.
10
12
  "noUnusedLocals": true,
11
13
  // Whether to treat unknown side effect imports like "import './styles.css'" as errors.
@@ -6,6 +6,8 @@
6
6
 
7
7
  // Enable all strict type-checking options.
8
8
  "strict": true,
9
+ // Include "./node_modules/@types/node" for Node.js built-in type definitions.
10
+ "types": ["node"],
9
11
  // Disable unused local variables.
10
12
  "noUnusedLocals": true,
11
13
  // Whether to treat unknown side effect imports like "import './styles.css'" as errors.
package/dom/root.json CHANGED
@@ -6,6 +6,8 @@
6
6
 
7
7
  // Enable all strict type-checking options.
8
8
  "strict": true,
9
+ // Include "./node_modules/@types/node" for Node.js built-in type definitions.
10
+ "types": ["node"],
9
11
  // Disable unused local variables.
10
12
  "noUnusedLocals": true,
11
13
  // Whether to treat unknown side effect imports like "import './styles.css'" as errors.
package/es/app.json CHANGED
@@ -6,6 +6,8 @@
6
6
 
7
7
  // Enable all strict type-checking options.
8
8
  "strict": true,
9
+ // Include "./node_modules/@types/node" for Node.js built-in type definitions.
10
+ "types": ["node"],
9
11
  // Disable unused local variables.
10
12
  "noUnusedLocals": true,
11
13
  // Whether to treat unknown side effect imports like "import './styles.css'" as errors.
@@ -6,6 +6,8 @@
6
6
 
7
7
  // Enable all strict type-checking options.
8
8
  "strict": true,
9
+ // Include "./node_modules/@types/node" for Node.js built-in type definitions.
10
+ "types": ["node"],
9
11
  // Disable unused local variables.
10
12
  "noUnusedLocals": true,
11
13
  // Whether to treat unknown side effect imports like "import './styles.css'" as errors.
package/es/build-tsc.json CHANGED
@@ -6,6 +6,8 @@
6
6
 
7
7
  // Enable all strict type-checking options.
8
8
  "strict": true,
9
+ // Include "./node_modules/@types/node" for Node.js built-in type definitions.
10
+ "types": ["node"],
9
11
  // Disable unused local variables.
10
12
  "noUnusedLocals": true,
11
13
  // Whether to treat unknown side effect imports like "import './styles.css'" as errors.
package/es/root.json CHANGED
@@ -6,6 +6,8 @@
6
6
 
7
7
  // Enable all strict type-checking options.
8
8
  "strict": true,
9
+ // Include "./node_modules/@types/node" for Node.js built-in type definitions.
10
+ "types": ["node"],
9
11
  // Disable unused local variables.
10
12
  "noUnusedLocals": true,
11
13
  // Whether to treat unknown side effect imports like "import './styles.css'" as errors.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ocavue/tsconfig",
3
3
  "type": "module",
4
- "version": "0.6.3",
4
+ "version": "0.7.1",
5
5
  "description": "A collection of reusable TypeScript configurations",
6
6
  "author": "ocavue <ocavue@gmail.com>",
7
7
  "license": "MIT",
@@ -27,7 +27,7 @@
27
27
  "build": "bun build.ts"
28
28
  },
29
29
  "devDependencies": {
30
- "@types/bun": "^1.3.2",
31
- "prettier": "^3.6.2"
30
+ "@types/bun": "^1.3.10",
31
+ "prettier": "^3.8.1"
32
32
  }
33
33
  }