@openpkg-ts/adapters 0.3.3 → 0.3.5

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.
@@ -135,10 +135,12 @@ function openpkgSource(options) {
135
135
  const groupedByKind = new Map;
136
136
  for (const exp of exports) {
137
137
  const kind = exp.kind;
138
- if (!groupedByKind.has(kind)) {
139
- groupedByKind.set(kind, []);
138
+ const group = groupedByKind.get(kind);
139
+ if (group) {
140
+ group.push(exp);
141
+ } else {
142
+ groupedByKind.set(kind, [exp]);
140
143
  }
141
- groupedByKind.get(kind).push(exp);
142
144
  }
143
145
  const rootPages = [];
144
146
  if (indexPage) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openpkg-ts/adapters",
3
- "version": "0.3.3",
3
+ "version": "0.3.5",
4
4
  "description": "Framework adapters for OpenPkg - Fumadocs, Docusaurus, Mintlify, etc.",
5
5
  "keywords": [
6
6
  "openpkg",
@@ -45,9 +45,9 @@
45
45
  "typecheck": "tsc --noEmit"
46
46
  },
47
47
  "dependencies": {
48
- "@openpkg-ts/sdk": "^0.34.0",
49
- "@openpkg-ts/spec": "^0.33.0",
50
- "@openpkg-ts/ui": "^0.1.4"
48
+ "@openpkg-ts/sdk": "^0.35.0",
49
+ "@openpkg-ts/spec": "^0.34.1",
50
+ "@openpkg-ts/ui": "^0.1.6"
51
51
  },
52
52
  "peerDependencies": {
53
53
  "fumadocs-core": "^16.0.0",
@@ -60,7 +60,7 @@
60
60
  },
61
61
  "devDependencies": {
62
62
  "@types/react": "^19.0.0",
63
- "bunup": "latest",
63
+ "bunup": "^0.16.20",
64
64
  "fumadocs-core": "^16.4.0",
65
65
  "typescript": "^5.0.0"
66
66
  },