Skip to content

Commit 3e48ebb

Browse files
alan-agius4devversion
authored andcommitted
build: replace and remove deprecated npm packages
Replace/remove deprecated NPM packages.
1 parent ea29aaa commit 3e48ebb

File tree

9 files changed

+7
-45
lines changed

9 files changed

+7
-45
lines changed

github-actions/branch-manager/BUILD.bazel

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ ts_project(
1313
":node_modules/@actions/core",
1414
":node_modules/@actions/github",
1515
":node_modules/@octokit/rest",
16-
":node_modules/@octokit/webhooks-definitions",
16+
":node_modules/@octokit/webhooks-types",
1717
":node_modules/@types/node",
1818
":node_modules/typed-graphqlify",
1919
":node_modules/undici",

github-actions/branch-manager/lib/main.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,7 @@ import {context} from '@actions/github';
33
import {Octokit} from '@octokit/rest';
44
import {actionLabels, targetLabels} from '../../../ng-dev/pr/common/labels/index.js';
55
import {revokeActiveInstallationToken, getAuthTokenFor, ANGULAR_ROBOT} from '../../utils.js';
6-
import {
7-
PullRequestLabeledEvent,
8-
PullRequestEvent,
9-
PushEvent,
10-
} from '@octokit/webhooks-definitions/schema.js';
6+
import {PullRequestLabeledEvent, PullRequestEvent, PushEvent} from '@octokit/webhooks-types';
117

128
/** Set of target label names. */
139
const targetLabelNames = new Set(Object.values(targetLabels).map((t) => t.name));

github-actions/branch-manager/main.js

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

github-actions/branch-manager/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"@actions/core": "1.11.1",
55
"@actions/github": "6.0.1",
66
"@octokit/rest": "22.0.0",
7-
"@octokit/webhooks-definitions": "3.67.3",
7+
"@octokit/webhooks-types": "7.6.1",
88
"@types/node": "24.5.0",
99
"typed-graphqlify": "3.1.6",
1010
"undici": "7.16.0"

ng-dev/package.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,8 @@
3737
"@types/folder-hash": "4.0.4",
3838
"@types/git-raw-commits": "5.0.0",
3939
"@types/jasmine": "5.1.9",
40-
"@types/minimatch": "6.0.0",
4140
"@types/node": "24.5.0",
4241
"@types/semver": "7.7.1",
43-
"@types/supports-color": "10.0.0",
4442
"@types/which": "3.0.4",
4543
"@types/yargs": "17.0.33",
4644
"@types/yarnpkg__lockfile": "1.1.9",

ng-dev/pr/common/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ ts_project(
1717
],
1818
deps = [
1919
"//ng-dev:node_modules/@octokit/graphql-schema",
20-
"//ng-dev:node_modules/@types/minimatch",
2120
"//ng-dev:node_modules/@types/node",
2221
"//ng-dev:node_modules/@types/semver",
2322
"//ng-dev:node_modules/minimatch",

ng-dev/pullapprove/BUILD.bazel

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ ts_project(
1515
],
1616
visibility = ["//ng-dev:__subpackages__"],
1717
deps = [
18-
"//ng-dev:node_modules/@types/minimatch",
1918
"//ng-dev:node_modules/@types/node",
2019
"//ng-dev:node_modules/@types/yargs",
2120
"//ng-dev:node_modules/minimatch",

ng-dev/utils/BUILD.bazel

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ ts_project(
1010
"//ng-dev:__subpackages__",
1111
],
1212
deps = [
13-
"//ng-dev:node_modules/@types/minimatch",
1413
"//ng-dev:node_modules/@types/node",
1514
"//ng-dev:node_modules/jsonc-parser",
1615
"//ng-dev:node_modules/minimatch",
@@ -54,7 +53,6 @@ ts_project(
5453
"//ng-dev:node_modules/@pnpm/dependency-path",
5554
"//ng-dev:node_modules/@types/node",
5655
"//ng-dev:node_modules/@types/semver",
57-
"//ng-dev:node_modules/@types/supports-color",
5856
"//ng-dev:node_modules/@types/which",
5957
"//ng-dev:node_modules/@types/yargs",
6058
"//ng-dev:node_modules/@types/yarnpkg__lockfile",

pnpm-lock.yaml

Lines changed: 3 additions & 31 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)