@websolutespa/tsconfig 1.10.0-next.1 → 2.0.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,26 +1,25 @@
1
- {
2
- "name": "@websolutespa/tsconfig",
3
- "version": "1.10.0-next.1",
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
- }
1
+ {
2
+ "name": "@websolutespa/tsconfig",
3
+ "version": "2.0.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
+ "tsreact.json"
24
+ ]
25
+ }
package/tsbase.json CHANGED
@@ -1,23 +1,38 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Default",
3
4
  "compilerOptions": {
4
- "lib": [
5
- "DOM",
6
- "DOM.Iterable",
7
- "ES2022"
8
- ],
9
- "target": "ES2022",
10
- "module": "NodeNext",
11
- "moduleResolution": "NodeNext",
12
- "moduleDetection": "force",
5
+ "allowJs": false,
6
+ "allowUnreachableCode": false,
7
+ "allowUnusedLabels": false,
8
+ "composite": false,
13
9
  "declaration": true,
14
10
  "declarationMap": true,
11
+ "downlevelIteration": true,
15
12
  "esModuleInterop": true,
13
+ "forceConsistentCasingInFileNames": true,
14
+ "importsNotUsedAsValues": "remove",
16
15
  "incremental": false,
16
+ "inlineSources": false,
17
17
  "isolatedModules": true,
18
- "noUncheckedIndexedAccess": 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,
19
26
  "resolveJsonModule": true,
20
27
  "skipLibCheck": true,
21
- "strict": true,
28
+ "strict": true
29
+ },
30
+ "exclude": [
31
+ "node_modules",
32
+ "dist",
33
+ "build"
34
+ ],
35
+ "ts-node": {
36
+ "transpileOnly": true
22
37
  }
23
38
  }
package/tsnext.json CHANGED
@@ -1,19 +1,19 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "Next.js",
3
4
  "extends": "./tsbase.json",
4
5
  "compilerOptions": {
5
- "plugins": [
6
- {
7
- "name": "next"
8
- }
9
- ],
10
- "module": "ESNext",
11
- "moduleResolution": "Bundler",
12
- "jsx": "preserve",
13
6
  "allowJs": true,
14
7
  "composite": true,
15
- "emitDeclarationOnly": true,
16
8
  "incremental": true,
9
+ "jsx": "preserve",
10
+ "lib": [
11
+ "dom",
12
+ "dom.iterable",
13
+ "esnext"
14
+ ],
15
+ "module": "esnext",
17
16
  "noEmit": true,
17
+ "target": "es6"
18
18
  }
19
19
  }
package/tsnode.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
- "display": "Node 23",
3
+ "display": "Node 16",
4
4
  "extends": "./tsbase.json",
5
5
  "compilerOptions": {
6
6
  "lib": [
7
- "ES2022"
8
- ]
7
+ "ES2020"
8
+ ],
9
+ "module": "commonjs",
10
+ "target": "ES2020"
9
11
  },
10
12
  "ts-node": {
11
13
  "transpileOnly": true
package/tsreact.json CHANGED
@@ -1,8 +1,16 @@
1
1
  {
2
2
  "$schema": "https://json.schemastore.org/tsconfig",
3
+ "display": "React",
3
4
  "extends": "./tsbase.json",
4
5
  "compilerOptions": {
5
6
  "jsx": "react-jsx",
6
- "allowJs": true,
7
+ "lib": [
8
+ "dom",
9
+ "dom.iterable",
10
+ "esnext"
11
+ ],
12
+ "module": "ESNext",
13
+ "target": "es6",
14
+ "allowJs": true
7
15
  }
8
16
  }
package/tsplugin.json DELETED
@@ -1,15 +0,0 @@
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
- }