Skip to content
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

Closed
wants to merge 13 commits into from
Closed

Conversation

binoy14
Copy link
Contributor

@binoy14 binoy14 commented May 30, 2024

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

Copy link

vercel bot commented May 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
page-building-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2024 5:03pm
performance-studio ✅ Ready (Inspect) Visit Preview May 30, 2024 5:03pm
test-compiled-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2024 5:03pm
test-next-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2024 5:03pm
test-studio ✅ Ready (Inspect) Visit Preview 💬 Add feedback May 30, 2024 5:03pm
1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
studio-workshop ⬜️ Ignored (Inspect) Visit Preview May 30, 2024 5:03pm

Copy link
Contributor Author

binoy14 commented May 30, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @binoy14 and the rest of your teammates on Graphite Graphite

Copy link
Contributor

No changes to documentation

Copy link
Contributor

github-actions bot commented May 30, 2024

Component Testing Report Updated May 30, 2024 4:59 PM (UTC)

File Status Duration Passed Skipped Failed
comments/CommentInput.spec.tsx ✅ Passed (Inspect) 35s 15 0 0
formBuilder/ArrayInput.spec.tsx ✅ Passed (Inspect) 6s 3 0 0
formBuilder/inputs/PortableText/Annotations.spec.tsx ✅ Passed (Inspect) 26s 6 0 0
formBuilder/inputs/PortableText/copyPaste/CopyPaste.spec.tsx ✅ Passed (Inspect) 31s 11 7 0
formBuilder/inputs/PortableText/Decorators.spec.tsx ✅ Passed (Inspect) 14s 6 0 0
formBuilder/inputs/PortableText/DisableFocusAndUnset.spec.tsx ✅ Passed (Inspect) 8s 3 0 0
formBuilder/inputs/PortableText/FocusTracking.spec.tsx ✅ Passed (Inspect) 36s 15 0 0
formBuilder/inputs/PortableText/Input.spec.tsx ✅ Passed (Inspect) 1m 16s 21 0 0
formBuilder/inputs/PortableText/ObjectBlock.spec.tsx ✅ Passed (Inspect) 1m 4s 18 0 0
formBuilder/inputs/PortableText/PresenceCursors.spec.tsx ✅ Passed (Inspect) 8s 3 9 0
formBuilder/inputs/PortableText/RangeDecoration.spec.tsx ✅ Passed (Inspect) 21s 9 0 0
formBuilder/inputs/PortableText/Styles.spec.tsx ✅ Passed (Inspect) 15s 6 0 0
formBuilder/inputs/PortableText/Toolbar.spec.tsx ✅ Passed (Inspect) 30s 12 0 0

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.
Copy link
Contributor Author

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'
Copy link
Contributor Author

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

@binoy14 binoy14 marked this pull request as ready for review May 31, 2024 15:17
@binoy14 binoy14 requested a review from a team as a code owner May 31, 2024 15:17
@binoy14 binoy14 requested review from ricokahler, rexxars and cngonzalez and removed request for a team May 31, 2024 15:17
@binoy14
Copy link
Contributor Author

binoy14 commented May 31, 2024

Merged into the parent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants