Skip to content

Commit

Permalink
build: set @mogeko/tsconfig to default tsconfig.json
Browse files Browse the repository at this point in the history
  • Loading branch information
mogeko committed Jul 2, 2024
1 parent 9c76ddd commit d25b182
Show file tree
Hide file tree
Showing 22 changed files with 83 additions and 110 deletions.
11 changes: 11 additions & 0 deletions .changeset/dry-keys-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
"ghproxy-gist-raw": patch
"ghproxy-releases": patch
"douban2rarbg": patch
"ghproxy-raw": patch
"exclude-dv": patch
"template": patch
"down-git": patch
---

Set `@mogeko/tsconfig` to default `tsconfig.json`.
5 changes: 5 additions & 0 deletions .changeset/long-rules-knock.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"better-steam-rating": patch
---

Remove redundant devDependencies `tsconfig`.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
"cov": "turbo run cov",
"meta": "vite-node ./scripts/meta.ts",
"lint": "turbo run lint",
"fmt": "turbo run fmt"
"fmt": "turbo run fmt",
"changeset": "changeset"
},
"devDependencies": {
"@changesets/changelog-github": "^0.5.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/_template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@
"fmt": "prettier --write ."
},
"devDependencies": {
"@mogeko/tsconfig": "^0.0.4",
"@types/node": "^20.14.2",
"tsconfig": "workspace:*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite-plugin-monkey": "^4.0.3"
Expand Down
6 changes: 4 additions & 2 deletions packages/_template/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "tsconfig/vite.tsconfig.json",
"extends": "@mogeko/tsconfig/default.tsconfig.json",
"compilerOptions": {
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"types": ["vite/client", "vite-plugin-monkey/dist/client"],
"paths": { "@/*": ["src/*"] },
"baseUrl": "."
},
"include": ["src", "*.config.ts"],
"include": ["src/**/*", "*.config.ts"],
"exclude": ["node_modules"]
}
11 changes: 0 additions & 11 deletions packages/_tsconfig/package.json

This file was deleted.

16 changes: 0 additions & 16 deletions packages/_tsconfig/rollup.tsconfig.json

This file was deleted.

27 changes: 0 additions & 27 deletions packages/_tsconfig/vite.tsconfig.json

This file was deleted.

1 change: 0 additions & 1 deletion packages/better-steam-rating/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
},
"devDependencies": {
"@types/node": "^20.14.2",
"tsconfig": "workspace:*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite-plugin-monkey": "^4.0.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/douban2rarbg/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
"fmt": "prettier --write ."
},
"devDependencies": {
"@mogeko/tsconfig": "^0.0.4",
"@types/jsdom": "^21.1.7",
"@types/node": "^20.14.2",
"@vitest/coverage-v8": "^1.6.0",
"jsdom": "^24.1.0",
"tsconfig": "workspace:*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite-plugin-monkey": "^4.0.3",
Expand Down
5 changes: 3 additions & 2 deletions packages/douban2rarbg/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "tsconfig/vite.tsconfig.json",
"extends": "@mogeko/tsconfig/default.tsconfig.json",
"compilerOptions": {
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"types": [
"vite/client",
"vite-plugin-monkey/dist/client",
Expand All @@ -10,6 +11,6 @@
"paths": { "@/*": ["src/*"] },
"baseUrl": "."
},
"include": ["src", "*.config.ts"],
"include": ["src/**/*", "*.config.ts"],
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion packages/down-git/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"fmt": "prettier --write ."
},
"devDependencies": {
"@mogeko/tsconfig": "^0.0.4",
"@types/node": "^20.14.2",
"tsconfig": "workspace:*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite-plugin-monkey": "^4.0.3"
Expand Down
6 changes: 4 additions & 2 deletions packages/down-git/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "tsconfig/vite.tsconfig.json",
"extends": "@mogeko/tsconfig/default.tsconfig.json",
"compilerOptions": {
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"types": ["vite/client", "vite-plugin-monkey/dist/client"],
"paths": { "@/*": ["src/*"] },
"baseUrl": "."
},
"include": ["src", "*.config.ts"],
"include": ["src/**/*", "*.config.ts"],
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion packages/exclude-dv/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"fmt": "prettier --write ."
},
"devDependencies": {
"@mogeko/tsconfig": "^0.0.4",
"@types/node": "^20.14.2",
"tsconfig": "workspace:*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite-plugin-monkey": "^4.0.3"
Expand Down
6 changes: 4 additions & 2 deletions packages/exclude-dv/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "tsconfig/vite.tsconfig.json",
"extends": "@mogeko/tsconfig/default.tsconfig.json",
"compilerOptions": {
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"types": ["vite/client", "vite-plugin-monkey/dist/client"],
"paths": { "@/*": ["src/*"] },
"baseUrl": "."
},
"include": ["src", "*.config.ts"],
"include": ["src/**/*", "*.config.ts"],
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion packages/ghproxy-gist-raw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
"fmt": "prettier --write ."
},
"devDependencies": {
"@mogeko/tsconfig": "^0.0.4",
"@types/node": "^20.14.2",
"tsconfig": "workspace:*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite-plugin-monkey": "^4.0.3"
Expand Down
6 changes: 4 additions & 2 deletions packages/ghproxy-gist-raw/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "tsconfig/vite.tsconfig.json",
"extends": "@mogeko/tsconfig/default.tsconfig.json",
"compilerOptions": {
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"types": ["vite/client", "vite-plugin-monkey/dist/client"],
"paths": { "@/*": ["src/*"] },
"baseUrl": "."
},
"include": ["src", "*.config.ts"],
"include": ["src/**/*", "*.config.ts"],
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion packages/ghproxy-raw/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"fmt": "prettier --write ."
},
"devDependencies": {
"@mogeko/tsconfig": "^0.0.4",
"@types/node": "^20.14.2",
"tsconfig": "workspace:*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite-plugin-monkey": "^4.0.3"
Expand Down
6 changes: 4 additions & 2 deletions packages/ghproxy-raw/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "tsconfig/vite.tsconfig.json",
"extends": "@mogeko/tsconfig/default.tsconfig.json",
"compilerOptions": {
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"types": ["vite/client", "vite-plugin-monkey/dist/client"],
"paths": { "@/*": ["src/*"] },
"baseUrl": "."
},
"include": ["src", "*.config.ts"],
"include": ["src/**/*", "*.config.ts"],
"exclude": ["node_modules"]
}
2 changes: 1 addition & 1 deletion packages/ghproxy-releases/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"fmt": "prettier --write ."
},
"devDependencies": {
"@mogeko/tsconfig": "^0.0.4",
"@types/node": "^20.14.2",
"tsconfig": "workspace:*",
"typescript": "^5.4.5",
"vite": "^5.3.1",
"vite-plugin-monkey": "^4.0.3"
Expand Down
6 changes: 4 additions & 2 deletions packages/ghproxy-releases/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "tsconfig/vite.tsconfig.json",
"extends": "@mogeko/tsconfig/default.tsconfig.json",
"compilerOptions": {
"lib": ["ES2020", "DOM", "DOM.Iterable"],
"types": ["vite/client", "vite-plugin-monkey/dist/client"],
"paths": { "@/*": ["src/*"] },
"baseUrl": "."
},
"include": ["src", "*.config.ts"],
"include": ["src/**/*", "*.config.ts"],
"exclude": ["node_modules"]
}
Loading

0 comments on commit d25b182

Please sign in to comment.