Skip to content

Commit

Permalink
Eject tsconfig to its own package
Browse files Browse the repository at this point in the history
  • Loading branch information
Ackuq committed Sep 17, 2023
1 parent ee3e57f commit e8bbaa4
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 4 deletions.
3 changes: 2 additions & 1 deletion apps/admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"typecheck": "pnpm tsc -p ./tsconfig.json"
"typecheck": "pnpm tsc"
},
"dependencies": {
"next": "13.4.19",
Expand All @@ -15,6 +15,7 @@
"zod": "3.22.2"
},
"devDependencies": {
"@partiguiden/tsconfig": "workspace:*",
"@types/node": "20.6.0",
"@types/react": "18.2.21",
"@types/react-dom": "18.2.7",
Expand Down
2 changes: 1 addition & 1 deletion apps/admin/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "@partiguiden/tsconfig",
"compilerOptions": {
"plugins": [
{
Expand Down
3 changes: 2 additions & 1 deletion apps/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "next start",
"build": "next build",
"postbuild": "next-sitemap",
"typecheck": "tsc -p ./tsconfig.json",
"typecheck": "tsc",
"lint": "next lint"
},
"repository": {
Expand Down Expand Up @@ -41,6 +41,7 @@
},
"devDependencies": {
"@partiguiden/eslint-config-base": "workspace:*",
"@partiguiden/tsconfig": "workspace:*",
"@types/gtag.js": "0.0.13",
"@types/jsdom": "21.1.2",
"@types/node": "20.6.0",
Expand Down
2 changes: 1 addition & 1 deletion apps/web/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"extends": "../../tsconfig.json",
"extends": "@partiguiden/tsconfig",
"compilerOptions": {
"jsxImportSource": "@emotion/react",
"plugins": [
Expand Down
4 changes: 4 additions & 0 deletions packages/tsconfig/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"name": "@partiguiden/tsconfig",
"version": "1.0.0"
}
File renamed without changes.
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e8bbaa4

Please sign in to comment.