fix: compile shared package as CommonJS for NestJS compatibility

This commit is contained in:
kevin-asprec
2026-04-13 16:52:39 +08:00
parent 7df2789153
commit 3f195e1765
2 changed files with 4 additions and 5 deletions

View File

@@ -2,8 +2,8 @@
"name": "@fiberops/shared",
"version": "0.1.0",
"private": true,
"main": "./src/index.ts",
"types": "./src/index.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
"build": "tsc",
"lint": "tsc --noEmit",