mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
Simplify eslint and pnpm config (#11646)
This commit is contained in:
parent
13b912a870
commit
cc405dd1fe
7 changed files with 20 additions and 31 deletions
|
@ -144,7 +144,6 @@ export default [
|
||||||
files: ['packages/**/test/*.js', 'packages/**/*.js'],
|
files: ['packages/**/test/*.js', 'packages/**/*.js'],
|
||||||
languageOptions: {
|
languageOptions: {
|
||||||
globals: {
|
globals: {
|
||||||
mocha: true,
|
|
||||||
globalThis: false, // false means read-only
|
globalThis: false, // false means read-only
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
16
package.json
16
package.json
|
@ -70,22 +70,6 @@
|
||||||
"typescript-eslint": "^8.0.1"
|
"typescript-eslint": "^8.0.1"
|
||||||
},
|
},
|
||||||
"pnpm": {
|
"pnpm": {
|
||||||
"packageExtensions": {
|
|
||||||
"vite-svg-loader": {
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"vue": {
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"rehype-pretty-code": {
|
|
||||||
"peerDependenciesMeta": {
|
|
||||||
"shiki": {
|
|
||||||
"optional": true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"peerDependencyRules": {
|
"peerDependencyRules": {
|
||||||
"ignoreMissing": [
|
"ignoreMissing": [
|
||||||
"rollup",
|
"rollup",
|
||||||
|
|
|
@ -68,6 +68,7 @@
|
||||||
"remark-rehype": "^11.1.0",
|
"remark-rehype": "^11.1.0",
|
||||||
"remark-shiki-twoslash": "^3.1.3",
|
"remark-shiki-twoslash": "^3.1.3",
|
||||||
"remark-toc": "^9.0.0",
|
"remark-toc": "^9.0.0",
|
||||||
|
"shiki": "^1.12.1",
|
||||||
"unified": "^11.0.5",
|
"unified": "^11.0.5",
|
||||||
"vite": "^5.3.5"
|
"vite": "^5.3.5"
|
||||||
},
|
},
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/vue": "workspace:*",
|
"@astrojs/vue": "workspace:*",
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
"vite-svg-loader": "5.1.0"
|
"vite-svg-loader": "5.1.0",
|
||||||
|
"vue": "^3.4.35"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -8,6 +8,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/vue": "workspace:*",
|
"@astrojs/vue": "workspace:*",
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
"vite-svg-loader": "5.1.0"
|
"vite-svg-loader": "5.1.0",
|
||||||
|
"vue": "^3.4.35"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@astrojs/vue": "workspace:*",
|
"@astrojs/vue": "workspace:*",
|
||||||
"astro": "workspace:*",
|
"astro": "workspace:*",
|
||||||
"vite-svg-loader": "5.1.0"
|
"vite-svg-loader": "5.1.0",
|
||||||
|
"vue": "^3.4.35"
|
||||||
}
|
}
|
||||||
}
|
}
|
|
@ -4,8 +4,6 @@ settings:
|
||||||
autoInstallPeers: false
|
autoInstallPeers: false
|
||||||
excludeLinksFromLockfile: false
|
excludeLinksFromLockfile: false
|
||||||
|
|
||||||
packageExtensionsChecksum: 43e9b7451c9943c617aef017ec172155
|
|
||||||
|
|
||||||
importers:
|
importers:
|
||||||
|
|
||||||
.:
|
.:
|
||||||
|
@ -4788,6 +4786,9 @@ importers:
|
||||||
remark-toc:
|
remark-toc:
|
||||||
specifier: ^9.0.0
|
specifier: ^9.0.0
|
||||||
version: 9.0.0
|
version: 9.0.0
|
||||||
|
shiki:
|
||||||
|
specifier: ^1.12.1
|
||||||
|
version: 1.12.1
|
||||||
unified:
|
unified:
|
||||||
specifier: ^11.0.5
|
specifier: ^11.0.5
|
||||||
version: 11.0.5
|
version: 11.0.5
|
||||||
|
@ -5619,6 +5620,9 @@ importers:
|
||||||
vite-svg-loader:
|
vite-svg-loader:
|
||||||
specifier: 5.1.0
|
specifier: 5.1.0
|
||||||
version: 5.1.0(vue@3.4.35(typescript@5.5.4))
|
version: 5.1.0(vue@3.4.35(typescript@5.5.4))
|
||||||
|
vue:
|
||||||
|
specifier: ^3.4.35
|
||||||
|
version: 3.4.35(typescript@5.5.4)
|
||||||
|
|
||||||
packages/integrations/vue/test/fixtures/app-entrypoint-async:
|
packages/integrations/vue/test/fixtures/app-entrypoint-async:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -5631,6 +5635,9 @@ importers:
|
||||||
vite-svg-loader:
|
vite-svg-loader:
|
||||||
specifier: 5.1.0
|
specifier: 5.1.0
|
||||||
version: 5.1.0(vue@3.4.35(typescript@5.5.4))
|
version: 5.1.0(vue@3.4.35(typescript@5.5.4))
|
||||||
|
vue:
|
||||||
|
specifier: ^3.4.35
|
||||||
|
version: 3.4.35(typescript@5.5.4)
|
||||||
|
|
||||||
packages/integrations/vue/test/fixtures/app-entrypoint-css:
|
packages/integrations/vue/test/fixtures/app-entrypoint-css:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -5652,6 +5659,9 @@ importers:
|
||||||
vite-svg-loader:
|
vite-svg-loader:
|
||||||
specifier: 5.1.0
|
specifier: 5.1.0
|
||||||
version: 5.1.0(vue@3.4.35(typescript@5.5.4))
|
version: 5.1.0(vue@3.4.35(typescript@5.5.4))
|
||||||
|
vue:
|
||||||
|
specifier: ^3.4.35
|
||||||
|
version: 3.4.35(typescript@5.5.4)
|
||||||
|
|
||||||
packages/integrations/vue/test/fixtures/app-entrypoint-relative:
|
packages/integrations/vue/test/fixtures/app-entrypoint-relative:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -10439,9 +10449,6 @@ packages:
|
||||||
engines: {node: '>=18'}
|
engines: {node: '>=18'}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
shiki: ^1.3.0
|
shiki: ^1.3.0
|
||||||
peerDependenciesMeta:
|
|
||||||
shiki:
|
|
||||||
optional: true
|
|
||||||
|
|
||||||
rehype-raw@7.0.0:
|
rehype-raw@7.0.0:
|
||||||
resolution: {integrity: sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww==}
|
resolution: {integrity: sha512-/aE8hCfKlQeA8LmyeyQvQF3eBiLRGNlfBJEvWH7ivp9sBqs7TNqBL5X3v157rM4IFETqDnIOO+z5M/biZbo9Ww==}
|
||||||
|
@ -11310,9 +11317,6 @@ packages:
|
||||||
resolution: {integrity: sha512-M/wqwtOEjgb956/+m5ZrYT/Iq6Hax0OakWbokj8+9PXOnB7b/4AxESHieEtnNEy7ZpjsjYW1/5nK8fATQMmRxw==}
|
resolution: {integrity: sha512-M/wqwtOEjgb956/+m5ZrYT/Iq6Hax0OakWbokj8+9PXOnB7b/4AxESHieEtnNEy7ZpjsjYW1/5nK8fATQMmRxw==}
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
vue: '>=3.2.13'
|
vue: '>=3.2.13'
|
||||||
peerDependenciesMeta:
|
|
||||||
vue:
|
|
||||||
optional: true
|
|
||||||
|
|
||||||
vite@5.3.5:
|
vite@5.3.5:
|
||||||
resolution: {integrity: sha512-MdjglKR6AQXQb9JGiS7Rc2wC6uMjcm7Go/NHNO63EwiJXfuk9PgqiP/n5IDJCziMkfw9n4Ubp7lttNwz+8ZVKA==}
|
resolution: {integrity: sha512-MdjglKR6AQXQb9JGiS7Rc2wC6uMjcm7Go/NHNO63EwiJXfuk9PgqiP/n5IDJCziMkfw9n4Ubp7lttNwz+8ZVKA==}
|
||||||
|
@ -16835,10 +16839,9 @@ snapshots:
|
||||||
hast-util-to-string: 3.0.0
|
hast-util-to-string: 3.0.0
|
||||||
parse-numeric-range: 1.3.0
|
parse-numeric-range: 1.3.0
|
||||||
rehype-parse: 9.0.0
|
rehype-parse: 9.0.0
|
||||||
|
shiki: 1.12.1
|
||||||
unified: 11.0.5
|
unified: 11.0.5
|
||||||
unist-util-visit: 5.0.0
|
unist-util-visit: 5.0.0
|
||||||
optionalDependencies:
|
|
||||||
shiki: 1.12.1
|
|
||||||
|
|
||||||
rehype-raw@7.0.0:
|
rehype-raw@7.0.0:
|
||||||
dependencies:
|
dependencies:
|
||||||
|
@ -17876,7 +17879,6 @@ snapshots:
|
||||||
vite-svg-loader@5.1.0(vue@3.4.35(typescript@5.5.4)):
|
vite-svg-loader@5.1.0(vue@3.4.35(typescript@5.5.4)):
|
||||||
dependencies:
|
dependencies:
|
||||||
svgo: 3.2.0
|
svgo: 3.2.0
|
||||||
optionalDependencies:
|
|
||||||
vue: 3.4.35(typescript@5.5.4)
|
vue: 3.4.35(typescript@5.5.4)
|
||||||
|
|
||||||
vite@5.3.5(@types/node@18.19.31)(sass@1.77.8):
|
vite@5.3.5(@types/node@18.19.31)(sass@1.77.8):
|
||||||
|
|
Loading…
Reference in a new issue