Skip to content

Commit

Permalink
include
Browse files Browse the repository at this point in the history
  • Loading branch information
pvcnt committed Aug 22, 2024
1 parent a45f95b commit 3da1a68
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 6 deletions.
4 changes: 0 additions & 4 deletions packages/github/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
{
"$schema": "https://json.schemastore.org/tsconfig",
"extends": "@repo/typescript-config/base.json",
"compilerOptions": {
"target": "es2015",
"lib": ["es2023", "es2023.Array"],
},
"include": ["src", "tests"],
"exclude": ["node_modules"],
}
1 change: 1 addition & 0 deletions packages/github/vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { defineConfig } from "vitest/config";

export default defineConfig({
test: {
include: ["tests/**"],
coverage: {
include: ["src/**"],
provider: "istanbul",
Expand Down
2 changes: 2 additions & 0 deletions packages/typescript-config/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
"$schema": "https://json.schemastore.org/tsconfig",
"display": "Default",
"compilerOptions": {
"target": "es2015",
"lib": ["es2023", "es2023.Array"],
"composite": false,
"declaration": true,
"declarationMap": true,
Expand Down
4 changes: 2 additions & 2 deletions packages/typescript-config/vite.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "./base.json",
"compilerOptions": {
"target": "ESNext",
"target": "es2015",
"lib": ["es2023", "DOM", "WebWorker"],
"useDefineForClassFields": true,
"module": "ESNext",
"lib": ["ESNext", "DOM", "WebWorker"],
"sourceMap": true,
"resolveJsonModule": true,
"moduleResolution": "Bundler",
Expand Down

0 comments on commit 3da1a68

Please sign in to comment.