Commit Graph

7 Commits

Author SHA1 Message Date
Karol Sójko
e5771fcbde feat: add @standardnotes/encryption package (#1199)
* feat: add @standardnotes/encryption package

* fix: mobile dependency on encryption package

* fix: order of build & lint in pr workflows

* fix: web dependency on encryption package

* fix: remove encryption package composite configuration

* fix: import order
2022-07-05 10:06:03 +02:00
Mo
e83452785c fix(mobile): force redownload of themes if unable to parse first time (#1150) 2022-06-24 07:37:49 -05:00
Vardan Hakobyan
7d60dfee73 feat: mobile workspaces (#1093) 2022-06-21 06:42:43 -05:00
Mo
12a2369d17 refactor: mobile components (#1113)
* fix(mobile): freeze web-server assets to zips for mobile 3.23.3

Mobile 3.23.3 fetches components zips from the web-server cdn. This however causes upgraded cdn versions to fail when downloading from older mobile versions. This commit instead fetches versioned zips from an external cdn based on the static version of the app requesting the asset.

Since web-server is no longer needed as a cdn, we will temporarily freeze its zip assets to those that would be requested by Mobile 3.23.3, and commit them to source control so they remain unchanged.

web-server/public/components/assets will remain as-is (dynamically copied during build time of server), and not commited to source control. This cdn directory is only used by the web app.

* chore: disable commitlint length rule

* chore: clear git cache

* refactor: use package name from package file
2022-06-17 16:12:12 -05:00
Mo
dc10a5cb25 refactor: rely on component versions from checksums file (#1111) 2022-06-16 11:56:32 -05:00
Mo
566f6e1432 refactor: components cdn (#1110)
* refactor(wip): separate components files into zips and assets dir

* refactor(wip): use new components package and cdn in mobile

* chore: add components to metro config

* chore: bump snjs with new web assets path

* refactor: exclude package.json files recursively from being copied into components dist folder to avoid conflicts with react native duplicates
2022-06-15 16:00:23 -05:00
Mo
8248a38280 feat: mobile app package (#1075) 2022-06-09 09:45:15 -05:00