Skip to content
Open
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
18 changes: 0 additions & 18 deletions .eslintrc.cjs

This file was deleted.

37 changes: 37 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: CI

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

jobs:
validate:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v7

- name: Install pnpm
uses: pnpm/action-setup@v6
with:
version: 10.34.5
run_install: false

- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version-file: .node-version
cache: pnpm

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

- name: Lint
run: pnpm lint

- name: Build
run: pnpm build
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
24.19.0
28 changes: 28 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"$schema": "https://biomejs.dev/schemas/2.5.9/schema.json",
"files": {
"includes": ["**", "!dist"]
},
"formatter": {
"enabled": true,
"indentStyle": "space"
},
"linter": {
"enabled": true,
"rules": {
"preset": "recommended",
"style": {
"noNonNullAssertion": "off"
},
"suspicious": {
"noExplicitAny": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double",
"trailingCommas": "all"
}
}
}
59 changes: 30 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,49 +2,50 @@
"name": "lunii-admin-creator",
"private": true,
"version": "0.0.0",
"packageManager": "pnpm@10.34.5",
"engines": {
"node": ">=24.19.0"
},
"type": "module",
"scripts": {
"dev": "vite",
"build": "tsc && vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint": "biome lint .",
"format": "biome format --write .",
"preview": "vite preview",
"toc": "i18next-resources-for-ts toc -i src/i18n/locales/en-GB -o ./src/@types/resources.ts"
},
"dependencies": {
"@emotion/react": "^11.11.1",
"@legendapp/state": "^1.8.1",
"@mantine/core": "^6.0.17",
"@mantine/dropzone": "^6.0.17",
"@mantine/hooks": "^6.0.17",
"@mantine/modals": "^6.0.17",
"@mantine/notifications": "^6.0.17",
"@tabler/icons-react": "^2.30.0",
"@legendapp/state": "^2.1.15",
"@mantine/core": "^9.5.1",
"@mantine/dropzone": "^9.5.1",
"@mantine/hooks": "^9.5.1",
"@mantine/modals": "^9.5.1",
"@mantine/notifications": "^9.5.1",
"@tabler/icons-react": "^3.46.0",
"@tanstack/react-query": "^5.101.4",
"@types/file-saver": "^2.0.5",
"file-saver": "^2.0.5",
"i18next": "^23.7.7",
"i18next-browser-languagedetector": "^7.2.0",
"i18next": "^26.4.0",
"i18next-browser-languagedetector": "^8.2.1",
"jszip": "^3.10.1",
"nanoid": "^4.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-i18next": "^13.5.0",
"nanoid": "^6.0.1",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-i18next": "^17.0.12",
"react-media-recorder": "^1.6.6",
"react-query": "^3.39.3",
"react-zoom-pan-pinch": "^3.1.0"
"react-zoom-pan-pinch": "^4.0.4"
},
"devDependencies": {
"@types/node": "^20.4.8",
"@types/react": "^18.2.15",
"@types/react-dom": "^18.2.7",
"@types/wicg-file-system-access": "^2020.9.6",
"@typescript-eslint/eslint-plugin": "^6.0.0",
"@typescript-eslint/parser": "^6.0.0",
"@vitejs/plugin-react-swc": "^3.3.2",
"eslint": "^8.45.0",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-react-refresh": "^0.4.3",
"i18next-resources-for-ts": "^1.4.0",
"typescript": "^5.0.2",
"vite": "^4.4.5"
"@biomejs/biome": "^2.5.9",
"@types/node": "^24.13.3",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@types/wicg-file-system-access": "^2023.10.7",
"@vitejs/plugin-react-swc": "^4.3.3",
"i18next-resources-for-ts": "^2.1.0",
"typescript": "^7.0.2",
"vite": "^8.2.2"
}
}
Loading