Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 0 additions & 32 deletions .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,4 @@ about: Describe this issue template's purpose here.
title: Custom Issue
labels: Issue
assignees: Evavic44

---


Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
- type: textarea
id: description
attributes:
label: Description of the feature
label: Description of the feature
validations:
required: true
- type: textarea
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ body:
- type: textarea
id: description
attributes:
label: Description of the idea
label: Description of the idea
validations:
required: true
- type: textarea
Expand Down
30 changes: 0 additions & 30 deletions .github/workflows/build.yaml

This file was deleted.

40 changes: 40 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
name: build-check

on:
pull_request:
branches:
- main
- staging

jobs:
build:
runs-on: ubuntu-latest

steps:
- name: check-out
uses: actions/checkout@v4

- name: setup pnpm
uses: pnpm/action-setup@v2
with:
version: 10

- name: set-up-node
uses: actions/setup-node@v3
with:
node-version: 24
cache: "pnpm"

- name: install dependencies
run: pnpm install --no-frozen-lockfile

- name: check code
run: pnpm run check-code

- name: build
env:
NEXT_PUBLIC_API_URL: http://localhost:5080
NEXT_PUBLIC_POSTHOG_KEY:
NEXT_PUBLIC_GITHUB_ORG: https://github.com/CommunityPro
NEXT_PUBLIC_PRACTICE_REPO: https://github.com/CommunityPro/Practice-Contribution
run: pnpm run build
16 changes: 11 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,14 @@
# dependencies
/node_modules
/.pnp
.pnp.js
.yarn/install-state.gz
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/versions
.claude
.claude/*

# testing
/coverage
Expand All @@ -24,10 +30,10 @@
npm-debug.log*
yarn-debug.log*
yarn-error.log*
.pnpm-debug.log*

# local env files
.env*.local
.env
# env files (can opt-in for committing if needed)
.env*

# vercel
.vercel
Expand Down
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

21 changes: 10 additions & 11 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"tabWidth": 1,
"singleQuote": false,
"useTabs": true,
"trailingComma": "es5",
"semi": false,
"bracketSpacing": true,
"bracketSameLine": true,
"arrowParens": "always",
"endOfLine": "auto",
"printWidth": 90,
"plugins": ["prettier-plugin-tailwindcss"]
"printWidth": 120,
"tabWidth": 2,
"useTabs": false,
"singleQuote": false,
"trailingComma": "all",
"arrowParens": "always",
"semi": true,
"bracketSpacing": true,
"endOfLine": "auto",
"plugins": ["prettier-plugin-tailwindcss"]
}
7 changes: 7 additions & 0 deletions AGENTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<!-- BEGIN:nextjs-agent-rules -->

# This is NOT the Next.js you know

This version has breaking changes — APIs, conventions, and file structure may all differ from your training data. Read the relevant guide in `node_modules/next/dist/docs/` before writing any code. Heed deprecation notices.

<!-- END:nextjs-agent-rules -->
1 change: 1 addition & 0 deletions CLAUDE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@AGENTS.md
22 changes: 15 additions & 7 deletions components.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
{
"$schema": "https://ui.shadcn.com/schema.json",
"style": "default",
"rsc": false,
"style": "radix-vega",
"rsc": true,
"tsx": true,
"tailwind": {
"config": "tailwind.config.ts",
"css": "src/styles/globals.css",
"config": "",
"css": "src/app/globals.css",
"baseColor": "neutral",
"cssVariables": true,
"prefix": ""
},
"iconLibrary": "lucide",
"rtl": false,
"aliases": {
"components": "@/components",
"utils": "@/lib/utils"
}
}
"utils": "@/lib/utils",
"ui": "@/components/ui",
"lib": "@/lib",
"hooks": "@/hooks"
},
"menuColor": "default",
"menuAccent": "subtle",
"registries": {}
}
5 changes: 5 additions & 0 deletions env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Copy to .env.local and fill in real values. NEXT_PUBLIC_* vars are exposed to the browser.
NEXT_PUBLIC_API_URL=http://localhost:5080
NEXT_PUBLIC_POSTHOG_KEY=
NEXT_PUBLIC_GITHUB_ORG=https://github.com/CommunityPro
NEXT_PUBLIC_PRACTICE_REPO=https://github.com/CommunityPro/Practice-Contribution
18 changes: 18 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import { defineConfig, globalIgnores } from "eslint/config";
import nextVitals from "eslint-config-next/core-web-vitals";
import nextTs from "eslint-config-next/typescript";

const eslintConfig = defineConfig([
...nextVitals,
...nextTs,
// Override default ignores of eslint-config-next.
globalIgnores([
// Default ignores of eslint-config-next:
".next/**",
"out/**",
"build/**",
"next-env.d.ts",
]),
]);

export default eslintConfig;
18 changes: 0 additions & 18 deletions next.config.mjs

This file was deleted.

18 changes: 18 additions & 0 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
/* config options here */
turbopack: {
root: __dirname,
},
images: {
remotePatterns: [
{ hostname: "*.unsplash.com", protocol: "https" },
{ hostname: "avatars.githubusercontent.com", protocol: "https" },
{ hostname: "cdn.jsdelivr.net", protocol: "https" },
{ hostname: "avatars.githubusercontent.com", protocol: "https" },
],
},
};

export default nextConfig;
Loading
Loading