@vocab/core 1.1.0 → 1.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/package.json +20 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @vocab/core
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`09a698a`](https://github.com/seek-oss/vocab/commit/09a698af6aff86a851e4f829916b8f1f6beaca58) [#89](https://github.com/seek-oss/vocab/pull/89) Thanks [@mikebarkmin](https://github.com/mikebarkmin)! - Add exports to packages with multiple entry points. This fixes
8
+ `ERR_UNSUPPORTED_DIR_IMPORT` issues e.g. with NextJS or other setups, which
9
+ rely on the new node resolver when using ESM packages.
10
+
3
11
  ## 1.1.0
4
12
 
5
13
  ### Minor Changes
package/package.json CHANGED
@@ -1,8 +1,27 @@
1
1
  {
2
2
  "name": "@vocab/core",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "main": "dist/vocab-core.cjs.js",
5
5
  "module": "dist/vocab-core.esm.js",
6
+ "exports": {
7
+ "./package.json": "./package.json",
8
+ ".": {
9
+ "module": "./dist/vocab-core.esm.js",
10
+ "default": "./dist/vocab-core.cjs.js"
11
+ },
12
+ "./icu-handler": {
13
+ "module": "./icu-handler/dist/vocab-core-icu-handler.esm.js",
14
+ "default": "./icu-handler/dist/vocab-core-icu-handler.cjs.js"
15
+ },
16
+ "./runtime": {
17
+ "module": "./runtime/dist/vocab-core-runtime.esm.js",
18
+ "default": "./runtime/dist/vocab-core-runtime.cjs.js"
19
+ },
20
+ "./translation-file": {
21
+ "module": "./translation-file/dist/vocab-core-translation-file.esm.js",
22
+ "default": "./translation-file/dist/vocab-core-translation-file.cjs.js"
23
+ }
24
+ },
6
25
  "author": "SEEK",
7
26
  "license": "MIT",
8
27
  "preconstruct": {