@jmlweb/tsconfig-react 1.0.0 → 1.0.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.
Files changed (3) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +22 -3
  3. package/package.json +12 -12
package/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # @jmlweb/tsconfig-react
2
+
3
+ ## 1.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 2208f74: Standardize repository field format to object format across all packages and configure syncpack to preserve it.
8
+ - Updated dependencies [2208f74]
9
+ - @jmlweb/tsconfig-base@1.0.1
package/README.md CHANGED
@@ -173,9 +173,22 @@ You can extend or override the configuration for your specific needs:
173
173
  }
174
174
  ```
175
175
 
176
- ## 📝 Usage with Build Tools
176
+ ## 📝 Usage with Scripts
177
177
 
178
- ### Vite
178
+ TypeScript compilation is typically handled by your build tool. For manual compilation:
179
+
180
+ ```json
181
+ {
182
+ "scripts": {
183
+ "build": "tsc",
184
+ "typecheck": "tsc --noEmit"
185
+ }
186
+ }
187
+ ```
188
+
189
+ ### Usage with Build Tools
190
+
191
+ #### Vite
179
192
 
180
193
  ```typescript
181
194
  // vite.config.ts
@@ -187,7 +200,7 @@ export default defineConfig({
187
200
  });
188
201
  ```
189
202
 
190
- ### Webpack
203
+ #### Webpack
191
204
 
192
205
  ```typescript
193
206
  // webpack.config.ts
@@ -218,6 +231,12 @@ This package requires the following peer dependencies:
218
231
  - `typescript` (>= 5.0.0)
219
232
  - `@jmlweb/tsconfig-base` (^1.0.0)
220
233
 
234
+ ## 📚 Examples
235
+
236
+ See real-world usage examples:
237
+
238
+ - [`example-react-typescript-app`](../../apps/example-react-typescript-app) - React TypeScript app example
239
+
221
240
  ## 🔗 Related Packages
222
241
 
223
242
  - [`@jmlweb/tsconfig-base`](../tsconfig-base) - Base TypeScript configuration (extended by this package)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jmlweb/tsconfig-react",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "TypeScript configuration for React libraries with JSX support and modern defaults",
5
5
  "main": "tsconfig.json",
6
6
  "exports": {
@@ -8,16 +8,17 @@
8
8
  },
9
9
  "files": [
10
10
  "tsconfig.json",
11
- "README.md"
11
+ "README.md",
12
+ "CHANGELOG.md"
12
13
  ],
13
14
  "keywords": [
14
- "tsconfig",
15
- "typescript",
16
15
  "config",
17
- "react",
18
16
  "jsx",
17
+ "react",
19
18
  "strict",
20
- "type-checking"
19
+ "tsconfig",
20
+ "type-checking",
21
+ "typescript"
21
22
  ],
22
23
  "author": "jmlweb",
23
24
  "license": "MIT",
@@ -25,9 +26,7 @@
25
26
  "type": "git",
26
27
  "url": "https://github.com/jmlweb/tooling.git"
27
28
  },
28
- "bugs": {
29
- "url": "https://github.com/jmlweb/tooling/issues"
30
- },
29
+ "bugs": "https://github.com/jmlweb/tooling/issues",
31
30
  "homepage": "https://github.com/jmlweb/tooling/tree/main/packages/tsconfig-react#readme",
32
31
  "engines": {
33
32
  "node": ">=18.0.0"
@@ -36,6 +35,7 @@
36
35
  "access": "public"
37
36
  },
38
37
  "peerDependencies": {
39
- "@jmlweb/tsconfig-base": "^1.0.0"
40
- }
41
- }
38
+ "@jmlweb/tsconfig-base": "^1.0.1"
39
+ },
40
+ "scripts": {}
41
+ }