Skip to content

Commit e312132

Browse files
committed
Remove dependency on resolve-import
I don't want to pull in 28 dependencies for 140 lines of code
1 parent 413cf9d commit e312132

File tree

7 files changed

+391
-123
lines changed

7 files changed

+391
-123
lines changed

package-lock.json

Lines changed: 36 additions & 61 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
"lunr": "^2.3.9",
2929
"markdown-it": "^14.1.0",
3030
"minimatch": "^10.0.1",
31-
"resolve-import": "^1.4.6",
3231
"shiki": "^1.23.1",
3332
"yaml": "^2.6.1"
3433
},

src/lib/application.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -342,9 +342,7 @@ export class Application extends AbstractComponent<
342342
return ts.version;
343343
}
344344

345-
public async getEntryPoints(): Promise<
346-
DocumentationEntryPoint[] | undefined
347-
> {
345+
public getEntryPoints(): DocumentationEntryPoint[] | undefined {
348346
if (this.options.isSet("entryPoints")) {
349347
return this.getDefinedEntryPoints();
350348
}
@@ -393,7 +391,7 @@ export class Application extends AbstractComponent<
393391
);
394392
}
395393

396-
const entryPoints = await this.getEntryPoints();
394+
const entryPoints = this.getEntryPoints();
397395

398396
if (!entryPoints) {
399397
// Fatal error already reported.

0 commit comments

Comments
 (0)