refactor: extract components to plugin repo (#1933)
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import Components from '../../components/package.json' assert { type: 'json' }
|
||||
import Desktop from '../../desktop/package.json' assert { type: 'json' }
|
||||
import Mobile from '../../mobile/package.json' assert { type: 'json' }
|
||||
import Web from '../../web/package.json' assert { type: 'json' }
|
||||
@@ -11,7 +10,6 @@ const BaseFileName = `standard-notes-${DesktopVersion}`
|
||||
const ReleaseUrl = `${CdnUrl}${DesktopPackageName}@${DesktopVersion}/${BaseFileName}`.replaceAll('@', '%40')
|
||||
|
||||
const Versions = {
|
||||
[Components.name]: Components.version,
|
||||
[Desktop.name]: Desktop.version,
|
||||
[Mobile.name]: Mobile.version,
|
||||
[Web.name]: Web.version,
|
||||
|
||||
@@ -14,11 +14,7 @@ export type Platform =
|
||||
| 'WinX64Exe'
|
||||
| 'WinExe'
|
||||
|
||||
export type Package =
|
||||
| '@standardnotes/mobile'
|
||||
| '@standardnotes/desktop'
|
||||
| '@standardnotes/components-meta'
|
||||
| '@standardnotes/web'
|
||||
export type Package = '@standardnotes/mobile' | '@standardnotes/desktop' | '@standardnotes/web'
|
||||
|
||||
export type Versions = Record<Package, string>
|
||||
export type Downloads = Record<Platform, string>
|
||||
|
||||
Reference in New Issue
Block a user