-
Notifications
You must be signed in to change notification settings - Fork 426
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
fix(cli): don't set tagged versions as min version #6817
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
This stack of pull requests is managed by Graphite. Learn more about stacking. |
No changes to documentation |
Component Testing Report Updated May 30, 2024 4:59 PM (UTC)
|
Co-authored-by: Espen Hovlandsdal <espen@hovlandsdal.com>
* feat(cli): build user peer-deps * chore: remove shared-modules build * test(cli): verify build config and `exports` subpaths * text(cli): add depcheck config for fixture projects * docs: update comments and test name * feat: create import map w/ installed sanity version (#6784) * feat: create import map w/ installed sanity version * fix: use correct URL
import {noopLogger} from '@sanity/telemetry' | ||
import rimrafCallback from 'rimraf' | ||
// eslint-disable-next-line @typescript-eslint/ban-ts-comment | ||
// @ts-ignore This may not yet be built. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't believe this is need anymore since it uses paths
@@ -8,7 +8,7 @@ export interface AutoUpdatesImportMap { | |||
'@sanity/vision/': string | |||
} | |||
|
|||
const MODULES_HOST = 'https://api.sanity.work' | |||
const MODULES_HOST = 'https://sanity-cdn.work' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
changing the URL, will update it further when ready
Merged into the parent |
Description
When using a canary or similar tagged version of the studio it adds that tagged version to the min version which is not allowed. This changes it so that it coerces the version and only sets the version part as the min version.
This PR also changes the host to proper one. More changes to follow there
What to review
Changes make sense
Testing
This probably requires a more general integration test suite for this which can be done after things are properly setup
Notes for release
N/A