Skip to content

Commit

Permalink
Simplify eslint and pnpm config (#11646)
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy authored Aug 8, 2024
1 parent 13b912a commit cc405dd
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 31 deletions.
1 change: 0 additions & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,6 @@ export default [
files: ['packages/**/test/*.js', 'packages/**/*.js'],
languageOptions: {
globals: {
mocha: true,
globalThis: false, // false means read-only
},
},
Expand Down
16 changes: 0 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,22 +70,6 @@
"typescript-eslint": "^8.0.1"
},
"pnpm": {
"packageExtensions": {
"vite-svg-loader": {
"peerDependenciesMeta": {
"vue": {
"optional": true
}
}
},
"rehype-pretty-code": {
"peerDependenciesMeta": {
"shiki": {
"optional": true
}
}
}
},
"peerDependencyRules": {
"ignoreMissing": [
"rollup",
Expand Down
1 change: 1 addition & 0 deletions packages/integrations/mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@
"remark-rehype": "^11.1.0",
"remark-shiki-twoslash": "^3.1.3",
"remark-toc": "^9.0.0",
"shiki": "^1.12.1",
"unified": "^11.0.5",
"vite": "^5.3.5"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"dependencies": {
"@astrojs/vue": "workspace:*",
"astro": "workspace:*",
"vite-svg-loader": "5.1.0"
"vite-svg-loader": "5.1.0",
"vue": "^3.4.35"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"dependencies": {
"@astrojs/vue": "workspace:*",
"astro": "workspace:*",
"vite-svg-loader": "5.1.0"
"vite-svg-loader": "5.1.0",
"vue": "^3.4.35"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"dependencies": {
"@astrojs/vue": "workspace:*",
"astro": "workspace:*",
"vite-svg-loader": "5.1.0"
"vite-svg-loader": "5.1.0",
"vue": "^3.4.35"
}
}
24 changes: 13 additions & 11 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 cc405dd

Please sign in to comment.