refactor: extract components to plugin repo (#1933)

This commit is contained in:
Mo
2022-11-04 11:04:53 -05:00
committed by GitHub
parent 5bba4820e4
commit 77d5093f14
1927 changed files with 1655 additions and 167892 deletions

View File

@@ -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,

View File

@@ -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>