@convergencelabs/typedoc-plugin-custom-modules
Advanced tools
Comparing version 0.1.0 to 0.1.2
@@ -23,3 +23,3 @@ "use strict"; | ||
} | ||
collectProjectReflections() { | ||
convertDeclarations() { | ||
let projRefs = this._project.reflections; | ||
@@ -30,4 +30,2 @@ this._projectReflections = Object.keys(projRefs).reduce((m, k) => { | ||
}, []); | ||
} | ||
convertDeclarations() { | ||
Object.keys(this._moduleDeclarations).forEach(reflectionId => { | ||
@@ -34,0 +32,0 @@ let moduleDeclaration = this._moduleDeclarations[reflectionId]; |
@@ -56,3 +56,2 @@ "use strict"; | ||
onResolveEnd(context) { | ||
this._converter.collectProjectReflections(); | ||
this._converter.convertDeclarations(); | ||
@@ -59,0 +58,0 @@ this._converter.removeEmptyContainers(); |
{ | ||
"name": "@convergencelabs/typedoc-plugin-custom-modules", | ||
"version": "0.1.0", | ||
"version": "0.1.2", | ||
"description": "Declare modules of all your exports using a @module annotation", | ||
@@ -8,7 +8,7 @@ "main": "dist/index.js", | ||
"build": "npm run clean && tsc", | ||
"clean": "rimraf dist", | ||
"postinstall": "npm run build", | ||
"clean": "del dist", | ||
"prepublishOnly": "npm run test", | ||
"test": "npm run test:prepare && npm run test:run", | ||
"test:run": "mocha --no-timeouts --require ts-node/register test/**/*.spec.ts", | ||
"test:clean": "rimraf test/dist", | ||
"test:clean": "del test/dist", | ||
"test:link-self": "node ./tasks/link-plugin.js", | ||
@@ -36,9 +36,8 @@ "test:prepare": "npm run build && npm run test:clean && npm run test:link-self" | ||
"@types/node": "^12.12.6", | ||
"del-cli": "^3.0.0", | ||
"mocha": "^6.2.2", | ||
"rimraf": "^3.0.0", | ||
"ts-node": "^8.4.1", | ||
"tslint": "^6.0.0-beta0", | ||
"typedoc": "^0.15.0", | ||
"typescript": "3.6.x" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
7
0
29077
305