From 7491b854b38c78f3775dd94155581cd1e10f254b Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Wed, 22 Jul 2020 14:40:00 +0300 Subject: [PATCH] build(docs-infra): remove obsolete `typings.d.ts` files from angular.io and docs examples (#38173) There were two `typings.d.ts` files with SystemJS module definitions in `aio/src/` and `aio/tools/examples/shared/boilerplate/cli/`. These are remnants from old CLI versions that used SystemJS and are no longer needed. For docs examples specifically, these files were never copied over to example projects and thus not included in StackBlitz projects and ZIP archives. This commit removes these obsolete files. PR Close #38173 --- aio/src/typings.d.ts | 5 ----- aio/tools/example-zipper/exampleZipper.js | 1 - aio/tools/examples/shared/boilerplate/cli/src/typings.d.ts | 5 ----- 3 files changed, 11 deletions(-) delete mode 100644 aio/src/typings.d.ts delete mode 100644 aio/tools/examples/shared/boilerplate/cli/src/typings.d.ts diff --git a/aio/src/typings.d.ts b/aio/src/typings.d.ts deleted file mode 100644 index ef5c7bd620..0000000000 --- a/aio/src/typings.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* SystemJS module definition */ -declare var module: NodeModule; -interface NodeModule { - id: string; -} diff --git a/aio/tools/example-zipper/exampleZipper.js b/aio/tools/example-zipper/exampleZipper.js index 061c404f36..7245e2fa63 100644 --- a/aio/tools/example-zipper/exampleZipper.js +++ b/aio/tools/example-zipper/exampleZipper.js @@ -98,7 +98,6 @@ class ExampleZipper { 'src/favicon.ico', 'src/polyfills.ts', 'src/test.ts', - 'src/typings.d.ts', 'src/environments/**/*', 'src/testing/**/*', // Only ignore root package.json diff --git a/aio/tools/examples/shared/boilerplate/cli/src/typings.d.ts b/aio/tools/examples/shared/boilerplate/cli/src/typings.d.ts deleted file mode 100644 index ef5c7bd620..0000000000 --- a/aio/tools/examples/shared/boilerplate/cli/src/typings.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -/* SystemJS module definition */ -declare var module: NodeModule; -interface NodeModule { - id: string; -}