From 44cc05c8cd9996b2c65197082e17645a30748018 Mon Sep 17 00:00:00 2001 From: zbeyens Date: Sat, 30 Sep 2023 23:53:00 +0200 Subject: [PATCH 1/5] =?UTF-8?q?=F0=9F=91=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/tsup.config.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/tsup.config.ts b/config/tsup.config.ts index 05fd9c8c15..1516da602e 100644 --- a/config/tsup.config.ts +++ b/config/tsup.config.ts @@ -15,7 +15,10 @@ export default defineConfig((opts) => { format: ['cjs', 'esm'], external: [], skipNodeModulesBundle: true, - dts: true, + dts: { + only: true, + resolve: false, + }, sourcemap: true, clean: true, minify: false, From e7d09254d0a2c11aac27bde19ba7af9c753183fa Mon Sep 17 00:00:00 2001 From: zbeyens Date: Sat, 30 Sep 2023 23:55:09 +0200 Subject: [PATCH 2/5] =?UTF-8?q?=F0=9F=91=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/cyan-rules-thank.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/cyan-rules-thank.md diff --git a/.changeset/cyan-rules-thank.md b/.changeset/cyan-rules-thank.md new file mode 100644 index 0000000000..6f2c013b8f --- /dev/null +++ b/.changeset/cyan-rules-thank.md @@ -0,0 +1,6 @@ +--- +'@udecode/slate': patch +'@udecode/plate-test-utils': patch +--- + +fix build (types) From 5cb9a037a8174677cee31fcc4e78841c9db22186 Mon Sep 17 00:00:00 2001 From: zbeyens Date: Sun, 1 Oct 2023 02:42:12 +0200 Subject: [PATCH 3/5] =?UTF-8?q?=F0=9F=91=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/eslint/bases/next.cjs | 14 + config/tsup.config.ts | 1 - package.json | 2 +- packages/autoformat/package.json | 3 +- packages/cli/src/utils/get-package-info.ts | 1 + packages/comments/package.json | 3 +- packages/core/package.json | 2 + .../core/src/types/PlateRenderLeafProps.ts | 3 +- .../src/types/slate-react/TEditableProps.ts | 3 +- packages/dnd/package.json | 1 + packages/floating/package.json | 1 + packages/font/package.json | 3 +- packages/indent-list/package.json | 3 +- packages/list/package.json | 3 +- packages/node-id/package.json | 3 +- packages/normalizers/package.json | 3 +- packages/plate-utils/package.json | 4 +- packages/plate/src/index.tsx | 1 - packages/serializer-md/package.json | 3 + .../src/types/TRenderLeafProps.ts | 4 +- packages/slate-react/src/types/index.ts | 1 + packages/slate/src/types/index.ts | 1 - packages/slate/src/utils/match.ts | 6 +- packages/slate/src/utils/queryNode.ts | 6 +- packages/table/package.json | 3 +- packages/yjs/src/withTCursors.ts | 1 + packages/yjs/src/yjsStore.ts | 2 +- yarn.lock | 361 +++++++++--------- 28 files changed, 247 insertions(+), 195 deletions(-) rename packages/{slate => slate-react}/src/types/TRenderLeafProps.ts (75%) diff --git a/config/eslint/bases/next.cjs b/config/eslint/bases/next.cjs index 42331a6c26..1f0caa0d5f 100644 --- a/config/eslint/bases/next.cjs +++ b/config/eslint/bases/next.cjs @@ -33,6 +33,20 @@ module.exports = { 'import/prefer-default-export': 'off', }, overrides: [ + { + files: ['**/packages/**'], + excludedFiles: ['**/*.test.*', '**/*.spec.*', '**/*.fixtures.*', '**/__tests__/**/*', '**/apps/**/*'], + rules: { + 'import/no-extraneous-dependencies': [ + 'error', + { + devDependencies: false, + includeInternal: false, + includeTypes: false, + }, + ], + } + }, { files: ['apps/www/next.config.mjs'], rules: { diff --git a/config/tsup.config.ts b/config/tsup.config.ts index 1516da602e..77bc094361 100644 --- a/config/tsup.config.ts +++ b/config/tsup.config.ts @@ -13,7 +13,6 @@ export default defineConfig((opts) => { ...opts, entry: [INPUT_FILE], format: ['cjs', 'esm'], - external: [], skipNodeModulesBundle: true, dts: { only: true, diff --git a/package.json b/package.json index 6355990aa8..2ca2af0c9f 100644 --- a/package.json +++ b/package.json @@ -32,7 +32,7 @@ "gen:package": "yarn plop --plopfile scripts/plop/plopfile.cjs package", "g:dev": "turbo --filter=www dev", "g:dev:cli": "yarn workspace @udecode/plate-ui dev", - "g:lint": "turbo lint", + "g:lint": "turbo --filter \"./packages/**\" lint", "g:lint:fix": "turbo lint:fix", "g:lint:apps": "turbo --filter=www lint && cd templates/plate-playground-template && pnpm lint", "g:lint:apps:fix": "turbo --filter=www lint --fix && cd templates/plate-playground-template && pnpm lint:fix", diff --git a/packages/autoformat/package.json b/packages/autoformat/package.json index aa9edfb3c5..78e3aa1dc5 100644 --- a/packages/autoformat/package.json +++ b/packages/autoformat/package.json @@ -39,7 +39,8 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-common": "24.3.0" + "@udecode/plate-common": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/cli/src/utils/get-package-info.ts b/packages/cli/src/utils/get-package-info.ts index 668808eddf..559667c22a 100644 --- a/packages/cli/src/utils/get-package-info.ts +++ b/packages/cli/src/utils/get-package-info.ts @@ -1,5 +1,6 @@ import path from 'path'; import fs from 'fs-extra'; +// eslint-disable-next-line import/no-extraneous-dependencies import { type PackageJson } from 'type-fest'; /** diff --git a/packages/comments/package.json b/packages/comments/package.json index 091b88b433..d4279dd479 100644 --- a/packages/comments/package.json +++ b/packages/comments/package.json @@ -39,7 +39,8 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-common": "24.3.0" + "@udecode/plate-common": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/core/package.json b/packages/core/package.json index c8ece9a7f6..cbaa41f4a6 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -41,6 +41,7 @@ "dependencies": { "@udecode/slate": "24.3.0", "@udecode/slate-react": "24.3.0", + "@udecode/slate-utils": "24.3.0", "@udecode/utils": "24.3.0", "@udecode/zustood": "^1.1.3", "clsx": "^1.2.1", @@ -57,6 +58,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/core/src/types/PlateRenderLeafProps.ts b/packages/core/src/types/PlateRenderLeafProps.ts index b96c58657e..2428840b28 100644 --- a/packages/core/src/types/PlateRenderLeafProps.ts +++ b/packages/core/src/types/PlateRenderLeafProps.ts @@ -1,4 +1,5 @@ -import { EText, TRenderLeafProps, TText, Value } from '@udecode/slate'; +import { EText, TText, Value } from '@udecode/slate'; +import { TRenderLeafProps } from '@udecode/slate-react'; import { PlateRenderNodeProps } from './PlateRenderNodeProps'; diff --git a/packages/core/src/types/slate-react/TEditableProps.ts b/packages/core/src/types/slate-react/TEditableProps.ts index b7ebbf8687..8c6fd3efe3 100644 --- a/packages/core/src/types/slate-react/TEditableProps.ts +++ b/packages/core/src/types/slate-react/TEditableProps.ts @@ -1,4 +1,5 @@ -import { RenderLeafFn, TNodeEntry } from '@udecode/slate'; +import { TNodeEntry } from '@udecode/slate'; +import { RenderLeafFn } from '@udecode/slate-react'; import { Range } from 'slate'; import { EditableProps } from 'slate-react/dist/components/editable'; diff --git a/packages/dnd/package.json b/packages/dnd/package.json index c3718f55a3..477845fca4 100644 --- a/packages/dnd/package.json +++ b/packages/dnd/package.json @@ -40,6 +40,7 @@ }, "dependencies": { "@udecode/plate-common": "24.3.0", + "lodash": "^4.17.21", "raf": "^3.4.1" }, "peerDependencies": { diff --git a/packages/floating/package.json b/packages/floating/package.json index 6421020d67..9bc6cb726e 100644 --- a/packages/floating/package.json +++ b/packages/floating/package.json @@ -39,6 +39,7 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { + "@floating-ui/core": "^1.3.1", "@floating-ui/react": "^0.22.3", "@radix-ui/react-dropdown-menu": "^2.0.5", "@udecode/plate-common": "24.3.0" diff --git a/packages/font/package.json b/packages/font/package.json index 07a0fb6856..9f9463bd98 100644 --- a/packages/font/package.json +++ b/packages/font/package.json @@ -39,7 +39,8 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-common": "24.3.0" + "@udecode/plate-common": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/indent-list/package.json b/packages/indent-list/package.json index 3bd6bea367..41457d35a9 100644 --- a/packages/indent-list/package.json +++ b/packages/indent-list/package.json @@ -41,7 +41,8 @@ "dependencies": { "@udecode/plate-common": "24.3.0", "@udecode/plate-indent": "24.3.0", - "@udecode/plate-list": "24.3.0" + "@udecode/plate-list": "24.3.0", + "clsx": "^1.2.1" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/list/package.json b/packages/list/package.json index d090013de3..2b282066f9 100644 --- a/packages/list/package.json +++ b/packages/list/package.json @@ -40,7 +40,8 @@ }, "dependencies": { "@udecode/plate-common": "24.3.0", - "@udecode/plate-reset-node": "24.3.0" + "@udecode/plate-reset-node": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/node-id/package.json b/packages/node-id/package.json index 81ab2ba58f..38932a0ee8 100644 --- a/packages/node-id/package.json +++ b/packages/node-id/package.json @@ -39,7 +39,8 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-common": "24.3.0" + "@udecode/plate-common": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/normalizers/package.json b/packages/normalizers/package.json index d67ac2a63c..25c889152d 100644 --- a/packages/normalizers/package.json +++ b/packages/normalizers/package.json @@ -39,7 +39,8 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { - "@udecode/plate-common": "24.3.0" + "@udecode/plate-common": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/plate-utils/package.json b/packages/plate-utils/package.json index 116dbba272..1c648e77aa 100644 --- a/packages/plate-utils/package.json +++ b/packages/plate-utils/package.json @@ -44,7 +44,9 @@ "@udecode/slate": "24.3.0", "@udecode/slate-react": "24.3.0", "@udecode/slate-utils": "24.3.0", - "@udecode/utils": "24.3.0" + "@udecode/utils": "24.3.0", + "clsx": "^1.2.1", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/plate/src/index.tsx b/packages/plate/src/index.tsx index 4bac7925ec..d890cf146e 100644 --- a/packages/plate/src/index.tsx +++ b/packages/plate/src/index.tsx @@ -12,7 +12,6 @@ export * from '@udecode/plate-code-block'; export * from '@udecode/plate-combobox'; export * from '@udecode/plate-comments'; export * from '@udecode/plate-common'; -export * from '@udecode/plate-emoji'; export * from '@udecode/plate-find-replace'; export * from '@udecode/plate-floating'; export * from '@udecode/plate-font'; diff --git a/packages/serializer-md/package.json b/packages/serializer-md/package.json index cc023e0197..fea13aa26f 100644 --- a/packages/serializer-md/package.json +++ b/packages/serializer-md/package.json @@ -39,12 +39,15 @@ "typecheck": "yarn p:typecheck" }, "dependencies": { + "@udecode/plate-basic-marks": "24.3.0", "@udecode/plate-block-quote": "24.3.0", "@udecode/plate-code-block": "24.3.0", "@udecode/plate-common": "24.3.0", "@udecode/plate-heading": "24.3.0", + "@udecode/plate-horizontal-rule": "24.3.0", "@udecode/plate-link": "24.3.0", "@udecode/plate-list": "24.3.0", + "@udecode/plate-media": "24.3.0", "@udecode/plate-paragraph": "24.3.0", "remark-parse": "^9.0.0", "unified": "^9.2.2" diff --git a/packages/slate/src/types/TRenderLeafProps.ts b/packages/slate-react/src/types/TRenderLeafProps.ts similarity index 75% rename from packages/slate/src/types/TRenderLeafProps.ts rename to packages/slate-react/src/types/TRenderLeafProps.ts index 5fc9604d1a..cbf63907c1 100644 --- a/packages/slate/src/types/TRenderLeafProps.ts +++ b/packages/slate-react/src/types/TRenderLeafProps.ts @@ -1,9 +1,7 @@ +import { EText, TText, Value } from '@udecode/slate'; import { Modify } from '@udecode/utils'; import { RenderLeafProps } from 'slate-react'; -import { Value } from '../interfaces/editor/TEditor'; -import { EText, TText } from '../interfaces/text/TText'; - export type TRenderLeafProps< V extends Value = Value, N extends TText = EText, diff --git a/packages/slate-react/src/types/index.ts b/packages/slate-react/src/types/index.ts index 657db70da2..60787c6d8b 100644 --- a/packages/slate-react/src/types/index.ts +++ b/packages/slate-react/src/types/index.ts @@ -4,3 +4,4 @@ export * from './SlateProps'; export * from './TReactEditor'; +export * from './TRenderLeafProps'; diff --git a/packages/slate/src/types/index.ts b/packages/slate/src/types/index.ts index cd1fcd897e..ba15677321 100644 --- a/packages/slate/src/types/index.ts +++ b/packages/slate/src/types/index.ts @@ -6,5 +6,4 @@ export * from './NodeMatchOption'; export * from './QueryEditorOptions'; export * from './QueryNodeOptions'; export * from './TOperation'; -export * from './TRenderLeafProps'; export * from './interfaces'; diff --git a/packages/slate/src/utils/match.ts b/packages/slate/src/utils/match.ts index 6876570304..4ae20ccfd2 100644 --- a/packages/slate/src/utils/match.ts +++ b/packages/slate/src/utils/match.ts @@ -1,5 +1,3 @@ -import { castArray } from 'lodash'; - import { isBlock } from '../interfaces/editor/isBlock'; import { TEditor, Value } from '../interfaces/editor/TEditor'; import { ENode, TNode } from '../interfaces/node/TNode'; @@ -9,6 +7,10 @@ export type PredicateObj = Record; export type PredicateFn = (obj: T, path: TPath) => boolean; export type Predicate = PredicateObj | PredicateFn; +function castArray(value: T | T[]): T[] { + return Array.isArray(value) ? value : [value]; +} + /** * Match the object with a predicate object or function. * If predicate is: diff --git a/packages/slate/src/utils/queryNode.ts b/packages/slate/src/utils/queryNode.ts index 056e09eb79..05c0cb9dad 100644 --- a/packages/slate/src/utils/queryNode.ts +++ b/packages/slate/src/utils/queryNode.ts @@ -1,8 +1,10 @@ -import castArray from 'lodash/castArray'; - import { TNode, TNodeEntry } from '../interfaces'; import { QueryNodeOptions } from '../types/QueryNodeOptions'; +function castArray(value: T | T[]): T[] { + return Array.isArray(value) ? value : [value]; +} + /** * Query the node entry. */ diff --git a/packages/table/package.json b/packages/table/package.json index 044a5cd2bc..6906e37e49 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -40,7 +40,8 @@ }, "dependencies": { "@udecode/plate-common": "24.3.0", - "@udecode/plate-resizable": "24.3.0" + "@udecode/plate-resizable": "24.3.0", + "lodash": "^4.17.21" }, "peerDependencies": { "react": ">=16.8.0", diff --git a/packages/yjs/src/withTCursors.ts b/packages/yjs/src/withTCursors.ts index 9ce5b26137..ce87556aaf 100644 --- a/packages/yjs/src/withTCursors.ts +++ b/packages/yjs/src/withTCursors.ts @@ -1,5 +1,6 @@ import { CursorEditor, withCursors, WithCursorsOptions } from '@slate-yjs/core'; import { TEditor, Value } from '@udecode/plate-common'; +// eslint-disable-next-line import/no-extraneous-dependencies import { Awareness } from 'y-protocols/awareness'; import { YjsEditorProps } from './withTYjs'; diff --git a/packages/yjs/src/yjsStore.ts b/packages/yjs/src/yjsStore.ts index ea4fa01806..af14183c37 100644 --- a/packages/yjs/src/yjsStore.ts +++ b/packages/yjs/src/yjsStore.ts @@ -1,4 +1,4 @@ -import { createStore } from '@udecode/zustood'; +import { createStore } from '@udecode/plate-common'; export const yjsStore = createStore('yjs')({ isConnected: false, diff --git a/yarn.lock b/yarn.lock index 2acf3d48b9..4db1d25a05 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7071,11 +7071,11 @@ __metadata: languageName: node linkType: hard -"@udecode/plate-alignment@npm:24.2.0, @udecode/plate-alignment@workspace:^, @udecode/plate-alignment@workspace:packages/alignment": +"@udecode/plate-alignment@npm:24.3.0, @udecode/plate-alignment@workspace:^, @udecode/plate-alignment@workspace:packages/alignment": version: 0.0.0-use.local resolution: "@udecode/plate-alignment@workspace:packages/alignment" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7085,11 +7085,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-autoformat@npm:24.2.0, @udecode/plate-autoformat@workspace:^, @udecode/plate-autoformat@workspace:packages/autoformat": +"@udecode/plate-autoformat@npm:24.3.0, @udecode/plate-autoformat@workspace:^, @udecode/plate-autoformat@workspace:packages/autoformat": version: 0.0.0-use.local resolution: "@udecode/plate-autoformat@workspace:packages/autoformat" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7099,15 +7100,15 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-basic-elements@npm:24.2.0, @udecode/plate-basic-elements@workspace:^, @udecode/plate-basic-elements@workspace:packages/basic-elements": +"@udecode/plate-basic-elements@npm:24.3.0, @udecode/plate-basic-elements@workspace:^, @udecode/plate-basic-elements@workspace:packages/basic-elements": version: 0.0.0-use.local resolution: "@udecode/plate-basic-elements@workspace:packages/basic-elements" dependencies: - "@udecode/plate-block-quote": "npm:24.2.0" - "@udecode/plate-code-block": "npm:24.2.0" - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-heading": "npm:24.2.0" - "@udecode/plate-paragraph": "npm:24.2.0" + "@udecode/plate-block-quote": "npm:24.3.0" + "@udecode/plate-code-block": "npm:24.3.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-heading": "npm:24.3.0" + "@udecode/plate-paragraph": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7117,11 +7118,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-basic-marks@npm:24.2.0, @udecode/plate-basic-marks@workspace:^, @udecode/plate-basic-marks@workspace:packages/basic-marks": +"@udecode/plate-basic-marks@npm:24.3.0, @udecode/plate-basic-marks@workspace:^, @udecode/plate-basic-marks@workspace:packages/basic-marks": version: 0.0.0-use.local resolution: "@udecode/plate-basic-marks@workspace:packages/basic-marks" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7131,11 +7132,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-block-quote@npm:24.2.0, @udecode/plate-block-quote@workspace:^, @udecode/plate-block-quote@workspace:packages/block-quote": +"@udecode/plate-block-quote@npm:24.3.0, @udecode/plate-block-quote@workspace:^, @udecode/plate-block-quote@workspace:packages/block-quote": version: 0.0.0-use.local resolution: "@udecode/plate-block-quote@workspace:packages/block-quote" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7145,11 +7146,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-break@npm:24.2.0, @udecode/plate-break@workspace:^, @udecode/plate-break@workspace:packages/break": +"@udecode/plate-break@npm:24.3.0, @udecode/plate-break@workspace:^, @udecode/plate-break@workspace:packages/break": version: 0.0.0-use.local resolution: "@udecode/plate-break@workspace:packages/break" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7163,7 +7164,7 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-caption@workspace:packages/caption" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" react-textarea-autosize: "npm:^8.5.2" peerDependencies: react: ">=16.8.0" @@ -7179,7 +7180,7 @@ __metadata: resolution: "@udecode/plate-cloud@workspace:packages/cloud" dependencies: "@portive/client": "npm:10.0.3" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" delay: "npm:5.0.0" p-defer: "npm:^3.0.0" peerDependencies: @@ -7191,11 +7192,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-code-block@npm:24.2.0, @udecode/plate-code-block@workspace:^, @udecode/plate-code-block@workspace:packages/code-block": +"@udecode/plate-code-block@npm:24.3.0, @udecode/plate-code-block@workspace:^, @udecode/plate-code-block@workspace:packages/code-block": version: 0.0.0-use.local resolution: "@udecode/plate-code-block@workspace:packages/code-block" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" prismjs: "npm:^1.29.0" peerDependencies: react: ">=16.8.0" @@ -7206,11 +7207,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-combobox@npm:24.2.0, @udecode/plate-combobox@workspace:^, @udecode/plate-combobox@workspace:packages/combobox": +"@udecode/plate-combobox@npm:24.3.0, @udecode/plate-combobox@workspace:^, @udecode/plate-combobox@workspace:packages/combobox": version: 0.0.0-use.local resolution: "@udecode/plate-combobox@workspace:packages/combobox" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" downshift: "npm:^6.1.12" peerDependencies: react: ">=16.8.0" @@ -7221,11 +7222,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-comments@npm:24.2.0, @udecode/plate-comments@workspace:^, @udecode/plate-comments@workspace:packages/comments": +"@udecode/plate-comments@npm:24.3.0, @udecode/plate-comments@workspace:^, @udecode/plate-comments@workspace:packages/comments": version: 0.0.0-use.local resolution: "@udecode/plate-comments@workspace:packages/comments" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7235,16 +7237,16 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-common@npm:24.2.0, @udecode/plate-common@workspace:^, @udecode/plate-common@workspace:packages/common": +"@udecode/plate-common@npm:24.3.0, @udecode/plate-common@workspace:^, @udecode/plate-common@workspace:packages/common": version: 0.0.0-use.local resolution: "@udecode/plate-common@workspace:packages/common" dependencies: - "@udecode/plate-core": "npm:24.0.2" - "@udecode/plate-utils": "npm:24.2.0" - "@udecode/slate": "npm:23.7.4" - "@udecode/slate-react": "npm:24.0.0" - "@udecode/slate-utils": "npm:24.2.0" - "@udecode/utils": "npm:19.7.1" + "@udecode/plate-core": "npm:24.3.0" + "@udecode/plate-utils": "npm:24.3.0" + "@udecode/slate": "npm:24.3.0" + "@udecode/slate-react": "npm:24.3.0" + "@udecode/slate-utils": "npm:24.3.0" + "@udecode/utils": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7254,13 +7256,14 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-core@npm:24.0.2, @udecode/plate-core@workspace:^, @udecode/plate-core@workspace:packages/core": +"@udecode/plate-core@npm:24.3.0, @udecode/plate-core@workspace:^, @udecode/plate-core@workspace:packages/core": version: 0.0.0-use.local resolution: "@udecode/plate-core@workspace:packages/core" dependencies: - "@udecode/slate": "npm:23.7.4" - "@udecode/slate-react": "npm:24.0.0" - "@udecode/utils": "npm:19.7.1" + "@udecode/slate": "npm:24.3.0" + "@udecode/slate-react": "npm:24.3.0" + "@udecode/slate-utils": "npm:24.3.0" + "@udecode/utils": "npm:24.3.0" "@udecode/zustood": "npm:^1.1.3" clsx: "npm:^1.2.1" is-hotkey: "npm:^0.2.0" @@ -7275,6 +7278,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7283,7 +7287,7 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-cursor@workspace:packages/cursor" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7297,7 +7301,8 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-dnd@workspace:packages/dnd" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + lodash: "npm:^4.17.21" raf: "npm:^3.4.1" peerDependencies: react: ">=16.8.0" @@ -7315,8 +7320,8 @@ __metadata: resolution: "@udecode/plate-emoji@workspace:packages/emoji" dependencies: "@emoji-mart/data": "npm:^1.1.2" - "@udecode/plate-combobox": "npm:24.2.0" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-combobox": "npm:24.3.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7331,7 +7336,7 @@ __metadata: resolution: "@udecode/plate-excalidraw@workspace:packages/excalidraw" dependencies: "@excalidraw/excalidraw": "npm:0.12.0" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7341,11 +7346,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-find-replace@npm:24.2.0, @udecode/plate-find-replace@workspace:^, @udecode/plate-find-replace@workspace:packages/find-replace": +"@udecode/plate-find-replace@npm:24.3.0, @udecode/plate-find-replace@workspace:^, @udecode/plate-find-replace@workspace:packages/find-replace": version: 0.0.0-use.local resolution: "@udecode/plate-find-replace@workspace:packages/find-replace" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7355,13 +7360,14 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-floating@npm:24.2.0, @udecode/plate-floating@workspace:^, @udecode/plate-floating@workspace:packages/floating": +"@udecode/plate-floating@npm:24.3.0, @udecode/plate-floating@workspace:^, @udecode/plate-floating@workspace:packages/floating": version: 0.0.0-use.local resolution: "@udecode/plate-floating@workspace:packages/floating" dependencies: + "@floating-ui/core": "npm:^1.3.1" "@floating-ui/react": "npm:^0.22.3" "@radix-ui/react-dropdown-menu": "npm:^2.0.5" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7371,11 +7377,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-font@npm:24.2.0, @udecode/plate-font@workspace:^, @udecode/plate-font@workspace:packages/font": +"@udecode/plate-font@npm:24.3.0, @udecode/plate-font@workspace:^, @udecode/plate-font@workspace:packages/font": version: 0.0.0-use.local resolution: "@udecode/plate-font@workspace:packages/font" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7385,11 +7392,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-heading@npm:24.2.0, @udecode/plate-heading@workspace:^, @udecode/plate-heading@workspace:packages/heading": +"@udecode/plate-heading@npm:24.3.0, @udecode/plate-heading@workspace:^, @udecode/plate-heading@workspace:packages/heading": version: 0.0.0-use.local resolution: "@udecode/plate-heading@workspace:packages/heading" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7399,11 +7406,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-highlight@npm:24.2.0, @udecode/plate-highlight@workspace:^, @udecode/plate-highlight@workspace:packages/highlight": +"@udecode/plate-highlight@npm:24.3.0, @udecode/plate-highlight@workspace:^, @udecode/plate-highlight@workspace:packages/highlight": version: 0.0.0-use.local resolution: "@udecode/plate-highlight@workspace:packages/highlight" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7413,11 +7420,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-horizontal-rule@npm:24.2.0, @udecode/plate-horizontal-rule@workspace:^, @udecode/plate-horizontal-rule@workspace:packages/horizontal-rule": +"@udecode/plate-horizontal-rule@npm:24.3.0, @udecode/plate-horizontal-rule@workspace:^, @udecode/plate-horizontal-rule@workspace:packages/horizontal-rule": version: 0.0.0-use.local resolution: "@udecode/plate-horizontal-rule@workspace:packages/horizontal-rule" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7427,13 +7434,14 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-indent-list@npm:24.2.0, @udecode/plate-indent-list@workspace:^, @udecode/plate-indent-list@workspace:packages/indent-list": +"@udecode/plate-indent-list@npm:24.3.0, @udecode/plate-indent-list@workspace:^, @udecode/plate-indent-list@workspace:packages/indent-list": version: 0.0.0-use.local resolution: "@udecode/plate-indent-list@workspace:packages/indent-list" dependencies: - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-indent": "npm:24.2.0" - "@udecode/plate-list": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-indent": "npm:24.3.0" + "@udecode/plate-list": "npm:24.3.0" + clsx: "npm:^1.2.1" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7443,11 +7451,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-indent@npm:24.2.0, @udecode/plate-indent@workspace:^, @udecode/plate-indent@workspace:packages/indent": +"@udecode/plate-indent@npm:24.3.0, @udecode/plate-indent@workspace:^, @udecode/plate-indent@workspace:packages/indent": version: 0.0.0-use.local resolution: "@udecode/plate-indent@workspace:packages/indent" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7461,7 +7469,7 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-juice@workspace:packages/juice" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" juice: "npm:^8.1.0" peerDependencies: react: ">=16.8.0" @@ -7472,11 +7480,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-kbd@npm:24.2.0, @udecode/plate-kbd@workspace:^, @udecode/plate-kbd@workspace:packages/kbd": +"@udecode/plate-kbd@npm:24.3.0, @udecode/plate-kbd@workspace:^, @udecode/plate-kbd@workspace:packages/kbd": version: 0.0.0-use.local resolution: "@udecode/plate-kbd@workspace:packages/kbd" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7486,11 +7494,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-line-height@npm:24.2.0, @udecode/plate-line-height@workspace:^, @udecode/plate-line-height@workspace:packages/line-height": +"@udecode/plate-line-height@npm:24.3.0, @udecode/plate-line-height@workspace:^, @udecode/plate-line-height@workspace:packages/line-height": version: 0.0.0-use.local resolution: "@udecode/plate-line-height@workspace:packages/line-height" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7500,13 +7508,13 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-link@npm:24.2.0, @udecode/plate-link@workspace:^, @udecode/plate-link@workspace:packages/link": +"@udecode/plate-link@npm:24.3.0, @udecode/plate-link@workspace:^, @udecode/plate-link@workspace:packages/link": version: 0.0.0-use.local resolution: "@udecode/plate-link@workspace:packages/link" dependencies: - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-floating": "npm:24.2.0" - "@udecode/plate-normalizers": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-floating": "npm:24.3.0" + "@udecode/plate-normalizers": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7516,12 +7524,13 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-list@npm:24.2.0, @udecode/plate-list@workspace:^, @udecode/plate-list@workspace:packages/list": +"@udecode/plate-list@npm:24.3.0, @udecode/plate-list@workspace:^, @udecode/plate-list@workspace:packages/list": version: 0.0.0-use.local resolution: "@udecode/plate-list@workspace:packages/list" dependencies: - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-reset-node": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-reset-node": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7531,11 +7540,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-media@npm:24.2.0, @udecode/plate-media@workspace:^, @udecode/plate-media@workspace:packages/media": +"@udecode/plate-media@npm:24.3.0, @udecode/plate-media@workspace:^, @udecode/plate-media@workspace:packages/media": version: 0.0.0-use.local resolution: "@udecode/plate-media@workspace:packages/media" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" js-video-url-parser: "npm:^0.5.1" peerDependencies: react: ">=16.8.0" @@ -7546,12 +7555,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-mention@npm:24.2.0, @udecode/plate-mention@workspace:^, @udecode/plate-mention@workspace:packages/mention": +"@udecode/plate-mention@npm:24.3.0, @udecode/plate-mention@workspace:^, @udecode/plate-mention@workspace:packages/mention": version: 0.0.0-use.local resolution: "@udecode/plate-mention@workspace:packages/mention" dependencies: - "@udecode/plate-combobox": "npm:24.2.0" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-combobox": "npm:24.3.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7561,11 +7570,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-node-id@npm:24.2.0, @udecode/plate-node-id@workspace:^, @udecode/plate-node-id@workspace:packages/node-id": +"@udecode/plate-node-id@npm:24.3.0, @udecode/plate-node-id@workspace:^, @udecode/plate-node-id@workspace:packages/node-id": version: 0.0.0-use.local resolution: "@udecode/plate-node-id@workspace:packages/node-id" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7575,11 +7585,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-normalizers@npm:24.2.0, @udecode/plate-normalizers@workspace:^, @udecode/plate-normalizers@workspace:packages/normalizers": +"@udecode/plate-normalizers@npm:24.3.0, @udecode/plate-normalizers@workspace:^, @udecode/plate-normalizers@workspace:packages/normalizers": version: 0.0.0-use.local resolution: "@udecode/plate-normalizers@workspace:packages/normalizers" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7589,11 +7600,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-paragraph@npm:24.2.0, @udecode/plate-paragraph@workspace:^, @udecode/plate-paragraph@workspace:packages/paragraph": +"@udecode/plate-paragraph@npm:24.3.0, @udecode/plate-paragraph@workspace:^, @udecode/plate-paragraph@workspace:packages/paragraph": version: 0.0.0-use.local resolution: "@udecode/plate-paragraph@workspace:packages/paragraph" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7603,11 +7614,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-reset-node@npm:24.2.0, @udecode/plate-reset-node@workspace:^, @udecode/plate-reset-node@workspace:packages/reset-node": +"@udecode/plate-reset-node@npm:24.3.0, @udecode/plate-reset-node@workspace:^, @udecode/plate-reset-node@workspace:packages/reset-node": version: 0.0.0-use.local resolution: "@udecode/plate-reset-node@workspace:packages/reset-node" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7617,11 +7628,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-resizable@npm:24.2.0, @udecode/plate-resizable@workspace:^, @udecode/plate-resizable@workspace:packages/resizable": +"@udecode/plate-resizable@npm:24.3.0, @udecode/plate-resizable@workspace:^, @udecode/plate-resizable@workspace:packages/resizable": version: 0.0.0-use.local resolution: "@udecode/plate-resizable@workspace:packages/resizable" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7631,11 +7642,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-select@npm:24.2.0, @udecode/plate-select@workspace:^, @udecode/plate-select@workspace:packages/select": +"@udecode/plate-select@npm:24.3.0, @udecode/plate-select@workspace:^, @udecode/plate-select@workspace:packages/select": version: 0.0.0-use.local resolution: "@udecode/plate-select@workspace:packages/select" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7649,7 +7660,7 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-selection@workspace:packages/selection" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" "@viselect/vanilla": "npm:3.2.5" copy-to-clipboard: "npm:^3.3.3" peerDependencies: @@ -7661,13 +7672,13 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-serializer-csv@npm:24.2.0, @udecode/plate-serializer-csv@workspace:^, @udecode/plate-serializer-csv@workspace:packages/serializer-csv": +"@udecode/plate-serializer-csv@npm:24.3.0, @udecode/plate-serializer-csv@workspace:^, @udecode/plate-serializer-csv@workspace:packages/serializer-csv": version: 0.0.0-use.local resolution: "@udecode/plate-serializer-csv@workspace:packages/serializer-csv" dependencies: "@types/papaparse": "npm:^5.3.7" - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-table": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-table": "npm:24.3.0" papaparse: "npm:^5.4.1" peerDependencies: react: ">=16.8.0" @@ -7679,17 +7690,17 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-serializer-docx@npm:24.2.0, @udecode/plate-serializer-docx@workspace:^, @udecode/plate-serializer-docx@workspace:packages/serializer-docx": +"@udecode/plate-serializer-docx@npm:24.3.0, @udecode/plate-serializer-docx@workspace:^, @udecode/plate-serializer-docx@workspace:packages/serializer-docx": version: 0.0.0-use.local resolution: "@udecode/plate-serializer-docx@workspace:packages/serializer-docx" dependencies: - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-heading": "npm:24.2.0" - "@udecode/plate-indent": "npm:24.2.0" - "@udecode/plate-indent-list": "npm:24.2.0" - "@udecode/plate-media": "npm:24.2.0" - "@udecode/plate-paragraph": "npm:24.2.0" - "@udecode/plate-table": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-heading": "npm:24.3.0" + "@udecode/plate-indent": "npm:24.3.0" + "@udecode/plate-indent-list": "npm:24.3.0" + "@udecode/plate-media": "npm:24.3.0" + "@udecode/plate-paragraph": "npm:24.3.0" + "@udecode/plate-table": "npm:24.3.0" validator: "npm:^13.9.0" peerDependencies: react: ">=16.8.0" @@ -7701,12 +7712,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-serializer-html@npm:24.2.0, @udecode/plate-serializer-html@workspace:^, @udecode/plate-serializer-html@workspace:packages/serializer-html": +"@udecode/plate-serializer-html@npm:24.3.0, @udecode/plate-serializer-html@workspace:^, @udecode/plate-serializer-html@workspace:packages/serializer-html": version: 0.0.0-use.local resolution: "@udecode/plate-serializer-html@workspace:packages/serializer-html" dependencies: "@types/papaparse": "npm:^5.3.7" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" html-entities: "npm:^2.4.0" peerDependencies: react: ">=16.8.0" @@ -7718,17 +7729,20 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-serializer-md@npm:24.2.0, @udecode/plate-serializer-md@workspace:^, @udecode/plate-serializer-md@workspace:packages/serializer-md": +"@udecode/plate-serializer-md@npm:24.3.0, @udecode/plate-serializer-md@workspace:^, @udecode/plate-serializer-md@workspace:packages/serializer-md": version: 0.0.0-use.local resolution: "@udecode/plate-serializer-md@workspace:packages/serializer-md" dependencies: - "@udecode/plate-block-quote": "npm:24.2.0" - "@udecode/plate-code-block": "npm:24.2.0" - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-heading": "npm:24.2.0" - "@udecode/plate-link": "npm:24.2.0" - "@udecode/plate-list": "npm:24.2.0" - "@udecode/plate-paragraph": "npm:24.2.0" + "@udecode/plate-basic-marks": "npm:24.3.0" + "@udecode/plate-block-quote": "npm:24.3.0" + "@udecode/plate-code-block": "npm:24.3.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-heading": "npm:24.3.0" + "@udecode/plate-horizontal-rule": "npm:24.3.0" + "@udecode/plate-link": "npm:24.3.0" + "@udecode/plate-list": "npm:24.3.0" + "@udecode/plate-media": "npm:24.3.0" + "@udecode/plate-paragraph": "npm:24.3.0" remark-parse: "npm:^9.0.0" unified: "npm:^9.2.2" peerDependencies: @@ -7740,11 +7754,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-suggestion@npm:24.2.0, @udecode/plate-suggestion@workspace:^, @udecode/plate-suggestion@workspace:packages/suggestion": +"@udecode/plate-suggestion@npm:24.3.0, @udecode/plate-suggestion@workspace:^, @udecode/plate-suggestion@workspace:packages/suggestion": version: 0.0.0-use.local resolution: "@udecode/plate-suggestion@workspace:packages/suggestion" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7754,11 +7768,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-tabbable@npm:24.2.0, @udecode/plate-tabbable@workspace:^, @udecode/plate-tabbable@workspace:packages/tabbable": +"@udecode/plate-tabbable@npm:24.3.0, @udecode/plate-tabbable@workspace:^, @udecode/plate-tabbable@workspace:packages/tabbable": version: 0.0.0-use.local resolution: "@udecode/plate-tabbable@workspace:packages/tabbable" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" tabbable: "npm:^6.2.0" peerDependencies: react: ">=16.8.0" @@ -7769,12 +7783,13 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-table@npm:24.2.0, @udecode/plate-table@workspace:^, @udecode/plate-table@workspace:packages/table": +"@udecode/plate-table@npm:24.3.0, @udecode/plate-table@workspace:^, @udecode/plate-table@workspace:packages/table": version: 0.0.0-use.local resolution: "@udecode/plate-table@workspace:packages/table" dependencies: - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-resizable": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-resizable": "npm:24.3.0" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7793,11 +7808,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-trailing-block@npm:24.2.0, @udecode/plate-trailing-block@workspace:^, @udecode/plate-trailing-block@workspace:packages/trailing-block": +"@udecode/plate-trailing-block@npm:24.3.0, @udecode/plate-trailing-block@workspace:^, @udecode/plate-trailing-block@workspace:packages/trailing-block": version: 0.0.0-use.local resolution: "@udecode/plate-trailing-block@workspace:packages/trailing-block" dependencies: - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7836,16 +7851,18 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-utils@npm:24.2.0, @udecode/plate-utils@workspace:^, @udecode/plate-utils@workspace:packages/plate-utils": +"@udecode/plate-utils@npm:24.3.0, @udecode/plate-utils@workspace:^, @udecode/plate-utils@workspace:packages/plate-utils": version: 0.0.0-use.local resolution: "@udecode/plate-utils@workspace:packages/plate-utils" dependencies: "@radix-ui/react-slot": "npm:^1.0.2" - "@udecode/plate-core": "npm:24.0.2" - "@udecode/slate": "npm:23.7.4" - "@udecode/slate-react": "npm:24.0.0" - "@udecode/slate-utils": "npm:24.2.0" - "@udecode/utils": "npm:19.7.1" + "@udecode/plate-core": "npm:24.3.0" + "@udecode/slate": "npm:24.3.0" + "@udecode/slate-react": "npm:24.3.0" + "@udecode/slate-utils": "npm:24.3.0" + "@udecode/utils": "npm:24.3.0" + clsx: "npm:^1.2.1" + lodash: "npm:^4.17.21" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7861,7 +7878,7 @@ __metadata: dependencies: "@hocuspocus/provider": "npm:^2.2.1" "@slate-yjs/core": "npm:^1.0.1" - "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-common": "npm:24.3.0" yjs: "npm:^13.5.42" peerDependencies: react: ">=16.8.0" @@ -7876,44 +7893,44 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate@workspace:packages/plate" dependencies: - "@udecode/plate-alignment": "npm:24.2.0" - "@udecode/plate-autoformat": "npm:24.2.0" - "@udecode/plate-basic-elements": "npm:24.2.0" - "@udecode/plate-basic-marks": "npm:24.2.0" - "@udecode/plate-block-quote": "npm:24.2.0" - "@udecode/plate-break": "npm:24.2.0" - "@udecode/plate-code-block": "npm:24.2.0" - "@udecode/plate-combobox": "npm:24.2.0" - "@udecode/plate-comments": "npm:24.2.0" - "@udecode/plate-common": "npm:24.2.0" - "@udecode/plate-find-replace": "npm:24.2.0" - "@udecode/plate-floating": "npm:24.2.0" - "@udecode/plate-font": "npm:24.2.0" - "@udecode/plate-heading": "npm:24.2.0" - "@udecode/plate-highlight": "npm:24.2.0" - "@udecode/plate-horizontal-rule": "npm:24.2.0" - "@udecode/plate-indent": "npm:24.2.0" - "@udecode/plate-indent-list": "npm:24.2.0" - "@udecode/plate-kbd": "npm:24.2.0" - "@udecode/plate-line-height": "npm:24.2.0" - "@udecode/plate-link": "npm:24.2.0" - "@udecode/plate-list": "npm:24.2.0" - "@udecode/plate-media": "npm:24.2.0" - "@udecode/plate-mention": "npm:24.2.0" - "@udecode/plate-node-id": "npm:24.2.0" - "@udecode/plate-normalizers": "npm:24.2.0" - "@udecode/plate-paragraph": "npm:24.2.0" - "@udecode/plate-reset-node": "npm:24.2.0" - "@udecode/plate-resizable": "npm:24.2.0" - "@udecode/plate-select": "npm:24.2.0" - "@udecode/plate-serializer-csv": "npm:24.2.0" - "@udecode/plate-serializer-docx": "npm:24.2.0" - "@udecode/plate-serializer-html": "npm:24.2.0" - "@udecode/plate-serializer-md": "npm:24.2.0" - "@udecode/plate-suggestion": "npm:24.2.0" - "@udecode/plate-tabbable": "npm:24.2.0" - "@udecode/plate-table": "npm:24.2.0" - "@udecode/plate-trailing-block": "npm:24.2.0" + "@udecode/plate-alignment": "npm:24.3.0" + "@udecode/plate-autoformat": "npm:24.3.0" + "@udecode/plate-basic-elements": "npm:24.3.0" + "@udecode/plate-basic-marks": "npm:24.3.0" + "@udecode/plate-block-quote": "npm:24.3.0" + "@udecode/plate-break": "npm:24.3.0" + "@udecode/plate-code-block": "npm:24.3.0" + "@udecode/plate-combobox": "npm:24.3.0" + "@udecode/plate-comments": "npm:24.3.0" + "@udecode/plate-common": "npm:24.3.0" + "@udecode/plate-find-replace": "npm:24.3.0" + "@udecode/plate-floating": "npm:24.3.0" + "@udecode/plate-font": "npm:24.3.0" + "@udecode/plate-heading": "npm:24.3.0" + "@udecode/plate-highlight": "npm:24.3.0" + "@udecode/plate-horizontal-rule": "npm:24.3.0" + "@udecode/plate-indent": "npm:24.3.0" + "@udecode/plate-indent-list": "npm:24.3.0" + "@udecode/plate-kbd": "npm:24.3.0" + "@udecode/plate-line-height": "npm:24.3.0" + "@udecode/plate-link": "npm:24.3.0" + "@udecode/plate-list": "npm:24.3.0" + "@udecode/plate-media": "npm:24.3.0" + "@udecode/plate-mention": "npm:24.3.0" + "@udecode/plate-node-id": "npm:24.3.0" + "@udecode/plate-normalizers": "npm:24.3.0" + "@udecode/plate-paragraph": "npm:24.3.0" + "@udecode/plate-reset-node": "npm:24.3.0" + "@udecode/plate-resizable": "npm:24.3.0" + "@udecode/plate-select": "npm:24.3.0" + "@udecode/plate-serializer-csv": "npm:24.3.0" + "@udecode/plate-serializer-docx": "npm:24.3.0" + "@udecode/plate-serializer-html": "npm:24.3.0" + "@udecode/plate-serializer-md": "npm:24.3.0" + "@udecode/plate-suggestion": "npm:24.3.0" + "@udecode/plate-tabbable": "npm:24.3.0" + "@udecode/plate-table": "npm:24.3.0" + "@udecode/plate-trailing-block": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7924,12 +7941,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/slate-react@npm:24.0.0, @udecode/slate-react@workspace:^, @udecode/slate-react@workspace:packages/slate-react": +"@udecode/slate-react@npm:24.3.0, @udecode/slate-react@workspace:^, @udecode/slate-react@workspace:packages/slate-react": version: 0.0.0-use.local resolution: "@udecode/slate-react@workspace:packages/slate-react" dependencies: - "@udecode/slate": "npm:23.7.4" - "@udecode/utils": "npm:19.7.1" + "@udecode/slate": "npm:24.3.0" + "@udecode/utils": "npm:24.3.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7939,12 +7956,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/slate-utils@npm:24.2.0, @udecode/slate-utils@workspace:^, @udecode/slate-utils@workspace:packages/slate-utils": +"@udecode/slate-utils@npm:24.3.0, @udecode/slate-utils@workspace:^, @udecode/slate-utils@workspace:packages/slate-utils": version: 0.0.0-use.local resolution: "@udecode/slate-utils@workspace:packages/slate-utils" dependencies: - "@udecode/slate": "npm:23.7.4" - "@udecode/utils": "npm:19.7.1" + "@udecode/slate": "npm:24.3.0" + "@udecode/utils": "npm:24.3.0" lodash: "npm:^4.17.21" peerDependencies: slate: ">=0.94.0" @@ -7952,18 +7969,18 @@ __metadata: languageName: unknown linkType: soft -"@udecode/slate@npm:23.7.4, @udecode/slate@workspace:^, @udecode/slate@workspace:packages/slate": +"@udecode/slate@npm:24.3.0, @udecode/slate@workspace:^, @udecode/slate@workspace:packages/slate": version: 0.0.0-use.local resolution: "@udecode/slate@workspace:packages/slate" dependencies: - "@udecode/utils": "npm:19.7.1" + "@udecode/utils": "npm:24.3.0" peerDependencies: slate: ">=0.94.0" slate-history: ">=0.93.0" languageName: unknown linkType: soft -"@udecode/utils@npm:19.7.1, @udecode/utils@workspace:^, @udecode/utils@workspace:packages/utils": +"@udecode/utils@npm:24.3.0, @udecode/utils@workspace:^, @udecode/utils@workspace:packages/utils": version: 0.0.0-use.local resolution: "@udecode/utils@workspace:packages/utils" languageName: unknown From 81c78ecf26400c8865f2d1c15122f25ebfa8aea0 Mon Sep 17 00:00:00 2001 From: zbeyens Date: Sun, 1 Oct 2023 02:55:25 +0200 Subject: [PATCH 4/5] =?UTF-8?q?=F0=9F=93=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/alignment/package.json | 1 + packages/autoformat/package.json | 1 + packages/basic-elements/package.json | 1 + packages/basic-marks/package.json | 1 + packages/block-quote/package.json | 1 + packages/break/package.json | 1 + packages/caption/package.json | 1 + packages/cloud/package.json | 1 + packages/code-block/package.json | 1 + packages/combobox/package.json | 1 + packages/comments/package.json | 1 + packages/common/package.json | 1 + packages/cursor/package.json | 1 + packages/dnd/package.json | 1 + packages/emoji/package.json | 1 + packages/excalidraw/package.json | 1 + packages/find-replace/package.json | 1 + packages/floating/package.json | 1 + packages/font/package.json | 1 + packages/heading/package.json | 1 + packages/highlight/package.json | 1 + packages/horizontal-rule/package.json | 1 + packages/indent-list/package.json | 1 + packages/indent/package.json | 1 + packages/juice/package.json | 1 + packages/kbd/package.json | 1 + packages/line-height/package.json | 1 + packages/link/package.json | 1 + packages/list/package.json | 1 + packages/media/package.json | 1 + packages/mention/package.json | 1 + packages/node-id/package.json | 1 + packages/normalizers/package.json | 1 + packages/paragraph/package.json | 1 + packages/plate-utils/package.json | 1 + packages/reset-node/package.json | 1 + packages/resizable/package.json | 1 + packages/select/package.json | 1 + packages/selection/package.json | 1 + packages/serializer-md/package.json | 1 + packages/suggestion/package.json | 1 + packages/tabbable/package.json | 1 + packages/trailing-block/package.json | 1 + packages/yjs/package.json | 1 + patches/slate-hyperscript+0.77.0.patch | 43 ------------------ .../plop/templates/package/package.json.hbs | 1 + yarn.lock | 44 +++++++++++++++++++ 47 files changed, 89 insertions(+), 43 deletions(-) delete mode 100644 patches/slate-hyperscript+0.77.0.patch diff --git a/packages/alignment/package.json b/packages/alignment/package.json index a0ebfe12aa..eae27b0025 100644 --- a/packages/alignment/package.json +++ b/packages/alignment/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/autoformat/package.json b/packages/autoformat/package.json index 78e3aa1dc5..519908f5fb 100644 --- a/packages/autoformat/package.json +++ b/packages/autoformat/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/basic-elements/package.json b/packages/basic-elements/package.json index ac37c2004e..06b4003919 100644 --- a/packages/basic-elements/package.json +++ b/packages/basic-elements/package.json @@ -50,6 +50,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/basic-marks/package.json b/packages/basic-marks/package.json index e0187f4100..d8b8a5f25c 100644 --- a/packages/basic-marks/package.json +++ b/packages/basic-marks/package.json @@ -45,6 +45,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/block-quote/package.json b/packages/block-quote/package.json index 2554648025..87edde5d8d 100644 --- a/packages/block-quote/package.json +++ b/packages/block-quote/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/break/package.json b/packages/break/package.json index feb7635089..52401b7707 100644 --- a/packages/break/package.json +++ b/packages/break/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/caption/package.json b/packages/caption/package.json index 9c71621b83..d92736fa02 100644 --- a/packages/caption/package.json +++ b/packages/caption/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/cloud/package.json b/packages/cloud/package.json index 419753739f..1478fb8b42 100644 --- a/packages/cloud/package.json +++ b/packages/cloud/package.json @@ -49,6 +49,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/code-block/package.json b/packages/code-block/package.json index 8f47903554..65ac0f8f52 100644 --- a/packages/code-block/package.json +++ b/packages/code-block/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/combobox/package.json b/packages/combobox/package.json index baf4fa8169..dcb725c132 100644 --- a/packages/combobox/package.json +++ b/packages/combobox/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/comments/package.json b/packages/comments/package.json index d4279dd479..07864044c3 100644 --- a/packages/comments/package.json +++ b/packages/comments/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/common/package.json b/packages/common/package.json index 9470b2dc86..9b68b4cea3 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -51,6 +51,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/cursor/package.json b/packages/cursor/package.json index 161394ecc9..e987dd863c 100644 --- a/packages/cursor/package.json +++ b/packages/cursor/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/dnd/package.json b/packages/dnd/package.json index 477845fca4..668d2186dd 100644 --- a/packages/dnd/package.json +++ b/packages/dnd/package.json @@ -50,6 +50,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/emoji/package.json b/packages/emoji/package.json index 580c61cf8b..6fc8ac8392 100644 --- a/packages/emoji/package.json +++ b/packages/emoji/package.json @@ -48,6 +48,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/excalidraw/package.json b/packages/excalidraw/package.json index 4562754656..8e1d537825 100644 --- a/packages/excalidraw/package.json +++ b/packages/excalidraw/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/find-replace/package.json b/packages/find-replace/package.json index 4267dd986d..2641bed6d1 100644 --- a/packages/find-replace/package.json +++ b/packages/find-replace/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/floating/package.json b/packages/floating/package.json index 9bc6cb726e..f7b93d197e 100644 --- a/packages/floating/package.json +++ b/packages/floating/package.json @@ -49,6 +49,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/font/package.json b/packages/font/package.json index 9f9463bd98..780a63975b 100644 --- a/packages/font/package.json +++ b/packages/font/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/heading/package.json b/packages/heading/package.json index 99e7425145..43b2aef935 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/highlight/package.json b/packages/highlight/package.json index 92d6f16a2a..83bf797f33 100644 --- a/packages/highlight/package.json +++ b/packages/highlight/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/horizontal-rule/package.json b/packages/horizontal-rule/package.json index 5250b7ecfd..c2beda0711 100644 --- a/packages/horizontal-rule/package.json +++ b/packages/horizontal-rule/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/indent-list/package.json b/packages/indent-list/package.json index 41457d35a9..ec9e495043 100644 --- a/packages/indent-list/package.json +++ b/packages/indent-list/package.json @@ -49,6 +49,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/indent/package.json b/packages/indent/package.json index 540684f6fe..7765c04dae 100644 --- a/packages/indent/package.json +++ b/packages/indent/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/juice/package.json b/packages/juice/package.json index c138a9f29a..132b0d7640 100644 --- a/packages/juice/package.json +++ b/packages/juice/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/kbd/package.json b/packages/kbd/package.json index 00ffbbfdd2..7fd4972513 100644 --- a/packages/kbd/package.json +++ b/packages/kbd/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/line-height/package.json b/packages/line-height/package.json index 7fa559c274..5a6cb4da19 100644 --- a/packages/line-height/package.json +++ b/packages/line-height/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/link/package.json b/packages/link/package.json index 75245a6ab8..44b8227158 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -48,6 +48,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/list/package.json b/packages/list/package.json index 2b282066f9..7f7a379455 100644 --- a/packages/list/package.json +++ b/packages/list/package.json @@ -48,6 +48,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/media/package.json b/packages/media/package.json index e09b3fe591..2d78d98c2f 100644 --- a/packages/media/package.json +++ b/packages/media/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/mention/package.json b/packages/mention/package.json index 2eaec4e967..70c999605b 100644 --- a/packages/mention/package.json +++ b/packages/mention/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/node-id/package.json b/packages/node-id/package.json index 38932a0ee8..828e609319 100644 --- a/packages/node-id/package.json +++ b/packages/node-id/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/normalizers/package.json b/packages/normalizers/package.json index 25c889152d..49ff1097d2 100644 --- a/packages/normalizers/package.json +++ b/packages/normalizers/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/paragraph/package.json b/packages/paragraph/package.json index 6c7d97daea..ff8fd47a10 100644 --- a/packages/paragraph/package.json +++ b/packages/paragraph/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/plate-utils/package.json b/packages/plate-utils/package.json index 1c648e77aa..65e446c2b8 100644 --- a/packages/plate-utils/package.json +++ b/packages/plate-utils/package.json @@ -53,6 +53,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/reset-node/package.json b/packages/reset-node/package.json index 1687ccec7d..145592daae 100644 --- a/packages/reset-node/package.json +++ b/packages/reset-node/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/resizable/package.json b/packages/resizable/package.json index 56576bc039..1f203e4805 100644 --- a/packages/resizable/package.json +++ b/packages/resizable/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/select/package.json b/packages/select/package.json index a456641b54..5bcede0879 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/selection/package.json b/packages/selection/package.json index 1a110c182f..0d05f9a608 100644 --- a/packages/selection/package.json +++ b/packages/selection/package.json @@ -48,6 +48,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/serializer-md/package.json b/packages/serializer-md/package.json index fea13aa26f..56898812c0 100644 --- a/packages/serializer-md/package.json +++ b/packages/serializer-md/package.json @@ -57,6 +57,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/suggestion/package.json b/packages/suggestion/package.json index 92e882c34a..459bb18f72 100644 --- a/packages/suggestion/package.json +++ b/packages/suggestion/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/tabbable/package.json b/packages/tabbable/package.json index 066b7152d2..d62157ea9c 100644 --- a/packages/tabbable/package.json +++ b/packages/tabbable/package.json @@ -47,6 +47,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/trailing-block/package.json b/packages/trailing-block/package.json index 44125f6f54..a970322648 100644 --- a/packages/trailing-block/package.json +++ b/packages/trailing-block/package.json @@ -46,6 +46,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/packages/yjs/package.json b/packages/yjs/package.json index e7dfa7ee03..f8e7ef1cfc 100644 --- a/packages/yjs/package.json +++ b/packages/yjs/package.json @@ -49,6 +49,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/patches/slate-hyperscript+0.77.0.patch b/patches/slate-hyperscript+0.77.0.patch deleted file mode 100644 index 50fe1885ef..0000000000 --- a/patches/slate-hyperscript+0.77.0.patch +++ /dev/null @@ -1,43 +0,0 @@ -diff --git a/node_modules/slate-hyperscript/dist/index.js b/node_modules/slate-hyperscript/dist/index.js -index fab2438..a7da5e9 100644 ---- a/node_modules/slate-hyperscript/dist/index.js -+++ b/node_modules/slate-hyperscript/dist/index.js -@@ -699,10 +699,23 @@ var createFactory = function createFactory(creators) { - attributes = {}; - } - -+ // We are in an unejected CRA that uses its Babel config for Jest. The plugin -+ // https://babeljs.io/docs/en/babel-plugin-transform-react-jsx-source.html -+ // adds sourcemap information when parsing hyperscript (jsx) that we want to omit so -+ // when we assert we aren't asserting on the sourcemap stuff. -+ // Only do this for test environment in case we end up using Hyperscript in application -+ // code. -+ const newAttributes = Object.assign(attributes, {}) -+ if (process.env.NODE_ENV === 'test') { -+ delete newAttributes.__source -+ delete newAttributes.__self -+ } -+ -+ - children = children.filter(function (child) { - return Boolean(child); - }).flat(); -- var ret = creator(tagName, attributes, children); -+ var ret = creator(tagName, newAttributes, children); - return ret; - }; - -@@ -741,6 +754,13 @@ var normalizeElements = function normalizeElements(elements) { - - var jsx = createHyperscript(); - -+// Slate doesn't export these, but we'll want them eventually. -+exports.createAnchor = createAnchor; -+exports.createCursor = createCursor; -+exports.createElement = createElement; -+exports.createFocus = createFocus; -+exports.createFragment = createFragment; -+exports.createSelection = createSelection; - exports.createEditor = createEditor; - exports.createHyperscript = createHyperscript; - exports.createText = createText; diff --git a/scripts/plop/templates/package/package.json.hbs b/scripts/plop/templates/package/package.json.hbs index 5ee0a8828b..abdca3ef67 100644 --- a/scripts/plop/templates/package/package.json.hbs +++ b/scripts/plop/templates/package/package.json.hbs @@ -48,6 +48,7 @@ "react-dom": ">=16.8.0", "slate": ">=0.94.0", "slate-history": ">=0.93.0", + "slate-hyperscript": ">=0.66.0", "slate-react": ">=0.95.0" }, "keywords": [ diff --git a/yarn.lock b/yarn.lock index 4db1d25a05..a5d889f5bb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -7081,6 +7081,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7096,6 +7097,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7114,6 +7116,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7128,6 +7131,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7142,6 +7146,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7156,6 +7161,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7171,6 +7177,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7188,6 +7195,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7203,6 +7211,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7218,6 +7227,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7233,6 +7243,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7252,6 +7263,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7293,6 +7305,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7311,6 +7324,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7327,6 +7341,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7342,6 +7357,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7356,6 +7372,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7373,6 +7390,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7388,6 +7406,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7402,6 +7421,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7416,6 +7436,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7430,6 +7451,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7447,6 +7469,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7461,6 +7484,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7476,6 +7500,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7490,6 +7515,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7504,6 +7530,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7520,6 +7547,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7536,6 +7564,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7551,6 +7580,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7566,6 +7596,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7581,6 +7612,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7596,6 +7628,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7610,6 +7643,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7624,6 +7658,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7638,6 +7673,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7652,6 +7688,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7668,6 +7705,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7750,6 +7788,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7764,6 +7803,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7779,6 +7819,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7818,6 +7859,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7868,6 +7910,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft @@ -7885,6 +7928,7 @@ __metadata: react-dom: ">=16.8.0" slate: ">=0.94.0" slate-history: ">=0.93.0" + slate-hyperscript: ">=0.66.0" slate-react: ">=0.95.0" languageName: unknown linkType: soft From 7be68e78f0100fdeef0efde08a6f1358f5e6b01e Mon Sep 17 00:00:00 2001 From: zbeyens Date: Sun, 1 Oct 2023 10:38:59 +0200 Subject: [PATCH 5/5] =?UTF-8?q?=F0=9F=91=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/tsup.config.ts | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config/tsup.config.ts b/config/tsup.config.ts index 77bc094361..763931f87d 100644 --- a/config/tsup.config.ts +++ b/config/tsup.config.ts @@ -14,10 +14,11 @@ export default defineConfig((opts) => { entry: [INPUT_FILE], format: ['cjs', 'esm'], skipNodeModulesBundle: true, - dts: { - only: true, - resolve: false, - }, + dts: true, + // dts: { + // only: true, + // resolve: false, + // }, sourcemap: true, clean: true, minify: false,