From 50648871eecbafe045f2cec2ee3d9923c3e57edf Mon Sep 17 00:00:00 2001 From: Tobias Davis Date: Sun, 7 Aug 2022 17:15:16 -0500 Subject: [PATCH] fix: add "package.json" and types to exports for all packages (#484) * fix: add package.json to exports * fix: add types to exports dot --- packages/array-cartesian-product/package.json | 8 +++++--- packages/array-compact/package.json | 8 +++++--- packages/array-flatten/package.json | 8 +++++--- packages/array-group-by/package.json | 8 +++++--- packages/array-index/package.json | 8 +++++--- packages/array-insert/package.json | 8 +++++--- packages/array-intersect/package.json | 8 +++++--- packages/array-last/package.json | 8 +++++--- packages/array-mean/package.json | 8 +++++--- packages/array-median/package.json | 8 +++++--- packages/array-mode/package.json | 6 ++++-- packages/array-partition/package.json | 8 +++++--- packages/array-percentile/package.json | 6 ++++-- packages/array-permutations/package.json | 8 +++++--- packages/array-random/package.json | 8 +++++--- packages/array-range/package.json | 8 +++++--- packages/array-remove/package.json | 8 +++++--- packages/array-shuffle/package.json | 8 +++++--- packages/array-skewness/package.json | 6 ++++-- packages/array-sort-by/package.json | 8 +++++--- packages/array-split-at/package.json | 8 +++++--- packages/array-split/package.json | 8 +++++--- packages/array-standard-deviation/package.json | 6 ++++-- packages/array-tail/package.json | 8 +++++--- packages/array-union/package.json | 8 +++++--- packages/array-unique/package.json | 8 +++++--- packages/array-variance/package.json | 6 ++++-- packages/array-zip/package.json | 6 ++++-- packages/collection-clone/package.json | 8 +++++--- packages/collection-compare/package.json | 5 +++-- packages/collection-diff-apply/package.json | 8 +++++--- packages/collection-diff/package.json | 8 +++++--- packages/collection-flush/package.json | 7 ++++--- packages/collection-pluck/package.json | 7 ++++--- packages/function-compose/package.json | 7 ++++--- packages/function-curry/package.json | 8 +++++--- packages/function-debounce/package.json | 8 +++++--- packages/function-demethodize/package.json | 6 ++++-- packages/function-flip/package.json | 7 ++++--- packages/function-memoize-last/package.json | 8 +++++--- packages/function-memoize/package.json | 8 +++++--- packages/function-once/package.json | 8 +++++--- packages/function-partial/package.json | 6 ++++-- packages/function-throttle/package.json | 8 +++++--- packages/number-clamp/package.json | 8 +++++--- packages/number-in-range/package.json | 8 +++++--- packages/number-is-prime/package.json | 8 +++++--- packages/number-modulo/package.json | 8 +++++--- packages/number-random-integer/package.json | 8 +++++--- packages/object-deep-map-values/package.json | 8 +++++--- packages/object-entries/package.json | 6 ++++-- packages/object-extend/package.json | 8 +++++--- packages/object-filter/package.json | 8 +++++--- packages/object-flip/package.json | 8 +++++--- packages/object-has/package.json | 8 +++++--- packages/object-is-circular/package.json | 8 +++++--- packages/object-is-empty/package.json | 6 ++++-- packages/object-is-primitive/package.json | 7 ++++--- packages/object-map-keys/package.json | 7 ++++--- packages/object-map-values/package.json | 8 +++++--- packages/object-map/package.json | 7 ++++--- packages/object-merge/package.json | 8 +++++--- packages/object-omit/package.json | 8 +++++--- packages/object-pick/package.json | 8 +++++--- packages/object-reduce/package.json | 6 ++++-- packages/object-safe-get/package.json | 8 +++++--- packages/object-safe-set/package.json | 8 +++++--- packages/object-typeof/package.json | 8 +++++--- packages/object-values/package.json | 8 +++++--- packages/string-camel-case/package.json | 8 +++++--- packages/string-capitalize/package.json | 8 +++++--- packages/string-kebab-case/package.json | 8 +++++--- packages/string-left-pad/package.json | 8 +++++--- packages/string-pascal-case/package.json | 8 +++++--- packages/string-prune/package.json | 8 +++++--- packages/string-replace-all/package.json | 8 +++++--- packages/string-right-pad/package.json | 6 ++++-- packages/string-snake-case/package.json | 8 +++++--- packages/string-squash/package.json | 8 +++++--- packages/string-template/package.json | 8 +++++--- packages/string-truncate/package.json | 8 +++++--- 81 files changed, 384 insertions(+), 230 deletions(-) diff --git a/packages/array-cartesian-product/package.json b/packages/array-cartesian-product/package.json index b6d43c4ec..264901a59 100644 --- a/packages/array-cartesian-product/package.json +++ b/packages/array-cartesian-product/package.json @@ -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": { @@ -29,4 +31,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-compact/package.json b/packages/array-compact/package.json index 8d319da16..a2bc57e11 100644 --- a/packages/array-compact/package.json +++ b/packages/array-compact/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-flatten/package.json b/packages/array-flatten/package.json index 5044bac2d..7f90cc03e 100644 --- a/packages/array-flatten/package.json +++ b/packages/array-flatten/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-group-by/package.json b/packages/array-group-by/package.json index 4e0afb713..2f0d9ba0c 100644 --- a/packages/array-group-by/package.json +++ b/packages/array-group-by/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-index/package.json b/packages/array-index/package.json index 9ad389761..4179ec5f7 100644 --- a/packages/array-index/package.json +++ b/packages/array-index/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-insert/package.json b/packages/array-insert/package.json index 7c126ebf8..810c069b8 100644 --- a/packages/array-insert/package.json +++ b/packages/array-insert/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-intersect/package.json b/packages/array-intersect/package.json index 081046fed..79d6ff151 100644 --- a/packages/array-intersect/package.json +++ b/packages/array-intersect/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-last/package.json b/packages/array-last/package.json index a14aa92bc..af4070f3b 100644 --- a/packages/array-last/package.json +++ b/packages/array-last/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-mean/package.json b/packages/array-mean/package.json index 54febeff5..259c62243 100644 --- a/packages/array-mean/package.json +++ b/packages/array-mean/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-median/package.json b/packages/array-median/package.json index 18f014d92..94e2411f3 100644 --- a/packages/array-median/package.json +++ b/packages/array-median/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-mode/package.json b/packages/array-mode/package.json index 0daee3f45..bfbee0b75 100644 --- a/packages/array-mode/package.json +++ b/packages/array-mode/package.json @@ -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": { diff --git a/packages/array-partition/package.json b/packages/array-partition/package.json index 0f8d8f3d3..c0ea41ceb 100644 --- a/packages/array-partition/package.json +++ b/packages/array-partition/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-percentile/package.json b/packages/array-percentile/package.json index 795941ce6..57af0dae7 100644 --- a/packages/array-percentile/package.json +++ b/packages/array-percentile/package.json @@ -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": { diff --git a/packages/array-permutations/package.json b/packages/array-permutations/package.json index 5e7bac9bd..ef38b9c8f 100644 --- a/packages/array-permutations/package.json +++ b/packages/array-permutations/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-random/package.json b/packages/array-random/package.json index d11fd168c..1baf12d6e 100644 --- a/packages/array-random/package.json +++ b/packages/array-random/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-range/package.json b/packages/array-range/package.json index f6aeb8acf..6fe2d3f18 100644 --- a/packages/array-range/package.json +++ b/packages/array-range/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-remove/package.json b/packages/array-remove/package.json index 247380664..e3a1a9fbf 100644 --- a/packages/array-remove/package.json +++ b/packages/array-remove/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-shuffle/package.json b/packages/array-shuffle/package.json index df92c1cfc..012f4c444 100644 --- a/packages/array-shuffle/package.json +++ b/packages/array-shuffle/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-skewness/package.json b/packages/array-skewness/package.json index 8b9b2d3a5..e13db0ad7 100644 --- a/packages/array-skewness/package.json +++ b/packages/array-skewness/package.json @@ -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": { diff --git a/packages/array-sort-by/package.json b/packages/array-sort-by/package.json index 76ec6e18e..45dda9eb7 100644 --- a/packages/array-sort-by/package.json +++ b/packages/array-sort-by/package.json @@ -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": { @@ -26,4 +28,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-split-at/package.json b/packages/array-split-at/package.json index 275641c39..5e2f6f646 100644 --- a/packages/array-split-at/package.json +++ b/packages/array-split-at/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-split/package.json b/packages/array-split/package.json index 6286e0093..719ec778a 100644 --- a/packages/array-split/package.json +++ b/packages/array-split/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-standard-deviation/package.json b/packages/array-standard-deviation/package.json index a109e2eb9..fe044ff9e 100644 --- a/packages/array-standard-deviation/package.json +++ b/packages/array-standard-deviation/package.json @@ -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": { diff --git a/packages/array-tail/package.json b/packages/array-tail/package.json index 549833c45..8ef2f52ce 100644 --- a/packages/array-tail/package.json +++ b/packages/array-tail/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-union/package.json b/packages/array-union/package.json index 768608b41..8836f4ce0 100644 --- a/packages/array-union/package.json +++ b/packages/array-union/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-unique/package.json b/packages/array-unique/package.json index a27fd233f..0b53a5dd3 100644 --- a/packages/array-unique/package.json +++ b/packages/array-unique/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/array-variance/package.json b/packages/array-variance/package.json index 3f0a63c8c..baf8b0c35 100644 --- a/packages/array-variance/package.json +++ b/packages/array-variance/package.json @@ -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": { diff --git a/packages/array-zip/package.json b/packages/array-zip/package.json index 667bbeb89..9b0761b45 100644 --- a/packages/array-zip/package.json +++ b/packages/array-zip/package.json @@ -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": { diff --git a/packages/collection-clone/package.json b/packages/collection-clone/package.json index d9f994a63..cc755e9b3 100644 --- a/packages/collection-clone/package.json +++ b/packages/collection-clone/package.json @@ -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": { @@ -30,4 +32,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/collection-compare/package.json b/packages/collection-compare/package.json index 71b8ffa20..532dbabbb 100644 --- a/packages/collection-compare/package.json +++ b/packages/collection-compare/package.json @@ -9,7 +9,8 @@ "types": "./index.d.ts", "require": "./index.js", "default": "./index.mjs" - } + }, + "./package.json": "./package.json" }, "types": "index.d.ts", "scripts": { @@ -29,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/collection-diff-apply/package.json b/packages/collection-diff-apply/package.json index b2f80b73a..df52e33cb 100644 --- a/packages/collection-diff-apply/package.json +++ b/packages/collection-diff-apply/package.json @@ -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": { @@ -29,4 +31,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/collection-diff/package.json b/packages/collection-diff/package.json index 9c6a8bbe2..0df316005 100644 --- a/packages/collection-diff/package.json +++ b/packages/collection-diff/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/collection-flush/package.json b/packages/collection-flush/package.json index 5899974e0..3025139b9 100644 --- a/packages/collection-flush/package.json +++ b/packages/collection-flush/package.json @@ -8,10 +8,11 @@ "exports": { ".": { "require": "./index.js", - "default": "./index.mjs" - } + "default": "./index.mjs", + "types": "./index.d.ts" + }, + "./package.json": "./package.json" }, - "types": "index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "rollup -c" diff --git a/packages/collection-pluck/package.json b/packages/collection-pluck/package.json index a970cc5d5..728d30a56 100644 --- a/packages/collection-pluck/package.json +++ b/packages/collection-pluck/package.json @@ -8,10 +8,11 @@ "exports": { ".": { "require": "./index.js", - "default": "./index.mjs" - } + "default": "./index.mjs", + "types": "./index.d.ts" + }, + "./package.json": "./package.json" }, - "types": "index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "rollup -c" diff --git a/packages/function-compose/package.json b/packages/function-compose/package.json index 05759ef25..6aae96bbd 100644 --- a/packages/function-compose/package.json +++ b/packages/function-compose/package.json @@ -8,10 +8,11 @@ "exports": { ".": { "require": "./index.js", - "default": "./index.mjs" - } + "default": "./index.mjs", + "types": "./index.d.ts" + }, + "./package.json": "./package.json" }, - "types": "index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "rollup -c" diff --git a/packages/function-curry/package.json b/packages/function-curry/package.json index fdae33eee..9e4aef7c9 100644 --- a/packages/function-curry/package.json +++ b/packages/function-curry/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/function-debounce/package.json b/packages/function-debounce/package.json index c2975d9ac..8fa1ec3de 100644 --- a/packages/function-debounce/package.json +++ b/packages/function-debounce/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/function-demethodize/package.json b/packages/function-demethodize/package.json index 8febe20ba..f92a52ff8 100644 --- a/packages/function-demethodize/package.json +++ b/packages/function-demethodize/package.json @@ -8,8 +8,10 @@ "exports": { ".": { "require": "./index.js", - "default": "./index.mjs" - } + "default": "./index.mjs", + "types": "./index.d.ts" + }, + "./package.json": "./package.json" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", diff --git a/packages/function-flip/package.json b/packages/function-flip/package.json index c226f37fa..e0cb576e1 100644 --- a/packages/function-flip/package.json +++ b/packages/function-flip/package.json @@ -8,10 +8,11 @@ "exports": { ".": { "require": "./index.js", - "default": "./index.mjs" - } + "default": "./index.mjs", + "types": "./index.d.ts" + }, + "./package.json": "./package.json" }, - "types": "index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "rollup -c" diff --git a/packages/function-memoize-last/package.json b/packages/function-memoize-last/package.json index 1c131aefb..85111f422 100644 --- a/packages/function-memoize-last/package.json +++ b/packages/function-memoize-last/package.json @@ -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": { @@ -26,4 +28,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/function-memoize/package.json b/packages/function-memoize/package.json index 5a9523d49..44497aabd 100644 --- a/packages/function-memoize/package.json +++ b/packages/function-memoize/package.json @@ -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": { @@ -26,4 +28,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/function-once/package.json b/packages/function-once/package.json index a43755d14..007f73636 100644 --- a/packages/function-once/package.json +++ b/packages/function-once/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/function-partial/package.json b/packages/function-partial/package.json index 543065b96..1649cea8f 100644 --- a/packages/function-partial/package.json +++ b/packages/function-partial/package.json @@ -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": { diff --git a/packages/function-throttle/package.json b/packages/function-throttle/package.json index d2de74c2d..ada58ac80 100644 --- a/packages/function-throttle/package.json +++ b/packages/function-throttle/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/number-clamp/package.json b/packages/number-clamp/package.json index a66a6112c..7a3d8966e 100644 --- a/packages/number-clamp/package.json +++ b/packages/number-clamp/package.json @@ -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": { @@ -30,4 +32,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/number-in-range/package.json b/packages/number-in-range/package.json index d9f54b54a..6d26d57a3 100644 --- a/packages/number-in-range/package.json +++ b/packages/number-in-range/package.json @@ -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": { @@ -26,4 +28,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/number-is-prime/package.json b/packages/number-is-prime/package.json index 13a8c3795..4f1e34ce8 100644 --- a/packages/number-is-prime/package.json +++ b/packages/number-is-prime/package.json @@ -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": { @@ -26,4 +28,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/number-modulo/package.json b/packages/number-modulo/package.json index b1b574039..359e21a24 100644 --- a/packages/number-modulo/package.json +++ b/packages/number-modulo/package.json @@ -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": { @@ -30,4 +32,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/number-random-integer/package.json b/packages/number-random-integer/package.json index 53cbc8ad3..1672092b8 100644 --- a/packages/number-random-integer/package.json +++ b/packages/number-random-integer/package.json @@ -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": { @@ -26,4 +28,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-deep-map-values/package.json b/packages/object-deep-map-values/package.json index 61240515a..d8880d5a3 100644 --- a/packages/object-deep-map-values/package.json +++ b/packages/object-deep-map-values/package.json @@ -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": { @@ -31,4 +33,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-entries/package.json b/packages/object-entries/package.json index f0b0fbcc8..8eb73de40 100644 --- a/packages/object-entries/package.json +++ b/packages/object-entries/package.json @@ -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": { diff --git a/packages/object-extend/package.json b/packages/object-extend/package.json index f28c17448..c84a9d1e1 100644 --- a/packages/object-extend/package.json +++ b/packages/object-extend/package.json @@ -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": { @@ -32,4 +34,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-filter/package.json b/packages/object-filter/package.json index 6064d0724..17dfc0ced 100644 --- a/packages/object-filter/package.json +++ b/packages/object-filter/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-flip/package.json b/packages/object-flip/package.json index 11e9e20ee..597fbb1bd 100644 --- a/packages/object-flip/package.json +++ b/packages/object-flip/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-has/package.json b/packages/object-has/package.json index ebdcd8364..26673cb54 100644 --- a/packages/object-has/package.json +++ b/packages/object-has/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-is-circular/package.json b/packages/object-is-circular/package.json index 51255c380..2c99973ed 100644 --- a/packages/object-is-circular/package.json +++ b/packages/object-is-circular/package.json @@ -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": { @@ -29,4 +31,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-is-empty/package.json b/packages/object-is-empty/package.json index dd00dffe4..c4b6e1513 100644 --- a/packages/object-is-empty/package.json +++ b/packages/object-is-empty/package.json @@ -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": { diff --git a/packages/object-is-primitive/package.json b/packages/object-is-primitive/package.json index 15f395fd0..269e3a7f0 100644 --- a/packages/object-is-primitive/package.json +++ b/packages/object-is-primitive/package.json @@ -8,10 +8,11 @@ "exports": { ".": { "require": "./index.js", - "default": "./index.mjs" - } + "default": "./index.mjs", + "types": "./index.d.ts" + }, + "./package.json": "./package.json" }, - "types": "index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "rollup -c" diff --git a/packages/object-map-keys/package.json b/packages/object-map-keys/package.json index d42245786..c27b11d25 100644 --- a/packages/object-map-keys/package.json +++ b/packages/object-map-keys/package.json @@ -8,10 +8,11 @@ "exports": { ".": { "require": "./index.js", - "default": "./index.mjs" - } + "default": "./index.mjs", + "types": "./index.d.ts" + }, + "./package.json": "./package.json" }, - "types": "index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "rollup -c" diff --git a/packages/object-map-values/package.json b/packages/object-map-values/package.json index 7ab20cbf1..a92c665d8 100644 --- a/packages/object-map-values/package.json +++ b/packages/object-map-values/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-map/package.json b/packages/object-map/package.json index 9cd9513a7..4e154a5e5 100644 --- a/packages/object-map/package.json +++ b/packages/object-map/package.json @@ -8,10 +8,11 @@ "exports": { ".": { "require": "./index.js", - "default": "./index.mjs" - } + "default": "./index.mjs", + "types": "./index.d.ts" + }, + "./package.json": "./package.json" }, - "types": "index.d.ts", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "rollup -c" diff --git a/packages/object-merge/package.json b/packages/object-merge/package.json index 43dae5e1f..90318d911 100644 --- a/packages/object-merge/package.json +++ b/packages/object-merge/package.json @@ -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": { @@ -30,4 +32,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-omit/package.json b/packages/object-omit/package.json index 4860819a1..77eca58c2 100644 --- a/packages/object-omit/package.json +++ b/packages/object-omit/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-pick/package.json b/packages/object-pick/package.json index 50223ce8f..fac89ff0d 100644 --- a/packages/object-pick/package.json +++ b/packages/object-pick/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-reduce/package.json b/packages/object-reduce/package.json index 693ed4e94..2feb23043 100644 --- a/packages/object-reduce/package.json +++ b/packages/object-reduce/package.json @@ -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": { diff --git a/packages/object-safe-get/package.json b/packages/object-safe-get/package.json index a5e76494f..a3f627475 100644 --- a/packages/object-safe-get/package.json +++ b/packages/object-safe-get/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-safe-set/package.json b/packages/object-safe-set/package.json index c7dcbe176..3f3a53571 100644 --- a/packages/object-safe-set/package.json +++ b/packages/object-safe-set/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-typeof/package.json b/packages/object-typeof/package.json index 6fc19d390..2ef15eba0 100644 --- a/packages/object-typeof/package.json +++ b/packages/object-typeof/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/object-values/package.json b/packages/object-values/package.json index b5c35406c..ddfebf812 100644 --- a/packages/object-values/package.json +++ b/packages/object-values/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/string-camel-case/package.json b/packages/string-camel-case/package.json index ade764408..8cd72b220 100644 --- a/packages/string-camel-case/package.json +++ b/packages/string-camel-case/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/string-capitalize/package.json b/packages/string-capitalize/package.json index 52438e82e..f55c4b3d9 100644 --- a/packages/string-capitalize/package.json +++ b/packages/string-capitalize/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/string-kebab-case/package.json b/packages/string-kebab-case/package.json index 6f95296dc..0ddb5d6ad 100644 --- a/packages/string-kebab-case/package.json +++ b/packages/string-kebab-case/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/string-left-pad/package.json b/packages/string-left-pad/package.json index d8b7176d0..54b371cb2 100644 --- a/packages/string-left-pad/package.json +++ b/packages/string-left-pad/package.json @@ -8,8 +8,10 @@ "exports": { ".": { "require": "./index.js", - "default": "./index.mjs" - } + "default": "./index.mjs", + "types": "./index.d.ts" + }, + "./package.json": "./package.json" }, "types": "index.d.ts", "scripts": { @@ -30,4 +32,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/string-pascal-case/package.json b/packages/string-pascal-case/package.json index cd90b4657..0ac10ca8d 100644 --- a/packages/string-pascal-case/package.json +++ b/packages/string-pascal-case/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/string-prune/package.json b/packages/string-prune/package.json index 0edb27666..609e6b96c 100644 --- a/packages/string-prune/package.json +++ b/packages/string-prune/package.json @@ -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": { @@ -29,4 +31,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/string-replace-all/package.json b/packages/string-replace-all/package.json index f3d6ed5c1..ef6f58ba9 100644 --- a/packages/string-replace-all/package.json +++ b/packages/string-replace-all/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/string-right-pad/package.json b/packages/string-right-pad/package.json index cb9defa36..6fd710c92 100644 --- a/packages/string-right-pad/package.json +++ b/packages/string-right-pad/package.json @@ -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": { diff --git a/packages/string-snake-case/package.json b/packages/string-snake-case/package.json index 86b2bb2ab..d12fe25cd 100644 --- a/packages/string-snake-case/package.json +++ b/packages/string-snake-case/package.json @@ -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": { @@ -28,4 +30,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/string-squash/package.json b/packages/string-squash/package.json index 0c670d12b..4a057954d 100644 --- a/packages/string-squash/package.json +++ b/packages/string-squash/package.json @@ -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": { @@ -31,4 +33,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/string-template/package.json b/packages/string-template/package.json index 37a3f440a..42a7e9736 100644 --- a/packages/string-template/package.json +++ b/packages/string-template/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file diff --git a/packages/string-truncate/package.json b/packages/string-truncate/package.json index ea96f41d5..e446c4ead 100644 --- a/packages/string-truncate/package.json +++ b/packages/string-truncate/package.json @@ -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": { @@ -27,4 +29,4 @@ "bugs": { "url": "https://github.com/angus-c/just/issues" } -} +} \ No newline at end of file