chore: upgrade web deps and lexical (#2094)

This commit is contained in:
Mo
2022-12-19 11:11:32 -06:00
committed by GitHub
parent e8ada146e1
commit 889f245ab9
62 changed files with 516 additions and 211 deletions

View File

@@ -7,11 +7,11 @@
"tsc": "tsc -p tsconfig.json"
},
"dependencies": {
"@lexical/react": "^0.6.0",
"@lexical/react": "^0.6.5",
"@standardnotes/icons": "workspace:*",
"@types/react": "^18.0.25",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"lexical": "^0.6.0",
"lexical": "^0.6.5",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},

View File

@@ -28,8 +28,8 @@
"@babel/plugin-transform-react-jsx": "^7.19.0",
"@babel/preset-env": "*",
"@babel/preset-typescript": "^7.18.6",
"@lexical/react": "^0.6.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.9",
"@lexical/react": "^0.6.5",
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
"@reach/alert": "^0.18.0",
"@reach/alert-dialog": "^0.18.0",
"@reach/checkbox": "^0.18.0",
@@ -59,43 +59,43 @@
"@standardnotes/sncrypto-web": "workspace:*",
"@standardnotes/snjs": "workspace:*",
"@standardnotes/solarized-dark-theme": "^1.4.6",
"@standardnotes/spreadsheets": "^1.6.7",
"@standardnotes/spreadsheets": "^1.7.0",
"@standardnotes/styles": "workspace:*",
"@standardnotes/titanium-theme": "^1.4.7",
"@standardnotes/toast": "workspace:*",
"@standardnotes/ui-services": "workspace:^",
"@types/jest": "^29.2.3",
"@types/react": "^18.0.25",
"@types/jest": "^29.2.4",
"@types/react": "^18.0.26",
"@types/react-dom": "^18.0.9",
"@types/styled-components": "^5.1.26",
"@types/wicg-file-system-access": "^2020.9.5",
"@zip.js/zip.js": "^2.6.54",
"@zip.js/zip.js": "^2.6.60",
"autoprefixer": "^10.4.13",
"babel-loader": "^9.1.0",
"circular-dependency-plugin": "^5.2.2",
"copy-webpack-plugin": "^11.0.0",
"css-loader": "*",
"dayjs": "^1.11.6",
"dayjs": "^1.11.7",
"dotenv": "^16.0.3",
"eslint": "^8.27.0",
"eslint": "^8.29.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-react": "^7.31.10",
"eslint-plugin-react": "^7.31.11",
"eslint-plugin-react-hooks": "^4.6.0",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"lexical": "0.6.0",
"lexical": "0.6.5",
"lint-staged": ">=13",
"mini-css-extract-plugin": "^2.6.1",
"minimatch": "^5.1.0",
"mini-css-extract-plugin": "^2.7.2",
"minimatch": "^5.1.1",
"mobx": "^6.7.0",
"mobx-react-lite": "^3.4.0",
"node-sass": "^8.0.0",
"npm-check-updates": "*",
"postcss": "^8.4.19",
"postcss-loader": "^7.0.1",
"postcss-loader": "^7.0.2",
"prettier": "*",
"prettier-plugin-tailwindcss": "^0.1.13",
"prettier-plugin-tailwindcss": "^0.2.0",
"qrcode.react": "^3.1.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
@@ -105,7 +105,7 @@
"svg-jest": "^1.0.1",
"tailwindcss": "^3.2.4",
"ts-jest": "^29.0.3",
"ts-loader": "^9.4.1",
"ts-loader": "^9.4.2",
"typescript": "*",
"webpack": "*",
"webpack-dev-server": "*",

View File

@@ -44,7 +44,7 @@ const PackagesPreferencesSection: FunctionComponent<Props> = ({
const uninstallExtension = async (extension: AnyPackageType) => {
application.alertService
.confirm(
'Are you sure you want to uninstall this extension? Note that extensions managed by your subscription will automatically be re-installed on application restart.',
'Are you sure you want to uninstall this plugin? Note that plugins managed by your subscription will automatically be re-installed on application restart.',
'Uninstall Extension?',
'Uninstall',
ButtonType.Danger,
@@ -118,10 +118,10 @@ const PackagesPreferencesSection: FunctionComponent<Props> = ({
<div>
{!confirmableExtension && (
<PreferencesSegment>
<Subtitle>Install External Package</Subtitle>
<Subtitle>Install External Plugin</Subtitle>
<div className={'mt-2'}>
<DecoratedInput
placeholder={'Enter Package URL'}
placeholder={'Enter Plugin URL'}
value={customUrl}
onChange={(value) => {
setCustomUrl(value)