This way of checking for a TypeScript repository in the readme command is fragile:
if (plugin.pjson.devDependencies && plugin.pjson.devDependencies.typescript) {
In a TypeScript monorepo using workspaces, typescript can be defined at the root package's devDependencies, where plugin.pjson.devDependencies.typescript wont reach.
In my setup this is causing to silently miss all the links to see the source in GitHub, but this seems to be provoking #126 and #143 too.
This way of checking for a TypeScript repository in the
readme
command is fragile:In a TypeScript monorepo using workspaces,
typescript
can be defined at the root package'sdevDependencies
, whereplugin.pjson.devDependencies.typescript
wont reach.In my setup this is causing to silently miss all the links to see the source in GitHub, but this seems to be provoking #126 and #143 too.