monkeytype/packages/funbox
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
..
__test__ build: fix openapi spec path for docs & stats endpoints on dev (@NadAlaba) (#6343) 2025-03-12 16:20:46 +01:00
src impr: allow multiple funboxes with css (@notTamion, @miodec, @fehmer) (#6017) 2025-02-04 17:52:50 +01:00
.eslintrc.cjs refactor: move funboxes to a shared package (@miodec) (#6063) 2024-12-04 16:11:07 +01:00
package.json build: fix openapi spec path for docs & stats endpoints on dev (@NadAlaba) (#6343) 2025-03-12 16:20:46 +01:00
tsconfig.json impr: allow multiple funboxes with css (@notTamion, @miodec, @fehmer) (#6017) 2025-02-04 17:52:50 +01:00
tsup.config.js build: use tsup instead of esbuild for packages (@fehmer) (#6309) 2025-03-03 13:48:50 +01:00
vitest.config.js refactor: move funboxes to a shared package (@miodec) (#6063) 2024-12-04 16:11:07 +01:00