docs(aio): Add missing dependencies and files to testing zip file download (#23948)

Closes #23060

PR Close #23948
This commit is contained in:
Brandon Roberts 2018-05-16 15:30:39 -05:00 committed by Matias Niemelä
parent de267e97c9
commit db2329ef6a
5 changed files with 35 additions and 26 deletions

View File

@ -1,26 +1,26 @@
// Import spec files individually for Stackblitz // Import spec files individually for Stackblitz
import 'app/about/about.component.spec.ts'; import './app/about/about.component.spec.ts';
import 'app/app-initial.component.spec.ts'; import './app/app-initial.component.spec.ts';
import 'app/app.component.router.spec.ts'; import './app/app.component.router.spec.ts';
import 'app/app.component.spec.ts'; import './app/app.component.spec.ts';
import 'app/banner/banner-initial.component.spec.ts'; import './app/banner/banner-initial.component.spec.ts';
import 'app/banner/banner.component.spec.ts'; import './app/banner/banner.component.spec.ts';
import 'app/banner/banner.component.detect-changes.spec.ts'; import './app/banner/banner.component.detect-changes.spec.ts';
import 'app/banner/banner-external.component.spec.ts'; import './app/banner/banner-external.component.spec.ts';
import 'app/dashboard/dashboard-hero.component.spec.ts'; import './app/dashboard/dashboard-hero.component.spec.ts';
import 'app/dashboard/dashboard.component.no-testbed.spec.ts'; import './app/dashboard/dashboard.component.no-testbed.spec.ts';
import 'app/dashboard/dashboard.component.spec.ts'; import './app/dashboard/dashboard.component.spec.ts';
import 'app/demo/async-helper.spec.ts'; import './app/demo/async-helper.spec.ts';
import 'app/demo/demo.spec.ts'; import './app/demo/demo.spec.ts';
import 'app/demo/demo.testbed.spec.ts'; import './app/demo/demo.testbed.spec.ts';
import 'app/hero/hero-detail.component.no-testbed.spec.ts'; import './app/hero/hero-detail.component.no-testbed.spec.ts';
import 'app/hero/hero-detail.component.spec.ts'; import './app/hero/hero-detail.component.spec.ts';
import 'app/hero/hero-list.component.spec.ts'; import './app/hero/hero-list.component.spec.ts';
import 'app/model/hero.service.spec.ts'; import './app/model/hero.service.spec.ts';
import 'app/model/http-hero.service.spec.ts'; import './app/model/http-hero.service.spec.ts';
import 'app/model/testing/http-client.spec.ts'; import './app/model/testing/http-client.spec.ts';
import 'app/shared/highlight.directive.spec.ts'; import './app/shared/highlight.directive.spec.ts';
import 'app/shared/title-case.pipe.spec.ts'; import './app/shared/title-case.pipe.spec.ts';
import 'app/twain/twain.component.spec.ts'; import './app/twain/twain.component.spec.ts';
import 'app/twain/twain.component.marbles.spec.ts'; import './app/twain/twain.component.marbles.spec.ts';
import 'app/welcome/welcome.component.spec.ts'; import './app/welcome/welcome.component.spec.ts';

View File

@ -11,6 +11,7 @@
"devDependencies": [ "devDependencies": [
"@angular/cli", "@angular/cli",
"@types/jasminewd2", "@types/jasminewd2",
"jasmine-marbles",
"jasmine-spec-reporter", "jasmine-spec-reporter",
"karma-coverage-istanbul-reporter", "karma-coverage-istanbul-reporter",
"ts-node" "ts-node"

View File

@ -98,6 +98,7 @@ class ExampleZipper {
'src/favicon.ico', 'src/favicon.ico',
'src/karma.conf.js', 'src/karma.conf.js',
'src/polyfills.ts', 'src/polyfills.ts',
'src/test.ts',
'src/typings.d.ts', 'src/typings.d.ts',
'src/environments/**/*', 'src/environments/**/*',
'src/tsconfig.*', 'src/tsconfig.*',

View File

@ -40,11 +40,11 @@
"zone.js": "^0.8.24" "zone.js": "^0.8.24"
}, },
"devDependencies": { "devDependencies": {
"@angular-devkit/build-angular": "~0.6.0",
"@angular/cli": "^6.0.0", "@angular/cli": "^6.0.0",
"@angular/compiler-cli": "^6.0.0", "@angular/compiler-cli": "^6.0.0",
"@angular/language-service": "^6.0.0", "@angular/language-service": "^6.0.0",
"@angular/platform-server": "^6.0.0", "@angular/platform-server": "^6.0.0",
"@angular-devkit/build-angular": "~0.6.0",
"@types/angular": "^1.5.16", "@types/angular": "^1.5.16",
"@types/angular-animate": "^1.5.5", "@types/angular-animate": "^1.5.5",
"@types/angular-cookies": "^1.4.2", "@types/angular-cookies": "^1.4.2",
@ -66,6 +66,7 @@
"html-webpack-plugin": "^2.16.1", "html-webpack-plugin": "^2.16.1",
"http-server": "^0.9.0", "http-server": "^0.9.0",
"jasmine-core": "~2.99.1", "jasmine-core": "~2.99.1",
"jasmine-marbles": "^0.3.1",
"jasmine-spec-reporter": "~4.2.1", "jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.1", "karma": "~1.7.1",
"karma-chrome-launcher": "~2.2.0", "karma-chrome-launcher": "~2.2.0",

View File

@ -4986,6 +4986,12 @@ jasmine-core@~2.99.1:
version "2.99.1" version "2.99.1"
resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.99.1.tgz#e6400df1e6b56e130b61c4bcd093daa7f6e8ca15" resolved "https://registry.yarnpkg.com/jasmine-core/-/jasmine-core-2.99.1.tgz#e6400df1e6b56e130b61c4bcd093daa7f6e8ca15"
jasmine-marbles@^0.3.1:
version "0.3.1"
resolved "https://registry.yarnpkg.com/jasmine-marbles/-/jasmine-marbles-0.3.1.tgz#ef65edecb41b8dd62fc6bda40448222042e32043"
dependencies:
lodash "^4.5.0"
jasmine-spec-reporter@~4.2.1: jasmine-spec-reporter@~4.2.1:
version "4.2.1" version "4.2.1"
resolved "https://registry.yarnpkg.com/jasmine-spec-reporter/-/jasmine-spec-reporter-4.2.1.tgz#1d632aec0341670ad324f92ba84b4b32b35e9e22" resolved "https://registry.yarnpkg.com/jasmine-spec-reporter/-/jasmine-spec-reporter-4.2.1.tgz#1d632aec0341670ad324f92ba84b4b32b35e9e22"