@xylabs/tsconfig-react 8.6.9 → 8.6.11

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 +1 -63
  2. package/package.json +10 -39
  3. package/tsconfig.json +1 -4
package/README.md CHANGED
@@ -1,65 +1,3 @@
1
- [![logo][]](https://xylabs.com)
2
-
3
1
  # @xylabs/tsconfig-react
4
2
 
5
- [![npm][npm-badge]][npm-link]
6
- [![license][license-badge]][license-link]
7
-
8
- > Typescript Base Config used throughout XY Labs TypeScript/JavaScript libraries and react projects
9
-
10
- ## Install
11
-
12
- Using npm:
13
-
14
- ```sh
15
- npm install -D {{name}} @xylabs/tsconfig-dom @xylabs/tsconfig
16
- ```
17
-
18
- Using yarn:
19
-
20
- ```sh
21
- yarn add -D {{name}} @xylabs/tsconfig-dom @xylabs/tsconfig
22
- ```
23
-
24
- Using pnpm:
25
-
26
- ```sh
27
- pnpm add -D {{name}} @xylabs/tsconfig-dom @xylabs/tsconfig
28
- ```
29
-
30
- Using bun:
31
-
32
- ```sh
33
- bun add -D {{name}} @xylabs/tsconfig-dom @xylabs/tsconfig
34
- ```
35
-
36
- ## Usage
37
-
38
- Extend this config in your project's `tsconfig.json`:
39
-
40
- ```json
41
- {
42
- "extends": "@xylabs/tsconfig-react",
43
- "compilerOptions": {
44
- "outDir": "./dist"
45
- },
46
- "include": ["src"]
47
- }
48
- ```
49
-
50
- 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.
51
-
52
-
53
- ## License
54
-
55
- See the [LICENSE](LICENSE) file for license rights and limitations (LGPL-3.0-only).
56
-
57
- ## Credits
58
-
59
- [Made with 🔥 and ❄️ by XY Labs](https://xylabs.com)
60
-
61
- [npm-badge]: https://img.shields.io/npm/v/@xylabs/tsconfig-react.svg
62
- [npm-link]: https://www.npmjs.com/package/@xylabs/tsconfig-react
63
- [license-badge]: https://img.shields.io/npm/l/@xylabs/tsconfig-react.svg
64
- [license-link]: https://github.com/xylabs/sdk-js/blob/main/LICENSE
65
- [logo]: https://cdn.xy.company/img/brand/XYPersistentCompany_Logo_Icon_Colored.svg
3
+ Deprecated compatibility package. Use `@ariestools/tsconfig-react` instead.
package/package.json CHANGED
@@ -1,54 +1,24 @@
1
1
  {
2
- "$schema": "http://json.schemastore.org/package.json",
3
2
  "name": "@xylabs/tsconfig-react",
4
- "version": "8.6.9",
5
- "description": "Typescript Base Config used throughout XY Labs TypeScript/JavaScript libraries and react projects",
6
- "keywords": [
7
- "xylabs",
8
- "utility",
9
- "config",
10
- "typescript",
11
- "tsconfig"
12
- ],
13
- "homepage": "https://github.com/xylabs/config.git",
14
- "bugs": {
15
- "url": "git+https://github.com/xylabs/config/issues",
16
- "email": "support@xylabs.com"
17
- },
18
- "repository": {
19
- "type": "git",
20
- "url": "git+https://github.com/xylabs/config.git"
21
- },
22
- "license": "LGPL-3.0-only",
23
- "author": {
24
- "name": "XY Labs Development Team",
25
- "email": "support@xylabs.com",
26
- "url": "https://xylabs.com"
27
- },
3
+ "version": "8.6.11",
4
+ "description": "Deprecated compatibility stub for @ariestools/tsconfig-react",
28
5
  "sideEffects": false,
29
6
  "type": "module",
30
7
  "main": "./tsconfig.json",
31
8
  "module": "./tsconfig.json",
32
9
  "files": [
33
10
  "README.md",
34
- "LICENSE",
35
11
  "tsconfig.json"
36
12
  ],
13
+ "dependencies": {
14
+ "@ariestools/tsconfig": "~8.6.11",
15
+ "@ariestools/tsconfig-dom": "~8.6.11",
16
+ "@ariestools/tsconfig-react": "~8.6.11"
17
+ },
37
18
  "devDependencies": {
38
- "@types/node": "~26.0.1",
39
- "@typescript-eslint/parser": "~8.62.0",
40
- "acorn": "~8.17.0",
41
- "cosmiconfig": "~9.0.2",
42
- "eslint": "~10.5.0",
43
- "eslint-import-resolver-typescript": "~4.4.5",
19
+ "eslint": "~10.6.0",
44
20
  "typescript": "~6.0.3",
45
- "@xylabs/toolchain": "~8.6.9",
46
- "@xylabs/tsconfig": "~8.6.9",
47
- "@xylabs/tsconfig-dom": "~8.6.9"
48
- },
49
- "peerDependencies": {
50
- "@xylabs/tsconfig": "~8.6.9",
51
- "@xylabs/tsconfig-dom": "~8.6.9"
21
+ "@ariestools/toolchain": "~8.6.11"
52
22
  },
53
23
  "engines": {
54
24
  "node": ">=22"
@@ -56,6 +26,7 @@
56
26
  "publishConfig": {
57
27
  "access": "public"
58
28
  },
29
+ "deprecated": "Use @ariestools/tsconfig-react instead.",
59
30
  "scripts": {
60
31
  "package-compile": "echo Compiled"
61
32
  }
package/tsconfig.json CHANGED
@@ -1,6 +1,3 @@
1
1
  {
2
- "compilerOptions": {
3
- "jsx": "react-jsx"
4
- },
5
- "extends": "@xylabs/tsconfig-dom"
2
+ "extends": "@ariestools/tsconfig-react"
6
3
  }