52 Commits

Author SHA1 Message Date
Paul Gschwendtner
9dd3f0344f
Further clean-up rules_nodejs npm workspace and remove yarn.lock (#29779)
* build: disconnect `@npm` workspace from main project

This will speed up significantly as we don't need to fetch all
dependencies again just for the `@npm` repository that is at this point
only leveraged by the `ng_package` rule for some of its dependencies.

This commit allows us to drop the `yarn.lock` and Aspect lock files, and
allows us to independently migrate `ng_package` to `rules_js`.

It also allows us to drop the `_rjs` TS interop layer in follow-up commits.

* build: drop `_rjs` suffix from `ts_project` targets

We don't need the `ts_project` interop in principle
at this point. We only have one remaining instance left for the SSR
`ng_package` integration. This commit cleans up all usages.

* build: remove yarn

* build: avoid duplicated dependencies at top-level

`rules_js` seems to be sensitive if there are similar versions of the same
package installed, but with differently matched peer dependencies. This
is fine because we can (and should long-term) move those dependencies to
their package-local `package.json` files. This commit unblocks the
migration and highlights how we can move deps to the individual packages
in the future.

* build: update checkout github action

This will allow us to use pnpm.

* build: update node to avoid strict-engines error caused by `npm`

Avoids:

```
Lockfile is up to date, resolution step is skipped
 ERR_PNPM_UNSUPPORTED_ENGINE  Unsupported environment (bad pnpm and/or Node.js version)

Your Node version is incompatible with "npm@11.2.0".

Expected version: ^20.17.0 || >=22.9.0
Got: v20.11.1
```

Note that we won't update the WORKSPACE test version as that would mean
we need to update the Node engines for shipped packages; and we can't do
this right now without introducing a breaking change.

* build: fix missing dependency for spec bundling

The beasties JS sources weren't available for bundling in the
`bazel-bin`, and this surfaced in RBE. This commit fixes this.
2025-03-11 10:05:52 +01:00
sashaphmn
32d2e2d029 docs: readme
Made some corrections in the documentation
2024-11-27 15:59:19 +01:00
Joey Perrott
fcf6426732 ci: remove circleci as we no longer rely on it
Remove CircleCI artifacts and configuration
2024-11-12 13:09:11 -08:00
Ash Ramirez
434a3740f0 refactor(@angular/cli): update aio links -> adev links
Updates for all angular.io links to the new angular.dev domain. Additionally, adjustment to new resources where the equivalent does not exist on the new site (e.g. Tour of Heroes tutorial)
2024-06-06 11:12:06 +02:00
David LJ
d6f7962b2a docs: aio->adev links in readme, docs & gh dirs 2024-05-27 08:08:52 +02:00
Charles Lyding
cb18da3917 fix(@angular/cli): change update guide link to angular.dev
References to the Angular update guide now use the new angular.dev site.
2024-05-17 12:44:40 -04:00
Alan Agius
3362b8f53f build: clean up build scripts
Several cleanups to build scripts
2024-03-14 15:46:54 +01:00
aanchal
5345336cb6 docs: update the http tag with https 2023-08-14 10:57:26 +02:00
alkavats1
e3556b3298 docs: removed the deprecated tag of align center in readme file 2023-06-14 11:23:13 +02:00
alkavats1
6abff16f03 docs: updated the i tag to the em tag in the html and docs 2023-06-09 10:49:11 +02:00
Alan Agius
639a3071c3 refactor: migrate analytics collector to use GA4
This change updates the analytics collector collector to use GA4 instead of UA. The motivation behind this change is that UA will stop collecting data in 2023.

BREAKING CHANGE:

`analyticsSharing` option in the global angular configuration has been
removed without replacement. This option was used to configure the Angular CLI to  access to your own users' CLI usage data.

If this option is used, it can be removed using `ng config --global cli.analyticsSharing undefined`.
2022-10-11 18:52:30 +02:00
Paul Gschwendtner
720cfdde2c build: account for rename of angular/code-of-conduct default branch
We just renamed the Angular code of conduct repository default branch
to `main`. This repository was not part of the large migration and is
now handled separately as a little clean-up.
2022-06-30 10:02:51 -04:00
Paul Gschwendtner
9fafb2e125 build: update ng-dev setup to work with new ESM version
The `ng-dev` tool is now strict ESM. Config loading needs to be updated
to also emit `.mjs` with `ts-node` (this cannot happen dynamically as
ESM Node loading cannot be patched by ts-node at runtime).
2022-06-17 19:01:03 +02:00
Paul Gschwendtner
156f15e47f build: cleanup references to old master branch
Cleans up all referneces to the old `master` branch.
2022-05-04 09:55:54 -07:00
Alan Agius
73746faee9 refactor(@angular/cli): remove support for legacy Angular CLI version 1 configurations
Remove references to legacy Angular CLI version 1 configurations. By now users should have been migrated to use the new configuration.
2022-02-07 10:53:18 +00:00
Alan Agius
3829fb20d6 docs: improve readme
Update readme to match that of angular/angular
2022-01-31 11:36:53 -08:00
Alan Agius
40fb1a1e00 docs: move developer guide into a seperate file
Currently, the `readme.md` also contains information on how to build and test the CLI which isn't useful to most users. With this change we move this information into a seperate document.
2022-01-31 11:36:53 -08:00
Alan Agius
3d52865526 docs: expand commit message footer description
With this change we expand the commit message footer section to include more information about breaking changes and deprecations messages.
2021-10-12 09:48:57 +02:00
Charles Lyding
1a21759d00 build: remove unused release scripts
With the migration to the common dev-infra tooling for releases, the existing release scripts are now unused and can be removed.
2021-07-30 13:43:04 +01:00
Alan Agius
38b01b9625 docs: update public api steps in contribution guidelines 2021-07-30 12:44:43 +01:00
Alan Agius
fdbd49a4d0 refactor: move public api golden files under golden directory 2021-04-29 12:50:11 -04:00
Alan Agius
0b27cfb720 build: update minimum supported node.js version to 12.14
This is to match the ranges in the framework repo.
2021-04-27 17:26:56 +02:00
Alan Agius
4c1b4ddb8a build: remove bots from changelog special thanks 2021-04-09 13:16:56 -04:00
Alan Agius
9c91af6579 build: sort changelog by commit message scope
Previously `a.type - b.type` always returned NaN, which broke sorting
2021-03-18 19:09:53 +01:00
Alan Agius
d50810a3a6 build: update changelog to include perf commits 2021-03-18 17:16:40 +01:00
Alan Agius
1c48a24e92 docs: fix tests with Bazel link 2021-01-28 09:35:50 +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
Charles Lyding
bcbfc9ca68 ci: set up commit message conformance rules using ng-dev 2020-10-05 14:11:17 -04:00
Alan Agius
016700ba76 docs: fix incorrect number of test suites 2020-09-30 10:30:29 +02:00
Jefiozie
b2f0f074bf docs: update testing chapter with general test commands
Closes: #18710
2020-09-08 11:00:01 +02:00
Alan Agius
1fb8853bf0 docs: add missing period in contributing guide 2020-08-05 08:18:24 -04: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
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
Amadou Sall
086690a77c docs: state in the README that minimum Node.js version is 10.13 2019-10-24 12:05:54 -07:00
Simon Jespersen
21d29fbb3d docs: update CONTRIBUTING.md to reflect default PR branch (#15331) 2019-08-14 17:54:01 -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
Alan Agius
3d9447975d docs: update new issue form link 2019-04-12 13:11:12 -07:00
Alan Agius
ee337c025f docs: add breaking changes to changelog 2019-03-29 14:37:03 -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
Alan Agius
7d3b8b4223 docs: fix grammar error
Fix the "limitation" word
2019-01-08 14:03:47 -08:00
Alan Agius
914f99d75e docs: change link for CLI readme to be relative 2018-12-06 11:45:26 -08:00
Alan Agius
f392f18e42 docs: add documentation for API guardian (#13065) 2018-11-30 14:07:36 -08:00
Alan Agius
0b884c5d88 ci: exit with 0 error code when running templates (#12473)
* docs: fix url typo

* ci: exit with `0` error code when running templates
2018-10-04 13:35:14 -07:00
Hans
3d279861d7 docs: add getting started section to README 2018-10-03 16:33:07 -07:00
Hans
202117a68e ci: add CONTRIBUTING as a template and various changes
Added types from the commit validation script to CONTRIBUTING. Added
packages names from the package script to the scope section. Added
examples of good commit messages.

Also corrected some texts.
2018-10-03 16:33:07 -07:00
Hans Larsen
52b22bf2e4 docs: sort changelog by feature first, then fixes 2018-10-01 07:40:41 -07:00
Hans Larsen
eaccc04852 docs: change the changelog commits format
See #11740 for an example of how it looks.

Fixes #11740
2018-08-02 13:12:22 -04:00
Hans Larsen
abc62edd26 ci: use angular-cli repo instead of devkit 2018-06-07 18:50:41 -07:00