npm @sanity/default-login 2.33.3
v2.33.3

latest releases: 2.36.6, 2.36.4, 2.36.2...
2 years ago

Upgrade the Command Line Interface (CLI) with:

npm install --global @sanity/cli

Upgrade Sanity Studio with:

sanity upgrade

✨ Highlights

New CLI flags!

We've added a few new flags to make automation easier!

The --force flag was added to a few already existing commands and will skip the confirmation prompt and proceed with the command:

sanity dataset alias unlink <alias-name> --force

sanity dataset alias delete <alias-name> --force

sanity dataset delete <dataset-name> --force

sanity graphql undeploy --dataset <dataset-name> --force

When added, the --no-open flag prevents the login page from automatically opening in the browser.

sanity login --provider <provider-name> --no-open

📓 Full changelog

Author Message Commit
Per-Kristian Nordnes fix(form-builder): fix dialog issue with toplayer caused by omnipresent layer 0d87380
Per-Kristian Nordnes fix(form-builder): workaround weird Chrome bug related to flex and spellchecking a8713a8
Espen Hovlandsdal feat(cli): add --no-open flag to login command 4c38a3d
Espen Hovlandsdal feat(cli): add --force flag to sanity dataset delete command bb08c41
Espen Hovlandsdal feat(cli): add --force flag for dataset alias unlink command bc012e5
Espen Hovlandsdal feat(core): add --force flag to dataset alias delete command 6d2a077
Fred Carlsen fix(desk-tool): silence warning about animating stroke dash offset 2b9fb7d
Fred Carlsen fix(base): tag bifur requests ae7e560
Espen Hovlandsdal feat(core): add --force flag to graphql undeploy command eb9684e
Bjørge Næss perf(desk-tool): optimize useTimeAgo 7a44a7d

Don't miss a new default-login release

NewReleases is sending notifications on new releases.