197 Commits

Author SHA1 Message Date
Keen Yee Liau
9970beb542 docs: Update doc for major version release 2020-07-09 19:11:25 +02:00
Keen Yee Liau
fb7b1e10db build: Add script for retagging CLI packages 2020-07-09 19:11:25 +02:00
Keen Yee Liau
35156471f4 build: delete scripts/release.ts
We used to use `scripts/release.ts` to update the monorepo.json, which
used to contain the current versions of all packages within the CLI
repo. However, since 08e91a94ab4d35303e4e00efa888cfd788aecad7
we no longer keep track of versions in monorepo.json.

Currently, before each publish, a git tag is created and all packages
are versioned based off the latest tag.

Since we no longer use `release.ts` for publishing, this commit deletes
the file entirely.

The script could be used to print out the versions we are about to publish,
but this is already covered by `yarn admin packages --version`.
This is useful for the caretaker to confirm the version numbers prior to
publishing the packages.
2020-07-08 23:30:54 +02:00
Keen Yee Liau
1ca167c661 build: update validate-commits script to list valid types and scopes
The commit linter expects a certain type and/or scope in the commit message,
but if the right type/scope is not provided it doesn't tell us what to do.

Instead of this:
```
The following commit has an unknown type. You can use wip: to avoid this.
```

It now outputs this:
```
The following commit has an unknown type. It must be one of [docs, refactor, style, test, feat, fix, build, revert, ci, release]. You can use wip: to avoid this.
```
2020-07-08 08:55:03 +02:00
Alan Agius
17738f0520 build: use rimraf instead of custom rimraf
With this change we replace the custom rimraf implementation in the build script with the rimraf npm package. The main reason for this change is because `dist` can be a symlink when building with bazel but our implementation doesn't that.
2020-06-08 09:44:49 +01:00
Charles Lyding
fbc8f438a2 test: revive legacy unit test script
This provides simplified support for running unit tests locally while the bazel setup is improved.
2020-05-18 19:30:03 +01:00
Alan Agius
fb4eaf1b09 ci: add 0BSD as a valid license
This is required for tslib versions >= 1.11.2. Tslib changes it's license to 0BSD which should allow projects that embed or bundle tslib to omit its license header.

