diff --git a/packages/create-lz-oapp/package.json b/packages/create-lz-oapp/package.json index 9d0f8e6b1..e3192671b 100644 --- a/packages/create-lz-oapp/package.json +++ b/packages/create-lz-oapp/package.json @@ -33,7 +33,6 @@ "yoga-wasm-web": "~0.3.3" }, "devDependencies": { - "@sindresorhus/tsconfig": "^5.0.0", "@tanstack/react-query": "^5.8.4", "@types/mocha": "^10.0.6", "@types/prompts": "^2.4.9", diff --git a/packages/create-lz-oapp/tsconfig.json b/packages/create-lz-oapp/tsconfig.json index 0a46d685e..77a5670af 100644 --- a/packages/create-lz-oapp/tsconfig.json +++ b/packages/create-lz-oapp/tsconfig.json @@ -1,8 +1,14 @@ { - "extends": "@sindresorhus/tsconfig", + "extends": "../../tsconfig", "compilerOptions": { + "module": "node16", + "moduleResolution": "node16", + "moduleDetection": "force", "outDir": "dist", "declaration": false, + "jsx": "react", + "lib": ["dom", "dom.Iterable", "es2022"], + "resolveJsonModule": false, "target": "esnext", "types": ["mocha", "node"], "paths": { diff --git a/tsconfig.json b/tsconfig.json index c5144f6db..d2d977a63 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -6,14 +6,20 @@ "importHelpers": true, "noEmit": true, "declaration": true, + "forceConsistentCasingInFileNames": true, "sourceMap": true, "strict": true, "noImplicitAny": false, "strictNullChecks": true, "strictFunctionTypes": true, "strictPropertyInitialization": true, + "noEmitOnError": true, "noImplicitThis": true, + "noPropertyAccessFromIndexSignature": true, "alwaysStrict": true, + "useDefineForClassFields": true, + "noImplicitOverride": true, + "noUncheckedIndexedAccess": true, "noUnusedLocals": false, "noUnusedParameters": false, "noImplicitReturns": true, @@ -24,6 +30,7 @@ "allowJs": true, "resolveJsonModule": true, "types": ["node"], - "skipLibCheck": true + "skipLibCheck": true, + "stripInternal": true } } diff --git a/yarn.lock b/yarn.lock index d0b846641..84bc3fd05 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2099,11 +2099,6 @@ resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-5.6.0.tgz#41dd6093d34652cddb5d5bdeee04eafc33826668" integrity sha512-TV7t8GKYaJWsn00tFDqBw8+Uqmr8A0fRU1tvTQhyZzGv0sJCGRQL3JGMI3ucuKo3XIZdUP+Lx7/gh2t3lewy7g== -"@sindresorhus/tsconfig@^5.0.0": - version "5.0.0" - resolved "https://registry.yarnpkg.com/@sindresorhus/tsconfig/-/tsconfig-5.0.0.tgz#a707dd74895251ca913a06952fec74c262da96be" - integrity sha512-LvvySslVPhAwo7dT+iovKXKCmJD82yYAsH/3D5BSyT3YP9Dvhdlhy0eQr0DBE0CxeFO6Wdbco3+nB+c2QYcAaA== - "@sinonjs/commons@^2.0.0": version "2.0.0" resolved "https://registry.npmjs.org/@sinonjs/commons/-/commons-2.0.0.tgz"