fix: require name field in TPMJS spec, add workflow permissions
Breaking change for TPMJS spec: - Remove `exportName` field support from TpmjsToolDefinitionSchema - Make `name` field required (replaces deprecated `exportName`) - Update create-basic-tools to generate `name` field - Update sync routes to use `name` from validated schema - Add `permissions: contents: write` to Vercel registry sync workflow Packages using the old `exportName` field must update to use `name`.
This commit is contained in:
parent
b7ea9bf4d6
commit
5e795bc086
5 changed files with 22 additions and 38 deletions
3
.github/workflows/sync-vercel-registry.yml
vendored
3
.github/workflows/sync-vercel-registry.yml
vendored
|
|
@ -12,6 +12,9 @@ on:
|
|||
paths:
|
||||
- 'sync-vercel-registry.ts'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
|
||||
jobs:
|
||||
sync-vercel:
|
||||
runs-on: ubuntu-latest
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue