Go to file
Paul Gschwendtner 44dfa606ed fix(bazel): ng_package writes unrelevant definitions to bazel out (#27519)
In order to keep the bazel bin directory as clean as possible, we should not write definition files that are not relevant to a `ng_package` to an undesired location in the bazel bin directory. This currently just happens because we only filter out external definition files while we also should filter out definitions that aren't just in the current package.

The `packager.ts` file currently tries to write these files to the package, but fails because those are not inside of the current package. So the logic to create a relative path for the file fails, and the definition will be copied to a location like:

```js
// Notice the double "bazel-out" here.
C:\Users\Paul\_bazel_Paul\kn4tsvyh\execroot\angular_material\bazel-out\x64_windows-fastbuild\bin\src\bazel-out\x64_windows-fastbuild\bin\src\cdk
```

[See logic that causes this](4f9374951d/packages/bazel/src/ng_package/packager.ts (L105-L124)) (nothing wrong with that logic because it assumes that only paths from within the package are passed to it)

PR Close #27519
2018-12-13 14:58:38 -08:00
.buildkite ci: test ts-api-guardian on windows (#27205) 2018-12-06 09:38:59 -08:00
.circleci build: update to Bazel 0.20 (#27394) 2018-12-07 14:29:03 -08:00
.github ci: exclude unnedeed files and directories from angular-robot g3sync check (#27653) 2018-12-13 10:58:43 -08:00
aio fix(docs-infra): fix top menu item clickable area (#27633) 2018-12-13 11:00:34 -08:00
docs docs: update SAVED_REPLIES and CONTRIBUTING with new issue templates (#27608) 2018-12-11 16:43:57 -08:00
integration build: update rules_typescript (#27586) 2018-12-10 16:33:41 -08:00
modules build(bazel): upgrade benchmarks to protractor_web_test_suite for CI without local chrome (#26908) 2018-11-07 16:47:39 -08:00
packages fix(bazel): ng_package writes unrelevant definitions to bazel out (#27519) 2018-12-13 14:58:38 -08:00
scripts build: update to latest karma-sauce-launcher version (#27634) 2018-12-13 10:58:18 -08:00
third_party/github.com/bazelbuild/bazel-toolchains/bazelrc build: update to Bazel 0.20 (#27394) 2018-12-07 14:29:03 -08:00
tools build: ts-api-guardian tsconfig warning with bazel (#27583) 2018-12-13 11:01:48 -08:00
.bazelignore build: add aio/tools/examples/shared/node_modules to .bazelignore (#27278) 2018-11-27 10:30:58 -08:00
.bazelrc build: update to Bazel 0.20 (#27394) 2018-12-07 14:29:03 -08:00
.bowerrc
.clang-format
.editorconfig
.gitattributes
.gitignore build: introduce remote bazel caching (#27358) 2018-12-06 11:25:03 -08:00
.mailmap
.nvmrc build: update .nvmrc file to correct node version (#25992) 2018-09-18 13:11:58 -07:00
.pullapprove.yml ci: remove packages/bazel from compiler-cli group (#27641) 2018-12-13 10:58:58 -08:00
.travis.yml ci(docs-infra): remove jobs from Travis config (#26377) 2018-10-23 14:35:38 -07:00
BUILD.bazel build: use bazel version from node modules (#26691) 2018-10-30 16:19:13 -04:00
CHANGELOG.md docs: remove labs breaking changes from changelog (#27628) 2018-12-13 11:00:57 -08:00
CODE_OF_CONDUCT.md
CONTRIBUTING.md docs: update SAVED_REPLIES and CONTRIBUTING with new issue templates (#27608) 2018-12-11 16:43:57 -08:00
LICENSE
README.md build: run CI (#26488) 2018-10-19 20:59:29 -07:00
WORKSPACE build: update to Bazel 0.20 (#27394) 2018-12-07 14:29:03 -08:00
bower.json
browser-providers.conf.js feat(elements): enable Shadow DOM v1 and slots (#24861) 2018-08-30 21:33:14 -07:00
build.sh feat(ivy): implement TestBed (#25369) 2018-08-14 11:58:47 -07:00
gulpfile.js build: remove obsolete gulp build task (#27386) 2018-12-05 20:55:32 -08:00
index.bzl style: format .bzl files with buildifier (#23544) 2018-08-08 13:12:07 -07:00
karma-js.conf.js build: update to latest karma-sauce-launcher version (#27634) 2018-12-13 10:58:18 -08:00
package.json build: update to latest karma-sauce-launcher version (#27634) 2018-12-13 10:58:18 -08:00
protractor-e2e.conf.js
protractor-examples-e2e.conf.js
protractor-perf.conf.js ci: configure chrome options for protractor (#26735) 2018-10-26 14:48:05 -04:00
shims_for_IE.js
test-events.js
test-main.js refactor(core): remove withBody from public testing API (#25171) 2018-07-31 15:09:32 -07:00
test.sh
tslint.json style: tslint enforces no debugger statements left behind (#25532) 2018-08-16 16:00:22 -07:00
yarn.lock build: update to latest karma-sauce-launcher version (#27634) 2018-12-13 10:58:18 -08:00
yarn.lock.readme.md docs: replace npm with yarn in lockfile readme (#25309) 2018-08-06 13:38:13 -07:00

README.md

Build Status CircleCI BrowserStack Status Join the chat at https://gitter.im/angular/angular npm version

Angular

Angular is a development platform for building mobile and desktop web applications using Typescript/JavaScript and other languages.

Quickstart

Get started in 5 minutes.

Changelog

Learn about the latest improvements.

Want to help?

Want to file a bug, contribute some code, or improve documentation? Excellent! Read up on our guidelines for contributing and then check out one of our issues in the hotlist: community-help.