@podlite/toc 0.0.40 → 0.0.42

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.podlite +4 -0
  2. package/package.json +16 -8
package/CHANGELOG.podlite CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  =head1 Upcoming
4
4
 
5
+ =head1 0.0.41
6
+
7
+ =item add C<exports> map, top-level C<types>, and explicit C<sideEffects> to package manifest
8
+
5
9
  =head1 0.0.31
6
10
 
7
11
  =item added C<:folded-levels{k=>v}> key-value syntax — each level can now be marked folded (C<1>) or not (C<0>) independently, e.g. C<{2=>1, 3=>0}>. Array syntax C<[2,3]> still works as before
package/package.json CHANGED
@@ -1,8 +1,18 @@
1
1
  {
2
2
  "name": "@podlite/toc",
3
- "version": "0.0.40",
3
+ "version": "0.0.42",
4
4
  "description": "Auto-generate table of contents from Podlite documents",
5
- "main": "lib/index.js",
5
+ "main": "./lib/index.js",
6
+ "sideEffects": false,
7
+ "exports": {
8
+ ".": {
9
+ "types": "./lib/index.d.ts",
10
+ "import": "./esm/index.js",
11
+ "require": "./lib/index.js",
12
+ "default": "./lib/index.js"
13
+ },
14
+ "./package.json": "./package.json"
15
+ },
6
16
  "homepage": "https://podlite.org",
7
17
  "bugs": {
8
18
  "url": "https://github.com/podlite/podlite/issues"
@@ -23,10 +33,7 @@
23
33
  "test": "yarn g:jest --passWithNoTests"
24
34
  },
25
35
  "publishConfig": {
26
- "access": "public",
27
- "main": "lib/index.js",
28
- "types": "./lib/index.d.ts",
29
- "module": "./esm/index.js"
36
+ "access": "public"
30
37
  },
31
38
  "files": [
32
39
  "lib",
@@ -52,10 +59,11 @@
52
59
  "react-dom": "^16.0.0 || ^17.0.0 || ^18"
53
60
  },
54
61
  "dependencies": {
55
- "@podlite/schema": "0.0.47",
62
+ "@podlite/schema": "0.0.49",
56
63
  "react": "^16.0.0 || ^17.0.0 || ^18",
57
64
  "react-dom": "^16.0.0 || ^17.0.0 || ^18",
58
65
  "react-is": "^18.0.0"
59
66
  },
60
- "module": "./esm/index.js"
67
+ "module": "./esm/index.js",
68
+ "types": "./lib/index.d.ts"
61
69
  }