fix(api): remove "type": "module" conflicting with CommonJS build output
All checks were successful
ci/woodpecker/push/api Pipeline was successful

The NestJS tsconfig compiles to CommonJS (module: "CommonJS") but
package.json had "type": "module", causing Node.js v24 to treat the
CJS output as ESM and fail with "exports is not defined in ES module
scope" at startup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-15 00:53:43 -06:00
parent 91307c87cc
commit 8733a643bf

View File

@@ -2,7 +2,6 @@
"name": "@mosaic/api",
"version": "0.0.1",
"private": true,
"type": "module",
"scripts": {
"build": "nest build",
"dev": "nest start --watch",