Skip to content

Commit 9a9792a

Browse files
committed
Updated "exports" property in package.json to address the issue where some tools couldn't access the manifest file.
See nodejs/node#33460
1 parent 70408ac commit 9a9792a

8 files changed

Lines changed: 16 additions & 8 deletions

File tree

dist/lamb.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @overview lamb - A lightweight, and docile, JavaScript library to help embracing functional programming.
33
* @author Andrea Scartabelli <andrea.scartabelli@gmail.com>
4-
* @version 0.60.0-alpha.1
4+
* @version 0.59.1-alpha.1
55
* @module lamb
66
* @license MIT
77
*/

dist/lamb.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/lamb.min.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/lamb.min.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @overview lamb - A lightweight, and docile, JavaScript library to help embracing functional programming.
33
* @author Andrea Scartabelli <andrea.scartabelli@gmail.com>
4-
* @version 0.60.0-alpha.1
4+
* @version 0.59.1-alpha.1
55
* @module lamb
66
* @license MIT
77
*/

dist/lamb.min.mjs.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/lamb.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* @overview lamb - A lightweight, and docile, JavaScript library to help embracing functional programming.
33
* @author Andrea Scartabelli <andrea.scartabelli@gmail.com>
4-
* @version 0.60.0-alpha.1
4+
* @version 0.59.1-alpha.1
55
* @module lamb
66
* @license MIT
77
*/

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,14 @@
2525
"license": "MIT",
2626
"main": "./dist/lamb.js",
2727
"module": "./dist/lamb.mjs",
28+
"exports": {
29+
".": {
30+
"require": "./dist/lamb.js",
31+
"import": "./dist/lamb.mjs",
32+
"default": "./dist/lamb.js"
33+
},
34+
"./package.json": "./package.json"
35+
},
2836
"exports": {
2937
"require": "./dist/lamb.js",
3038
"import": "./dist/lamb.mjs",
@@ -62,7 +70,7 @@
6270
"unpkg": "dist/lamb.min.js",
6371
"sideEffects": false,
6472
"tonicExample": "var _ = require('lamb');",
65-
"version": "0.60.0-alpha.1",
73+
"version": "0.59.1-alpha.1",
6674
"devDependencies": {
6775
"@babel/core": "^7.10.4",
6876
"@babel/preset-env": "^7.10.4",

0 commit comments

Comments
 (0)