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
This commit is contained in:
Mo
2022-06-15 16:00:23 -05:00
committed by GitHub
parent d7b61e0376
commit 566f6e1432
633 changed files with 295 additions and 1065 deletions

View File

@@ -32,7 +32,7 @@
"@react-navigation/elements": "^1.3.3",
"@react-navigation/native": "^6.0.10",
"@react-navigation/stack": "^6.2.1",
"@standardnotes/components": "1.9.1",
"@standardnotes/components-meta": "workspace:*",
"@standardnotes/filepicker": "^1.16.14",
"@standardnotes/icons": "workspace:*",
"@standardnotes/react-native-aes": "^1.4.3",
@@ -122,6 +122,10 @@
"jest": {
"preset": "react-native"
},
"componentsCdn": {
"dev": "https://app-dev.standardnotes.com/components/zips",
"prod": "https://app.standardnotes.com/components/zips"
},
"detox": {
"configurations": {
"ios.sim.debug": {