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

@@ -1,14 +0,0 @@
{
"name": "@standardnotes/advanced-checklist",
"version": "0.0.1",
"description": "A task editor with grouping functionality.",
"keywords": [
"Standard Notes",
"Standard Notes Extensions"
],
"private": true,
"license": "AGPL-3.0-or-later",
"sn": {
"main": "index.html"
}
}

View File

@@ -1,22 +0,0 @@
{
"name": "markdown-visual",
"version": "0.1.0",
"author": "Johnny Almonte <johnny@standardnotes.com>",
"description": "A lightweight WYSIWYG markdown editor, derivated from Milkdown editor",
"keywords": [
"Standard Notes",
"Standard Notes Extensions"
],
"private": true,
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",
"url": "https://github.com/standardnotes/markdown-visual.git"
},
"bugs": {
"url": "https://github.com/standardnotes/markdown-visual/issues"
},
"sn": {
"main": "build/index.html"
}
}

View File

@@ -96,7 +96,7 @@ module.exports = function (grunt) {
{
expand: true,
cwd: path.dirname(require.resolve('sn-codemirror-search')),
src: '**',
src: ['**', '!package.json'],
dest: 'dist/sn-codemirror-search',
},
],