Skip to content

Commit

Permalink
Remove dist/ from "exports"
Browse files Browse the repository at this point in the history
  • Loading branch information
knutwannheden committed Sep 27, 2024
1 parent 0aa35db commit bc3bfa5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 11 deletions.
23 changes: 12 additions & 11 deletions openrewrite/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@
"name": "@openrewrite/rewrite",
"version": "1.0.0",
"description": "",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "index.js",
"types": "index.d.ts",
"exports": {
".": "./dist/index.js",
"./core": "./dist/core/index.js",
"./java": "./dist/java/index.js",
"./java/tree": "./dist/java/tree/index.js",
"./javascript": "./dist/javascript/index.js",
"./javascript/tree": "./dist/javascript/tree/index.js",
"./json": "./dist/json/index.js",
"./yaml": "./dist/yaml/index.js",
"./yaml/tree": "./dist/yaml/tree/index.js"
".": "./index.js",
"./core": "./core/index.js",
"./java": "./java/index.js",
"./java/tree": "./java/tree/index.js",
"./javascript": "./javascript/index.js",
"./javascript/tree": "./javascript/tree/index.js",
"./json": "./json/index.js",
"./yaml": "./yaml/index.js",
"./yaml/tree": "./yaml/tree/index.js"
},
"scripts": {
"build": "tsc --build tsconfig.build.json",
"postbuild": "cp package.json dist",
"dev": "tsc --watch -p tsconfig.json",
"test": "jest"
},
Expand Down
1 change: 1 addition & 0 deletions openrewrite/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {}

0 comments on commit bc3bfa5

Please sign in to comment.