Skip to content

Commit 3d61150

Browse files
committed
build: fix some build pains
Allow for more schematics by using a better glob in the tsconfig, and do not fatal (which exit the process) when a package is missing from versions.json
1 parent 67439e6 commit 3d61150

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

scripts/build.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ export default function(argv: { local?: boolean }, logger: Logger) {
268268
if (versions[packageName]) {
269269
packageJson['version'] = versions[packageName];
270270
} else {
271-
versionLogger.fatal('No version found... Only updating dependencies.');
271+
versionLogger.error('No version found... Only updating dependencies.');
272272
}
273273

274274
for (const depName of Object.keys(versions)) {

tsconfig.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,7 @@
4848
"bazel-*/**/*",
4949
"dist/**/*",
5050
"node_modules/**/*",
51-
"packages/schematics/angular/*/files/**/*",
52-
"packages/schematics/angular/*/other-files/**/*",
51+
"packages/schematics/*/*/*files/**/*",
5352
"tmp/**/*",
5453
"tests/**/*"
5554
]

0 commit comments

Comments
 (0)