refactor(schematics): detect package version from node modules (#12535)

This commit is contained in:
Paul Gschwendtner
2018-08-07 22:31:12 +02:00
committed by Joey Perrott
parent 3357e70d5f
commit 4ecde453a7
7 changed files with 65 additions and 24 deletions
+2 -2
View File
@@ -64,12 +64,12 @@ task('material:prepare-release', sequenceTask(
));
task('material:copy-schematics', () => {
src(schematicsGlobs).pipe(dest(join(releasePath, 'schematics')));
return src(schematicsGlobs).pipe(dest(join(releasePath, 'schematics')));
});
/** Copies all prebuilt themes into the release package under `prebuilt-themes/` */
task('material:copy-prebuilt-themes', () => {
src(prebuiltThemeGlob)
return src(prebuiltThemeGlob)
.pipe(gulpRename({dirname: ''}))
.pipe(dest(join(releasePath, 'prebuilt-themes')));
});