build(docs-infra): do not include CI-specific config in docs examples ZIP archives (#36018)
In #35381, a new Protractor config file was introduced in docs examples, `protractor-puppeteer.conf.js`, that was only supposed to be used on CI and not be shipped with the ZIP archives provided for users to download and experiment with the docs examples locally. The logic to ignore the `protractor-puppeteer.conf.js` file was incorrect, resulting in the file being retained in some examples (e.g. [universal][1]). The problem was not immediately obvious, because most examples explicitly specify all `**/*.js` files as ignored, but for other examples the file was retained in the ZIP archive. This commit fixes the logic to ensure the file is excluded from all docs examples ZIP archives. [1]: https://v9.angular.io/generated/zips/universal/universal.zip PR Close #36018
This commit is contained in:
parent
f9bc84cd99
commit
1c385a1c22
|
@ -112,7 +112,7 @@ class ExampleZipper {
|
|||
'!**/npm-debug.log',
|
||||
'!**/example-config.json',
|
||||
'!**/wallaby.js',
|
||||
'!e2e/protractor-puppeteer.conf.js',
|
||||
'!**/e2e/protractor-puppeteer.conf.js',
|
||||
// AOT related files
|
||||
'!**/aot/**/*.*',
|
||||
'!**/*-aot.*'
|
||||
|
|
Loading…
Reference in New Issue