344 Commits

Author SHA1 Message Date
Keen Yee Liau
90a01968f4 build: determine version to publish from package.json
Currently, the version of a release is determined by the git tag.
This PR changes release script to determine the release version from the
`version` property in the root `package.json`.

Release docs have also been updated.
2021-03-24 09:17:24 -04:00
Doug Parker
c0ed68d614 docs: update yarn command to freeze lockfile.
In today's release, running `yarn` modified the `yarn.lock` file, which is not desireable for releases which should be as close to CI as possible. This updates the docs to freeze the lockfile (similar to `npm ci`) to avoid changing dependency verisons mid-release.
2021-03-18 10:44:33 +01:00
Douglas Parker
072abbe44b docs: use specific git add command to avoid adding unnecessary files
Today when releasing v9 and v10, I found two extra files in Git (`.husky/` and `.ng-dev.log`). These are a part of the toolchain in later versions, but not known ignored in older versions. Using `git commit -a` would have included both of those files in the release commit which would not be desirable. Instead, the solution for releases is to add the specific files that are modified to remove this possibility.
2021-02-25 14:57:43 -05:00
Jefiozie
e7f44664b1 docs: fix build-system-overview graph 2021-02-23 08:42:09 +01:00
Keen Yee Liau
a937012db2 docs: replace Minko with Joey as secondary caretaker 2021-02-18 08:10:19 +01:00
Joey Perrott
c6e7da1b64 ci: update remaining references to old pr targeting system
Completes the migration to use the new unified target label system, updating
dependabot, renovate and angular-robot to expect the new labels.
2020-12-11 13:53:23 +00:00
Doug Parker
c89ed0af3e docs: update package.json version note to be more visible
During the release today my eyes completely skipped over the new requirement to update `package.json`. Changed this to a list to give more visual weight and guide readers eyes to both places that need to be modified.
2020-12-09 13:34:32 -05:00
Joey Perrott
64d17505d4 build: set up ng-dev tooling to perform merges in the repository
Set up the configurations required for caretakers to be able to rely
on ng-dev for performing merges to all targetted branches.
2020-12-02 16:02:42 +01:00
Alan Agius
7807b779d8 docs: replace analytics table with kebabed cased arguments 2020-12-02 16:02:27 +01:00
Joey Perrott
44a9bacfec build: update release process to reflect including updates to package.json
Now included in the release process is updating the root package.json version.
2020-12-01 08:03:52 +01:00
Doug Parker
f8b9a502a6 docs: add rm -rf node_modules/ to release docs
In the latest release, I was not able to build even after running `yarn` to refresh dependencies. Eventually, we tracked
the issue down to `rm -rf node_modules/`. There may be some instances where this can be necessary to ensure clean
builds.
2020-10-23 01:50:41 -04:00
Alan Agius
c5a1b21f7c refactor(@angular-devkit/core): remove unused NgBuildBuildEventLog from NgCliAnalyticsDimensions 2020-10-07 13:18:30 -04:00
mgechev
52442393b1 docs: change beta to next tag in release process 2020-09-24 08:34:07 +02:00
Joey Perrott
dd59bfcc60 docs: remove usage of blacklist from third-party-libraries documentation
Replace the usage of blacklist with a description of the prevention/disclusion
methods which are beging described.
2020-09-24 00:06:27 +03:00
Doug Parker
245e669d63 docs: remove Docker design doc
This design was never implemented and has been superceded by the `ng deploy` design.
2020-09-11 16:17:15 -04:00
Alan Agius
657c9d950b docs: delete wiki documentation
The CLI wiki deprecated since version 6. All meaningful documentation is now available on
http://angular.io and can be updated on the main [angular/angular](https://github.com/angular/angular)
repo.
2020-09-08 19:47:59 +02:00
Doug Parker
3bc41c8684 ci: fix markdown typo 2020-08-07 00:59:55 +01:00
Doug Parker
55e19aaa98 ci: update release docs to use annotated tags for releases
This changes from using lightweight tags to annotated tags. The later includes author, time, and message information that is lacking from the former. It is also included in Git's `--follow-tags` option. This should allow us to push tags alongside release commits more atomically and hopefully eliminate or at least reduce the possibility of a race condition arising from CI starting on the release commit before the associated tag is pushed. Such a state causes CI failures, because they take the latest version from the most recent `v*` tag.
2020-07-23 19:39:46 +02:00
Joey Perrott
b663471aef docs: update release doc to remove outdate information on patch merges
Previously instructions for merging to patch instructed caretakers
to only merge commits which were "applicable" to patch.  However,
for PRs targeting master and patch, all commits from the PR should
land in both branches.
2020-07-23 10:45:58 +02:00
Doug Parker
4938554490 docs: update release doc to include changes to publish script 2020-07-23 10:45:25 +02:00
Keen Yee Liau
9970beb542 docs: Update doc for major version release 2020-07-09 19:11:25 +02:00
Keen Yee Liau
6d0f13be7e docs: add primary-secondary pairs and update calendar link 2020-05-15 14:46:16 +01:00
Filipe Silva
da46bf9f5f docs: add bazel jasmine_node_test debug information 2020-04-30 15:12:46 -07:00
Doug Parker
62639243e1 docs: add notes about various release foot-guns
This is a few different edits to make caretakers more aware of problems that can occur during a release.
* Added a comment to reinforce that pushing tags needs to happen with the push of the release commit. Otherwise CI can fail `npm install` because the relevant tags are not set.
* Changed to check out the publish branch rather than the tag because checking out a tag fails the subsequent `publish` command.
* Added `yarn` before the `publish` command because dependencies may be out of date and cause errors.
2020-04-21 14:27:34 -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
Filipe Silva
c8d5c3f602 docs: add windows note to bazel process doc 2020-04-07 09:07:19 -07:00
Doug Parker
dd61a6dffd docs: adds -is:draft to Caretaker search
This excludes draft PRs from Caretaker search, as the Caretaker does not actually care about draft PRs.

