23 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
Charles Lyding
065ac4546f fix(@angular/cli): remove npm 7 incompatibility notification
npm 7.5.6 contains several fixes that allow it to work successfully with the Angular CLI.
The minimum npm engine value is now set to support npm versions greater than 7.5.6 (npm 6 support remains unchanged).
A warning will be shown to users with npm 7 versions less than 7.5.6 when used with the new, add, or update commands.
2021-02-24 18:19:54 +01:00
Charles Lyding
d1f616930d build: set minimum Node.js version to 12.13
This change provides an improved performance baseline as well as access to newer Node.js APIs and Javascript language features which the Angular CLI will now be able to leverage.

BREAKING CHANGE:
Node.js version 10 will become EOL on 2021-04-30.
Angular CLI 12 will require Node.js 12.13+ or 14.15+. Node.js 12.13 and 14.15 are the first LTS releases for their respective majors.
2021-02-08 09:23:46 -05:00
Charles Lyding
331f628139 fix(@angular/cli): temporarily limit npm to version 6
This change will display an error message if using npm 7 (or versions earlier than 6). This is a temporarily change while npm 7 usability concerns are addressed.
2021-02-04 14:59:40 -08: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
Alan Agius
05588fcee1 refactor: clean up unused code and imports 2020-07-24 08:01:52 +02:00
Keen Yee Liau
9970beb542 docs: Update doc for major version release 2020-07-09 19:11:25 +02:00
mgechev
0181d8538f build: version from git tag which consists two or more digits
Currently, we can't publish v10 because the `--match` pattern in describe can't match the tag `v10.0.0`. The new glob has the following semantics:

```
v[0-9]*.[0-9]*.[0-9]*
```

Couldn't make it stricter because didn't find an easy way to enable extglobs for git for everyone.
2020-04-08 13:16:11 -07:00
Alan Agius
a32429f799 style: disable no-implicit-dependencies in scripts and rules 2020-02-04 07:26:16 -08:00
Charles Lyding
59cf170c92 build: remove pnpm engine value due to lack of yarn support
Yarn displays a warning due to an unknown engine value of `pnpm`.  Until this is corrected upstream, the value can be temporarily removed to eliminate the multiple, but otherwise harmless, warnings shown to users upon package install.
2020-01-15 11:33:06 -08:00
Charles
33e9039219 build: set minimum Node.js version to 10.13 (#15756)
Version 10.13.0 was the first version of 10.x that was considered LTS.  This also provides an improved performance baseline as well as access to newer Node.js APIs and Javascript language features which the Angular CLI will now be able to leverage.
2019-10-10 12:39:28 -07:00
Charles
a8e19c2e98 build: update minimum npm/yarn engine versions for built packages (#15567)
The `peerDependenciesMeta` package.json field is becoming increasingly prevalent.  The minimum versions in this change provide support for the field and mitigate incorrect peer dependency warnings for end users.

npm: fc5fc76182/CHANGELOG.md (v6110-2019-08-20)
yarn: 53d8004229/CHANGELOG.md (1130)
pnpm:
https://github.com/pnpm/pnpm/releases/tag/v3.2.0
2019-09-11 10:07:59 -07:00
Charles Lyding
8ef7ba5a8d build: generate valid version when on release commit 2019-07-10 04:08:39 +08:00
Hans Larsen
470ae53a63 fix(@angular/cli): don't remove scripts from package.json
This was dropped because we used to have postinstall scripts that
we did not want to use on npm. We don't anymore, so there's no
use in removing those scripts.
2019-03-25 12:37:05 -07:00
Hans Larsen
c0aa3d9a63 build: add reverse dependencies to packages map 2019-03-13 13:51:01 -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
Charles Lyding
1357ea2183 build: update minimum required Node.js version to 10.9 2019-03-11 13:46:48 -07:00
Filipe Silva
b6793bd521 build: use specific engines for built packages 2018-09-14 13:56:43 -07:00
Filipe Silva
4a5973c37a build: workaround yarn tgz bug 2018-09-10 14:19:22 -07:00
Hans
c0f61dcb83 build: throw an exception when a package is not found in monorepo 2018-08-21 11:19:55 -07:00
Hans
56a97c1fc2 build: add support for yarn workspace in scripts 2018-08-21 11:19:55 -07:00
Charles Lyding
c729b0e7d9 build: use yarn workspaces 2018-08-10 18:25:32 -07:00
Hans Larsen
44086c60ff build: move devkit repo back to angular-cli 2018-06-05 18:50:06 -07:00