monkeytype/frontend
Nad Alaba 932d0e166e
build: fix openapi spec path for docs & stats endpoints on dev (@NadAlaba) (#6343)
### Description

1. fix openapi specification path so that /docs endpoint would work on
dev.

> Error: ENOENT: no such file or directory, stat
'backend/src/static/api/public.html' Stack: Error: ENOENT: no such file
or directory

2. fix openapi specification path so that API Operation would work on
/stats endpoint on dev.

> Cannot read openApi specification from
backend/src/api/routes/../../static/api/openapi.json. Swagger stats will
not fully work.

![stats](https://github.com/user-attachments/assets/82f3e8b4-814c-4ede-ba67-8da53dacad87)

3. remove unneeded `files` & `ts-node` options from `tsconfig.json` in
various places.

> File 'backend/src/types/types.d.ts' not found.
  The file is in the program because:
    Part of 'files' list in tsconfig.json

4. add the missing `pnpm test` script to the funbox package.
2025-03-12 16:20:46 +01:00
..
__tests__ build: fix openapi spec path for docs & stats endpoints on dev (@NadAlaba) (#6343) 2025-03-12 16:20:46 +01:00
docker chore: switch from npm to pnpm (#5690) 2024-07-30 22:36:19 +02:00
scripts refactor: move funboxes to a shared package (@miodec) (#6063) 2024-12-04 16:11:07 +01:00
src impr: notify the user if custom text saving failed due to local storage being full 2025-03-12 11:45:06 +01:00
static chore: lowercase word 2025-03-07 18:05:41 +01:00
.eslintrc.cjs
.firebaserc_example
firebase.json chore: output version to version.json 2024-07-26 18:17:08 +02:00
gulpfile.js
knip.json
package.json impr: use zod schema for url parameters on leaderboard (@fehmer) (#6305) 2025-03-04 13:08:00 +01:00
tsconfig.json refactor: remove global type namespaces (@miodec) (#5907) 2024-09-23 15:34:16 +02:00
vite.config.dev.js impr(dev): add quick login button to frontend dev modal 2024-07-27 16:48:58 +02:00
vite.config.js chore: rebuild all files instead of just what changed 2024-08-09 17:01:10 +02:00
vite.config.prod.js chore: update version string format 2025-02-20 11:42:10 +01:00
vitest.config.js refactor: move funboxes to a shared package (@miodec) (#6063) 2024-12-04 16:11:07 +01:00