diff --git a/internals/eslint-config/package.json b/internals/eslint-config/package.json index 250b96a..6fb0c10 100644 --- a/internals/eslint-config/package.json +++ b/internals/eslint-config/package.json @@ -38,7 +38,7 @@ }, "repository": "git+https://github.com/skyblock-finance/skyblock-finance-opensource.git", "scripts": { - "build": "tsc --build", + "build": "rm -rf dist && tsc --build", "check:eslint": "bun run eslint --max-warnings=0 .", "check:prettier": "bun --bun run --cwd ../.. prettier --check internals/eslint-config", "check:publint": "bun --bun run publint", diff --git a/packages/schemas/package.json b/packages/schemas/package.json index 9a1ed31..089078d 100644 --- a/packages/schemas/package.json +++ b/packages/schemas/package.json @@ -33,7 +33,7 @@ "url": "git+https://github.com/skyblock-finance/skyblock-finance-opensource" }, "scripts": { - "build": "tsc --build", + "build": "rm -rf dist && tsc --build", "check:eslint": "bun run eslint --max-warnings=0 .", "check:prettier": "bun --bun run --cwd ../.. prettier --check packages/schemas", "check:publint": "bun --bun run publint", diff --git a/packages/schemas/tsconfig.json b/packages/schemas/tsconfig.json index 677ab7a..aef7945 100644 --- a/packages/schemas/tsconfig.json +++ b/packages/schemas/tsconfig.json @@ -1,21 +1,13 @@ { "compilerOptions": { - "composite": true, - "declaration": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, "module": "commonjs", - "noImplicitAny": true, - "noUnusedLocals": true, + "moduleResolution": "Node", "outDir": "./dist", - "resolveJsonModule": true, "rootDir": "./source", - "strict": true, - "strictNullChecks": true, - "target": "es5", "tsBuildInfoFile": "./dist/.tsbuildinfo", - "types": ["node"] + "types": ["bun"] }, "exclude": ["source/**/*.test.ts"], + "extends": "../../tsconfig.json", "include": ["source/**/*.ts"] } diff --git a/tsconfig.json b/tsconfig.json index be87e01..7860ab4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,15 +1,19 @@ { "compilerOptions": { + "composite": true, + "declaration": true, + "forceConsistentCasingInFileNames": true, "lib": ["ESNext"], - "module": "ESNext", - "moduleDetection": "force", - "moduleResolution": "bundler", - "noEmit": true, + "module": "NodeNext", + "moduleResolution": "NodeNext", "noFallthroughCasesInSwitch": true, + "noImplicitAny": true, "noUncheckedIndexedAccess": true, + "noUnusedLocals": true, + "resolveJsonModule": true, "skipLibCheck": true, "strict": true, - "target": "ESNext", - "verbatimModuleSyntax": true + "strictNullChecks": true, + "target": "ESNext" } }