@couch-kit/display 0.1.1 → 0.1.2
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.
- package/CHANGELOG.md +12 -0
- package/lib/index.d.ts +1 -1
- package/lib/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# @couch-kit/display
|
|
2
2
|
|
|
3
|
+
## 0.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#136](https://github.com/faluciano/react-native-couch-kit/pull/136) [`973805a`](https://github.com/faluciano/react-native-couch-kit/commit/973805af754a8e22c1c6c81de4c858ffa353556c) Thanks [@faluciano](https://github.com/faluciano)! - **Bundle & tree-shaking**
|
|
8
|
+
|
|
9
|
+
- Fix `RelayDisplayHost` resolving as "not exported" for consumers on
|
|
10
|
+
`moduleResolution: NodeNext`/`Node16`. The package is `type: module`, so the
|
|
11
|
+
emitted `.d.ts` is read in strict-ESM mode where an extensionless relative
|
|
12
|
+
re-export (`export * from "./relay-display-host"`) is not resolved. Add the
|
|
13
|
+
`.js` extension to the barrel specifier, matching the other ESM packages.
|
|
14
|
+
|
|
3
15
|
## 0.1.1
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from "./relay-display-host";
|
|
1
|
+
export * from "./relay-display-host.js";
|
|
2
2
|
//# sourceMappingURL=index.d.ts.map
|
package/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,cAAc,yBAAyB,CAAC"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
//
|
|
2
|
-
//
|
|
3
|
-
//
|
|
4
|
-
|
|
1
|
+
// Use an `export *` barrel (a named `export { X } from` lets bun tree-shake the
|
|
2
|
+
// sole class out under `sideEffects: false`, publishing an empty bundle) AND a
|
|
3
|
+
// `.js` extension on the specifier: the package is `type: module`, so consumers
|
|
4
|
+
// on `moduleResolution: NodeNext` resolve the emitted `.d.ts` in strict-ESM mode
|
|
5
|
+
// and an extensionless re-export fails to find `relay-display-host.d.ts`.
|
|
6
|
+
export * from "./relay-display-host.js";
|