File tree 4 files changed +181
-143
lines changed
4 files changed +181
-143
lines changed Original file line number Diff line number Diff line change
1
+ ### 3.0.0 (2024-06-22)
2
+
3
+ - Support TypeDoc 0.26
4
+ - BREAKING: Drop support for TypeDoc before 0.26.
5
+
1
6
### 2.3.0 (2024-06-12)
2
7
3
8
- Added ` --collapseInternalModule ` option.
Original file line number Diff line number Diff line change @@ -118,6 +118,12 @@ export function load(app: Application) {
118
118
app . converter . on (
119
119
Converter . EVENT_CREATE_DECLARATION ,
120
120
( context : Context , refl : Reflection ) => {
121
+ // TypeDoc 0.26 doesn't fire EVENT_CREATE_DECLARATION for project
122
+ // We need to ensure the project has a program attached to it, so
123
+ // do that when the first declaration is created.
124
+ if ( knownPrograms . size === 0 ) {
125
+ knownPrograms . set ( refl . project , context . program ) ;
126
+ }
121
127
if ( refl . kindOf ( ModuleLike ) ) {
122
128
knownPrograms . set ( refl , context . program ) ;
123
129
}
@@ -195,7 +201,6 @@ export function load(app: Application) {
195
201
referencedSymbols . clear ( ) ;
196
202
symbolToOwningModule . clear ( ) ;
197
203
} ,
198
- void 0 ,
199
204
1e9 ,
200
205
) ;
201
206
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " typedoc-plugin-missing-exports" ,
3
- "version" : " 2.3 .0" ,
3
+ "version" : " 3.0 .0" ,
4
4
"description" : " Include non-exported types in TypeDoc documentation" ,
5
5
"exports" : " ./index.js" ,
6
6
"type" : " module" ,
10
10
"@types/node" : " 18" ,
11
11
"outdent" : " ^0.8.0" ,
12
12
"prettier" : " 3.3.2" ,
13
- "typedoc" : " ^0.25.13 " ,
14
- "typescript" : " ^5.4.5 " ,
13
+ "typedoc" : " ^0.26.0 " ,
14
+ "typescript" : " ^5.5.2 " ,
15
15
"vitest" : " ^1.6.0"
16
16
},
17
17
"repository" : {
25
25
" typedoc-plugin"
26
26
],
27
27
"peerDependencies" : {
28
- "typedoc" : " 0.24.x || 0.25 .x"
28
+ "typedoc" : " 0.26 .x"
29
29
},
30
30
"scripts" : {
31
31
"test" : " vitest run test/packages.test.ts" ,
32
32
"test:doc" : " typedoc --plugin ./index.js --tsconfig ./test/packages" ,
33
- "build" : " tsc"
33
+ "build" : " tsc" ,
34
+ "lint" : " prettier --check ."
34
35
}
35
36
}
You can’t perform that action at this time.
0 commit comments