Also took the opportunity to make the `latest-versions.ts` file a clickable link, because it is a pain to navigate to that file in GitHub's UI.
2020-03-24 11:25:17 -07:00
Keen Yee Liau
75c5cb26af docs: Update policy on LTS fixes
This commit adds guidance on when to merge commits into LTS branches and how PRs should be opened.
2020-03-23 17:27:50 -07:00
Sasha Rudan
996b9c88c4 docs: fix typo in the schematics ng update
am -> an or probably even better the
2020-03-11 09:56:02 -07:00
Schneider
2c10cf80f6 docs: fix typos in multiple files 2020-02-24 12:42:22 -08:00
Charles Lyding
8f42fe4f42 docs: add build system differential loading theory of operation overview 2020-01-29 17:13:33 -08:00
Keen Yee Liau
1b9c2a1f92 docs: Reorganize release docs to emphasize updating release notes 2020-01-27 15:49:34 -08:00
Doug Parker
e72f97d188 docs: add NPM login details to releasing docs.
I hid the sensitive URLs behind a short link just to be extra careful with them while still providing useful click-through functionality for Googlers.
2020-01-22 08:57:04 -08:00
Filipe Silva
d2e57e016d docs: address remaining review items 2020-01-21 08:34:34 -08:00
Filipe Silva
ff5f795190 docs: add build system doc 2019-12-17 09:51:16 -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
arturovt
44f70a928a docs: fix typos in the ngConfig design document 2019-11-26 13:06:22 -08:00
Doug Parker
5c9fc32ae6 docs: update release doc with more merge details
Added some additional details for how the caretaker should merge PRs, including a GitHub search which lists all pending PRs.
2019-11-20 13:20:42 -08:00
Doug Parker
84e102bf3d docs(@angular/cli): add cherry-pick instructions.
This includes instructions on how to cherry-pick commits into the patch branch. Since `cherry-pick` isn't that commonly used, it's useful to write this down for developers who might not be that familiar with it. It also includes fetching the commit beforehand, so users don't get "bad object" errors which can be annoying to work around.

The `-x` option is used as well to include a reference to the commit the cherry-pick came from.
2019-11-14 11:15:00 -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
vikerman
2303a045ee feat(@angular-devkit/build-angular): add analytics for ivy/non-ivy builds
Look for `ngComponentDef` or `ngModuleDef` in the webpack analytics plugin
to report back whether the current build is built with Ivy enabled.
2019-10-02 12:06:38 -07:00
Alan
ba8a6ea599 feat(@schematics/angular): remove enableIvy option
With this change we remove the enableIvy option as now we only support generating Ivy application. Users who want to create a VE applications should follow the opt-out guide
2019-08-16 09:31:02 -07:00
Hans Larsen
af6c6d41d5 refactor: add count of component to analytics 2019-07-02 11:07:13 -07:00
Hans Larsen
46ade49a2f feat(@angular/cli): report RAM in gigabytes instead of megabytes
Otherwise its too much noise. Some people have weird MB count probably due to
containers and VMs.
2019-06-27 09:17:26 -07:00
Alex Eagle
ec731f0454 docs: don't reference next.angular.io
When we cut a release, this moves to angular.io.
Use v8.angular.io in places where angular.io is currently a 404.

Fixes https://github.com/angular/angular/issues/30407
2019-05-21 09:08:40 -04:00
Judy Bogart
8647631a9e docs: update support statement for hmr 2019-04-04 19:48:12 -07:00
Hans Larsen
2ffbdfa86a build: add a validation script for the analytics.md tables
Also added enums to update when changing dimensions.
2019-03-28 13:28:41 -07:00
Keen Yee Liau
5393616209 docs: Explain Yarn workspaces vs Bazel
Add developer doc to explain how contributors and developers on the team should
treat the `package.json` file now that `angular-cli` in a mixed mode of
yarn workspaces and Bazel.
2019-03-26 17:03:14 -07:00
Hans Larsen
2e9dc3d252 docs: add analytics dimensions for schematics flags and internal doc
The analytics.md should be kept up to date with the flags.
2019-03-20 15:08:07 -07:00
Hans Larsen
08e91a94ab build: refactor QoL on monorepo.json
This should make it easier to manage and diff. This takes 2 things into account:
1. we have either stable or experimental versions and each are kept in monorepo.
2. we dont keep hash and update only changed packages.

This commit also removed the hash to make sure this does not happen.
2019-03-13 13:51:01 -07:00