File tree 4 files changed +38
-0
lines changed
4 files changed +38
-0
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "version" : " 0.2.0" ,
3
+ "configurations" : [
4
+ {
5
+ "name" : " Attach" ,
6
+ "port" : 9229 ,
7
+ "request" : " attach" ,
8
+ "internalConsoleOptions" : " openOnSessionStart" ,
9
+ "skipFiles" : [" <node_internals>/**" ],
10
+ "type" : " node" ,
11
+ "sourceMaps" : true ,
12
+ "resolveSourceMapLocations" : [
13
+ // "${workspaceFolder}/**",
14
+ " !**/node_modules/**"
15
+ ],
16
+ "sourceMapPathOverrides" : {
17
+ "typedoc-plugin-missing-exports://*" : " ${workspaceFolder}/*"
18
+ }
19
+ }
20
+ ]
21
+ }
Original file line number Diff line number Diff line change 28
28
},
29
29
"scripts" : {
30
30
"test" : " vitest run test/packages.test.ts" ,
31
+ "test:doc" : " typedoc --plugin ./index.js --tsconfig ./test/packages" ,
31
32
"build" : " tsc"
32
33
}
33
34
}
Original file line number Diff line number Diff line change
1
+ #! /bin/bash
2
+ # Expects to be run from within a package where you want to debug this plugin.
3
+ # Will create a td-missing-exports folder which hardlinks the build of this plugin
4
+ # so that imports of typedoc will use the debug target's version of TypeDoc,
5
+ # while allowing changes to be made/debugged in this repo.
6
+
7
+ PLUGIN_DIR=$( cd -- " $( dirname -- " ${BASH_SOURCE[0]} " ) " & > /dev/null && pwd)
8
+
9
+ rm -rf td-missing-exports
10
+ mkdir td-missing-exports
11
+ ln -T " $PLUGIN_DIR /../package.json" td-missing-exports/package.json
12
+ ln -T " $PLUGIN_DIR /../index.js" td-missing-exports/index.js
13
+ ln -T " $PLUGIN_DIR /../index.js.map" td-missing-exports/index.js.map
14
+
15
+ echo " Add ./td-missing-exports/index.js to your plugins configuration for debugging"
Original file line number Diff line number Diff line change 9
9
"noUnusedParameters" : true ,
10
10
"strict" : true ,
11
11
"sourceMap" : true ,
12
+ "sourceRoot" : " typedoc-plugin-missing-exports://" ,
12
13
"skipLibCheck" : true
13
14
},
14
15
"include" : [" ." ],
You can’t perform that action at this time.
0 commit comments