build(aio): check for obsolete plnkr.json and missing main files (#20165)

Also, remove `plnkr.json` for `service-worker-getting-started` guide,
since it is not used and ServiceWorker cannot work correctly in
plnkr/stackblitz anyway (e.g. no build step to re-compute hashes).
A zipper might be useful and can be added in a subsequent PR, but it is
currently broken (e.g. no dependency on `@angular/service-worker`).

PR Close #20165
This commit is contained in:
George Kalpakas
2018-01-22 14:42:59 +02:00
committed by Miško Hevery
parent 6d9fcd62de
commit 5894f6ee1c
25 changed files with 77 additions and 232 deletions

View File

@ -1,11 +1,10 @@
{
"description": "Bootstrapping",
"basePath": "src/",
"files": [
"!**/*.d.ts",
"!**/*.js",
"!**/*.[1,2].*"
],
"open": "app/app.component.ts",
"file": "src/app/app.component.ts",
"tags": ["ngmodules"]
}

View File

@ -1,11 +1,10 @@
{
"description": "Feature Modules",
"basePath": "src/",
"files": [
"!**/*.d.ts",
"!**/*.js",
"!**/*.[1,2].*"
],
"open": "app/app.component.ts",
"file": "src/app/app.component.ts",
"tags": ["feature modules"]
}

View File

@ -1,11 +1,10 @@
{
"description": "Lazy Loading Feature Modules",
"basePath": "src/",
"files": [
"!**/*.d.ts",
"!**/*.js",
"!**/*.[1,2].*"
],
"open": "app/app.component.ts",
"file": "src/app/app.component.ts",
"tags": ["lazy loading"]
}

View File

@ -1,25 +0,0 @@
{
"description": "Contact NgModule v.1",
"basePath": "src/",
"files": [
"app/app.component.1b.ts",
"app/app.module.1b.ts",
"app/highlight.directive.ts",
"app/title.component.html",
"app/title.component.ts",
"app/user.service.ts",
"app/contact/awesome.pipe.ts",
"app/contact/contact.component.css",
"app/contact/contact.component.html",
"app/contact/contact.component.3.ts",
"app/contact/contact.service.ts",
"app/contact/contact-highlight.directive.ts",
"main.1b.ts",
"styles.css",
"index.1b.html"
],
"main": "index.1b.html",
"tags": ["NgModule"]
}

View File

@ -1,27 +0,0 @@
{
"description": "Contact NgModule v.2",
"basePath": "src/",
"files": [
"app/app.component.2.ts",
"app/app.module.2.ts",
"app/highlight.directive.ts",
"app/title.component.html",
"app/title.component.ts",
"app/user.service.ts",
"app/contact/contact.component.css",
"app/contact/contact.component.html",
"app/contact/contact.service.ts",
"app/contact/awesome.pipe.ts",
"app/contact/contact.component.3.ts",
"app/contact/contact.module.2.ts",
"app/contact/contact-highlight.directive.ts",
"main.2.ts",
"styles.css",
"index.2.html"
],
"main": "index.2.html",
"tags": ["NgModule"]
}

View File

@ -1,13 +0,0 @@
{
"description": "Minimal NgModule",
"basePath": "src/",
"files": [
"app/app.component.0.ts",
"app/app.module.0.ts",
"main.0.ts",
"styles.css",
"index.0.html"
],
"main": "index.0.html",
"tags": ["NgModule"]
}

View File

@ -1,41 +0,0 @@
{
"description": "NgModule Final",
"basePath": "src/",
"files": [
"app/app.component.ts",
"app/app.module.ts",
"app/app-routing.module.ts",
"app/contact/contact.component.css",
"app/contact/contact.component.html",
"app/contact/contact.service.ts",
"app/contact/contact.component.ts",
"app/contact/contact.module.ts",
"app/contact/contact-routing.module.ts",
"app/crisis/*.ts",
"app/hero/hero-detail.component.ts",
"app/hero/hero-list.component.ts",
"app/hero/hero.service.ts",
"app/hero/hero.component.ts",
"app/hero/hero.module.ts",
"app/hero/hero-routing.module.ts",
"app/core/*.css",
"app/core/*.html",
"app/core/*.ts",
"app/shared/*.css",
"app/shared/*.html",
"app/shared/*.ts",
"main.ts",
"styles.css",
"index.html"
],
"main": "index.html",
"tags": ["NgModule"]
}

View File

@ -1,41 +0,0 @@
{
"description": "NgModule v.3",
"basePath": "src/",
"files": [
"app/app.component.3.ts",
"app/app.module.3.ts",
"app/app-routing.module.3.ts",
"app/highlight.directive.ts",
"app/title.component.html",
"app/title.component.ts",
"app/user.service.ts",
"app/contact/contact.component.css",
"app/contact/contact.component.html",
"app/contact/contact.service.ts",
"app/contact/awesome.pipe.ts",
"app/contact/contact.component.3.ts",
"app/contact/contact.module.3.ts",
"app/contact/contact-routing.module.3.ts",
"app/contact/contact-highlight.directive.ts",
"app/crisis/*.ts",
"app/hero/hero-detail.component.ts",
"app/hero/hero-list.component.ts",
"app/hero/hero.service.ts",
"app/hero/hero.component.3.ts",
"app/hero/hero.module.3.ts",
"app/hero/hero-routing.module.3.ts",
"app/hero/highlight.directive.ts",
"main.3.ts",
"styles.css",
"index.3.html"
],
"main": "index.3.html",
"tags": ["NgModule"]
}

View File

@ -1,11 +1,10 @@
{
"description": "NgModules",
"basePath": "src/",
"files": [
"!**/*.d.ts",
"!**/*.js",
"!**/*.[1,2].*"
],
"open": "app/app.component.ts",
"file": "src/app/app.component.ts",
"tags": ["NgModules"]
}

View File

@ -1,11 +1,10 @@
{
"description": "Providers",
"basePath": "src/",
"files": [
"!**/*.d.ts",
"!**/*.js",
"!**/*.[1,2].*"
],
"open": "app/app.component.ts",
"file": "src/app/app.component.ts",
"tags": ["providers"]
}

View File

@ -1,12 +0,0 @@
{
"description": "QuickStart",
"basePath": "src/",
"files": [
"app/app.component.ts",
"app/app.module.ts",
"main.ts",
"index.html"
],
"open": "app/app.component.ts",
"tags": ["quickstart"]
}

View File

@ -0,0 +1,11 @@
{
"description": "QuickStart",
"files": [
"src/app/app.component.ts",
"src/app/app.module.ts",
"src/main.ts",
"src/index.html"
],
"file": "src/app/app.component.ts",
"tags": ["quickstart"]
}

View File

@ -1,25 +0,0 @@
{
"description": "Angular Reactive Forms (final)",
"basePath": "src/",
"files":[
"styles.css",
"app/app.component.ts",
"app/app.component.html",
"app/app.component.css",
"app/app.module.ts",
"app/data-model.ts",
"app/hero.service.ts",
"app/hero-detail/hero-detail.component.html",
"app/hero-detail/hero-detail.component.ts",
"app/hero-detail/hero-detail.component.css",
"app/hero-list/hero-list.component.html",
"app/hero-list/hero-list.component.ts",
"app/hero-list/hero-list.component.css",
"main-final.ts",
"index-final.html"
],
"main": "index-final.html",
"tags": ["reactive", "forms"]
}

View File

@ -4,13 +4,17 @@
"src/styles.css",
"src/app/app.component.ts",
"src/app/app.component.html",
"src/app/app.component.css",
"src/app/app.module.ts",
"src/app/data-model.ts",
"src/app/hero.service.ts",
"src/app/hero-detail.component.html",
"src/app/hero-detail.component.ts",
"src/app/hero-list.component.html",
"src/app/hero-list.component.ts",
"src/app/hero-detail/hero-detail.component.html",
"src/app/hero-detail/hero-detail.component.ts",
"src/app/hero-detail/hero-detail.component.css",
"src/app/hero-list/hero-list.component.html",
"src/app/hero-list/hero-list.component.ts",
"src/app/hero-list/hero-list.component.css",
"src/main-final.ts",
"src/index-final.html"

View File

@ -1,5 +0,0 @@
{
"description": "Service Worker",
"basePath": "src/",
"tags": ["service worker"]
}

View File

@ -1,13 +0,0 @@
{
"description": "QuickStart Setup",
"basePath": "src/",
"files": [
"app/app.component.ts",
"app/app.module.ts",
"index.html",
"main.ts",
"styles.css"
],
"open": "app/app.component.ts",
"tags": ["quickstart", "setup", "seed"]
}

View File

@ -1,13 +0,0 @@
{
"description": "Quickstart AppComponent Testing",
"basePath": "src/",
"files":[
"browser-test-shim.js",
"app/app.component.ts",
"app/app.component.spec.ts",
"quickstart-specs.html"
],
"main": "quickstart-specs.html",
"open": "app/app.component.spec.ts",
"tags": ["quickstart", "setup", "testing"]
}

View File

@ -0,0 +1,12 @@
{
"description": "Quickstart AppComponent Testing",
"files":[
"src/browser-test-shim.js",
"src/app/app.component.ts",
"src/app/app.component.spec.ts",
"src/quickstart-specs.html"
],
"main": "src/quickstart-specs.html",
"file": "src/app/app.component.spec.ts",
"tags": ["quickstart", "setup", "testing"]
}

View File

@ -0,0 +1,12 @@
{
"description": "QuickStart Setup",
"files": [
"src/app/app.component.ts",
"src/app/app.module.ts",
"src/index.html",
"src/main.ts",
"src/styles.css"
],
"file": "src/app/app.component.ts",
"tags": ["quickstart", "setup", "seed"]
}