mirror of
https://github.com/hanzoui/ci-dashboard.git
synced 2026-10-30 19:47:45 +00:00
main
typescript 7.0.2 is the native compiler and exports no JavaScript API, so next 14 and typescript-eslint cannot read it. It comes in aliased as tsgo and does the typechecking; typescript stays on the 6 line for the tools. The pin was 4.8.4 against a tsconfig asking for moduleResolution bundler, so every run stopped at TS6046 and the project had never been typechecked. It is clean once it compiles: 0 diagnostics on both 6.0.3 and 7.0.2, with css.d.ts declaring the two side-effect stylesheet imports 6 and 7 both report as TS2882. next lint still runs. Co-authored-by: Hanzo Dev <[email protected]>
convert to ESModule /// make it into type: "module" to fit latest es-standard (and make react-toastify work (#2)
convert to ESModule /// make it into type: "module" to fit latest es-standard (and make react-toastify work (#2)
convert to ESModule /// make it into type: "module" to fit latest es-standard (and make react-toastify work (#2)
ComfyCI Dashboard
Built using NextJS.
Getting Started
Set up IDE
VSCode
Install Prettier + Eslint extensions.
.vscode/settings.json.defaultis available, it is set up in the workspace to lint + format code on save.- Copy to
settings.jsonto use it - But also maybe don't because the existing code doesn't stick to that formatter at all
- Copy to
Local Development
- Install prereqs:
- Clone this repo
- install NodeJS: https://nodejs.org/en/download/package-manager/current
- Install pnpm: https://pnpm.io/installation
- open new terminal install (pnpm doesn't add self to path instantly) (note VS Code terminal has persistence that will screw you here)
pnpm install
- Setup:
- Copy
.env.local.exampleto.env.localand configure it
- Copy
- Actually run:
pnpm run dev- Open http://localhost:3000 with your browser to see the result.
Generate Code Stub based on OpenAPI Spec
Start the dev server.
Currently, the Orval spec is in orval.config.js. It points to the OpenAPI spec in your localhost server. This can be changed to staging or prod.
npx orval
This generates react queries that you can use in your Components.
Deployments
Production
Make a PR to the main branch. Once merged, Vercel will deploy to https://comfyci.org
Languages
TypeScript
97.6%
JavaScript
2.4%