Skip to content

Setup interop #2940

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 4 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# @generated
# Input hashes for repository rule npm_translate_lock(name = "devinfra_npm", pnpm_lock = "@//:pnpm-lock.yaml").
# This file should be checked into version control along with the pnpm-lock.yaml file.
.github/local-actions/branch-manager/package.json=-197755049
.github/local-actions/labels-sync/package.json=-805297510
.github/local-actions/lock-closed/package.json=-805297510
.npmrc=-1406867100
bazel/package.json=1905073619
bazel/spec-bundling/test/package.json=-1269314228
github-actions/bazel/configure-remote/package.json=855472374
github-actions/branch-manager/package.json=556340955
github-actions/browserstack/package.json=855472374
github-actions/feature-request/package.json=432234341
github-actions/google-internal-tests/package.json=-197755049
github-actions/org-file-sync/package.json=-768792564
github-actions/post-approval-changes/package.json=-358252879
github-actions/previews/pack-and-upload-artifact/package.json=974988309
github-actions/previews/upload-artifacts-to-firebase/package.json=-2021238010
github-actions/pull-request-labeling/package.json=-197755049
github-actions/saucelabs/package.json=855472374
github-actions/unified-status-check/package.json=-337882335
ng-dev/package.json=1323489217
package.json=-1202209611
pnpm-lock.yaml=-1602715196
pnpm-workspace.yaml=1110472849
yarn.lock=-598328143
8 changes: 8 additions & 0 deletions .github/local-actions/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
load("//tools:defaults2.bzl", "ts_config")

package(default_visibility = ["//.github/local-actions:__subpackages__"])

ts_config(
name = "tsconfig",
src = "tsconfig.json",
)
37 changes: 32 additions & 5 deletions .github/local-actions/branch-manager/BUILD.bazel
Original file line number Diff line number Diff line change
@@ -1,10 +1,37 @@
load("//tools:defaults.bzl", "esbuild_checked_in")
load("@devinfra_npm//:defs.bzl", "npm_link_all_packages")
load("//tools:defaults2.bzl", "esbuild_checked_in", "ts_project")

package(default_visibility = ["//.github/local-actions/branch-manager:__subpackages__"])

npm_link_all_packages()

ts_project(
name = "lib",
srcs = glob(["lib/*.ts"]),
tsconfig = "//.github/local-actions:tsconfig",
deps = [
"//.github/local-actions/branch-manager:node_modules/@actions/core",
"//.github/local-actions/branch-manager:node_modules/@actions/github",
"//.github/local-actions/branch-manager:node_modules/@octokit/rest",
"//.github/local-actions/branch-manager:node_modules/@types/node",
"//.github/local-actions/branch-manager:node_modules/typed-graphqlify",
"//.github/local-actions/branch-manager:node_modules/undici",
"//github-actions:utils_rjs",
"//ng-dev/pr/common:common_rjs",
"//ng-dev/pr/common/labels:labels_rjs",
"//ng-dev/pr/config:config_rjs",
"//ng-dev/pr/merge:merge_rjs",
"//ng-dev/utils:utils_rjs",
],
)

esbuild_checked_in(
name = "main",
entry_point = "//.github/local-actions/branch-manager/lib:main.ts",
target = "node16",
deps = [
"//.github/local-actions/branch-manager/lib",
srcs = [
":lib_rjs",
],
entry_point = "lib/main.ts",
format = "esm",
platform = "node",
target = "node22",
)
29 changes: 0 additions & 29 deletions .github/local-actions/branch-manager/lib/BUILD.bazel

This file was deleted.

Loading
Loading