Skip to content

Commit 950afc8

Browse files
committed
Merge branch 'changeset-release/master' into #-1.39.0
2 parents 85eff52 + ed5c9d0 commit 950afc8

8 files changed

Lines changed: 3845 additions & 1 deletion

File tree

site/.gitignore

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
# dependencies
2+
/node_modules
3+
/.pnp
4+
.pnp.js
5+
6+
# testing
7+
/coverage
8+
9+
# next.js
10+
/.next/
11+
/out/
12+
13+
# production
14+
/build
15+
16+
# misc
17+
.DS_Store
18+
*.pem
19+
20+
# debug
21+
npm-debug.log*
22+
yarn-debug.log*
23+
yarn-error.log*
24+
pnpm-debug.log*
25+
26+
# local env files
27+
.env*.local
28+
29+
# vercel
30+
.vercel
31+
32+
# typescript
33+
*.tsbuildinfo
34+
next-env.d.ts

site/app/layout.tsx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import type { Metadata } from 'next'
2+
import { Analytics } from '@vercel/analytics/next'
3+
4+
export const metadata: Metadata = {
5+
title: 'fnm - Fast Node Manager',
6+
description: 'Fast and simple Node.js version manager, built in Rust',
7+
}
8+
9+
export default function RootLayout({
10+
children,
11+
}: {
12+
children: React.ReactNode
13+
}) {
14+
return (
15+
<html lang="en">
16+
<body>
17+
{children}
18+
<Analytics />
19+
</body>
20+
</html>
21+
)
22+
}

site/app/page.tsx

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
export default function Home() {
2+
return (
3+
<div style={{
4+
display: 'flex',
5+
alignItems: 'center',
6+
justifyContent: 'center',
7+
minHeight: '100vh',
8+
fontFamily: 'system-ui, -apple-system, sans-serif'
9+
}}>
10+
<div style={{ textAlign: 'center' }}>
11+
<h1>fnm - Fast Node Manager</h1>
12+
<p>Redirecting to GitHub...</p>
13+
</div>
14+
</div>
15+
)
16+
}

site/eslint.config.mjs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
import { FlatCompat } from '@eslint/eslintrc'
2+
3+
const compat = new FlatCompat({
4+
baseDirectory: import.meta.dirname,
5+
})
6+
7+
const eslintConfig = [
8+
...compat.extends('next/core-web-vitals', 'next/typescript'),
9+
]
10+
11+
export default eslintConfig

site/next.config.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
/** @type {import('next').NextConfig} */
2+
const nextConfig = {
3+
output: 'export',
4+
trailingSlash: true,
5+
}
6+
7+
module.exports = nextConfig

site/package.json

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,23 @@
55
"author": "Gal Schlezinger",
66
"license": "MIT",
77
"scripts": {
8-
"build": "rm -rf public; mkdir public; cp ../.ci/install.sh ./public/install.txt"
8+
"dev": "next dev",
9+
"build": "next build",
10+
"start": "next start",
11+
"lint": "next lint"
12+
},
13+
"dependencies": {
14+
"@vercel/analytics": "^1.6.1",
15+
"next": "^16.1.6",
16+
"react": "^19.2.4",
17+
"react-dom": "^19.2.4"
18+
},
19+
"devDependencies": {
20+
"@eslint/eslintrc": "^3.3.3",
21+
"@types/node": "^25.1.0",
22+
"@types/react": "^19.2.10",
23+
"eslint": "^9.39.2",
24+
"eslint-config-next": "^16.1.6",
25+
"typescript": "^5.9.3"
926
}
1027
}

0 commit comments

Comments
 (0)