镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

chore(librarian): configure package_name for non-cloud libraries - #9321

Merged
zhumin8 merged 4 commits into
googleapis:mainfrom
zhumin8:add-custom-package-prefixes
Sep 21, 2026
Merged

zhumin8 merged 4 commits into
googleapis:mainfrom
zhumin8:add-custom-package-prefixes

Conversation

@zhumin8

@zhumin8 zhumin8 commented Sep 14, 2026 •

Copy link
Copy Markdown
Contributor

Explicitly set nodejs.package_name for the remaining 8 non-cloud libraries that lacked it:

  • @google-ads/admanager
  • @google-ads/datamanager
  • @google-ai/generativelanguage
  • @google-analytics/admin
  • @google-analytics/data
  • @google-apps/meet
  • @google-maps/isochrones
  • @google-shopping/css

Verified no generation diff introduced by this change.

For googleapis/librarian#7558

…arian to v0.43.0

Update pinned librarian version to v0.43.0 and explicitly set
nodejs.package_name for the remaining 8 non-cloud libraries that lacked it:
- @google-ads/admanager
- @google-ads/datamanager
- @google-ai/generativelanguage
- @google-analytics/admin
- @google-analytics/data
- @google-apps/meet
- @google-maps/isochrones
- @google-shopping/css

This prepares google-cloud-node for strict package_name validation in
Librarian and eliminates reliance on the legacy 2-dash fallback.

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the librarian configuration version to v0.43.0 and adds explicit Node.js package names for several libraries in librarian.yaml, including admanager, datamanager, generativelanguage, admin, data, meet, isochrones, and css. There are no review comments, and I have no feedback to provide.

@zhumin8 zhumin8 changed the title chore: configure package_name for non-cloud libraries and update librarian to v0.43.0 chore: configure package_name for non-cloud libraries Sep 14, 2026
@zhumin8
zhumin8 marked this pull request as ready for review September 14, 2026 17:36
@zhumin8
zhumin8 requested a review from JoeWang1127 September 14, 2026 17:37
@github-actions
github-actions Bot requested a review from shivanee-p September 14, 2026 17:37
@zhumin8 zhumin8 changed the title chore: configure package_name for non-cloud libraries chore(librarian): configure package_name for non-cloud libraries Sep 15, 2026
@zhumin8
zhumin8 merged commit 8800ee7 into googleapis:main Sep 21, 2026
53 of 57 checks passed
zhumin8 added a commit to googleapis/librarian that referenced this pull request Sep 21, 2026
…7634)

Derives standard Node.js package names (@google-cloud/<suffix>) during
defaults resolution instead of during generator argument construction.
The generator now requires nodejs.package_name to be set and fails fast
with an explanatory error when it is missing.

Non-cloud APIs and custom scopes are populated during library onboarding
via custom package prefixes or configured explicitly in librarian.yaml.
Moving derivation upstream establishes a single source of truth for the
entire generation pipeline and removes redundant runtime guesswork.

This is re-apply of #7575,
after googleapis/google-cloud-node#9321 is
merged. Do not expect generation diff in google-cloud-node.

Fixes #7558
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants