@aristobyte-ui/typescript-config 1.0.18 → 1.0.20

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aristobyte-ui/typescript-config",
3
3
  "description": "Shared TypeScript config presets used across AristoByteUI platform and packages.",
4
- "version": "1.0.18",
4
+ "version": "1.0.20",
5
5
  "license": "MIT",
6
6
  "private": false,
7
7
  "main": "tsconfig.base.json",
@@ -1,47 +1,18 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
3
  "compilerOptions": {
4
- "target": "ES2022",
5
- "lib": ["DOM", "DOM.Iterable", "ES2022"],
6
- "module": "NodeNext",
7
- "moduleResolution": "NodeNext",
8
- "moduleDetection": "force",
9
-
10
- // Output
11
4
  "declaration": true,
12
5
  "declarationMap": true,
13
- "emitDeclarationOnly": false,
14
- "outDir": "dist",
15
-
16
- // Interop & Tools
17
6
  "esModuleInterop": true,
18
7
  "resolveJsonModule": true,
19
8
  "allowSyntheticDefaultImports": true,
20
9
  "isolatedModules": true,
21
10
  "incremental": true,
22
-
23
- // Strictness
24
11
  "strict": true,
25
- "noUncheckedIndexedAccess": true,
26
12
  "skipLibCheck": true,
27
-
28
- // Paths
29
- "baseUrl": "packages/typescript-config",
30
- "paths": {
31
- "@aristobyte/anchor/*": ["packages/anchor/*"],
32
- "@aristobyte/button/*": ["packages/button/*"],
33
- "@aristobyte/dropdown/*": ["packages/dropdown/*"],
34
- "@aristobyte/eslint-config/*": ["packages/eslint-config/*"],
35
- "@aristobyte/jest-config/*": ["packages/jest-config/*"],
36
- "@aristobyte/message-box/*": ["packages/message-box/*"],
37
- "@aristobyte/radio/*": ["packages/radio/*"],
38
- "@aristobyte/spinner/*": ["packages/spinner/*"],
39
- "@aristobyte/switch/*": ["packages/switch/*"],
40
- "@aristobyte/typescript-config/*": ["packages/typescript-config/*"],
41
- "@types/*": ["@types/*"]
42
- },
43
-
44
- "typeRoots": ["./@types", "./node_modules/@types"],
45
- "forceConsistentCasingInFileNames": true
13
+ "forceConsistentCasingInFileNames": true,
14
+ "jsx": "react-jsx",
15
+ "baseUrl": "./",
16
+ "typeRoots": ["./@types", "./node_modules/@types"]
46
17
  }
47
18
  }
@@ -1,12 +1,17 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
2
  "extends": "./tsconfig.base.json",
4
3
  "compilerOptions": {
5
- "jsx": "preserve",
4
+ "target": "ES2022",
5
+ "lib": ["DOM", "DOM.Iterable", "ES2022"],
6
+ "moduleDetection": "force",
7
+ "emitDeclarationOnly": false,
8
+ "outDir": "dist",
6
9
  "module": "ESNext",
7
10
  "moduleResolution": "Bundler",
8
11
  "noEmit": true,
9
12
  "allowJs": true,
13
+ "jsx": "preserve",
14
+ "noUncheckedIndexedAccess": true,
10
15
  "plugins": [{ "name": "next" }]
11
16
  }
12
17
  }
@@ -1,14 +1,15 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
2
  "extends": "./tsconfig.base.json",
4
3
  "compilerOptions": {
5
- "jsx": "react-jsx",
6
- "noEmit": false,
7
- "emitDeclarationOnly": false,
8
- "declaration": true,
9
- "declarationMap": true,
4
+ "target": "ES5",
10
5
  "module": "ESNext",
11
- "target": "ES6",
12
- "moduleResolution": "node"
6
+ "lib": ["DOM", "DOM.Iterable", "ESNext"],
7
+ "allowJs": true,
8
+ "noFallthroughCasesInSwitch": true,
9
+ "moduleResolution": "node",
10
+ "jsx": "react-jsx",
11
+ "noEmit": true,
12
+ "declarationDir": "dist/types",
13
+ "tsBuildInfoFile": "dist/.tsbuildinfo"
13
14
  }
14
15
  }
@@ -1,9 +1,12 @@
1
1
  {
2
- "$schema": "https://json.schemastore.org/tsconfig",
3
2
  "extends": "./tsconfig.base.json",
4
3
  "compilerOptions": {
5
- "jsx": "react-jsx",
4
+ "target": "ES2022",
5
+ "lib": ["DOM", "DOM.Iterable", "ES2022"],
6
+ "moduleDetection": "force",
7
+ "outDir": "dist",
6
8
  "noEmit": false,
7
- "emitDeclarationOnly": true
9
+ "emitDeclarationOnly": true,
10
+ "noUncheckedIndexedAccess": true
8
11
  }
9
12
  }