From d831eaabed39001fe776a4d4d0f11c7fdcf4afae Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Sat, 26 Mar 2022 12:13:36 +0100 Subject: [PATCH] fix(ng-dev): lock formatting dependencies to avoid formating failures Due to us not locking prettier, buildifier etc, downstream projects might end up running into formatting failures when e.g. lock file maintance is performed. The underlying formatting tools should only update along with dev-infra, so that it's obvious when something related to formatting changes. --- package.json | 6 +++--- yarn.lock | 18 +++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index 5fd2347ea..c8b03c9af 100644 --- a/package.json +++ b/package.json @@ -27,7 +27,7 @@ "@angular-devkit/build-angular": "14.0.0-next.6", "@angular/benchpress": "0.3.0", "@babel/core": "^7.16.0", - "@bazel/buildifier": "^5.0.1", + "@bazel/buildifier": "5.0.1", "@bazel/concatjs": "5.3.0", "@bazel/esbuild": "5.3.0", "@bazel/protractor": "5.3.0", @@ -45,9 +45,9 @@ "@types/yargs": "^17.0.0", "browser-sync": "^2.27.7", "chalk": "^4.1.0", - "clang-format": "^1.6.0", + "clang-format": "1.6.0", "node-fetch": "^2.6.1", - "prettier": "^2.3.2", + "prettier": "2.6.1", "protractor": "^7.0.0", "selenium-webdriver": "4.1.1", "send": "^0.18.0", diff --git a/yarn.lock b/yarn.lock index d18625a5a..ccdf5a4dc 100644 --- a/yarn.lock +++ b/yarn.lock @@ -313,7 +313,7 @@ __metadata: "@angular/platform-browser": 14.0.0-next.9 "@babel/core": ^7.16.0 "@bazel/bazelisk": ^1.11.0 - "@bazel/buildifier": ^5.0.1 + "@bazel/buildifier": 5.0.1 "@bazel/concatjs": 5.3.0 "@bazel/esbuild": 5.3.0 "@bazel/jasmine": 5.3.0 @@ -356,7 +356,7 @@ __metadata: "@yarnpkg/lockfile": ^1.1.0 browser-sync: ^2.27.7 chalk: ^4.1.0 - clang-format: ^1.6.0 + clang-format: 1.6.0 cli-progress: ^3.7.0 conventional-commits-parser: ^3.2.1 ejs: ^3.1.6 @@ -378,7 +378,7 @@ __metadata: multimatch: ^5.0.0 nock: ^13.0.3 node-fetch: ^2.6.1 - prettier: ^2.3.2 + prettier: 2.6.1 protobufjs: ^6.11.2 protractor: ^7.0.0 requirejs: ^2.3.6 @@ -1712,7 +1712,7 @@ __metadata: languageName: node linkType: hard -"@bazel/buildifier@npm:^5.0.1": +"@bazel/buildifier@npm:5.0.1": version: 5.0.1 resolution: "@bazel/buildifier@npm:5.0.1" bin: @@ -4535,7 +4535,7 @@ __metadata: languageName: node linkType: hard -"clang-format@npm:^1.6.0": +"clang-format@npm:1.6.0": version: 1.6.0 resolution: "clang-format@npm:1.6.0" dependencies: @@ -10049,12 +10049,12 @@ __metadata: languageName: node linkType: hard -"prettier@npm:^2.3.2": - version: 2.6.0 - resolution: "prettier@npm:2.6.0" +"prettier@npm:2.6.1": + version: 2.6.1 + resolution: "prettier@npm:2.6.1" bin: prettier: bin-prettier.js - checksum: 3e527ad62279676778a8404d18174d7ca2365ada4caba6eebbcdd9907d1187afd3bc6ade5b4e5f5d4549bb9fb71e45ca8930d71500017635524f8fc05bc52e93 + checksum: 78be1f8a3ddfad7c3d8a854b6c8941a3bb1ddfca4225c38d778e0fe1029a55368f71b3bbefff82c689015fbb4d391ec44add957f01308ad2725e01a7c1f37cb6 languageName: node linkType: hard