chore: undeprecate advanced md editor (#1181)

This commit is contained in:
Mo
2022-06-29 11:02:46 -05:00
committed by GitHub
parent a4379a3e43
commit 0ecaabd859
51 changed files with 139 additions and 8434 deletions

View File

@@ -47,7 +47,7 @@
"@types/hoist-non-react-statics/@types/react": "17.0.2"
},
"dependencies": {
"@standardnotes/snjs": "^2.118.2"
"@standardnotes/snjs": "^2.118.3"
},
"devDependencies": {
"@commitlint/cli": "^17.0.2",

View File

@@ -48,13 +48,13 @@ var Editors = [
path: 'Editors/org.standardnotes.simple-task-editor',
static_files: __spreadArray([], BaseEditorStaticFiles, true),
},
];
var DeprecatedEditors = [
{
identifier: 'org.standardnotes.advanced-markdown-editor',
path: 'Deprecated/org.standardnotes.advanced-markdown-editor',
path: 'Editors/org.standardnotes.advanced-markdown-editor',
static_files: __spreadArray([], BaseEditorStaticFiles, true),
},
];
var DeprecatedEditors = [
{
identifier: 'org.standardnotes.bold-editor',
path: 'Deprecated/org.standardnotes.bold-editor',

View File

@@ -27,26 +27,24 @@ const Editors = [
path: 'Editors/org.standardnotes.standard-sheets',
static_files: [...BaseEditorStaticFiles],
},
{
identifier: 'org.standardnotes.token-vault',
path: 'Editors/org.standardnotes.token-vault',
static_files: [...BaseEditorStaticFiles],
},
{
identifier: 'org.standardnotes.simple-task-editor',
path: 'Editors/org.standardnotes.simple-task-editor',
static_files: [...BaseEditorStaticFiles],
},
{
identifier: 'org.standardnotes.advanced-markdown-editor',
path: 'Editors/org.standardnotes.advanced-markdown-editor',
static_files: [...BaseEditorStaticFiles],
},
]
const DeprecatedEditors = [
{
identifier: 'org.standardnotes.advanced-markdown-editor',
path: 'Deprecated/org.standardnotes.advanced-markdown-editor',
static_files: [...BaseEditorStaticFiles],
},
{
identifier: 'org.standardnotes.bold-editor',
path: 'Deprecated/org.standardnotes.bold-editor',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
/*! @license DOMPurify 2.3.8 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/2.3.8/LICENSE */

File diff suppressed because it is too large Load Diff

Before

Width:  |  Height:  |  Size: 434 KiB

View File

@@ -1 +0,0 @@
<!doctype html><html><head><base target="_blank"><meta charset="UTF-8"><meta name="viewport" content="width=device-width,user-scalable=no,initial-scale=1"><script src="lib/component-relay.js"></script><script src="vendor/highlightjs/highlightjs.js"></script><link rel="stylesheet" media="all" href="vendor/easymd/easymde.css"><script src="vendor/easymd/easymd.js"></script><link rel="stylesheet" media="all" href="stylekit.css"><title>Markdown Pro</title><script defer="defer" src="dist.js"></script><link href="dist.css" rel="stylesheet"></head><body class="sn-component" id="sn-advanced-markdown-editor"><textarea dir="auto" id="editor" hidden></textarea></body></html>

View File

@@ -1,6 +0,0 @@
/**
* easymde v2.16.1
* Copyright Jeroen Akkerman
* @link https://github.com/ionaru/easy-markdown-editor
* @license MIT
*/

View File

@@ -1 +0,0 @@
/*! highlight.js v9.16.2 | BSD3 License | git.io/hljslicense */

View File

@@ -11,11 +11,11 @@
},
"scripts": {
"start": "webpack serve --config webpack.dev.js --progress --hot",
"deprecated:compile": "webpack --config webpack.prod.js",
"deprecated:lint": "eslint src --ext .js",
"deprecated:lint:fix": "eslint src --ext .js --fix",
"deprecated:test": "echo \"Error: no test specified\" && exit 0",
"deprecated:format": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md"
"components:compile": "webpack --config webpack.prod.js",
"skip:lint": "eslint src --ext .js",
"skip:lint:fix": "eslint src --ext .js --fix",
"skip:test": "echo \"Error: no test specified\" && exit 0",
"skip:format": "prettier --write 'src/**/*.{html,css,scss,js,jsx,ts,tsx,json}' README.md"
},
"devDependencies": {
"@babel/cli": "^7.13.10",

View File

@@ -35,13 +35,13 @@
"@react-navigation/native": "^6.0.10",
"@react-navigation/stack": "^6.2.1",
"@standardnotes/components-meta": "workspace:*",
"@standardnotes/filepicker": "^1.16.22",
"@standardnotes/filepicker": "^1.16.23",
"@standardnotes/icons": "workspace:*",
"@standardnotes/react-native-aes": "^1.4.3",
"@standardnotes/react-native-textview": "1.1.0",
"@standardnotes/react-native-utils": "1.0.1",
"@standardnotes/sncrypto-common": "1.9.0",
"@standardnotes/snjs": "^2.118.2",
"@standardnotes/snjs": "^2.118.3",
"@standardnotes/stylekit": "5.29.3",
"@types/styled-components-react-native": "5.1.3",
"js-base64": "^3.7.2",

View File

@@ -67,11 +67,11 @@
"@reach/listbox": "^0.16.2",
"@reach/tooltip": "^0.16.2",
"@reach/visually-hidden": "^0.16.0",
"@standardnotes/filepicker": "1.16.22",
"@standardnotes/filepicker": "1.16.23",
"@standardnotes/icons": "workspace:*",
"@standardnotes/services": "^1.13.22",
"@standardnotes/services": "^1.13.23",
"@standardnotes/sncrypto-web": "1.10.1",
"@standardnotes/snjs": "^2.118.2",
"@standardnotes/snjs": "^2.118.3",
"@standardnotes/styles": "workspace:*",
"@standardnotes/toast": "workspace:*",
"@zip.js/zip.js": "^2.4.10",

148
yarn.lock
View File

@@ -4938,17 +4938,17 @@ __metadata:
languageName: node
linkType: hard
"@standardnotes/api@npm:^1.1.18":
version: 1.1.18
resolution: "@standardnotes/api@npm:1.1.18"
"@standardnotes/api@npm:^1.1.19":
version: 1.1.19
resolution: "@standardnotes/api@npm:1.1.19"
dependencies:
"@standardnotes/auth": ^3.19.4
"@standardnotes/common": ^1.23.1
"@standardnotes/encryption": ^1.8.22
"@standardnotes/responses": ^1.6.38
"@standardnotes/services": ^1.13.22
"@standardnotes/encryption": ^1.8.23
"@standardnotes/responses": ^1.6.39
"@standardnotes/services": ^1.13.23
"@standardnotes/utils": ^1.6.12
checksum: 0a58ba25ce3d80d3dbd88b3deb53306a6f5f9350f0a71f1f5c939b432442bc41a3a425686cee33e35e94a00faf17f2bab3d23b304abb45c5d0d93c1f1ff3174a
checksum: cca168245a80d333ca6433799a7cbe4a233956cace92b9e9ec45b3f67e4e907ef4f08a9573008bdf2b11a09100dc0381cff820ee5bea384407c2107c494913ba
languageName: node
linkType: hard
@@ -4962,7 +4962,7 @@ __metadata:
"@lerna-lite/list": ^1.5.1
"@lerna-lite/run": ^1.5.1
"@standardnotes/config": ^2.4.3
"@standardnotes/snjs": ^2.118.2
"@standardnotes/snjs": ^2.118.3
"@typescript-eslint/eslint-plugin": ^5.20.0
"@typescript-eslint/parser": ^5.20.0
changelog-parser: ^2.8.1
@@ -5215,6 +5215,17 @@ __metadata:
languageName: node
linkType: hard
"@standardnotes/domain-events@npm:^2.32.6":
version: 2.32.6
resolution: "@standardnotes/domain-events@npm:2.32.6"
dependencies:
"@standardnotes/auth": ^3.19.4
"@standardnotes/features": ^1.47.0
"@standardnotes/scheduler": ^1.1.2
checksum: 1c5852e776618d1505a0fc8e9f0166bf1459c0c05db67223092f41659ef1e5a83156a2886d717f74e57fa776cc20299538641adf4277e3d93567a25ef636253a
languageName: node
linkType: hard
"@standardnotes/dynamic-theme@workspace:packages/components/src/Packages/Themes/org.standardnotes.theme-dynamic":
version: 0.0.0-use.local
resolution: "@standardnotes/dynamic-theme@workspace:packages/components/src/Packages/Themes/org.standardnotes.theme-dynamic"
@@ -5274,6 +5285,17 @@ __metadata:
languageName: node
linkType: hard
"@standardnotes/encryption@npm:^1.8.23":
version: 1.8.23
resolution: "@standardnotes/encryption@npm:1.8.23"
dependencies:
"@standardnotes/models": ^1.11.13
"@standardnotes/responses": ^1.6.39
"@standardnotes/services": ^1.13.23
checksum: b86df01dc7d76eb170bd5d7cbe17b04d4c77ff657fda19cfc66a4e72d143016407ffc1434063e19d7f80a7a953df113a60712cba4a22be4a7ab7f125311a77e5
languageName: node
linkType: hard
"@standardnotes/eslint-config-extensions@npm:1.0.1":
version: 1.0.1
resolution: "@standardnotes/eslint-config-extensions@npm:1.0.1"
@@ -5302,7 +5324,28 @@ __metadata:
languageName: node
linkType: hard
"@standardnotes/filepicker@npm:1.16.22, @standardnotes/filepicker@npm:^1.16.22":
"@standardnotes/features@npm:^1.47.0":
version: 1.47.0
resolution: "@standardnotes/features@npm:1.47.0"
dependencies:
"@standardnotes/auth": ^3.19.4
"@standardnotes/common": ^1.23.1
checksum: bd0ddd6017867e7c905dfdbac4875889713b3f10e79a2e702cc76c3f5db4c9a5ac1a2418e54358aaee4f4404e4d62b208faa755c61bc2eb3e5a2a17777dfbdd0
languageName: node
linkType: hard
"@standardnotes/filepicker@npm:1.16.23, @standardnotes/filepicker@npm:^1.16.23":
version: 1.16.23
resolution: "@standardnotes/filepicker@npm:1.16.23"
dependencies:
"@standardnotes/common": ^1.23.1
"@standardnotes/services": ^1.13.23
"@standardnotes/utils": ^1.6.12
checksum: 8b1eca3f4ee5d821bf0e7aaa859a0d6204b1083adf168db2d9deac9984d2d4b13d04cb018c8b545d26c2a8f2fc262d140e3e43bd4c91f0c9aebabee42bcd92f7
languageName: node
linkType: hard
"@standardnotes/filepicker@npm:^1.16.22":
version: 1.16.22
resolution: "@standardnotes/filepicker@npm:1.16.22"
dependencies:
@@ -5327,6 +5370,20 @@ __metadata:
languageName: node
linkType: hard
"@standardnotes/files@npm:^1.3.23":
version: 1.3.23
resolution: "@standardnotes/files@npm:1.3.23"
dependencies:
"@standardnotes/encryption": ^1.8.23
"@standardnotes/filepicker": ^1.16.23
"@standardnotes/models": ^1.11.13
"@standardnotes/responses": ^1.6.39
"@standardnotes/services": ^1.13.23
"@standardnotes/utils": ^1.6.12
checksum: 923dbd892ebfe015f19a1fab0a46f0c00edecd89d92873be121fcb3b3ca71b0e9a6bd2bb69b421a5591adc7df19930ceb116f56be3dd45eca708cf0f05e1d05b
languageName: node
linkType: hard
"@standardnotes/filesafe-bar@workspace:packages/components/src/Packages/Deprecated/org.standardnotes.file-safe":
version: 0.0.0-use.local
resolution: "@standardnotes/filesafe-bar@workspace:packages/components/src/Packages/Deprecated/org.standardnotes.file-safe"
@@ -5453,9 +5510,9 @@ __metadata:
languageName: unknown
linkType: soft
"@standardnotes/markdown-hybrid@workspace:packages/components/src/Packages/Deprecated/org.standardnotes.advanced-markdown-editor":
"@standardnotes/markdown-hybrid@workspace:packages/components/src/Packages/Editors/org.standardnotes.advanced-markdown-editor":
version: 0.0.0-use.local
resolution: "@standardnotes/markdown-hybrid@workspace:packages/components/src/Packages/Deprecated/org.standardnotes.advanced-markdown-editor"
resolution: "@standardnotes/markdown-hybrid@workspace:packages/components/src/Packages/Editors/org.standardnotes.advanced-markdown-editor"
dependencies:
"@babel/cli": ^7.13.10
"@babel/core": ^7.13.13
@@ -5612,13 +5669,13 @@ __metadata:
"@react-navigation/stack": ^6.2.1
"@standardnotes/components-meta": "workspace:*"
"@standardnotes/config": ^2.4.3
"@standardnotes/filepicker": ^1.16.22
"@standardnotes/filepicker": ^1.16.23
"@standardnotes/icons": "workspace:*"
"@standardnotes/react-native-aes": ^1.4.3
"@standardnotes/react-native-textview": 1.1.0
"@standardnotes/react-native-utils": 1.0.1
"@standardnotes/sncrypto-common": 1.9.0
"@standardnotes/snjs": ^2.118.2
"@standardnotes/snjs": ^2.118.3
"@standardnotes/stylekit": 5.29.3
"@types/detox": ^18.1.0
"@types/faker": ^6.6.9
@@ -5703,6 +5760,17 @@ __metadata:
languageName: node
linkType: hard
"@standardnotes/models@npm:^1.11.13":
version: 1.11.13
resolution: "@standardnotes/models@npm:1.11.13"
dependencies:
"@standardnotes/features": ^1.47.0
"@standardnotes/responses": ^1.6.39
"@standardnotes/utils": ^1.6.12
checksum: 063f4382b8559f23a81db0a3aab7eca023c926f2069182f364da6dbfb0d312c300bc9dd29a1d389ba5fa1e7c04d8375c625bfc4eb073cad938511493e2976b5a
languageName: node
linkType: hard
"@standardnotes/react-native-aes@npm:^1.4.3":
version: 1.4.3
resolution: "@standardnotes/react-native-aes@npm:1.4.3"
@@ -5751,6 +5819,17 @@ __metadata:
languageName: node
linkType: hard
"@standardnotes/responses@npm:^1.6.39":
version: 1.6.39
resolution: "@standardnotes/responses@npm:1.6.39"
dependencies:
"@standardnotes/auth": ^3.19.4
"@standardnotes/common": ^1.23.1
"@standardnotes/features": ^1.47.0
checksum: 0ea1d4d5b88f51e6b1b0b6d1ba3b0226f53969ed2be2985b4d2e42914a2ba29121be950f9fccfc590778a7765dcb729eeea75f10cf35237e15d46e4413b83672
languageName: node
linkType: hard
"@standardnotes/rich-text@workspace:packages/components/src/Packages/Editors/org.standardnotes.plus-editor":
version: 0.0.0-use.local
resolution: "@standardnotes/rich-text@workspace:packages/components/src/Packages/Editors/org.standardnotes.plus-editor"
@@ -5802,6 +5881,19 @@ __metadata:
languageName: node
linkType: hard
"@standardnotes/services@npm:^1.13.23":
version: 1.13.23
resolution: "@standardnotes/services@npm:1.13.23"
dependencies:
"@standardnotes/auth": ^3.19.4
"@standardnotes/common": ^1.23.1
"@standardnotes/models": ^1.11.13
"@standardnotes/responses": ^1.6.39
"@standardnotes/utils": ^1.6.12
checksum: 7e67af13c4eb845c6bcbbac46897b94fe4754a728dba04605ccfbd96da49a0b305299fd3db9778a29488c5b29cf1ac4db08c28844e3ed95a2a872595376e1dc6
languageName: node
linkType: hard
"@standardnotes/settings@npm:^1.15.0":
version: 1.15.0
resolution: "@standardnotes/settings@npm:1.15.0"
@@ -5864,25 +5956,25 @@ __metadata:
languageName: node
linkType: hard
"@standardnotes/snjs@npm:^2.118.2":
version: 2.118.2
resolution: "@standardnotes/snjs@npm:2.118.2"
"@standardnotes/snjs@npm:^2.118.3":
version: 2.118.3
resolution: "@standardnotes/snjs@npm:2.118.3"
dependencies:
"@standardnotes/api": ^1.1.18
"@standardnotes/api": ^1.1.19
"@standardnotes/auth": ^3.19.4
"@standardnotes/common": ^1.23.1
"@standardnotes/domain-events": ^2.32.5
"@standardnotes/encryption": ^1.8.22
"@standardnotes/features": ^1.46.0
"@standardnotes/files": ^1.3.22
"@standardnotes/models": ^1.11.12
"@standardnotes/responses": ^1.6.38
"@standardnotes/services": ^1.13.22
"@standardnotes/domain-events": ^2.32.6
"@standardnotes/encryption": ^1.8.23
"@standardnotes/features": ^1.47.0
"@standardnotes/files": ^1.3.23
"@standardnotes/models": ^1.11.13
"@standardnotes/responses": ^1.6.39
"@standardnotes/services": ^1.13.23
"@standardnotes/settings": ^1.15.0
"@standardnotes/sncrypto-common": ^1.9.0
"@standardnotes/utils": ^1.6.12
semver: ^7.3.7
checksum: 65ccedcced28af1d9fdc9a9294e72b138f1bc23395dc87add5b442484abf5ce274921f9ec614f841c8f0630aba61c954afe33a03a06992b876a37381fa03bc3e
checksum: 96219fce6c2ca00b3dc91259b26a96ff1f87740e724a3c3970682f4592babe652ae3373a01be9cfc69dbe7a7e86f01601e9df65a47a8d543eecfa33896cc6d41
languageName: node
linkType: hard
@@ -6070,11 +6162,11 @@ __metadata:
"@reach/listbox": ^0.16.2
"@reach/tooltip": ^0.16.2
"@reach/visually-hidden": ^0.16.0
"@standardnotes/filepicker": 1.16.22
"@standardnotes/filepicker": 1.16.23
"@standardnotes/icons": "workspace:*"
"@standardnotes/services": ^1.13.22
"@standardnotes/services": ^1.13.23
"@standardnotes/sncrypto-web": 1.10.1
"@standardnotes/snjs": ^2.118.2
"@standardnotes/snjs": ^2.118.3
"@standardnotes/styles": "workspace:*"
"@standardnotes/toast": "workspace:*"
"@types/jest": ^27.4.1