WORKSPACE_MISSING_CONFORMANCE_SCRIPT
Last updated March 4, 2025
Conformance is available on Enterprise plans
Conformance requires a script to exist in every workspace in the
repository. This makes sure that Conformance rules are running on all code.
This test throws an error if a workspace does not define a conformance script
in the package.json file.
A workspace contains a package.json file that looks like:
package.json
{
"name": "test-workspace",
"scripts": {
"build": "tsc -b"
}
}It does not contain a conformance script, so this check will fail.
Install the @vercel-private/conformance package in this workspace and define
a conformance script in the package.json file.
package.json
{
"name": "test-workspace",
"scripts": {
"build": "tsc -b",
"conformance": "vercel conformance"
},
"devDependencies": {
"@vercel-private/conformance": "^1.0.0"
}
}Was this helpful?