1109 Commits

Author SHA1 Message Date
Renovate Bot
e0fb18a133 build: update @babel/cli to version 7.13.16 ()
PR Close 
2021-04-22 10:44:00 -07:00
Alan Agius
8bfd9e886b build: update typed-graphqlify to version 3.1.1 ()
Use latest version of typed-graphqlify

PR Close 
2021-04-21 17:30:28 -07:00
Alan Agius
e00a9c1b99 build: update chalk to version 4.0.1 ()
Update `chalk` to `4.0.1` so that it can be managed by Renovate.

PR Close 
2021-04-21 17:30:28 -07:00
Renovate Bot
6eb21b8d48 build: update cldr to version 6.1.0 ()
PR Close 
2021-04-20 09:41:12 -07:00
Renovate Bot
853016dca2 build: update firebase-tools to version 9.10.0 ()
PR Close 
2021-04-19 15:10:58 -07:00
Joey Perrott
6cdb8fb0aa build: remove entities dependency from root package.json ()
Remove the dependency on `entities` in the root package.json as it is unused.  `entities` is
used in aio, however the package.json in aio manages these dependencies.

PR Close 
2021-04-19 14:17:18 -07:00
Renovate Bot
ef4cf878b1 build: update google-closure-compiler to version 20210406.0.0 ()
PR Close 
2021-04-19 14:16:14 -07:00
Renovate Bot
e256d9274c build: update @octokit/types to version 6.13.0 ()
PR Close 
2021-04-19 08:53:27 -07:00
Renovate Bot
75168a2a70 build: update graceful-fs to version 4.2.6 ()
PR Close 
2021-04-19 08:25:01 -07:00
Renovate Bot
2bd4363f2a build: update bazel packages ()
PR Close 
2021-04-16 08:53:55 -07:00
Alan Agius
d8282957b6 build: update angular cli packages to version 12.0.0-next.9 ()
This enables us to remove the workaround that we needed to consume `@angular-devkit/build-angular` from the snapshot builds.

PR Close 
2021-04-15 14:37:26 -07:00
Renovate Bot
766b157b63 build: update @babel/cli to version 7.13.14 ()
PR Close 
2021-04-15 11:29:59 -07:00
Zach Arend
eaeb7ef54b
release: bump the next branch to v12.1.0-next.0 () 2021-04-14 13:30:42 -07:00
Joey Perrott
ee615e0744 build: upgrade to node 14 ()
Upgrade local development environment for the angular repo to use node 14
dropping node 10 from supported for development within the angular repo.

PR Close 
2021-04-14 09:40:17 -07:00
Paul Gschwendtner
fd9a7ca8c9 build: update to latest version of rules_nodejs v3.3.0 ()
Updates to the latest version of `rules_nodejs` that supports
the most recent NodeJS lts version v14.16.1.

