@xylabs/tsconfig-react 7.13.13 → 7.13.14
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/package.json +4 -4
- package/README.body.md +0 -41
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json.schemastore.org/package.json",
|
|
3
3
|
"name": "@xylabs/tsconfig-react",
|
|
4
|
-
"version": "7.13.
|
|
4
|
+
"version": "7.13.14",
|
|
5
5
|
"description": "Typescript Base Config used throughout XY Labs TypeScript/JavaScript libraries and react projects",
|
|
6
6
|
"keywords": [
|
|
7
7
|
"xylabs",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "^25.6.0",
|
|
42
|
-
"@xylabs/toolchain": "~7.13.
|
|
43
|
-
"@xylabs/tsconfig": "~7.13.
|
|
44
|
-
"@xylabs/tsconfig-dom": "~7.13.
|
|
42
|
+
"@xylabs/toolchain": "~7.13.14",
|
|
43
|
+
"@xylabs/tsconfig": "~7.13.14",
|
|
44
|
+
"@xylabs/tsconfig-dom": "~7.13.14",
|
|
45
45
|
"acorn": "^8.16.0",
|
|
46
46
|
"cosmiconfig": "~9.0.1",
|
|
47
47
|
"eslint": "^10.3.0",
|
package/README.body.md
DELETED
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
## Install
|
|
2
|
-
|
|
3
|
-
Using npm:
|
|
4
|
-
|
|
5
|
-
```sh
|
|
6
|
-
npm install -D {{name}} @xylabs/tsconfig-dom @xylabs/tsconfig
|
|
7
|
-
```
|
|
8
|
-
|
|
9
|
-
Using yarn:
|
|
10
|
-
|
|
11
|
-
```sh
|
|
12
|
-
yarn add -D {{name}} @xylabs/tsconfig-dom @xylabs/tsconfig
|
|
13
|
-
```
|
|
14
|
-
|
|
15
|
-
Using pnpm:
|
|
16
|
-
|
|
17
|
-
```sh
|
|
18
|
-
pnpm add -D {{name}} @xylabs/tsconfig-dom @xylabs/tsconfig
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
Using bun:
|
|
22
|
-
|
|
23
|
-
```sh
|
|
24
|
-
bun add -D {{name}} @xylabs/tsconfig-dom @xylabs/tsconfig
|
|
25
|
-
```
|
|
26
|
-
|
|
27
|
-
## Usage
|
|
28
|
-
|
|
29
|
-
Extend this config in your project's `tsconfig.json`:
|
|
30
|
-
|
|
31
|
-
```json
|
|
32
|
-
{
|
|
33
|
-
"extends": "@xylabs/tsconfig-react",
|
|
34
|
-
"compilerOptions": {
|
|
35
|
-
"outDir": "./dist"
|
|
36
|
-
},
|
|
37
|
-
"include": ["src"]
|
|
38
|
-
}
|
|
39
|
-
```
|
|
40
|
-
|
|
41
|
-
This extends [`@xylabs/tsconfig-dom`](https://www.npmjs.com/package/@xylabs/tsconfig-dom) and adds `"jsx": "react-jsx"`, enabling React 18+ JSX transform without needing to import `React` in every file.
|