chore: bump the astro to 4.15, enable the content layer.
This commit is contained in:
parent
1f15a3fbce
commit
0e72197f2e
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -4,6 +4,7 @@
|
||||
"editor.codeActionsOnSave": {
|
||||
"quickfix.biome": "explicit"
|
||||
},
|
||||
"astro.content-intellisense": true,
|
||||
"[javascript]": {
|
||||
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
||||
},
|
||||
@ -65,6 +66,7 @@
|
||||
"jian",
|
||||
"jiasm",
|
||||
"jing",
|
||||
"jmoiron",
|
||||
"jungshik",
|
||||
"khalil",
|
||||
"khtml",
|
||||
@ -115,6 +117,7 @@
|
||||
"shinmun",
|
||||
"shmily",
|
||||
"skrs",
|
||||
"sqlx",
|
||||
"syhily",
|
||||
"tabindex",
|
||||
"tagcloud",
|
||||
|
@ -19,6 +19,8 @@ export default defineConfig({
|
||||
service: !options.isProd() ? { entrypoint: './plugins/resize', config: {} } : undefined,
|
||||
},
|
||||
experimental: {
|
||||
contentLayer: true,
|
||||
contentIntellisense: true,
|
||||
actions: true,
|
||||
env: {
|
||||
schema: {
|
||||
|
1146
package-lock.json
generated
1146
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
16
package.json
16
package.json
@ -28,7 +28,7 @@
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"astro": "astro",
|
||||
"build": "rimraf dist && astro check && astro build",
|
||||
"build": "rimraf dist && rimraf .zeabur && astro check && astro build",
|
||||
"dev": "astro dev",
|
||||
"lint": "biome check --write --use-server . && prettier . --write",
|
||||
"prepare": "npx husky",
|
||||
@ -42,10 +42,10 @@
|
||||
]
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^3.1.3",
|
||||
"@astrojs/mdx": "^3.1.4",
|
||||
"@astrojs/rss": "^4.0.7",
|
||||
"@zeabur/astro-adapter": "^1.0.6",
|
||||
"astro": "^4.13.3",
|
||||
"astro": "^4.14.5",
|
||||
"drizzle-orm": "^0.33.0",
|
||||
"fuse.js": "^7.0.0",
|
||||
"lodash": "^4.17.21",
|
||||
@ -56,15 +56,15 @@
|
||||
"ultrahtml": "^1.5.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/check": "^0.9.2",
|
||||
"@astrojs/check": "^0.9.3",
|
||||
"@biomejs/biome": "^1.8.3",
|
||||
"@napi-rs/canvas": "^0.1.53",
|
||||
"@napi-rs/canvas": "^0.1.54",
|
||||
"@types/lodash": "^4.17.7",
|
||||
"@types/luxon": "^3.4.2",
|
||||
"@types/node": "^22.2.0",
|
||||
"@types/node": "^22.5.0",
|
||||
"@types/pg": "^8.11.6",
|
||||
"@types/qrcode-svg": "^1.1.5",
|
||||
"@types/unist": "^3.0.2",
|
||||
"@types/unist": "^3.0.3",
|
||||
"aplayer": "^1.10.1",
|
||||
"astro-uploader": "^1.1.3",
|
||||
"bootstrap": "^5.3.3",
|
||||
@ -75,7 +75,7 @@
|
||||
"rehype-external-links": "^3.0.0",
|
||||
"resize-sensor": "^0.0.6",
|
||||
"rimraf": "^6.0.1",
|
||||
"sharp": "^0.33.4",
|
||||
"sharp": "^0.33.5",
|
||||
"typescript": "^5.5.4",
|
||||
"unist-util-select": "^5.1.0"
|
||||
},
|
||||
|
3
src/env.d.ts
vendored
3
src/env.d.ts
vendored
@ -1,4 +1 @@
|
||||
/// <reference path="../.astro/actions.d.ts" />
|
||||
/// <reference path="../.astro/env.d.ts" />
|
||||
/// <reference path="../.astro/types.d.ts" />
|
||||
/// <reference types="astro/client" />
|
||||
|
@ -12,5 +12,5 @@ require (
|
||||
require (
|
||||
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
||||
github.com/spf13/pflag v1.0.5 // indirect
|
||||
golang.org/x/image v0.18.0 // indirect
|
||||
golang.org/x/image v0.19.0 // indirect
|
||||
)
|
||||
|
@ -19,8 +19,8 @@ github.com/spf13/cobra v1.8.1/go.mod h1:wHxEcudfqmLYa8iTfL+OuZPbBZkmvliBWKIezN3k
|
||||
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
|
||||
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
|
||||
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8/go.mod h1:FeLwcggjj3mMvU+oOTbSwawSJRM1uh48EjtB4UJZlP0=
|
||||
golang.org/x/image v0.18.0 h1:jGzIakQa/ZXI1I0Fxvaa9W7yP25TqT6cHIHn+6CqvSQ=
|
||||
golang.org/x/image v0.18.0/go.mod h1:4yyo5vMFQjVjUcVk4jEQcU9MGy/rulF5WvUILseCM2E=
|
||||
golang.org/x/image v0.19.0 h1:D9FX4QWkLfkeqaC62SonffIIuYdOk/UE2XKUBgRIBIQ=
|
||||
golang.org/x/image v0.19.0/go.mod h1:y0zrRqlQRWQ5PXaYCOMLTW2fpsxZ8Qh9I/ohnInJEys=
|
||||
golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ=
|
||||
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
|
||||
gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
|
||||
|
Loading…
Reference in New Issue
Block a user