Skip to content

Commit

Permalink
feat: adding million
Browse files Browse the repository at this point in the history
  • Loading branch information
maximeroucher authored and armanddidierjean committed Jun 27, 2024
1 parent d4ba777 commit ef3f8a4
Show file tree
Hide file tree
Showing 3 changed files with 914 additions and 4 deletions.
6 changes: 4 additions & 2 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import MillionLint from '@million/lint';
/** @type {import('next').NextConfig} */
const nextConfig = {
output: "export",
Expand All @@ -7,5 +8,6 @@ const nextConfig = {
// We need them to be able to access files without their .html extension (ex: /calypsso/register instead of needing /calypsso/register.html)
trailingSlash: true,
};

export default nextConfig;
export default MillionLint.next({
rsc: true
})(nextConfig);
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
"generate": "openapi-ts"
},
"dependencies": {
"@million/lint": "^1.0.0-rc.13",
"@hey-api/client-fetch": "^0.1.3",
"@hookform/resolvers": "^3.6.0",
"@radix-ui/react-icons": "^1.3.0",
Expand All @@ -31,6 +32,7 @@
"framer-motion": "^11.2.6",
"libphonenumber-js": "^1.11.4",
"lucide-react": "^0.396.0",
"million": "^3.1.6",
"next": "14.2.3",
"react": "^18",
"react-day-picker": "^8.10.1",
Expand Down
Loading

0 comments on commit ef3f8a4

Please sign in to comment.