|
1 | 1 | { |
2 | 2 | "name": "@sentry/effect", |
3 | | - "version": "10.42.0", |
| 3 | + "version": "10.43.0", |
4 | 4 | "description": "Official Sentry SDK for Effect", |
5 | 5 | "repository": "git://github.com/getsentry/sentry-javascript.git", |
6 | 6 | "homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/effect", |
|
12 | 12 | "files": [ |
13 | 13 | "/build" |
14 | 14 | ], |
15 | | - "main": "build/cjs/index.js", |
16 | | - "module": "build/esm/index.js", |
17 | | - "types": "build/types/index.d.ts", |
| 15 | + "main": "build/cjs/index.server.js", |
| 16 | + "module": "build/esm/index.server.js", |
| 17 | + "browser": "build/esm/index.client.js", |
| 18 | + "types": "build/types/index.types.d.ts", |
18 | 19 | "exports": { |
19 | 20 | "./package.json": "./package.json", |
20 | 21 | ".": { |
21 | | - "import": { |
22 | | - "types": "./build/types/index.d.ts", |
23 | | - "default": "./build/esm/index.js" |
| 22 | + "types": "./build/types/index.types.d.ts", |
| 23 | + "browser": { |
| 24 | + "import": "./build/esm/index.client.js", |
| 25 | + "require": "./build/cjs/index.client.js" |
24 | 26 | }, |
25 | | - "require": { |
26 | | - "types": "./build/types/index.d.ts", |
27 | | - "default": "./build/cjs/index.js" |
| 27 | + "node": { |
| 28 | + "import": "./build/esm/index.server.js", |
| 29 | + "require": "./build/cjs/index.server.js" |
28 | 30 | } |
| 31 | + }, |
| 32 | + "./server": { |
| 33 | + "types": "./build/types/index.server.d.ts", |
| 34 | + "import": "./build/esm/index.server.js", |
| 35 | + "require": "./build/cjs/index.server.js" |
| 36 | + }, |
| 37 | + "./client": { |
| 38 | + "types": "./build/types/index.client.d.ts", |
| 39 | + "import": "./build/esm/index.client.js", |
| 40 | + "require": "./build/cjs/index.client.js" |
29 | 41 | } |
30 | 42 | }, |
31 | 43 | "typesVersions": { |
32 | 44 | "<5.0": { |
33 | | - "build/types/index.d.ts": [ |
34 | | - "build/types-ts3.8/index.d.ts" |
| 45 | + "build/types/index.types.d.ts": [ |
| 46 | + "build/types-ts3.8/index.types.d.ts" |
| 47 | + ], |
| 48 | + "build/types/index.server.d.ts": [ |
| 49 | + "build/types-ts3.8/index.server.d.ts" |
| 50 | + ], |
| 51 | + "build/types/index.client.d.ts": [ |
| 52 | + "build/types-ts3.8/index.client.d.ts" |
35 | 53 | ] |
36 | 54 | } |
37 | 55 | }, |
38 | 56 | "publishConfig": { |
39 | 57 | "access": "public" |
40 | 58 | }, |
41 | 59 | "dependencies": { |
42 | | - "@sentry/core": "10.42.0" |
| 60 | + "@sentry/browser": "10.43.0", |
| 61 | + "@sentry/core": "10.43.0", |
| 62 | + "@sentry/node-core": "10.43.0" |
| 63 | + }, |
| 64 | + "peerDependencies": { |
| 65 | + "effect": "^3.0.0" |
| 66 | + }, |
| 67 | + "peerDependenciesMeta": { |
| 68 | + "effect": { |
| 69 | + "optional": false |
| 70 | + } |
| 71 | + }, |
| 72 | + "devDependencies": { |
| 73 | + "@effect/vitest": "^0.23.9", |
| 74 | + "effect": "^3.19.19" |
43 | 75 | }, |
44 | 76 | "scripts": { |
45 | 77 | "build": "run-p build:transpile build:types", |
|
52 | 84 | "build:dev:watch": "yarn build:watch", |
53 | 85 | "build:transpile:watch": "rollup -c rollup.npm.config.mjs --watch", |
54 | 86 | "build:tarball": "npm pack", |
55 | | - "circularDepCheck": "madge --circular src/index.ts", |
| 87 | + "circularDepCheck": "madge --circular src/index.client.ts && madge --circular src/index.server.ts && madge --circular src/index.types.ts", |
56 | 88 | "clean": "rimraf build coverage sentry-effect-*.tgz", |
57 | 89 | "fix": "eslint . --format stylish --fix", |
58 | 90 | "lint": "eslint . --format stylish", |
|
0 commit comments