Commit Graph

10 Commits

Author SHA1 Message Date
Johnny A
7b51131082 fix: build components with dependencies (#1132)
* fix: build components with dependencies

* fix: exclude @standardnotes/components-meta

* chore: update yarn.lock

* fix: remove compile script from VERSION.sh

* fix: skip lint script

* fix: components script names

* fix: build script for components

* fix: run tsc within build script

Co-authored-by: Johnny Almonte <johnny243@users.noreply.github.com>
2022-06-21 20:13:26 -04:00
Mo
7dcd5abe20 chore: fix components packaging script 2022-06-17 16:24:08 -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
957f58ac6c chore(workflow): fix desktop sums 2022-06-17 08:56:10 -05:00
Mo
e94132ff28 chore(workflow): compile components with latest version set 2022-06-17 08:23:27 -05:00
Mo
e4bef17dfa chore(workflow): fix desktop checksums script 2022-06-17 07:41:32 -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
8c8c2dc009 chore: fix components publish 2022-06-14 16:36:06 -05:00
Mo
e3d6001a17 feat(wip): components monorepo (#1082) 2022-06-10 10:15:44 -05:00