add exports 135d46fa
Antonio Ivanovski · 2026-02-15 18:47 2 file(s) · +12 −0
server/package.json +6 −0
3 3
  "version": "0.0.1",
4 4
  "main": "dist/index.js",
5 5
  "types": "dist/index.d.ts",
6 +
  "exports": {
7 +
    ".": {
8 +
      "types": "./dist/index.d.ts",
9 +
      "default": "./dist/index.js"
10 +
    }
11 +
  },
6 12
  "scripts": {
7 13
    "build": "tsc",
8 14
    "dev": "bun --watch run src/index.ts"
shared/package.json +6 −0
3 3
  "version": "0.0.1",
4 4
  "main": "dist/index.js",
5 5
  "types": "dist/index.d.ts",
6 +
  "exports": {
7 +
    ".": {
8 +
      "types": "./dist/index.d.ts",
9 +
      "default": "./dist/index.js"
10 +
    }
11 +
  },
6 12
  "scripts": {
7 13
    "build": "tsc",
8 14
    "dev": "tsc --watch"