App/Backend should import techdocs plugin only, not common package

If a backstage App wants to enable techdocs plugin, it should only have to care about installing @backstage/plugin-techdocs and @backstage/plugin-techdocs-backend.
@backstage/plugin-techdocs-backend should re-export necessary APIs from techdocs-common
This commit is contained in:
Himanshu Mishra
2020-11-29 10:32:44 +01:00
parent 7481601883
commit 64737f447a
4 changed files with 5 additions and 6 deletions
@@ -1,11 +1,11 @@
import {
createRouter,
DirectoryPreparer,
CommonGitPreparer,
Preparers,
Generators,
Publisher,
TechdocsGenerator,
CommonGitPreparer,
Publisher,
} from '@backstage/plugin-techdocs-backend';
import { PluginEnvironment } from '../types';
import Docker from 'dockerode';