Skip to content

Commit

Permalink
feat: sync packages meta (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
mdjermanovic committed May 8, 2024
1 parent 82fd8db commit 27fcd25
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 12 deletions.
9 changes: 7 additions & 2 deletions packages/compat/jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"version": "0.0.0",
"exports": "./dist/esm/index.js",
"publish": {
"exclude": [
"!dist"
"include": [
"dist/esm/index.js",
"dist/esm/index.d.ts",
"dist/esm/types.d.ts",
"README.md",
"jsr.json",
"LICENSE"
]
}
}
12 changes: 8 additions & 4 deletions packages/compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,14 @@
}
},
"files": [
"dist",
"LICENSE",
"README.md"
"dist/cjs/index.cjs",
"dist/cjs/index.d.cts",
"dist/cjs/types.d.ts",
"dist/esm/index.js",
"dist/esm/index.d.ts",
"dist/esm/types.d.ts",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
Expand All @@ -26,7 +31,6 @@
},
"scripts": {
"build": "rollup -c && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json",
"prepare": "npm run build",
"test": "mocha tests/*.js"
},
"repository": {
Expand Down
3 changes: 3 additions & 0 deletions packages/config-array/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"repository": {
"type": "git",
"url": "git+https://github.com/eslint/rewrite.git"
Expand Down
9 changes: 7 additions & 2 deletions packages/object-schema/jsr.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,13 @@
"version": "2.0.3",
"exports": "./dist/esm/index.js",
"publish": {
"exclude": [
"!dist"
"include": [
"dist/esm/index.js",
"dist/esm/index.d.ts",
"dist/esm/types.d.ts",
"README.md",
"jsr.json",
"LICENSE"
]
}
}
15 changes: 11 additions & 4 deletions packages/object-schema/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,23 @@
}
},
"files": [
"dist",
"LICENSE",
"README.md"
"dist/cjs/index.cjs",
"dist/cjs/index.d.cts",
"dist/cjs/types.d.ts",
"dist/esm/index.js",
"dist/esm/index.d.ts",
"dist/esm/types.d.ts",
"README.md",
"LICENSE"
],
"publishConfig": {
"access": "public"
},
"directories": {
"test": "tests"
},
"scripts": {
"build": "rollup -c && tsc -p tsconfig.esm.json && tsc -p tsconfig.cjs.json",
"prepare": "npm run build",
"test": "mocha tests/"
},
"repository": {
Expand Down

0 comments on commit 27fcd25

Please sign in to comment.