mirror of
https://github.com/kamranahmedse/driver.js.git
synced 2026-10-31 20:31:43 +08:00
- Bump Astro 3->7, @astrojs/mdx/react, React 18->19, astro-compress - Replace the deprecated @astrojs/tailwind integration with the @tailwindcss/vite plugin (Tailwind 3->4) - Move Tailwind config into src/styles/tailwind.css: @plugin for the typography plugin and an @custom-variant for the `sh` min-height screen; drop tailwind.config.cjs - Migrate to the Astro Content Layer API: glob loader in content.config.ts, guide.slug -> guide.id, guide.render() -> render(guide) - Type-only CollectionEntry imports; bump bundled driver.js to ^1.4.0 Build is green (18 pages); home and docs pages verified in the browser.
30 lines
677 B
JSON
30 lines
677 B
JSON
{
|
|
"name": "driver-docs",
|
|
"type": "module",
|
|
"version": "0.0.1",
|
|
"scripts": {
|
|
"dev": "astro dev",
|
|
"start": "astro dev",
|
|
"build": "astro build",
|
|
"preview": "astro preview",
|
|
"astro": "astro"
|
|
},
|
|
"dependencies": {
|
|
"@astrojs/mdx": "^7.0.0",
|
|
"@astrojs/react": "^6.0.0",
|
|
"@tailwindcss/vite": "^4.3.1",
|
|
"@types/react": "^19.2.17",
|
|
"@types/react-dom": "^19.2.3",
|
|
"astro": "^7.0.0",
|
|
"astro-compress": "^2.4.1",
|
|
"driver.js": "^1.4.0",
|
|
"react": "^19.2.7",
|
|
"react-dom": "^19.2.7",
|
|
"react-fast-marquee": "^1.6.5",
|
|
"tailwindcss": "^4.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@tailwindcss/typography": "^0.5.20"
|
|
}
|
|
}
|