update marketplace url to reflect build version (#2914)

* update marketplace url to reflect build version

* adjust marketplace config

* use helper function to compare urls

* rework some registry stuff

* #2900, #2899, and other registry changes

* alpha.1

* trailing /

* add startosRegistry

* fix migration

---------

Co-authored-by: Matt Hill <mattnine@protonmail.com>
Co-authored-by: Aiden McClelland <me@drbonez.dev>
Co-authored-by: Aiden McClelland <3732071+dr-bonez@users.noreply.github.com>
This commit is contained in:
Lucy
2025-04-29 16:12:21 -04:00
committed by GitHub
parent 2adf34fbaf
commit 5c473eb9cc
63 changed files with 733 additions and 470 deletions

View File

Before

Width:  |  Height:  |  Size: 16 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 42 KiB

View File

@@ -7,11 +7,6 @@ export type WorkspaceConfig = {
url: string
version: string
}
marketplace: MarketplaceConfig
startosRegistry:
| 'https://alpha-registry-x.start9.com/'
| 'https://beta-registry.start9.com/'
| 'https://registry.start9.com/'
mocks: {
maskAs: 'tor' | 'local' | 'localhost' | 'ipv4' | 'ipv6' | 'clearnet'
maskAsHttps: boolean
@@ -20,7 +15,13 @@ export type WorkspaceConfig = {
}
}
export interface MarketplaceConfig {
start9: 'https://registry.start9.com/'
community: 'https://community-registry.start9.com/'
}
export const defaultRegistries = {
start9: 'https://registry.start9.com/',
community: 'https://community-registry.start9.com/',
} as const
export const knownRegistries = {
...defaultRegistries,
start9Alpha: 'https://alpha-registry-x.start9.com/',
start9Beta: 'https://beta-registry.start9.com/',
} as const