mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
Note: For this to work, we swapped to `bundler` for module resolution, which is recommended by TypeScript community. This upgrade addresses breaking changes in flowbite-react 0.12.x including the removal of compound components in favour of simple component imports. Breaking changes addressed: 1. Tailwind CSS configuration - Changed import from 'flowbite-react/tailwind' to 'flowbite-react/plugin/tailwindcss' - Updated plugin API: flowbite.plugin() → flowbite (direct export) - Replaced flowbite.content() with manual path './node_modules/flowbite-react/dist/**/*.js' 2. Component API changes (compound → simple components) - Accordion: Accordion.Panel → AccordionPanel, Accordion.Title → AccordionTitle, etc. - Tabs: Tabs.Item → TabItem - Sidebar: Sidebar.Item → SidebarItem, Sidebar.Items → SidebarItems, etc. - Clipboard: Clipboard.WithIcon → ClipboardWithIcon Additional fixes: - Adjusted clipboard icon positioning (increased top margin from top-2 to top-4) to properly align with code block borders as it was misaligned after the upgrade All components tested and verified working: - Accordion, Tabs, Sidebar, Clipboard, Tooltip, Navbar - Custom theming preserved and functioning correctly - No obvious regressions during side-by-side testing with online version
59 lines
1.6 KiB
JSON
59 lines
1.6 KiB
JSON
{
|
|
"name": "website",
|
|
"version": "0.1.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"setup": "pnpm install && bash ./timestamps.sh",
|
|
"dev": "next dev",
|
|
"prebuild": "bash ./timestamps.sh",
|
|
"build": "next build",
|
|
"postbuild": "next-sitemap",
|
|
"start": "next start",
|
|
"lint": "next lint"
|
|
},
|
|
"dependencies": {
|
|
"@docsearch/react": "^3.9.0",
|
|
"@mdx-js/loader": "^3.1.1",
|
|
"@mdx-js/react": "^3.1.1",
|
|
"@next/mdx": "~15.3.2",
|
|
"@next/third-parties": "^15.4.4",
|
|
"@types/mdx": "^2.0.13",
|
|
"@types/mixpanel-browser": "^2.66.0",
|
|
"@types/node": "24.3.0",
|
|
"@types/react": "18.3.11",
|
|
"@types/react-dom": "18.3.1",
|
|
"@types/react-syntax-highlighter": "^15.5.13",
|
|
"@vercel/edge-config": "^1.4.0",
|
|
"asciinema-player": "^3.9.0",
|
|
"autoprefixer": "10.4.21",
|
|
"fast-xml-parser": "^5.2.5",
|
|
"flowbite-react": "^0.12.9",
|
|
"framer-motion": "^12.23.12",
|
|
"highlight.js": "^11.11.1",
|
|
"md5": "^2.3.0",
|
|
"mixpanel-browser": "^2.70.0",
|
|
"next": "^15.5.3",
|
|
"next-hubspot": "^2.0.0",
|
|
"next-sitemap": "^4.2.3",
|
|
"postcss": "8.5.6",
|
|
"react": "18.3.1",
|
|
"react-dom": "18.3.1",
|
|
"react-fast-marquee": "^1.6.5",
|
|
"react-icons": "^5.5.0",
|
|
"react-markdown": "^10.1.0",
|
|
"react-syntax-highlighter": "^15.6.1",
|
|
"rehype-autolink-headings": "^7.1.0",
|
|
"rehype-highlight": "^7.0.2",
|
|
"rehype-slug": "^6.0.0",
|
|
"rehype-stringify": "^10.0.1",
|
|
"remark-gfm": "^4.0.1",
|
|
"remark-parse": "^11.0.0",
|
|
"tailwindcss": "3.4.18"
|
|
},
|
|
"devDependencies": {
|
|
"flowbite-typography": "^1.0.5",
|
|
"hastscript": "^9.0.1",
|
|
"typescript": "5.9.2"
|
|
}
|
|
}
|