Skip to content

Commit

Permalink
fix: add "package.json" and types to exports for all packages (#484)
Browse files Browse the repository at this point in the history
* fix: add package.json to exports

* fix: add types to exports dot
  • Loading branch information
saibotsivad committed Aug 7, 2022
1 parent 1e12476 commit 5064887
Show file tree
Hide file tree
Showing 81 changed files with 384 additions and 230 deletions.
8 changes: 5 additions & 3 deletions packages/array-cartesian-product/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -29,4 +31,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-compact/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -28,4 +30,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-flatten/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -27,4 +29,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-group-by/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -27,4 +29,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-index/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -27,4 +29,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-insert/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -28,4 +30,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-intersect/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -27,4 +29,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-last/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -27,4 +29,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-mean/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -28,4 +30,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-median/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -27,4 +29,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
6 changes: 4 additions & 2 deletions packages/array-mode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand Down
8 changes: 5 additions & 3 deletions packages/array-partition/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -28,4 +30,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
6 changes: 4 additions & 2 deletions packages/array-percentile/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand Down
8 changes: 5 additions & 3 deletions packages/array-permutations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -28,4 +30,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-random/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -27,4 +29,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-range/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -27,4 +29,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-remove/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -27,4 +29,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-shuffle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -28,4 +30,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
6 changes: 4 additions & 2 deletions packages/array-skewness/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand Down
8 changes: 5 additions & 3 deletions packages/array-sort-by/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -26,4 +28,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}
8 changes: 5 additions & 3 deletions packages/array-split-at/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@
"exports": {
".": {
"require": "./index.js",
"default": "./index.mjs"
}
"default": "./index.mjs",
"types": "./index.d.ts"
},
"./package.json": "./package.json"
},
"types": "index.d.ts",
"scripts": {
Expand All @@ -27,4 +29,4 @@
"bugs": {
"url": "https://github.com/angus-c/just/issues"
}
}
}

0 comments on commit 5064887

Please sign in to comment.