Skip to content

Commit

Permalink
Migration to Astro v5
Browse files Browse the repository at this point in the history
  • Loading branch information
x0k committed Oct 12, 2024
1 parent c15e4a7 commit 9aeeade
Show file tree
Hide file tree
Showing 5 changed files with 286 additions and 569 deletions.
3 changes: 0 additions & 3 deletions apps/ppp/astro.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,4 @@ export default defineConfig({
ru: "en",
},
},
experimental: {
contentLayer: true,
},
});
6 changes: 3 additions & 3 deletions apps/ppp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"@astrojs/mdx": "^3.1.8",
"@astrojs/svelte": "^5.7.2",
"@astrojs/mdx": "4.0.0-beta.2",
"@astrojs/svelte": "6.0.0-beta.1",
"@astrojs/tailwind": "^5.1.2",
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"astro": "^4.16.1",
"astro": "5.0.0-beta.4",
"astro-icon": "^1.1.1",
"compiler": "workspace:*",
"dotnet-runtime": "workspace:*",
Expand Down
1 change: 0 additions & 1 deletion apps/ppp/src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ function generateId({ data, entry }: GenerateIdOptions) {
}

const problems = defineCollection({
type: "content_layer",
loader: glob({
pattern: "**/*.mdx",
base: "./src/problems",
Expand Down
7 changes: 5 additions & 2 deletions apps/ppp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,11 @@
]
}
},
"include": [
".astro/types.d.ts",
"**/*"
],
"exclude": [
"node_modules",
"dist",
"dist"
]
}
Loading

0 comments on commit 9aeeade

Please sign in to comment.