diff --git a/packages/config-ts/bun.json b/packages/config-ts/bun.json new file mode 100644 index 0000000..7791af1 --- /dev/null +++ b/packages/config-ts/bun.json @@ -0,0 +1,27 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "display": "Bun", + "compilerOptions": { + "lib": ["ESNext"], + "target": "ESNext", + "module": "ESNext", + "moduleDetection": "force", + "jsx": "react-jsx", + "allowJs": true, + + "moduleResolution": "bundler", + "allowImportingTsExtensions": true, + "verbatimModuleSyntax": true, + "noEmit": true, + + "strict": true, + "skipLibCheck": true, + "noFallthroughCasesInSwitch": true, + + "noUnusedLocals": false, + "noUnusedParameters": false, + "noPropertyAccessFromIndexSignature": false, + + "types": ["bun-types"] + } +} diff --git a/packages/config-ts/library.json b/packages/config-ts/library.json new file mode 100644 index 0000000..81c0589 --- /dev/null +++ b/packages/config-ts/library.json @@ -0,0 +1,32 @@ +{ + "$schema": "https://json.schemastore.org/tsconfig", + "display": "Client", + "compilerOptions": { + "esModuleInterop": true, + "skipLibCheck": true, + "target": "es2022", + "allowJs": true, + "resolveJsonModule": true, + "moduleDetection": "force", + "isolatedModules": true, + "verbatimModuleSyntax": false, + + "strict": true, + "noUncheckedIndexedAccess": false, + "noImplicitOverride": true, + + "composite": false, + "declaration": true, + "declarationMap": true, + "sourceMap": true, + + "module": "preserve", + "noEmit": true, + + "lib": ["es2022", "dom", "dom.iterable"], + "jsx": "react-jsx", + + "types": ["bun-types"] + }, + "exclude": ["node_modules"] +} diff --git a/packages/config-ts/node.json b/packages/config-ts/node.json index f1a314a..740a3ee 100644 --- a/packages/config-ts/node.json +++ b/packages/config-ts/node.json @@ -1,14 +1,14 @@ { - "$schema": "https://json.schemastore.org/tsconfig", - "display": "React Library", - "extends": "./base.json", - "compilerOptions": { - "lib": ["ES2015", "dom", "dom.iterable", "esnext"], - "target": "esnext", - "module": "esnext", - "moduleResolution": "nodenext", - "noEmit": true, - "allowImportingTsExtensions": true, - "resolveJsonModule": true - } + "$schema": "https://json.schemastore.org/tsconfig", + "display": "Node", + "extends": "./base.json", + "compilerOptions": { + "lib": ["ES2015", "dom", "dom.iterable", "esnext"], + "target": "esnext", + "module": "esnext", + "moduleResolution": "nodenext", + "noEmit": true, + "allowImportingTsExtensions": true, + "resolveJsonModule": true + } } diff --git a/packages/config-ts/readme.md b/packages/config-ts/readme.md new file mode 100644 index 0000000..e69de29