@websolutespa/tsconfig 0.0.3 → 1.10.0-next.0

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,25 +1,26 @@
1
- {
2
- "name": "@websolutespa/tsconfig",
3
- "version": "0.0.3",
4
- "description": "Base shared TsConfig settings of the BOM Repository",
5
- "keywords": [
6
- "typescript",
7
- "tsconfig",
8
- "websolute"
9
- ],
10
- "license": "MIT",
11
- "repository": {
12
- "type": "git",
13
- "url": "git://github.com/websolutespa/bom.git"
14
- },
15
- "publishConfig": {
16
- "access": "public"
17
- },
18
- "sideEffects": false,
19
- "files": [
20
- "tsbase.json",
21
- "tsnext.json",
22
- "tsnode.json",
23
- "tsreact.json"
24
- ]
25
- }
1
+ {
2
+ "name": "@websolutespa/tsconfig",
3
+ "version": "1.10.0-next.0",
4
+ "description": "Base shared TsConfig settings of the BOM Repository",
5
+ "keywords": [
6
+ "typescript",
7
+ "tsconfig",
8
+ "websolute"
9
+ ],
10
+ "license": "MIT",
11
+ "repository": {
12
+ "type": "git",
13
+ "url": "git://github.com/websolutespa/bom.git"
14
+ },
15
+ "publishConfig": {
16
+ "access": "public"
17
+ },
18
+ "sideEffects": false,
19
+ "files": [
20
+ "tsbase.json",
21
+ "tsnext.json",
22
+ "tsnode.json",
23
+ "tsplugin.json",
24
+ "tsreact.json"
25
+ ]
26
+ }
package/tsbase.json CHANGED
@@ -1,38 +1,23 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
- "display": "Default",
4
3
  "compilerOptions": {
5
- "allowJs": false,
6
- "allowUnreachableCode": false,
7
- "allowUnusedLabels": false,
8
- "composite": false,
4
+ "lib": [
5
+ "DOM",
6
+ "DOM.Iterable",
7
+ "ES2022"
8
+ ],
9
+ "target": "ES2022",
10
+ "module": "NodeNext",
11
+ "moduleResolution": "NodeNext",
12
+ "moduleDetection": "force",
9
13
  "declaration": true,
10
14
  "declarationMap": true,
11
- "downlevelIteration": true,
12
15
  "esModuleInterop": true,
13
- "forceConsistentCasingInFileNames": true,
14
- "importsNotUsedAsValues": "remove",
15
16
  "incremental": false,
16
- "inlineSources": false,
17
17
  "isolatedModules": true,
18
- "moduleResolution": "node",
19
- "noFallthroughCasesInSwitch": true,
20
- "noImplicitReturns": true,
21
- "noImplicitUseStrict": false,
22
- "noStrictGenericChecks": false,
23
- "noUnusedLocals": false,
24
- "noUnusedParameters": false,
25
- "preserveWatchOutput": true,
18
+ "noUncheckedIndexedAccess": true,
26
19
  "resolveJsonModule": true,
27
20
  "skipLibCheck": true,
28
- "strict": true
29
- },
30
- "exclude": [
31
- "node_modules",
32
- "dist",
33
- "build"
34
- ],
35
- "ts-node": {
36
- "transpileOnly": true
21
+ "strict": true,
37
22
  }
38
23
  }
package/tsnext.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
- "display": "Next.js",
4
3
  "extends": "./tsbase.json",
5
4
  "compilerOptions": {
5
+ "plugins": [
6
+ {
7
+ "name": "next"
8
+ }
9
+ ],
10
+ "module": "ESNext",
11
+ "moduleResolution": "Bundler",
12
+ "jsx": "preserve",
6
13
  "allowJs": true,
7
14
  "composite": true,
15
+ "emitDeclarationOnly": true,
8
16
  "incremental": true,
9
- "jsx": "preserve",
10
- "lib": [
11
- "dom",
12
- "dom.iterable",
13
- "esnext"
14
- ],
15
- "module": "esnext",
16
17
  "noEmit": true,
17
- "target": "es6"
18
18
  }
19
19
  }
package/tsnode.json CHANGED
@@ -1,13 +1,11 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
- "display": "Node 16",
3
+ "display": "Node 23",
4
4
  "extends": "./tsbase.json",
5
5
  "compilerOptions": {
6
6
  "lib": [
7
- "ES2020"
8
- ],
9
- "module": "commonjs",
10
- "target": "ES2020"
7
+ "ES2022"
8
+ ]
11
9
  },
12
10
  "ts-node": {
13
11
  "transpileOnly": true
package/tsplugin.json ADDED
@@ -0,0 +1,15 @@
1
+ {
2
+ "$schema": "https://json.schemastore.org/tsconfig",
3
+ "extends": "./tsbase.json",
4
+ "compilerOptions": {
5
+ "plugins": [
6
+ {
7
+ "name": "next"
8
+ }
9
+ ],
10
+ "module": "ESNext",
11
+ "moduleResolution": "Bundler",
12
+ "jsx": "preserve",
13
+ "allowJs": true,
14
+ }
15
+ }
package/tsreact.json CHANGED
@@ -1,16 +1,8 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
- "display": "React",
4
3
  "extends": "./tsbase.json",
5
4
  "compilerOptions": {
6
5
  "jsx": "react-jsx",
7
- "lib": [
8
- "dom",
9
- "dom.iterable",
10
- "esnext"
11
- ],
12
- "module": "ESNext",
13
- "target": "es6",
14
- "allowJs": true
6
+ "allowJs": true,
15
7
  }
16
8
  }