See: https://opensource.google/docs/thirdparty/licenses/#unencumbered
2020-05-07 10:38:42 -07:00
Joey Perrott
13b0763f88 ci: exclude private packages from consideration for license checking 2020-05-06 11:42:11 -07:00
Filipe Silva
9a28114f6b test: remove non-bazel test setup 2020-04-30 15:12:46 -07:00
Filipe Silva
63e668f65f build: don't copy root package test folders 2020-04-30 15:12:46 -07:00
Filipe Silva
ab5b2eec2c build: also validade BUILD.bazel files 2020-04-30 15:12:46 -07:00
Joey Perrott
98a5cb40ff build: default to wombat proxy for publishing
If no --registry argument is provided when calling to publish
use the Wombat proxy.  Additionally, updates the release process
documentation to instruct usage of the Wombat proxy.
2020-04-07 19:43:52 -07:00
Alan Agius
9b788b9125 build: update jasmine-spec-reporter to version 5 2020-03-23 14:17:54 -07:00
Charles Lyding
9a6b05d56b build: exclude redundant cherry-picked commits when generating changelog
If generating a changelog between tags that are on different branches (e.g., 9.0.3 on 9.0.x and 9.1.0-next.0 on master), commits that were cherry-picked and present in the previous version would also show in the newer version's changelog.  This update analyzes the commits and excludes any that fit this scenario.  Any commits that had conflicts will not be able to be matched authoritatively.  Manual review of the generated changelog may still be needed for attempted cherry-pick commits that had conflicts.
2020-02-26 13:00:13 -08:00
Alan Agius
ed22b7a2ec ci: update pako version 2020-02-04 11:47:15 -08:00
Alan Agius
a32429f799 style: disable no-implicit-dependencies in scripts and rules 2020-02-04 07:26:16 -08:00
Alan Agius
cdde7a0fd8 test: move web-worker_spec_large to flake jail 2020-01-16 14:48:23 -08:00
Alan Agius
b7c38040dc ci: add CC0-1.0 as valid license 2020-01-13 09:46:15 -08:00
Charles Lyding
05979360ce test: minor simplification of tslint script/configuration 2020-01-02 11:40:01 -08:00
Douglas Parker
8e3d173355 docs: add "PR action: merge" label (#16413)
This label should be placed by the author (or last reviewer if author is not a collaborator) when the PR is complete and ready to merged. This requires the author to explicitly acknolwedge that they are done with the PR and the caretaker is free to merge it. This label brings the CLI caretaking process into alignment with the frameworks and components repos.
2019-12-13 10:25:36 -08:00
Alan Agius
2ce4c42ede build: only run ngcc hook for large tests 2019-12-03 12:37:07 -08:00
Filipe Silva
9ad2d5de15 ci: run ngcc on flakey tests too 2019-12-02 12:50:14 -08:00
Doug Parker
1aac244541 docs(@angular/cli): Adds developer documentation.
I wrote down my understanding of the best ways to build/run/test/debug this repository.

A couple other random things included here:
* Removed an extraneous `debugger;` statement which I kept hitting.
* Removed the `watch` scripts which are no longer used and don't need to be supported.
* Removed `yarn test-cli-e2e`, as it alters the $PATH and can use the wrong `ng` instance.
2019-11-14 11:12:29 -08:00
Doug Parker
76b13e2dea refactor(@angular/cli): Updates .gitignore to keep out VSCode and Intellij configurations.
This also changes the local build script to allow negated .gitignore expressions to support these changes.
2019-11-14 11:12:29 -08:00
Amadou Sall
086690a77c docs: state in the README that minimum Node.js version is 10.13 2019-10-24 12:05:54 -07:00
George Kalpakas
804d60de0c fix(@schematics/angular): rename the ivy-ngcc command to ngcc
With angular/angular#33140, the Angular Compatibility Compiler
executable will be renamed from `ivy-ngcc` to `ngcc`.
2019-10-16 05:56:23 -07:00
Charles
0d0d124a6d build: yarn upgrade lock update (#15589)
* build: yarn upgrade lock update

* build: change sauce connect proxy name to avoid npm package shadowing

`sauce-connect` is an old npm package.  Using the name for the saucelabs proxy tool causes false security vulnerability warnings.

* build: update license exceptions

mainly removal of now unneeded exceptions
2019-09-17 08:34:09 -07:00
Alan Agius
4cd2907dae test: run ivy-ngcc binary to reduce flakes 2019-09-10 10:01:50 -07:00
Alan Agius
605085cc74 test: add selected_spec_large to flake jail 2019-08-30 02:57:44 +05:30
Filipe Silva
60f9b19ecd test: use Ivy by default, opt-in to VE 2019-08-28 22:54:52 +05:30
Alan Agius
a6fbee6865 style: add no-invalid-await and prefer-promise-shorthand lint rules (#15450)
Add these two lint rules for a better code quality and readability
2019-08-27 10:24:58 -07:00
Simon Jespersen
21d29fbb3d docs: update CONTRIBUTING.md to reflect default PR branch (#15331) 2019-08-14 17:54:01 -07:00
Alan Agius
0111693271 Ivy build_ng_packagr (#15262)
* test: update ng-packagr builder tests to work on Windows

* build: add ng packagr test large for ivy

* test: fix web-worker test in ivy

Previously, we were not testing web workers under Ivy as we were overriding tsconfig.app.json entirely without including enableIvy.

When enabling Ivy we are getting warning of files that are part of the compilation which causing a warning to show and break the test.

* build: update ng-packagr to `^5.4.0`

* test: display ivy mode message once
2019-08-12 10:20:02 -07:00
Charles Lyding
402349d763 test: remove unused code coverage infrastructure
Closes #13228
It is currently unused and requires an old version of the `source-map` package.  This old version conflicts with the use of newer versions that are required to provide the necessary functionality and performance within the published packages.
2019-08-08 08:26:15 -07:00
Filipe Silva
533e4eaf0f ci: add flake jail 2019-08-05 18:00:54 -07:00
Filipe Silva
c4df643c6d build: increase buffer size for DO_NOT_SUBMIT git diff 2019-07-29 10:15:23 -07:00
Charles
f83fe22635 test: integrate browser testing for differential loading (#15065) 2019-07-15 09:48:20 -07:00
Charles Lyding
eba2ea7b14 build: support publish registry option 2019-07-10 04:08:39 +08:00
Charles Lyding
fa84505563 build: support publishing on windows 2019-07-02 15:32:27 -07:00
Hans Larsen
88ca7a7a06 build: remove serialize script and @ngtool/json-schema deps
Wasnt needed or used.
2019-07-02 11:34:30 -07:00
Alan
70a4cbe306 style: enable no-debugger and no-console tslint rules 2019-06-27 09:28:35 -07:00
Greg Magolan
4a4155b089 fix(@schematics/angular): fix BUILD file filter for npm package to include both BUILD and BUILD.bazel file
This removes the file https://github.com/angular/angular-cli/blob/master/packages/schematics/angular/third_party/github.com/Microsoft/TypeScript/BUILD.bazel which currently makes it into the npm dist at `@schematics/angular/third_party/github.com/Microsoft/TypeScript/BUILD.bazel`.
2019-06-24 17:31:03 -07:00
Filipe Silva
819892a359 ci: remove appveyor and buildkite 2019-06-06 16:02:17 -07:00
Amadou Sall
a89a5b59a4 docs: remove mention of the Angular CLI depending on Node 8 2019-06-06 14:23:35 -07:00
thekiba
8a34a85881 docs: fixes the changelog commits format 2019-05-08 11:42:39 -07:00
Alan Agius
a1c87dd577 docs: update contributing to use bazel from npm 2019-04-23 14:30:51 -10:00
Alex Eagle
a197615549 build: update jasmine_node_test rules to come from npm 2019-04-22 08:38:00 -07:00
Alex Eagle
1d42b2da2a build: skip license check for @bazel packages
need to fix them upstream
2019-04-22 08:38:00 -07:00
Alan Agius
3d9447975d docs: update new issue form link 2019-04-12 13:11:12 -07:00
Charles Lyding
fda683b874 build: only generate types for actual JSON schemas 2019-04-11 10:17:29 -07:00