@downforce/tsconfig 1.0.2

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/LICENSE.txt ADDED
@@ -0,0 +1,23 @@
1
+ Copyright (c) 2024, Daniele Orlando <info(at)danieleorlando.io>
2
+ All rights reserved.
3
+
4
+ Redistribution and use in source and binary forms, with or without modification,
5
+ are permitted provided that the following conditions are met:
6
+
7
+ 1. Redistributions of source code must retain the above copyright notice, this
8
+ list of conditions and the following disclaimer.
9
+
10
+ 2. Redistributions in binary form must reproduce the above copyright notice,
11
+ this list of conditions and the following disclaimer in the documentation
12
+ and/or other materials provided with the distribution.
13
+
14
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
15
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
16
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17
+ IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
18
+ INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
19
+ BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20
+ DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
21
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
22
+ OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
23
+ OF THE POSSIBILITY OF SUCH DAMAGE.
package/package.json ADDED
@@ -0,0 +1,25 @@
1
+ {
2
+ "name": "@downforce/tsconfig",
3
+ "version": "1.0.2",
4
+ "type": "module",
5
+ "sideEffects": false,
6
+ "files": [
7
+ "/LICENSE.txt",
8
+ "/**/*.json"
9
+ ],
10
+ "author": "Daniele Orlando",
11
+ "license": "BSD-2-Clause",
12
+ "description": "TypeScript tsconfig presets",
13
+ "keywords": [
14
+ "TypeScript",
15
+ "tsconfig"
16
+ ],
17
+ "homepage": "https://github.com/downforcetech/downforce.js",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "git+https://github.com/downforcetech/downforce.js.git"
21
+ },
22
+ "bugs": {
23
+ "url": "https://github.com/downforcetech/downforce.js/issues"
24
+ }
25
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": [
3
+ "./preset-node-lib.json"
4
+ ],
5
+ "compilerOptions": {
6
+ "module": "commonjs",
7
+ "moduleResolution": "node10",
8
+ "outDir": "${configDir}/cjs"
9
+ }
10
+ }
@@ -0,0 +1,22 @@
1
+ {
2
+ "extends": [
3
+ "./with-check-strict.json",
4
+ "./with-api-js.json",
5
+ "./with-layout-lib-esm.json"
6
+ ],
7
+ "compilerOptions": {
8
+ "allowSyntheticDefaultImports": true,
9
+ "esModuleInterop": true,
10
+ "declaration": true,
11
+ "importHelpers": true,
12
+ "incremental": true,
13
+ "isolatedDeclarations": true,
14
+ "module": "nodenext",
15
+ "moduleDetection": "auto",
16
+ "moduleResolution": "nodenext",
17
+ "noErrorTruncation": true,
18
+ "skipLibCheck": true,
19
+ "target": "esnext",
20
+ "tsBuildInfoFile": "${configDir}/node_modules/.cache/tsbuildinfo"
21
+ }
22
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "extends": [
3
+ "./with-check-strict.json",
4
+ "./with-api-web.json"
5
+ ],
6
+ "compilerOptions": {
7
+ "allowSyntheticDefaultImports": true,
8
+ "incremental": true,
9
+ "jsx": "react-jsx",
10
+ "module": "esnext",
11
+ "moduleDetection": "auto",
12
+ "moduleResolution": "bundler",
13
+ "noEmit": true,
14
+ "noErrorTruncation": true,
15
+ "resolveJsonModule": true,
16
+ "skipLibCheck": true,
17
+ "target": "esnext",
18
+ "tsBuildInfoFile": "${configDir}/node_modules/.cache/tsbuildinfo"
19
+ }
20
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": [
3
+ "./preset-web-lib.json"
4
+ ],
5
+ "compilerOptions": {
6
+ "allowSyntheticDefaultImports": true,
7
+ "jsx": "react-jsx"
8
+ }
9
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": [
3
+ "./preset-react-app.json"
4
+ ],
5
+ "compilerOptions": {
6
+ "jsx": "preserve",
7
+ "jsxImportSource": "solid-js"
8
+ }
9
+ }
@@ -0,0 +1,11 @@
1
+ {
2
+ "extends": [
3
+ "./preset-web-lib.json"
4
+ ],
5
+ "compilerOptions": {
6
+ "allowSyntheticDefaultImports": true,
7
+ "emitDeclarationOnly": true,
8
+ "jsx": "preserve",
9
+ "jsxImportSource": "solid-js"
10
+ }
11
+ }
@@ -0,0 +1,20 @@
1
+ {
2
+ "extends": [
3
+ "./with-check-strict.json",
4
+ "./with-api-web.json",
5
+ "./with-layout-lib-esm.json"
6
+ ],
7
+ "compilerOptions": {
8
+ "declaration": true,
9
+ "importHelpers": true,
10
+ "incremental": true,
11
+ "isolatedDeclarations": true,
12
+ "module": "nodenext",
13
+ "moduleDetection": "auto",
14
+ "moduleResolution": "nodenext",
15
+ "noErrorTruncation": true,
16
+ "skipLibCheck": true,
17
+ "target": "esnext",
18
+ "tsBuildInfoFile": "${configDir}/node_modules/.cache/tsbuildinfo"
19
+ }
20
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "compilerOptions": {
3
+ "lib": ["esnext"]
4
+ }
5
+ }
@@ -0,0 +1,5 @@
1
+ {
2
+ "compilerOptions": {
3
+ "lib": ["esnext", "dom", "dom.iterable", "webworker"]
4
+ }
5
+ }
@@ -0,0 +1,27 @@
1
+ {
2
+ "compilerOptions": {
3
+ "allowJs": false,
4
+ "allowUnreachableCode": false,
5
+ "alwaysStrict": true,
6
+ "exactOptionalPropertyTypes": true,
7
+ "forceConsistentCasingInFileNames": true,
8
+ "isolatedModules": true,
9
+ "noEmitOnError": true,
10
+ "noImplicitAny": true,
11
+ "noImplicitOverride": true,
12
+ "noImplicitReturns": true,
13
+ "noImplicitThis": true,
14
+ "noUncheckedIndexedAccess": true,
15
+ "noUncheckedSideEffectImports": true,
16
+ "noUnusedLocals": false,
17
+ "noUnusedParameters": false,
18
+ "strict": true,
19
+ "strictBindCallApply": true,
20
+ "strictBuiltinIteratorReturn": true,
21
+ "strictFunctionTypes": true,
22
+ "strictNullChecks": true,
23
+ "strictPropertyInitialization": true,
24
+ "useUnknownInCatchVariables": true,
25
+ "verbatimModuleSyntax": true
26
+ }
27
+ }
@@ -0,0 +1,15 @@
1
+ {
2
+ "include": [
3
+ "${configDir}/ts/**/*.ts",
4
+ "${configDir}/ts/**/*.cts",
5
+ "${configDir}/ts/**/*.mts",
6
+ "${configDir}/ts/**/*.tsx"
7
+ ],
8
+ "compilerOptions": {
9
+ "baseUrl": "./ts",
10
+ "declarationMap": true,
11
+ "outDir": "${configDir}/esm",
12
+ "rootDir": "${configDir}/ts",
13
+ "sourceMap": true
14
+ }
15
+ }