feat(api): define v1 control-plane contract
This commit is contained in:
@@ -29,6 +29,11 @@ test('Phase 1 workspace pins pnpm and preserves the legacy service gates', async
|
||||
/^node --test$/,
|
||||
'root test must not auto-discover Vitest-only files',
|
||||
);
|
||||
assert.match(
|
||||
packageJson.scripts['test:contract'],
|
||||
/openapi-validator\.test\.ts/,
|
||||
'contract gate must include independent OpenAPI mutation tests',
|
||||
);
|
||||
assert.match(packageJson.scripts.lint, /apps/);
|
||||
assert.match(packageJson.scripts.lint, /packages\/contracts/);
|
||||
assert.match(packageJson.scripts.lint, /eslint\.config\.js/);
|
||||
|
||||
Reference in New Issue
Block a user