build(docs-infra): correct list of files included in ZIPs to match current layout (#31937)

PR Close #31937
This commit is contained in:
George Kalpakas 2019-08-01 00:10:52 +03:00 committed by Alex Rickabaugh
parent 8b94d6a402
commit a5b12db7d6
1 changed files with 9 additions and 11 deletions

View File

@ -84,25 +84,23 @@ class ExampleZipper {
const outputFileName = path.join(outputDirName, relativeDirName, exampleZipName + '.zip'); const outputFileName = path.join(outputDirName, relativeDirName, exampleZipName + '.zip');
let defaultIncludes = ['**/*.ts', '**/*.js', '**/*.es6', '**/*.css', '**/*.html', '**/*.md', '**/*.json', '**/*.png', '**/*.svg']; let defaultIncludes = ['**/*.ts', '**/*.js', '**/*.es6', '**/*.css', '**/*.html', '**/*.md', '**/*.json', '**/*.png', '**/*.svg'];
let alwaysIncludes = [ let alwaysIncludes = [
'bs-config.json',
'e2e/protractor.conf.js',
'angular.json',
'.editorconfig', '.editorconfig',
'.gitignore', '.gitignore',
'tslint.json', 'angular.json',
'browserslist',
'bs-config.json',
'karma.conf.js',
'karma-test-shim.js', 'karma-test-shim.js',
'tsconfig.json', 'tsconfig.*',
'src/testing/**/*', 'tslint.*',
'src/.babelrc', 'e2e/protractor.conf.js',
'src/browserslist', 'e2e/tsconfig.json',
'src/favicon.ico', 'src/favicon.ico',
'src/karma.conf.js',
'src/polyfills.ts', 'src/polyfills.ts',
'src/test.ts', 'src/test.ts',
'src/typings.d.ts', 'src/typings.d.ts',
'src/environments/**/*', 'src/environments/**/*',
'src/tsconfig.*', 'src/testing/**/*',
'src/tslint.*',
// Only ignore root package.json // Only ignore root package.json
'!package.json' '!package.json'
]; ];