Skip to content

Commit

Permalink
chore(deps): correctly resolve peer dependancies
Browse files Browse the repository at this point in the history
  • Loading branch information
veritem committed May 24, 2024
1 parent f8311f4 commit b2df16b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 21 deletions.
11 changes: 0 additions & 11 deletions .eslintrc.json

This file was deleted.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,8 @@
},
"peerDependencies": {
"eslint": ">= 8.57.0",
"vitest": "*"
"vitest": "*",
"typescript": ">= 5.0.0"
},
"peerDependenciesMeta": {
"vitest": {
Expand Down
12 changes: 4 additions & 8 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,16 @@
{
"compilerOptions": {
"target": "es2020",
"target": "es5",
"lib": ["esnext"],
"module": "esnext",
"moduleResolution": "Bundler",
"resolveJsonModule": true,
"types": [
"vitest/globals"
],
"strict": true,
"strictNullChecks": true,
"esModuleInterop": true,
"skipDefaultLibCheck": true,
"skipLibCheck": true
},
"sourceMap": true
},
"include": [
"src"
"src/**/*.ts"
]
}
3 changes: 2 additions & 1 deletion unbuild.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ export default defineBuildConfig({
esbuild: {
minify: true
}
}
},
peerDependencies: ["typescript"]
})

0 comments on commit b2df16b

Please sign in to comment.