mirror of
https://github.com/angular/angular-cli.git
synced 2025-05-16 02:24:10 +08:00
build: exclude workspace json test files from core package
This commit is contained in:
parent
d720d3db73
commit
c9868325a2
@ -259,6 +259,9 @@ export default async function(
|
|||||||
if (fileName.startsWith('test/') || fileName.startsWith('test\\')) {
|
if (fileName.startsWith('test/') || fileName.startsWith('test\\')) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if (pkg.name === '@angular-devkit/core' && fileName.startsWith('src/workspace/json/test')) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
// Remove Bazel files from NPM.
|
// Remove Bazel files from NPM.
|
||||||
if (fileName === 'BUILD' || fileName === 'BUILD.bazel') {
|
if (fileName === 'BUILD' || fileName === 'BUILD.bazel') {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user