@codecompose/typescript-config
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -21,7 +21,8 @@ { | ||
/* My Standard */ | ||
/* Opinion */ | ||
"incremental": true, | ||
"module": "preserve", | ||
"outDir": "${configDir}/dist", | ||
"outDir": "dist", | ||
"baseUrl": "${configDir}", | ||
"rootDir": "${configDir}/src", | ||
"baseUrl": "${configDir}", | ||
"paths": { | ||
@@ -31,3 +32,4 @@ "~/*": ["./src/*"] | ||
}, | ||
"include": ["${configDir}/src", "${configDir}/src/**/*.json"] | ||
"include": ["src", "src/**/*.json"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
@@ -6,9 +6,14 @@ { | ||
"compilerOptions": { | ||
"jsx": "preserve", | ||
"jsx": "preserve", // next does its own jsx transformation | ||
"lib": ["dom", "dom.iterable", "esnext"], | ||
"noEmit": true, | ||
"incremental": true // because nextjs adds this automatically otherwise | ||
"rootDir": "${configDir}", // nextjs targets files outside of src in root as well | ||
"plugins": [ | ||
{ | ||
"name": "next" // plugin comes installed with nextjs | ||
} | ||
] | ||
}, | ||
"include": ["${configDir}/src", "${configDir}/next-env.d.ts"], | ||
"exclude": ["node_modules"] // because nextjs adds this automatically otherwise | ||
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], | ||
"exclude": ["node_modules"] | ||
} |
{ | ||
"name": "@codecompose/typescript-config", | ||
"description": "Opinionated reusable TypeScript configurations", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"license": "MIT", | ||
@@ -6,0 +6,0 @@ "author": "Thijs Koerselman", |
@@ -7,3 +7,3 @@ { | ||
"lib": ["dom", "dom.iterable", "es2023"], | ||
"jsx": "preserve", | ||
"jsx": "react-jsx", | ||
/* If transpiling with TypeScript: */ | ||
@@ -10,0 +10,0 @@ "sourceMap": true, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4434
85