fix: compile shared package as CommonJS for NestJS compatibility

This commit is contained in:
kevin-asprec
2026-04-13 16:53:04 +08:00
parent 4e69e7738b
commit 88148e6fbb
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",