Skip to content

Commit

Permalink
package.json exports field: move ./* to the end, closes #1786
Browse files Browse the repository at this point in the history
  • Loading branch information
gcanti committed Sep 20, 2022
1 parent a0f3970 commit 3ff58e1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Expand Up @@ -16,7 +16,7 @@
**Note**: A feature tagged as Experimental is in a
high state of flux, you're at risk of it changing without notice.

# 2.13.0-rc.5
# 2.13.0-rc.6

How to install:

Expand All @@ -25,6 +25,7 @@ npm install fp-ts@rc
```

- **Bug Fix**
- package.json `exports` field: move `./*` to the end, closes #1786 (@gcanti)
- revert PR 1584 because is causing a regression (@gcanti)

# 2.13.0-rc.4
Expand Down
12 changes: 6 additions & 6 deletions package.json
@@ -1,6 +1,6 @@
{
"name": "fp-ts",
"version": "2.13.0-rc.5",
"version": "2.13.0-rc.6",
"description": "Functional programming in TypeScript",
"main": "./lib/index.js",
"module": "./es6/index.js",
Expand All @@ -17,11 +17,6 @@
"import": "./es6/HKT.js",
"types": "./HKT.d.ts"
},
"./*": {
"require": "./lib/*.js",
"import": "./es6/*.js",
"types": "./lib/*.d.ts"
},
"./es6/HKT": {
"import": "./es6/HKT.js",
"types": "./HKT.d.ts"
Expand All @@ -37,6 +32,11 @@
"./lib/*": {
"require": "./lib/*.js",
"types": "./lib/*.d.ts"
},
"./*": {
"require": "./lib/*.js",
"import": "./es6/*.js",
"types": "./lib/*.d.ts"
}
},
"scripts": {
Expand Down

0 comments on commit 3ff58e1

Please sign in to comment.