diff --git a/packages/linear/package.json b/packages/linear/package.json index bc36c32..55be090 100644 --- a/packages/linear/package.json +++ b/packages/linear/package.json @@ -4,12 +4,19 @@ "description": "Linear adapter bootstrap package for Relayfile", "type": "module", "main": "dist/index.js", - "types": "./src/index.ts", + "types": "dist/index.d.ts", "exports": { - ".": "./src/index.ts" + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js" + }, + "./path-mapper": { + "types": "./dist/path-mapper.d.ts", + "import": "./dist/path-mapper.js" + } }, "files": [ - "src" + "dist" ], "scripts": { "typecheck": "tsc --noEmit -p tsconfig.json", diff --git a/packages/slack/package.json b/packages/slack/package.json index 5218572..fb99ca0 100644 --- a/packages/slack/package.json +++ b/packages/slack/package.json @@ -5,13 +5,19 @@ "type": "module", "sideEffects": false, "main": "dist/index.js", - "types": "./src/index.ts", + "types": "dist/index.d.ts", "exports": { - ".": "./src/index.ts" + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.js" + }, + "./path-mapper": { + "types": "./dist/path-mapper.d.ts", + "import": "./dist/path-mapper.js" + } }, "files": [ - "src", - "tsconfig.json" + "dist" ], "scripts": { "test": "node --import tsx --test src/__tests__/*.test.ts",