Additionally the latest version of `rules_nodejs` provides
[a package for runfile resolution](https://github.com/bazelbuild/rules_nodejs/pull/2568) w/ types that we can leverage.

PR Close 
2021-04-13 17:37:28 -07:00
Alan Agius
71b8c9ab29 refactor(bazel): remove old Angular CLI schematics and builder ()
This is leftover code which is no longer used.

PR Close 
2021-04-13 13:01:59 -07:00
Alan Agius
852b5e366e build: update @angular-devkit/build-angular to use commit SHA ()
This is a temporary workaround until the CLI version containing a fix for the regression caused by deacc74 is available on NPM.

Without this change CLI builds will fail with;
```
angularCompiler.getNextProgram is not a function
```

PR Close 
2021-04-12 16:46:29 -07:00
Alan Agius
1c82eff440 build: update Angular CLI packages to 12.0.0-next.7 ()
With this change we update Angular CLI packages that are used in the repo for testing to `12.0.0-next.7`

PR Close 
2021-04-12 16:46:29 -07:00
Alan Agius
ed7d288364 build: update several dependencies ()
With this change we update several dependencies to avoid Renovate creating a lot of PRs during onboarding. We also remove yarn workspaces as after further analysis these are not needed.

Certain dependencies such as `@octokit/rest`, `remark` and `@babel/*` have not been updated as they require a decent amount of work to update, and it's best to leave them for a seperate PR.

PR Close 
2021-04-12 16:46:29 -07:00
Joey Perrott
5e0d5a9ec2 feat(dev-infra): create ReleaseNotes class for generating release notes during publishing ()
Generate release notes to be used for entries in both CHANGELOG.md files as well as
Github releases.

PR Close 
2021-04-09 07:49:48 -07:00
Alan Agius
8b9d025b13 test(dev-infra): remove chai from ts-api-guardian tests ()
Refactor ts-api-guardian tests to use jasmine instead of chai

PR Close 
2021-04-09 07:49:21 -07:00
Joey Perrott
c385e74454 build: rely on engines to prevent using npm for dependency install ()
Rather than relying on a preinstall script, set `engine-strict` to `true` in a
project `.npmrc` file, relying on the `engines` having `npm` set to note that
yarn should be used instead.

---

Output from `npm install` changes from:
```
$ npm install

> angular-srcs@12.0.0-next.7 preinstall /usr/local/account/js/angular
> node tools/yarn/check-yarn.js

/usr/local/account/js/angular/tools/yarn/check-yarn.js:12
  throw new Error(
  ^

Error: Please use Yarn instead of NPM to install dependencies. See: https://yarnpkg.com/lang/en/docs/install/
    at Object.<anonymous> (/usr/local/account/js/angular/tools/yarn/check-yarn.js:12:9)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)
    at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! angular-srcs@12.0.0-next.7 preinstall: `node tools/yarn/check-yarn.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the angular-srcs@12.0.0-next.7 preinstall script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /usr/local/account/.npm/_logs/2021-04-06T22_54_02_292Z-debug.log
```
to
```
$ npm install
npm ERR! code ENOTSUP
npm ERR! notsup Unsupported engine for angular-srcs@12.0.0-next.7: wanted: {"node":">=10.19.0 <13.0.0","yarn":">=1.22.4 <2","npm":"Plesae use yarn instead of NPM to install dependencies"} (current: {"node":"10.20.1","npm":"6.14.4"})
npm ERR! notsup Not compatible with your version of node/npm: angular-srcs@12.0.0-next.7
npm ERR! notsup Not compatible with your version of node/npm: angular-srcs@12.0.0-next.7
npm ERR! notsup Required: {"node":">=10.19.0 <13.0.0","yarn":">=1.22.4 <2","npm":"Plesae use yarn instead of NPM to install dependencies"}
npm ERR! notsup Actual:   {"npm":"6.14.4","node":"10.20.1"}

npm ERR! A complete log of this run can be found in:
npm ERR!     /usr/local/account/.npm/_logs/2021-04-06T22_53_23_912Z-debug.log
```

PR Close 
2021-04-07 12:05:01 -07:00
Andrew Scott
eda27c9a87
release: cut the v12.0.0-next.8 release () 2021-04-07 11:40:31 -07:00
Joey Perrott
4a68e13d1b build: update package.json engines range for nodes in preparation for upgrade ()
In preparation for upgrading to `node@14`, and dropping `node@10`, updating the engines
for local `package.json`s.

PR Close 
2021-04-06 12:46:31 -07:00
Arthur Ming
acebe92bad build: install husky in prepare script instead of postinstall ()
With typicode/husky#890, the recommended way to install husky is in the
`prepare` script instead of the `postinstall`. This commit moves
the husky installation to the `prepare` script to align with the new
recommendation.

PR Close 
2021-04-06 10:02:51 -07:00
Arthur Ming
a6ca7907e5 build: update to husky@6 ()
Upgrade husky from 5.0.1 to 6.0.0

PR Close 
2021-04-06 10:02:51 -07:00
Alan Agius
3a823abcc5 refactor(compiler): remove dependency on fs-extra ()
Currently, fs-extra is used to delete a directory recursively, but this is already available in native Node.JS. Hence, making this dependency redundant.

See: https://nodejs.org/docs/latest-v12.x/api/fs.html

PR Close 
2021-04-05 15:04:50 -07:00
Alan Agius
cd2961a3d8 ci: add renovate ()
With this change we add renovate to update dependencies in the following locations
- WORKSPACE
- integration/bazel/WORKSPACE
- package.json
- packages/**/package.json
- tools/ts-api-guardian/package.json
- aio/package.json

We also enable yarn workspaces so that dependencies in these packages are hoisting to the root and renovate doesn't created nested lock files.

Enabling auto updates is important, because quite often dependencies get out of date especially in the compiler-cli which depends on a number of external dependencies.

PR Close 
2021-04-02 15:47:33 -07:00
GChuf
46a97b985e build: Bump minimum required node version to 10.19.0 ()
Critical security vulnerability fixed in node v 10.19.0
Other performance and security updates since node 10.9.0

PR Close 
2021-04-02 10:29:24 -07:00
Alex Rickabaugh
4ce743dfb8 release: cut the v12.0.0-next.7 release ()
PR Close 
2021-04-01 16:56:42 -07:00
Joey Perrott
381ea9d7d4 refactor(dev-infra): set up new method for checking range of commits ()
Check a range of commits by retrieving the log files to be parsed with the expected
format for the parser.

This change is in part of a larger set of changes making the process for obtaining
and parsing commits for release note creation and message validation consistent.
This consistency will make it easier to debug as well as ease the design of tooling
which is built on top of these processes.

PR Close 
2021-04-01 11:30:26 -07:00
Pete Bacon Darwin
a371646a37 build: update yargs dependency to 16.2.0. ()
This avoids a vulnerability in the transitive y18n dependency.

Fixes 

PR Close 
2021-03-30 16:59:38 -07:00
Joey Perrott
9da7ea9836
release: cut the v12.0.0-next.6 release () 2021-03-24 09:27:09 -07:00
Joey Perrott
0516fbb180 refactor(dev-infra): use conventional-commits-parser for commit parsing ()
Use conventional-commits-parser for parsing commits for validation, this is being done
in anticipation of relying on this parser for release note creation.  Unifying how commits
are parsed will provide the most consistency in our tooling.

PR Close 
2021-03-23 13:10:47 -07:00
Joey Perrott
5eb7f3491f fix(dev-infra): remove commit message wizard and builder ()
Removing commit message builder and wizard as they are unused and
unneeded.

PR Close 
2021-03-19 12:41:09 -07:00
Jessica Janiuk
02e8901d9e
release: cut the v12.0.0-next.5 release () 2021-03-17 11:41:56 -07:00
Kristiyan Kostadinov
59ef40988e feat(core): support TypeScript 4.2 ()
Updates the repo to TypeScript 4.2 and tslib 2.1.0.

PR Close 
2021-03-17 09:10:25 -07:00
Andrew Kushnir
1fb0dbb300
release: cut the v12.0.0-next.4 release () 2021-03-10 10:03:45 -08:00
Zach Arend
a10fe450d9 release: cut the v12.0.0-next.3 release 2021-03-03 23:09:28 +00:00
Andrew Scott
140ff8af13
release: cut the v12.0.0-next.2 release () 2021-02-24 09:54:41 -08:00
Joey Perrott
f93eae7708 build: update to rules_nodejs@3.2.1 ()
Update to the latest version of rules_nodejs.

PR Close 
2021-02-24 08:00:03 -08:00
Joey Perrott
bafab6de79 build: update dependencies to enable strict_visibility for bazel yarn_install ()
Beginning with rules_nodejs@3.0.0, strict visibility defaults to true.  This means
that we are no longer, in bazel dependencies, able to depend on a package which was
transitively depended on from another dependency we do have in our package.json

PR Close 
2021-02-17 17:01:26 -08:00
Joey Perrott
b31098d5e9
release: cut the v12.0.0-next.1 release () 2021-02-17 11:47:41 -07:00
George Kalpakas
a4c00c2148 build: upgrade webdriver-manager to v12.1.8 ()
ChromeDriver now supports Apple Silicon ARM processors.
`webdriver-manager` versions 12.1.7 and earlier will, however,
incorrectly download the arm64 ChromeDriver regardless of the
system's architecture. This results in failure to run Protractor tests
on macOS with the error: `spawn Unknown system error -86`

This commit fixes the problem by upgrading `webdriver-manager` to
version 12.1.8, which includes a fix.
See also https://stackoverflow.com/questions/65618558.

PR Close 
2021-02-17 06:52:31 -08:00
Joey Perrott
dfc9f36dd8 build: update browserstacktunnel-wrapper ()
Update browserstacktunnel-wrapper to address security vulnerabilities

PR Close 
2021-02-11 13:11:14 -08:00
Joey Perrott
09b5ad5733 build: update cldr-data-downloader ()
Update cldr-data-downloader to address security vulnerabilities.

PR Close 
2021-02-11 13:11:14 -08:00
Joey Perrott
af6451060d build: update gulp and gulp-conventional-changelog ()
Update gulp and gulp-conventional-changelog to address security vulnerabilities.

PR Close 
2021-02-11 13:11:14 -08:00
Joey Perrott
e27787a583 build: remove jpm dependency ()
Remove our dependency on jpm as it goes unused in our repository.

PR Close 
2021-02-11 12:30:55 -08:00
GChuf
f72626d3cc build: Update dependencies ()
Updates some dependencies.

PR Close 
2021-02-11 11:17:21 -08:00
Joey Perrott
a6c1c913a9 build: update to rules_nodejs@3.1.0 ()
Update to the latest version of rules_nodejs.

PR Close 
2021-02-09 10:48:43 -08:00