From fac7916716d8e9c98d4fbd861beb67edd54e88d9 Mon Sep 17 00:00:00 2001 From: kyubisation Date: Thu, 19 Sep 2019 18:27:24 +0200 Subject: [PATCH] fix(showcase): correct import from @angular to @sbb-esta (#180) --- .../documentation/dgeni/processors/entry-point-grouper.ts | 2 +- schematics/documentation/index.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/schematics/documentation/dgeni/processors/entry-point-grouper.ts b/schematics/documentation/dgeni/processors/entry-point-grouper.ts index 8646318773..9ad7f18c02 100644 --- a/schematics/documentation/dgeni/processors/entry-point-grouper.ts +++ b/schematics/documentation/dgeni/processors/entry-point-grouper.ts @@ -93,7 +93,7 @@ export class EntryPointGrouper implements Processor { const packageName = moduleInfo.packageName; const packageDisplayName = packageName === 'cdk' ? 'CDK' : 'Material'; - const moduleImportPath = `@angular/${packageName}/${moduleInfo.entryPointName}`; + const moduleImportPath = `@sbb-esta/${packageName}/${moduleInfo.entryPointName}`; const entryPointName = packageName + '-' + moduleInfo.name; // Compute a public URL that refers to the document. This is helpful if we want to diff --git a/schematics/documentation/index.js b/schematics/documentation/index.js index db6691e81f..ee8532b74b 100644 --- a/schematics/documentation/index.js +++ b/schematics/documentation/index.js @@ -659,7 +659,7 @@ class EntryPointGrouper { const moduleInfo = getModulePackageInfo(doc); const packageName = moduleInfo.packageName; const packageDisplayName = packageName === 'cdk' ? 'CDK' : 'Material'; - const moduleImportPath = `@angular/${packageName}/${moduleInfo.entryPointName}`; + const moduleImportPath = `@sbb-esta/${packageName}/${moduleInfo.entryPointName}`; const entryPointName = packageName + '-' + moduleInfo.name; // Compute a public URL that refers to the document. This is helpful if we want to // make references to other API documents. e.g. showing the extended class.