Skip to content

Commit da3c108

Browse files
devversionjelbourn
authored andcommitted
build: do not ship data typescript sources to npm (#15597)
In the early stages of the schematics the upgrade data was stored in `.json` files. We switched these data files to TypeScript at some point, but didn't update the schematic-copy glob. Meaning that we currently ship TypeScript source files within the `data/` folder to NPM for the CDK and Material schematics.
1 parent 1bd98de commit da3c108

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/package-tools/gulp/build-tasks-gulp.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export function createPackageBuildTasks(buildPackage: BuildPackage, preBuildTask
5050

5151
// Pattern matching schematics files to be copied into the output directory.
5252
const schematicsGlobs = [
53-
join(schematicsDir, '**/+(data|files)/**/*'),
53+
join(schematicsDir, '**/files/**/*'),
5454
join(schematicsDir, '**/+(schema|collection|migration).json'),
5555
];
5656

0 commit comments

Comments
 (0)