-
Notifications
You must be signed in to change notification settings - Fork 441
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cli): remote template bootstrapper to support write token #8277
base: next
Are you sure you want to change the base?
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
No changes to documentation |
Component Testing Report Updated Jan 15, 2025 10:36 AM (UTC) ❌ Failed Tests (2) -- expand for details
|
⚡️ Editor Performance ReportUpdated Wed, 15 Jan 2025 10:36:36 GMT
Detailed information🏠 Reference resultThe performance result of
🧪 Experiment resultThe performance result of this branch
📚 Glossary
|
Description
Allow the remote template bootstrapper to generate a write token by specifying it in your .env.example.
I'm using the earlier implementation of
generateSanityApiReadToken
, but renamed it togenerateSanityApiToken
, and added an arg for specifying the role of the token.What to review
Testing
cd packages/@sanity/cli
pnpm install
pnpm run build && npm link
sanity init --template https://github.com/sanity-io/nextjs-blog-cms-sanity-v3
(this template expects a write token)Notes for release
Tbd if we need one