ci: expand shared package validation and test coverage
- Add lint, formatting, vet, and publish workflow checks - Run Go database tests with PostgreSQL and add Java tests - Make consumer sync opt-in; update docs and Go dependency
This commit is contained in:
1 parent
937f51b4fb
commit
0ff94f9b10
107 files changed
+10124
-410
No files matched your search
@@ -100,13 +100,11 @@ async function updatePackageJson(packageJsonPath) {
|
||||
return { changed, changes };
|
||||
}
|
||||
|
||||
// this repo has no root package.json / npm workspaces (unlike the monorepo this was extracted
|
||||
// from), so there's no "workspaces" array to discover packages from. webui/ is the only local npm
|
||||
// package whose dependency versions this repo owns and should bump directly. shared/package.json
|
||||
// is intentionally excluded: it's a vendored, byte-for-byte copy synced in from the separate
|
||||
// shared repo (see scripts/sync-shared.mjs) and any local edit to it would just be overwritten by
|
||||
// the next sync — dependency bumps for shared/ belong upstream in that repo instead.
|
||||
const LOCAL_PACKAGE_DIRS = ['webui'];
|
||||
// The root package.json declares npm workspaces (packages/*). The local packages whose dependency
|
||||
// versions this repo owns and bumps directly are listed here. Vendored copies of this library in
|
||||
// other repositories are not listed: any local edit to them would be overwritten by the next sync,
|
||||
// so bumps for them belong upstream.
|
||||
const LOCAL_PACKAGE_DIRS = ['packages/web-ui', 'packages/node-backend'];
|
||||
|
||||
async function main() {
|
||||
const packageJsonPaths = LOCAL_PACKAGE_DIRS.map(dir => path.join(repoRoot, dir, 'package.json'));
|
||||
|
||||
Reference in new issue
Block a user