Problem
Several packages in this monorepo have incorrect repository and homepage fields in their package.json files. npmjs.com uses these fields to render the Repository and Homepage links on each package's page — so incorrect values send users to the wrong repo or a broken URL.
Specific issues found:
- Wrong URL prefix — root
package.json and containers/node-bootstrap-container/package.json use git+https:// instead of https://
- Stale repo URL — all
core/ packages still reference the old google-cloud-node-core.git repo instead of google-cloud-node.git, and their directory and homepage paths are missing the core/ prefix
- Wrong
directory/homepage values in three packages:
google-cloud-beyondcorp-clientconnectorservices points to clientgateways
google-cloud-mediatranslation has a typo (media-translatation)
google-cloud-workflows points to google-cloud-workflows-executions
- String
repository fields — 37 samples/ and other package.json files use the shorthand string form (e.g. "googleapis/nodejs-asset") pointing to old individual repos instead of a proper object pointing to the monorepo
Expected
All repository fields should be objects with:
type: "git"
url: "https://github.com/googleapis/google-cloud-node.git"
directory: the package's path within the monorepo
And homepage should point to https://github.com/googleapis/google-cloud-node/tree/main/<directory>.
Problem
Several packages in this monorepo have incorrect
repositoryandhomepagefields in theirpackage.jsonfiles. npmjs.com uses these fields to render the Repository and Homepage links on each package's page — so incorrect values send users to the wrong repo or a broken URL.Specific issues found:
package.jsonandcontainers/node-bootstrap-container/package.jsonusegit+https://instead ofhttps://core/packages still reference the oldgoogle-cloud-node-core.gitrepo instead ofgoogle-cloud-node.git, and theirdirectoryandhomepagepaths are missing thecore/prefixdirectory/homepagevalues in three packages:google-cloud-beyondcorp-clientconnectorservicespoints toclientgatewaysgoogle-cloud-mediatranslationhas a typo (media-translatation)google-cloud-workflowspoints togoogle-cloud-workflows-executionsrepositoryfields — 37samples/and other package.json files use the shorthand string form (e.g."googleapis/nodejs-asset") pointing to old individual repos instead of a proper object pointing to the monorepoExpected
All
repositoryfields should be objects with:type:"git"url:"https://github.com/googleapis/google-cloud-node.git"directory: the package's path within the monorepoAnd
homepageshould point tohttps://github.com/googleapis/google-cloud-node/tree/main/<directory>.