-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #69 from yordis/chore-tsconfig
chore: improve tsconfigs and deps
- Loading branch information
Showing
34 changed files
with
2,752 additions
and
3,446 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
module.exports = { | ||
extends: ["next/core-web-vitals"], | ||
ignorePatterns: ["external/**/*.ts"], | ||
rules: { | ||
"@next/next/no-html-link-for-pages": "off", | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -62,4 +62,4 @@ const nextConfig = { | |
}, | ||
}; | ||
|
||
module.exports = nextConfig; | ||
export default nextConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { defineConfig } from "vitest/config"; | ||
import react from "@vitejs/plugin-react"; | ||
import tsconfigPaths from "vite-tsconfig-paths"; | ||
|
||
export default defineConfig({ | ||
plugins: [tsconfigPaths(), react()], | ||
test: { | ||
include: ["src/**/*.test.ts", "src/**/*.test.tsx"], | ||
environment: "jsdom", | ||
setupFiles: ["@testing-library/jest-dom/vitest"], | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
"generate": "turbo run generate", | ||
"build": "turbo run build", | ||
"test": "turbo run test", | ||
"test:unit": "turbo run test:unit", | ||
"test:unit": "turbo run test:unit -- --passWithNoTests", | ||
"test:integration": "turbo run test:integration", | ||
"test:watch": "turbo run test:watch", | ||
"dev": "turbo run dev --no-cache --continue", | ||
|
@@ -16,12 +16,22 @@ | |
"version-packages": "changeset version", | ||
"release": "turbo run build --filter=login^... && changeset publish" | ||
}, | ||
"pnpm": { | ||
"overrides": { | ||
"@typescript-eslint/parser": "^7.9.0" | ||
} | ||
}, | ||
"devDependencies": { | ||
"@changesets/cli": "^2.22.0", | ||
"eslint": "^7.32.0", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"eslint": "^8.57.0", | ||
"eslint-config-zitadel": "workspace:*", | ||
"prettier": "^3.2.5", | ||
"turbo": "^1.10.8" | ||
"tsup": "^8.0.2", | ||
"turbo": "^1.10.8", | ||
"typescript": "^5.4.5", | ||
"vite-tsconfig-paths": "^4.3.2", | ||
"vitest": "^1.6.0" | ||
}, | ||
"packageManager": "[email protected]+sha256.4b4efa12490e5055d59b9b9fc9438b7d581a6b7af3b5675eb5c5f447cee1a589" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,5 @@ | ||
{ | ||
"extends": "@zitadel/tsconfig/node14.json", | ||
"include": ["."], | ||
"compilerOptions": { | ||
"baseUrl": "." | ||
}, | ||
"extends": "@zitadel/tsconfig/tsup.json", | ||
"include": ["./src/**/*"], | ||
"exclude": ["dist", "build", "node_modules"] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.