diff --git a/package-lock.json b/package-lock.json index add3bafb0..7d2f4635a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -376,12 +376,6 @@ "integrity": "sha1-+cjBN1fMHde8N5rHeyxipcKGjEA=", "dev": true }, - "arg": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.1.tgz", - "integrity": "sha512-SlmP3fEA88MBv0PypnXZ8ZfJhwmDeIE3SP71j37AiXQBXYosPV0x6uISAaHYSlSVhmHOVkomen0tbGk6Anlebw==", - "dev": true - }, "argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", @@ -419,12 +413,6 @@ "integrity": "sha512-qhAVI1+Av2X7qelOfAIYwXONood6XlZE/fXaBSmW/T5SzLAmCgzi+eiWE7fUvbHaeNBQH13UftjpXxsfLkMpgw==", "dev": true }, - "buffer-from": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.1.tgz", - "integrity": "sha512-MQcXEUbCKtEo7bhqEs6560Hyd4XaovZlO/k9V3hjVUF/zwW7KBVdSK4gIt/bzwS9MbR5qob+F5jusZsb0YQK2A==", - "dev": true - }, "builtin-modules": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/builtin-modules/-/builtin-modules-1.1.1.tgz", @@ -1126,12 +1114,6 @@ } } }, - "make-error": { - "version": "1.3.5", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.5.tgz", - "integrity": "sha512-c3sIjNUow0+8swNwVpqoH4YCShKNFkMaw6oH1mNS2haDZQqkeZFlHS3dhoeEbKKmJB4vXpJucU6oH75aDYeE9g==", - "dev": true - }, "marked": { "version": "0.7.0", "resolved": "https://registry.npmjs.org/marked/-/marked-0.7.0.tgz", @@ -1757,16 +1739,6 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==" }, - "source-map-support": { - "version": "0.5.13", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", - "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", - "dev": true, - "requires": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, "spawn-wrap": { "version": "2.0.0-beta.0", "resolved": "https://registry.npmjs.org/spawn-wrap/-/spawn-wrap-2.0.0-beta.0.tgz", @@ -1907,27 +1879,6 @@ "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", "dev": true }, - "ts-node": { - "version": "8.4.1", - "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-8.4.1.tgz", - "integrity": "sha512-5LpRN+mTiCs7lI5EtbXmF/HfMeCjzt7DH9CZwtkr6SywStrNQC723wG+aOWFiLNn7zT3kD/RnFqi3ZUfr4l5Qw==", - "dev": true, - "requires": { - "arg": "^4.1.0", - "diff": "^4.0.1", - "make-error": "^1.1.1", - "source-map-support": "^0.5.6", - "yn": "^3.0.0" - }, - "dependencies": { - "diff": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.1.tgz", - "integrity": "sha512-s2+XdvhPCOF01LRQBC8hf4vhbVmI2CGS5aZnxLJlT5FtdhPCDFq80q++zK2KlrVorVDdL5BOGZ/VfLrVtYNF+Q==", - "dev": true - } - } - }, "tslib": { "version": "1.10.0", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.10.0.tgz", @@ -2235,12 +2186,6 @@ } } } - }, - "yn": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", - "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", - "dev": true } } } diff --git a/package.json b/package.json index 7c46f6f03..1427853d8 100644 --- a/package.json +++ b/package.json @@ -53,7 +53,6 @@ "mocha": "^6.2.2", "mockery": "^2.1.0", "nyc": "15.0.0-beta.0", - "ts-node": "^8.4.1", "tslint": "^5.20.1" }, "files": [ @@ -66,7 +65,8 @@ "scripts": { "pretest": "node scripts/copy_test_files.js", "test": "nyc --reporter=html --reporter=text-summary mocha --timeout=10000 dist/test/*.test.js", - "test:ts": "mocha --require ts-node/register --watch-extensions ts --timeout=10000 src/test/*.test.ts", + "prerebuild_specs": "npm run pretest", + "rebuild_specs": "node scripts/rebuild_specs.js", "build": "tsc --project .", "postbuild": "node scripts/replace_application_version.js", "build_and_test": "npm run build && npm run test", diff --git a/scripts/rebuild_specs.js b/scripts/rebuild_specs.js index 2a56cd3e2..8126d90d4 100644 --- a/scripts/rebuild_specs.js +++ b/scripts/rebuild_specs.js @@ -2,7 +2,7 @@ const fs = require('fs-extra'); const path = require('path'); -const TypeDoc = require(path.join(__dirname, '..')); +const TypeDoc = require('..'); const app = new TypeDoc.Application({ mode: 'Modules', @@ -18,75 +18,111 @@ const app = new TypeDoc.Application({ ], }); -const base = path.join(__dirname, '../src/test/converter'); +// Note that this uses the test files in dist, not in src, this is important since +// when running the tests we copy the tests to dist and then convert them. +const base = path.join(__dirname, '../dist/test/converter'); -fs.remove(path.join(__dirname, '../src/test/renderer/specs')) - .then(() => fs.readdir(base)) - .then(dirs => { - // Get converter directories - return Promise.all(dirs.map(dir => { - const dirPath = path.join(base, dir); - return Promise.all([ dirPath, fs.stat(dirPath) ]); - })); - }).then(dirs => { - // Rebuild converter specs - return dirs.map(([ fullPath, isDir ]) => { - if (!isDir) return; +/** @type {[string, () => void, () => void][]} */ +const conversions = [ + ['specs', () => { }, () => { }], + ['specs-without-exported', + () => app.options.setValue('excludeNotExported', true), + () => app.options.setValue('excludeNotExported', false) + ], + ['specs-with-lump-categories', + () => app.options.setValue('categorizeByGroup', false), + () => app.options.setValue('categorizeByGroup', true) + ], +]; - console.log(fullPath); - TypeDoc.resetReflectionID(); - const src = app.expandInputFiles([ fullPath ]); - const out = path.join(fullPath, 'specs.json'); - const result = app.convert(src); - const data = JSON.stringify(result.toObject(), null, ' ') - .split(TypeDoc.normalizePath(base)) - .join('%BASE%'); +/** + * Rebuilds the converter specs for the provided dirs. + * @param {string[]} dirs + */ +function rebuildConverterTests(dirs) { + return Promise.all(dirs.map(fullPath => { + console.log(fullPath); + const src = app.expandInputFiles([fullPath]); + return Promise.all(conversions.map(([file, before, after]) => { + const out = path.join(fullPath, `${file}.json`); + if (fs.existsSync(out)) { + TypeDoc.resetReflectionID(); + before(); + const result = app.convert(src); + const data = JSON.stringify(result.toObject(), null, ' ') + .split(TypeDoc.normalizePath(base)) + .join('%BASE%'); + after(); + return fs.writeFile(out.replace('dist', 'src'), data); + } + })); + })); +} - return fs.writeFile(out, data); - }) - }).then(() => { - // Rebuild renderer example - const src = path.join(__dirname, '../examples/basic/src'); - const out = path.join(__dirname, '../src/test/renderer/specs'); +async function rebuildRendererTest() { + await fs.remove(path.join(__dirname, '../src/test/renderer/specs')); + const src = path.join(__dirname, '../examples/basic/src'); + const out = path.join(__dirname, '../src/test/renderer/specs'); - return fs.remove(out) - .then(() => app.generateDocs(app.expandInputFiles([src]), out)) - .then(() => fs.remove(path.join(out, 'assets'))) - .then(() => out); - }).then(out => { - // Rewrite GitHub urls + await fs.remove(out) + app.generateDocs(app.expandInputFiles([src]), out) + await fs.remove(path.join(out, 'assets')) - /** - * Avoiding sync methods here is... difficult. - * @param {string} base - * @param {string} dir - * @param {string[]} results - * @returns {string[]} - */ - function getFiles(base, dir = '', results = []) { - const files = fs.readdirSync(path.join(base, dir)); - for (const file of files) { - const relativeToBase = path.join(dir, file); - if (fs.statSync(path.join(base, relativeToBase)).isDirectory()) { - getFiles(base, relativeToBase, results); - } else { - results.push(relativeToBase); - } + /** + * Avoiding sync methods here is... difficult. + * @param {string} base + * @param {string} dir + * @param {string[]} results + * @returns {string[]} + */ + function getFiles(base, dir = '', results = []) { + const files = fs.readdirSync(path.join(base, dir)); + for (const file of files) { + const relativeToBase = path.join(dir, file); + if (fs.statSync(path.join(base, relativeToBase)).isDirectory()) { + getFiles(base, relativeToBase, results); + } else { + results.push(relativeToBase); } - return results; } + return results; + } - const gitHubRegExp = /https:\/\/github.com\/[A-Za-z0-9\-]+\/typedoc\/blob\/[^\/]*\/examples/g; - return getFiles(out).map(file => { - const full = path.join(out, file); - return fs.readFile(full, { encoding: 'utf-8' }) - .then(text => fs.writeFile( - full, - text.replace(gitHubRegExp, 'https://github.com/sebastian-lenz/typedoc/blob/master/examples') - )); - }); - }) - .catch(reason => { - console.error(reason); - process.exit(1); + const gitHubRegExp = /https:\/\/github.com\/[A-Za-z0-9\-]+\/typedoc\/blob\/[^\/]*\/examples/g; + return getFiles(out).map(file => { + const full = path.join(out, file); + return fs.readFile(full, { encoding: 'utf-8' }) + .then(text => fs.writeFile( + full, + text.replace(gitHubRegExp, 'https://github.com/sebastian-lenz/typedoc/blob/master/examples') + )); }); +} + +async function main(command = 'all', filter = '') { + if (!['all', 'converter', 'renderer'].includes(command)) { + console.error('Invalid command. Usage: node scripts/rebuild_specs.js [filter]'); + throw new Error(); + } + + if (['all', 'converter'].includes(command)) { + const dirs = await Promise.all((await fs.readdir(base)).map(dir => { + const dirPath = path.join(base, dir); + return Promise.all([dirPath, fs.stat(dirPath)]); + })); + + await rebuildConverterTests(dirs.filter(([fullPath, stat]) => { + if (!stat.isDirectory()) return false; + return fullPath.endsWith(filter); + }).map(([path]) => path)); + } + + if (['all', 'renderer'].includes(command)) { + await rebuildRendererTest(); + } +} + +main(process.argv[2], process.argv[3]).catch(reason => { + console.error(reason); + process.exit(1); +}); diff --git a/src/lib/converter/plugins/SourcePlugin.ts b/src/lib/converter/plugins/SourcePlugin.ts index b254a6db9..79a5fdc1e 100644 --- a/src/lib/converter/plugins/SourcePlugin.ts +++ b/src/lib/converter/plugins/SourcePlugin.ts @@ -92,6 +92,7 @@ export class SourcePlugin extends ConverterComponent { } const sourceFile = node.getSourceFile(); const fileName = sourceFile.fileName; + this.basePath.add(fileName); const file: SourceFile = this.getSourceFile(fileName, context.project); let position: ts.LineAndCharacter; diff --git a/src/test/converter/array/specs.json b/src/test/converter/array/specs.json index bbdfe8dcb..8927805b4 100644 --- a/src/test/converter/array/specs.json +++ b/src/test/converter/array/specs.json @@ -27,7 +27,7 @@ }, "sources": [ { - "fileName": "array.ts", + "fileName": "dist/test/converter/array/array.ts", "line": 20, "character": 16 } @@ -88,7 +88,7 @@ }, "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1215, "character": 10 } @@ -113,7 +113,7 @@ }, "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1385, "character": 17 } @@ -160,7 +160,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.iterable.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.iterable.d.ts", "line": 60, "character": 21 } @@ -205,7 +205,7 @@ "flags": {}, "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", "line": 95, "character": 18 } @@ -223,7 +223,7 @@ "flags": {}, "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", "line": 96, "character": 15 } @@ -241,7 +241,7 @@ "flags": {}, "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", "line": 97, "character": 12 } @@ -259,7 +259,7 @@ "flags": {}, "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", "line": 98, "character": 12 } @@ -277,7 +277,7 @@ "flags": {}, "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", "line": 99, "character": 17 } @@ -295,7 +295,7 @@ "flags": {}, "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", "line": 100, "character": 12 } @@ -313,7 +313,7 @@ "flags": {}, "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", "line": 101, "character": 14 } @@ -341,7 +341,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", "line": 94, "character": 27 } @@ -356,7 +356,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts", "line": 94, "character": 24 } @@ -486,12 +486,12 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1237, "character": 10 }, { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1242, "character": 10 } @@ -577,7 +577,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.core.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.core.d.ts", "line": 64, "character": 14 } @@ -633,7 +633,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.iterable.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.iterable.d.ts", "line": 65, "character": 11 } @@ -734,7 +734,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1310, "character": 21 } @@ -771,7 +771,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1310, "character": 9 } @@ -860,7 +860,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.core.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.core.d.ts", "line": 53, "character": 8 } @@ -985,7 +985,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1337, "character": 35 } @@ -1109,7 +1109,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1343, "character": 22 } @@ -1150,12 +1150,12 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1337, "character": 10 }, { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1343, "character": 10 } @@ -1291,7 +1291,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.core.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.core.d.ts", "line": 31, "character": 32 } @@ -1415,7 +1415,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.core.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.core.d.ts", "line": 32, "character": 19 } @@ -1459,12 +1459,12 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.core.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.core.d.ts", "line": 31, "character": 8 }, { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.core.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.core.d.ts", "line": 32, "character": 8 } @@ -1565,7 +1565,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.core.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.core.d.ts", "line": 43, "character": 24 } @@ -1602,7 +1602,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.core.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.core.d.ts", "line": 43, "character": 13 } @@ -1703,7 +1703,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1325, "character": 23 } @@ -1740,7 +1740,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1325, "character": 11 } @@ -1813,7 +1813,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2016.array.include.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2016.array.include.d.ts", "line": 27, "character": 12 } @@ -1886,7 +1886,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1295, "character": 11 } @@ -1944,7 +1944,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1247, "character": 8 } @@ -1990,7 +1990,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.iterable.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.iterable.d.ts", "line": 70, "character": 8 } @@ -2063,7 +2063,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1301, "character": 15 } @@ -2173,7 +2173,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1331, "character": 22 } @@ -2213,7 +2213,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1331, "character": 7 } @@ -2263,7 +2263,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1227, "character": 7 } @@ -2325,7 +2325,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1232, "character": 8 } @@ -2439,7 +2439,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1349, "character": 22 } @@ -2547,7 +2547,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1350, "character": 22 } @@ -2680,7 +2680,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1356, "character": 25 } @@ -2715,17 +2715,17 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1349, "character": 10 }, { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1350, "character": 10 }, { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1356, "character": 10 } @@ -2839,7 +2839,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1362, "character": 27 } @@ -2947,7 +2947,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1363, "character": 27 } @@ -3080,7 +3080,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1369, "character": 30 } @@ -3115,17 +3115,17 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1362, "character": 15 }, { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1363, "character": 15 }, { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1369, "character": 15 } @@ -3169,7 +3169,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1251, "character": 11 } @@ -3219,7 +3219,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1255, "character": 9 } @@ -3297,7 +3297,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1261, "character": 9 } @@ -3398,7 +3398,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1319, "character": 20 } @@ -3435,7 +3435,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1319, "character": 8 } @@ -3524,7 +3524,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1271, "character": 20 } @@ -3545,7 +3545,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1271, "character": 8 } @@ -3693,12 +3693,12 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1277, "character": 10 }, { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1284, "character": 10 } @@ -3738,7 +3738,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1223, "character": 18 } @@ -3778,7 +3778,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1219, "character": 12 } @@ -3840,7 +3840,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es5.d.ts", + "fileName": "node_modules/typescript/lib/lib.es5.d.ts", "line": 1289, "character": 11 } @@ -3887,7 +3887,7 @@ ], "sources": [ { - "fileName": "C:/Users/Gerrit/Documents/GitHub/typestrong-typedoc/node_modules/typescript/lib/lib.es2015.iterable.d.ts", + "fileName": "node_modules/typescript/lib/lib.es2015.iterable.d.ts", "line": 75, "character": 10 } @@ -3947,7 +3947,7 @@ ], "sources": [ { - "fileName": "array.ts", + "fileName": "dist/test/converter/array/array.ts", "line": 25, "character": 20 } @@ -3988,7 +3988,7 @@ ], "sources": [ { - "fileName": "array.ts", + "fileName": "dist/test/converter/array/array.ts", "line": 4, "character": 22 } @@ -4008,7 +4008,7 @@ }, "sources": [ { - "fileName": "array.ts", + "fileName": "dist/test/converter/array/array.ts", "line": 10, "character": 20 } @@ -4073,7 +4073,7 @@ }, "sources": [ { - "fileName": "array.ts", + "fileName": "dist/test/converter/array/array.ts", "line": 15, "character": 19 } @@ -4118,7 +4118,7 @@ ], "sources": [ { - "fileName": "array.ts", + "fileName": "dist/test/converter/array/array.ts", "line": 1, "character": 0 }