diff --git a/.changeset/chatty-lions-push.md b/.changeset/chatty-lions-push.md new file mode 100644 index 0000000000..eda1d62c9f --- /dev/null +++ b/.changeset/chatty-lions-push.md @@ -0,0 +1,60 @@ +--- +'@udecode/plate-alignment': minor +'@udecode/plate-autoformat': minor +'@udecode/plate-basic-elements': minor +'@udecode/plate-basic-marks': minor +'@udecode/plate-block-quote': minor +'@udecode/plate-break': minor +'@udecode/plate-caption': minor +'@udecode/plate-ui': minor +'@udecode/plate-cloud': minor +'@udecode/plate-code-block': minor +'@udecode/plate-combobox': minor +'@udecode/plate-comments': minor +'@udecode/plate-common': minor +'@udecode/plate-core': minor +'@udecode/plate-cursor': minor +'@udecode/plate-dnd': minor +'@udecode/plate-emoji': minor +'@udecode/plate-excalidraw': minor +'@udecode/plate-find-replace': minor +'@udecode/plate-floating': minor +'@udecode/plate-font': minor +'@udecode/plate-heading': minor +'@udecode/plate-highlight': minor +'@udecode/plate-horizontal-rule': minor +'@udecode/plate-indent': minor +'@udecode/plate-indent-list': minor +'@udecode/plate-juice': minor +'@udecode/plate-kbd': minor +'@udecode/plate-line-height': minor +'@udecode/plate-link': minor +'@udecode/plate-list': minor +'@udecode/plate-media': minor +'@udecode/plate-mention': minor +'@udecode/plate-node-id': minor +'@udecode/plate-normalizers': minor +'@udecode/plate-paragraph': minor +'@udecode/plate': minor +'@udecode/plate-utils': minor +'@udecode/plate-reset-node': minor +'@udecode/plate-resizable': minor +'@udecode/plate-select': minor +'@udecode/plate-selection': minor +'@udecode/plate-serializer-csv': minor +'@udecode/plate-serializer-docx': minor +'@udecode/plate-serializer-html': minor +'@udecode/plate-serializer-md': minor +'@udecode/slate': minor +'@udecode/slate-react': minor +'@udecode/slate-utils': minor +'@udecode/plate-suggestion': minor +'@udecode/plate-tabbable': minor +'@udecode/plate-table': minor +'@udecode/plate-test-utils': minor +'@udecode/plate-trailing-block': minor +'@udecode/utils': minor +'@udecode/plate-yjs': minor +--- + +use tsup as bundler diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 316666cb63..5c063315f8 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -37,6 +37,8 @@ on: - 'scripts' - 'patches' + workflow_dispatch: + jobs: test: name: ${{ matrix.command }} @@ -98,7 +100,7 @@ jobs: needs: - test if: ${{ github.event_name == 'push' && failure() }} - + steps: - name: Notify uses: nobrayner/discord-webhook@v1 diff --git a/.gitignore b/.gitignore index f716ad43db..19b3ec64e3 100644 --- a/.gitignore +++ b/.gitignore @@ -117,4 +117,5 @@ packages/plate/docs/ /test-results/ /playwright-report/ /playwright/.cache/ -.turbo \ No newline at end of file +.turbo +.vercel diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 3d53e9f8ea..390a381a58 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -9,7 +9,7 @@ This document will provide guidance to help streamline the process and make effi This repository is a monorepo. - We use [yarn](https://yarnpkg.com/en/docs/install) and [`workspaces`](https://yarnpkg.com/features/workspaces) for development. -- We use [Rollup](https://rollupjs.org/) as our build system. +- We use [tsup](https://tsup.egoist.dev/) as our build system. - We use [changesets](https://github.com/changesets/changesets) for managing releases. ## Structure @@ -32,7 +32,7 @@ packages ``` | Path | Description | -|---------------------------|------------------------------------------| +| ------------------------- | ---------------------------------------- | | `apps/www/content` | The content for the website. | | `apps/www/src/app` | The Next.js application for the website. | | `apps/www/src/components` | The React components for the website. | @@ -265,4 +265,4 @@ After creating your package, install and build it: ```bash yarn install yarn build -``` \ No newline at end of file +``` diff --git a/apps/www/next.config.mjs b/apps/www/next.config.mjs index 816488a07d..90b971e385 100644 --- a/apps/www/next.config.mjs +++ b/apps/www/next.config.mjs @@ -1,77 +1,98 @@ // import { createContentlayerPlugin } from 'next-contentlayer'; -/** @type {import('next').NextConfig} */ -const nextConfig = { - // Enable React strict mode. - // https://nextjs.org/docs/api-reference/next.config.js/react-strict-mod - reactStrictMode: true, +const nextConfig = async (phase, { defaultConfig }) => { + /** + * @type {import('next').NextConfig} + */ + const config = { + // Enable React strict mode. + // https://nextjs.org/docs/api-reference/next.config.js/react-strict-mod + reactStrictMode: true, - // Configure domains to allow for optimized image loading. - // https://nextjs.org/docs/basic-features/image-optimization#domains - images: { - domains: [ - 'cdn.discordapp.com', - 'lh3.googleusercontent.com', - 'avatars.githubusercontent.com', - ], - }, + // Configure domains to allow for optimized image loading. + // https://nextjs.org/docs/basic-features/image-optimization#domains + images: { + domains: [ + 'cdn.discordapp.com', + 'lh3.googleusercontent.com', + 'avatars.githubusercontent.com', + ], + }, - // typescript: { - // ignoreBuildErrors: true, - // }, - // eslint: { - // ignoreDuringBuilds: true, - // }, + // typescript: { + // ignoreBuildErrors: true, + // }, + // eslint: { + // ignoreDuringBuilds: true, + // }, - staticPageGenerationTimeout: 1200, + staticPageGenerationTimeout: 1200, - // Enable experimental features. - experimental: { - esmExternals: false, - serverActions: true, - // Specify external packages that should be excluded from server-side rendering. - // https://beta.nextjs.org/docs/api-reference/next-config#servercomponentsexternalpackages - serverComponentsExternalPackages: ['@prisma/client'], - }, + // Enable experimental features. + experimental: { + esmExternals: false, + serverActions: true, + // Specify external packages that should be excluded from server-side rendering. + // https://beta.nextjs.org/docs/api-reference/next-config#servercomponentsexternalpackages + serverComponentsExternalPackages: ['@prisma/client'], + }, - // redirects() { - // return [ - // { - // source: '/components', - // destination: '/docs/components/accordion', - // permanent: true, - // }, - // { - // source: '/docs/components', - // destination: '/docs/components/accordion', - // permanent: true, - // }, - // { - // source: '/examples', - // destination: '/examples/dashboard', - // permanent: false, - // }, - // { - // source: '/docs/primitives/:path*', - // destination: '/docs/components/:path*', - // permanent: true, - // }, - // { - // source: '/figma', - // destination: '/docs/figma', - // permanent: true, - // }, - // { - // source: '/docs/forms', - // destination: '/docs/forms/react-hook-form', - // permanent: false, - // }, - // ]; - // }, -}; + // redirects() { + // return [ + // { + // source: '/components', + // destination: '/docs/components/accordion', + // permanent: true, + // }, + // { + // source: '/docs/components', + // destination: '/docs/components/accordion', + // permanent: true, + // }, + // { + // source: '/examples', + // destination: '/examples/dashboard', + // permanent: false, + // }, + // { + // source: '/docs/primitives/:path*', + // destination: '/docs/components/:path*', + // permanent: true, + // }, + // { + // source: '/figma', + // destination: '/docs/figma', + // permanent: true, + // }, + // { + // source: '/docs/forms', + // destination: '/docs/forms/react-hook-form', + // permanent: false, + // }, + // ]; + // }, + }; + if (phase === 'phase-development-server') { + const fs = await import('node:fs'); + const glob = await import('glob').then((mod) => mod.default); + + const packageNames = new glob.GlobSync( + '../../packages/**/package.json' + ).found + .map((file) => { + try { + const packageJson = JSON.parse(fs.readFileSync(file, 'utf8')); + return packageJson.name; + } catch (error) { + return null; + } + }) + .filter((pkg) => pkg?.startsWith('@udecode')); -// const withContentlayer = createContentlayerPlugin({ -// Additional Contentlayer config options -// }); + config.transpilePackages = packageNames; + } + + return config; +}; export default nextConfig; diff --git a/config/tsup.config.ts b/config/tsup.config.ts new file mode 100644 index 0000000000..05fd9c8c15 --- /dev/null +++ b/config/tsup.config.ts @@ -0,0 +1,33 @@ +import fs from 'node:fs'; +import path from 'node:path'; +import { defineConfig } from 'tsup'; + +const PACKAGE_ROOT_PATH = process.cwd(); +const INPUT_FILE_PATH = path.join(PACKAGE_ROOT_PATH, 'src/index.ts'); +const INPUT_FILE = fs.existsSync(INPUT_FILE_PATH) + ? INPUT_FILE_PATH + : path.join(PACKAGE_ROOT_PATH, 'src/index.tsx'); + +export default defineConfig((opts) => { + return { + ...opts, + entry: [INPUT_FILE], + format: ['cjs', 'esm'], + external: [], + skipNodeModulesBundle: true, + dts: true, + sourcemap: true, + clean: true, + minify: false, + onSuccess: async () => { + if (opts.watch) { + console.info('Watching for changes...'); + return; + } + + console.info('Build succeeded!'); + }, + + silent: true, + }; +}); diff --git a/config/turbowatch.config.ts b/config/turbowatch.config.ts new file mode 100644 index 0000000000..9f1e68f51d --- /dev/null +++ b/config/turbowatch.config.ts @@ -0,0 +1,79 @@ +import { readFileSync } from 'node:fs'; +import { GlobSync } from 'glob'; +import { defineConfig, Expression } from 'turbowatch'; + +const foundPackageJson = new GlobSync('packages/*/package.json').found; + +type PathToPackageNameMap = Map; + +const allPackages = foundPackageJson.reduce( + (acc, current) => { + try { + const packageJson = readFileSync(current, 'utf8'); + const packageJsonParsed = JSON.parse(packageJson) as { + dependencies: Record; + name: string | undefined; + }; + + const packageName = packageJsonParsed.name; + + if (!packageName) { + return acc; + } + + acc.set(current, packageName); + return acc; + } catch (_) {} + + return acc; + }, + new Map() +); + +const dirList = [...allPackages.keys()].map( + (dir) => ['dirname', dir.replace('/package.json', '')] satisfies Expression +); + +export default defineConfig({ + project: process.cwd(), + triggers: [ + { + expression: [ + 'allof', + ['not', ['anyof', ['dirname', 'node_modules'], ['dirname', 'dist']]], + ['anyof', ...dirList], + [ + 'anyof', + ['match', '*.ts', 'basename'], + ['match', '*.tsx', 'basename'], + ['match', '*.js', 'basename'], + ], + ], + interruptible: true, + name: 'build', + onChange: async ({ spawn, files, abortSignal }) => { + const changedPackages = new Set(); + for (const file of files) { + const pkgJsonPath = file.name + .replace(`${process.cwd()}/`, '') + .replace(/\/src\/.*/, '/package.json'); + + const packageName = allPackages.get(pkgJsonPath); + + if (!packageName) { + continue; + } + + changedPackages.add(packageName); + } + + if (changedPackages.size === 0) { + return; + } + + await spawn`turbo run build --filter=${[...changedPackages].join(',')}`; + if (abortSignal?.aborted) return; + }, + }, + ], +}); diff --git a/jest.config.cjs b/jest.config.cjs index a6cc1fa456..53dca4291c 100644 --- a/jest.config.cjs +++ b/jest.config.cjs @@ -51,16 +51,11 @@ module.exports = { testRegex: '(test|spec).tsx?$', testPathIgnorePatterns: ['/playwright/'], transform: { - "^.+\\.[tj]s$": [ - 'ts-jest', - { - diagnostics: true, - tsconfig: '/config/tsconfig.test.json', - }, - ], + '^.+\\.(t|j)sx?$': '@swc/jest', }, setupFilesAfterEnv: ['/scripts/setupTests.ts'], transformIgnorePatterns: [ '/node_modules/(?!(react-dnd|dnd-core|@react-dnd|react-tweet)/)', ], + watchman: false, }; diff --git a/package.json b/package.json index ef8880d03e..6355990aa8 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "license": "MIT", "scripts": { "build": "yarn g:build", + "build:watch": "turbowatch ./config/turbowatch.config.ts", "build:apps": "turbo --filter \"./apps/www\" build", "build:registry": "yarn workspace www build:registry", "build:templates": "turbo --filter \"./templates/**\" build", @@ -26,7 +27,6 @@ "g:brl": "turbo --filter \"./packages/**\" brl", "g:build": "turbo --filter \"./packages/**\" build", "g:build:registry": "yarn workspace www build:registry", - "g:build:watch": "turbo --filter \"./packages/**\" build:watch --concurrency 100", "g:changeset": "changeset", "g:clean": "turbo --filter \"./packages/**\" clean", "gen:package": "yarn plop --plopfile scripts/plop/plopfile.cjs package", @@ -52,13 +52,12 @@ "nuke:node_modules": "rimraf '**/node_modules'", "p:brl": "cd $INIT_CWD && barrelsby -d $INIT_CWD/src -D -l all -q -e '.*(fixture|template|spec|__tests__).*'", "p:brl:below": "cd $INIT_CWD && barrelsby -d $INIT_CWD/src -D -l below -q -e '.*(fixture|template|spec|__tests__).*'", - "p:build": "cd $INIT_CWD && yarn p:rollup && tsc", - "p:build:watch": "cd $INIT_CWD && concurrently \"yarn p:rollup -w\" \"yarn p:typecheck -w\"", + "p:build": "cd $INIT_CWD && yarn p:tsup", "p:clean": "cd $INIT_CWD && rimraf dist && jest --clear-cache", "p:lint": "eslint $INIT_CWD/src --color", "p:lint:fix": "eslint $INIT_CWD/src --color --fix", - "p:rollup": "cd $INIT_CWD && rollup -c=${PROJECT_CWD}/config/rollup.config.cjs", - "p:test": "cd $INIT_CWD && jest --config=${PROJECT_CWD}/jest.config.cjs --passWithNoTests $INIT_CWD ", + "p:tsup": "cd $INIT_CWD && tsup --config=${PROJECT_CWD}/config/tsup.config.ts", + "p:test": "cd $INIT_CWD && jest --config=${PROJECT_CWD}/jest.config.cjs --maxWorkers=1 --passWithNoTests $INIT_CWD ", "p:typecheck": "cd $INIT_CWD && tsc --noEmit --emitDeclarationOnly false", "postinstall": "patch-package", "sync:templates": "./scripts/sync-templates.sh \"templates/*\"" @@ -89,6 +88,8 @@ "@dword-design/eslint-plugin-import-alias": "^4.0.8", "@ianvs/prettier-plugin-sort-imports": "^4.0.2", "@playwright/test": "1.36.0", + "@swc/core": "1.3.90", + "@swc/jest": "0.2.29", "@tailwindcss/typography": "^0.5.9", "@testing-library/jest-dom": "^5.16.5", "@testing-library/react": "^14.0.0", @@ -117,6 +118,7 @@ "babel-plugin-prismjs": "^2.1.0", "barrelsby": "^2.8.0", "change-case": "^4.1.2", + "chokidar": "3.5.3", "concurrently": "^8.2.0", "cross-env": "^7.0.3", "dotenv": "^16.3.1", @@ -141,7 +143,7 @@ "eslint-plugin-testing-library": "^5.11.0", "eslint-plugin-unicorn": "^47.0.0", "eslint-plugin-unused-imports": "^3.0.0", - "jest": "^29.6.1", + "jest": "29.7.0", "jest-environment-jsdom": "^29.6.1", "patch-package": "^7.0.2", "plop": "3.1.2", @@ -176,7 +178,9 @@ "slate-test-utils": "1.3.2", "tailwindcss": "^3.3.2", "ts-jest": "^29.1.1", + "tsup": "7.2.0", "turbo": "^1.10.7", + "turbowatch": "2.29.4", "typescript": "5.1.6" }, "engines": { diff --git a/packages/alignment/package.json b/packages/alignment/package.json index 33d8a55511..ae61b7215f 100644 --- a/packages/alignment/package.json +++ b/packages/alignment/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/autoformat/package.json b/packages/autoformat/package.json index 3e86ac4f49..5d566cfb06 100644 --- a/packages/autoformat/package.json +++ b/packages/autoformat/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/autoformat/src/__tests__/withAutoformat/block/heading.spec.tsx b/packages/autoformat/src/__tests__/withAutoformat/block/heading.spec.tsx index 327fabc402..d9e134d2ac 100644 --- a/packages/autoformat/src/__tests__/withAutoformat/block/heading.spec.tsx +++ b/packages/autoformat/src/__tests__/withAutoformat/block/heading.spec.tsx @@ -3,7 +3,7 @@ import { autoformatPlugin } from '@/plate/demo/plugins/autoformatPlugin'; import { preFormat } from '@/plate/demo/plugins/autoformatUtils'; import { mockPlugin } from '@udecode/plate-common'; -import { ELEMENT_H1 } from '@udecode/plate-heading/src/constants'; +import { ELEMENT_H1 } from '@udecode/plate-heading'; import { jsx } from '@udecode/plate-test-utils'; import { withReact } from 'slate-react'; diff --git a/packages/autoformat/src/__tests__/withAutoformat/ignoreTrim.spec.tsx b/packages/autoformat/src/__tests__/withAutoformat/ignoreTrim.spec.tsx index 1f92c61b52..f65a87f677 100644 --- a/packages/autoformat/src/__tests__/withAutoformat/ignoreTrim.spec.tsx +++ b/packages/autoformat/src/__tests__/withAutoformat/ignoreTrim.spec.tsx @@ -1,7 +1,7 @@ /** @jsx jsx */ import { autoformatPlugin } from '@/plate/demo/plugins/autoformatPlugin'; -import { MARK_ITALIC } from '@udecode/plate-basic-marks/src/createItalicPlugin'; +import { MARK_ITALIC } from '@udecode/plate-basic-marks'; import { mockPlugin } from '@udecode/plate-common'; import { jsx } from '@udecode/plate-test-utils'; import { withReact } from 'slate-react'; diff --git a/packages/autoformat/src/__tests__/withAutoformat/mark/multiple-marks.spec.tsx b/packages/autoformat/src/__tests__/withAutoformat/mark/multiple-marks.spec.tsx index ee1c21be78..b32de8c715 100644 --- a/packages/autoformat/src/__tests__/withAutoformat/mark/multiple-marks.spec.tsx +++ b/packages/autoformat/src/__tests__/withAutoformat/mark/multiple-marks.spec.tsx @@ -1,9 +1,11 @@ /** @jsx jsx */ import { autoformatPlugin } from '@/plate/demo/plugins/autoformatPlugin'; -import { MARK_BOLD } from '@udecode/plate-basic-marks/src/createBoldPlugin'; -import { MARK_ITALIC } from '@udecode/plate-basic-marks/src/createItalicPlugin'; -import { MARK_UNDERLINE } from '@udecode/plate-basic-marks/src/createUnderlinePlugin'; +import { + MARK_BOLD, + MARK_ITALIC, + MARK_UNDERLINE, +} from '@udecode/plate-basic-marks'; import { mockPlugin } from '@udecode/plate-common'; import { jsx } from '@udecode/plate-test-utils'; import { withReact } from 'slate-react'; diff --git a/packages/autoformat/src/onKeyDownAutoformat.ts b/packages/autoformat/src/onKeyDownAutoformat.ts index 2ae498f6db..cef1b36e8e 100644 --- a/packages/autoformat/src/onKeyDownAutoformat.ts +++ b/packages/autoformat/src/onKeyDownAutoformat.ts @@ -4,12 +4,12 @@ import { getEditorString, getPointBefore, insertText, + isHotkey, KeyboardHandlerReturnType, PlateEditor, Value, WithPlatePlugin, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { Range } from 'slate'; import { AutoformatPlugin, AutoformatRule, AutoformatTextRule } from './types'; diff --git a/packages/basic-elements/package.json b/packages/basic-elements/package.json index 986597fa03..ebf7c3ae5a 100644 --- a/packages/basic-elements/package.json +++ b/packages/basic-elements/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/basic-marks/package.json b/packages/basic-marks/package.json index ce5379fed3..fa948e4b62 100644 --- a/packages/basic-marks/package.json +++ b/packages/basic-marks/package.json @@ -11,12 +11,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/block-quote/package.json b/packages/block-quote/package.json index db56032a04..92dd27c427 100644 --- a/packages/block-quote/package.json +++ b/packages/block-quote/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/break/package.json b/packages/break/package.json index bf2d794c16..9840e3f4eb 100644 --- a/packages/break/package.json +++ b/packages/break/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/end.spec.tsx b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/end.spec.tsx index 0736454741..6a58e1b2ad 100644 --- a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/end.spec.tsx +++ b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/end.spec.tsx @@ -1,8 +1,8 @@ /** @jsx jsx */ import { mockPlugin } from '@udecode/plate-common'; +import * as isHotkey from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import * as isHotkey from 'is-hotkey'; import { onKeyDownExitBreak } from '../../onKeyDownExitBreak'; @@ -32,7 +32,7 @@ const output = ( ) as any; it('should be', () => { - jest.spyOn(isHotkey, 'default').mockReturnValue(true); + jest.spyOn(isHotkey, 'isHotkey').mockReturnValue(true); onKeyDownExitBreak( input, mockPlugin({ diff --git a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/invalid-query.spec.tsx b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/invalid-query.spec.tsx index 44ab43f13c..9a41fc4c09 100644 --- a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/invalid-query.spec.tsx +++ b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/invalid-query.spec.tsx @@ -1,9 +1,9 @@ /** @jsx jsx */ import { mockPlugin } from '@udecode/plate-common'; +import * as isHotkey from '@udecode/plate-core'; import { ELEMENT_H1 } from '@udecode/plate-heading'; import { jsx } from '@udecode/plate-test-utils'; -import * as isHotkey from 'is-hotkey'; import { onKeyDownExitBreak } from '../../onKeyDownExitBreak'; @@ -30,7 +30,7 @@ const output = ( ) as any; it('should be', () => { - jest.spyOn(isHotkey, 'default').mockReturnValue(true); + jest.spyOn(isHotkey, 'isHotkey').mockReturnValue(true); onKeyDownExitBreak( input, mockPlugin({ diff --git a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/start-end-not-valid.spec.tsx b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/start-end-not-valid.spec.tsx index 0d8f6cbd08..4fcb57f605 100644 --- a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/start-end-not-valid.spec.tsx +++ b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/start-end-not-valid.spec.tsx @@ -1,8 +1,8 @@ /** @jsx jsx */ import { mockPlugin } from '@udecode/plate-common'; +import * as isHotkey from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import * as isHotkey from 'is-hotkey'; import { onKeyDownExitBreak } from '../../onKeyDownExitBreak'; @@ -30,7 +30,7 @@ const output = ( ) as any; it('should be', () => { - jest.spyOn(isHotkey, 'default').mockReturnValue(true); + jest.spyOn(isHotkey, 'isHotkey').mockReturnValue(true); onKeyDownExitBreak( input, mockPlugin({ diff --git a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/start.spec.tsx b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/start.spec.tsx index 574d0d6b3d..f7771e1af8 100644 --- a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/start.spec.tsx +++ b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/start.spec.tsx @@ -1,8 +1,8 @@ /** @jsx jsx */ import { mockPlugin } from '@udecode/plate-common'; +import * as isHotkey from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import * as isHotkey from 'is-hotkey'; import { onKeyDownExitBreak } from '../../onKeyDownExitBreak'; @@ -33,7 +33,7 @@ const output = ( ) as any; it('should be', () => { - jest.spyOn(isHotkey, 'default').mockReturnValue(true); + jest.spyOn(isHotkey, 'isHotkey').mockReturnValue(true); onKeyDownExitBreak( input, mockPlugin({ diff --git a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/valid-before.spec.tsx b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/valid-before.spec.tsx index d833634f56..a0d75982ba 100644 --- a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/valid-before.spec.tsx +++ b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/valid-before.spec.tsx @@ -1,8 +1,8 @@ /** @jsx jsx */ import { mockPlugin } from '@udecode/plate-common'; +import * as isHotkey from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import * as isHotkey from 'is-hotkey'; import { onKeyDownExitBreak } from '../../onKeyDownExitBreak'; @@ -31,7 +31,7 @@ const output = ( ) as any; it('should be', () => { - jest.spyOn(isHotkey, 'default').mockReturnValue(true); + jest.spyOn(isHotkey, 'isHotkey').mockReturnValue(true); onKeyDownExitBreak( input, mockPlugin({ diff --git a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/valid.spec.tsx b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/valid.spec.tsx index bbb09d1d5f..7350ef1755 100644 --- a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/valid.spec.tsx +++ b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/valid.spec.tsx @@ -1,8 +1,8 @@ /** @jsx jsx */ import { mockPlugin } from '@udecode/plate-common'; +import * as isHotkey from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import * as isHotkey from 'is-hotkey'; import { onKeyDownExitBreak } from '../../onKeyDownExitBreak'; @@ -31,7 +31,7 @@ const output = ( ) as any; it('should be', () => { - jest.spyOn(isHotkey, 'default').mockReturnValue(true); + jest.spyOn(isHotkey, 'isHotkey').mockReturnValue(true); onKeyDownExitBreak( input, mockPlugin({ diff --git a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/without-selection.spec.tsx b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/without-selection.spec.tsx index 4b619643ce..db23749010 100644 --- a/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/without-selection.spec.tsx +++ b/packages/break/src/exit-break/__tests__/onKeyDownExitBreak/without-selection.spec.tsx @@ -1,8 +1,8 @@ /** @jsx jsx */ import { mockPlugin } from '@udecode/plate-common'; +import * as isHotkey from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import * as isHotkey from 'is-hotkey'; import { onKeyDownExitBreak } from '../../onKeyDownExitBreak'; @@ -23,7 +23,7 @@ const output = ( ) as any; it('should be', () => { - jest.spyOn(isHotkey, 'default').mockReturnValue(true); + jest.spyOn(isHotkey, 'isHotkey').mockReturnValue(true); onKeyDownExitBreak( input, mockPlugin({ diff --git a/packages/break/src/exit-break/onKeyDownExitBreak.ts b/packages/break/src/exit-break/onKeyDownExitBreak.ts index c672635faf..d7129917cf 100644 --- a/packages/break/src/exit-break/onKeyDownExitBreak.ts +++ b/packages/break/src/exit-break/onKeyDownExitBreak.ts @@ -1,12 +1,12 @@ import { getBlockAbove, + isHotkey, KeyboardHandlerReturnType, PlateEditor, queryNode, Value, WithPlatePlugin, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { exitBreak } from './transforms/exitBreak'; import { ExitBreakPlugin } from './types'; diff --git a/packages/break/src/soft-break/__tests__/onKeyDownSoftBreak/invalid-query.spec.tsx b/packages/break/src/soft-break/__tests__/onKeyDownSoftBreak/invalid-query.spec.tsx index a68586bbba..75a97f04a9 100644 --- a/packages/break/src/soft-break/__tests__/onKeyDownSoftBreak/invalid-query.spec.tsx +++ b/packages/break/src/soft-break/__tests__/onKeyDownSoftBreak/invalid-query.spec.tsx @@ -2,8 +2,8 @@ import { ELEMENT_CODE_BLOCK } from '@udecode/plate-code-block'; import { mockPlugin } from '@udecode/plate-common'; +import * as isHotkey from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import * as isHotkey from 'is-hotkey'; import { onKeyDownSoftBreak } from '../../onKeyDownSoftBreak'; @@ -30,7 +30,7 @@ const output = ( ) as any; it('should be', () => { - jest.spyOn(isHotkey, 'default').mockReturnValue(true); + jest.spyOn(isHotkey, 'isHotkey').mockReturnValue(true); onKeyDownSoftBreak( input, mockPlugin({ diff --git a/packages/break/src/soft-break/__tests__/onKeyDownSoftBreak/valid.spec.tsx b/packages/break/src/soft-break/__tests__/onKeyDownSoftBreak/valid.spec.tsx index 55c9e5f063..d0ec765fe5 100644 --- a/packages/break/src/soft-break/__tests__/onKeyDownSoftBreak/valid.spec.tsx +++ b/packages/break/src/soft-break/__tests__/onKeyDownSoftBreak/valid.spec.tsx @@ -1,8 +1,8 @@ /** @jsx jsx */ import { mockPlugin } from '@udecode/plate-common'; +import * as isHotkey from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import * as isHotkey from 'is-hotkey'; import { onKeyDownSoftBreak } from '../../onKeyDownSoftBreak'; @@ -29,7 +29,7 @@ const output = ( ) as any; it('should be', () => { - jest.spyOn(isHotkey, 'default').mockReturnValue(true); + jest.spyOn(isHotkey, 'isHotkey').mockReturnValue(true); onKeyDownSoftBreak( input, mockPlugin({ diff --git a/packages/break/src/soft-break/onKeyDownSoftBreak.ts b/packages/break/src/soft-break/onKeyDownSoftBreak.ts index dff9a2ee20..a149f788d6 100644 --- a/packages/break/src/soft-break/onKeyDownSoftBreak.ts +++ b/packages/break/src/soft-break/onKeyDownSoftBreak.ts @@ -1,12 +1,12 @@ import { getBlockAbove, + isHotkey, KeyboardHandlerReturnType, PlateEditor, queryNode, Value, WithPlatePlugin, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { SoftBreakPlugin } from './types'; diff --git a/packages/caption/package.json b/packages/caption/package.json index ac8ddd7b94..ffc763ec57 100644 --- a/packages/caption/package.json +++ b/packages/caption/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/caption/src/components/CaptionTextarea.tsx b/packages/caption/src/components/CaptionTextarea.tsx index ed2352cf12..0904682181 100644 --- a/packages/caption/src/components/CaptionTextarea.tsx +++ b/packages/caption/src/components/CaptionTextarea.tsx @@ -11,12 +11,12 @@ import { focusEditor, getNodeString, getPointAfter, + isHotkey, setNodes, TElement, useEditorRef, useElement, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { TextareaAutosizeProps } from 'react-textarea-autosize'; import { Path } from 'slate'; import { useReadOnly } from 'slate-react'; diff --git a/packages/caption/src/onKeyDownCaption.ts b/packages/caption/src/onKeyDownCaption.ts index 55db7c52e3..36db313246 100644 --- a/packages/caption/src/onKeyDownCaption.ts +++ b/packages/caption/src/onKeyDownCaption.ts @@ -1,9 +1,9 @@ import { getBlockAbove, getPluginTypes, + isHotkey, KeyboardHandler, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { captionGlobalStore } from './captionGlobalStore'; import { CaptionPlugin } from './createCaptionPlugin'; diff --git a/packages/caption/src/withCaption.ts b/packages/caption/src/withCaption.ts index 479e2277a8..cfc102c2a9 100644 --- a/packages/caption/src/withCaption.ts +++ b/packages/caption/src/withCaption.ts @@ -3,11 +3,11 @@ import { getNodeString, getPluginTypes, isCollapsed, + isHotkey, PlateEditor, Value, WithPlatePlugin, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { Range } from 'slate'; import { captionGlobalStore } from './captionGlobalStore'; diff --git a/packages/cli/package.json b/packages/cli/package.json index 0215abd5fb..63219af21f 100644 --- a/packages/cli/package.json +++ b/packages/cli/package.json @@ -12,11 +12,22 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "type": "module", + "sideEffects": false, + "main": "dist/index.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "type": "module", - "exports": "./dist/index.js", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "bin": "./dist/index.js", "scripts": { "build": "yarn tsup", diff --git a/packages/cloud/package.json b/packages/cloud/package.json index 860de63507..6652116271 100644 --- a/packages/cloud/package.json +++ b/packages/cloud/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/code-block/package.json b/packages/code-block/package.json index 3438da8ab7..f3753434af 100644 --- a/packages/code-block/package.json +++ b/packages/code-block/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/code-block/src/onKeyDownCodeBlock.ts b/packages/code-block/src/onKeyDownCodeBlock.ts index eba4db31d8..a98e65ddec 100644 --- a/packages/code-block/src/onKeyDownCodeBlock.ts +++ b/packages/code-block/src/onKeyDownCodeBlock.ts @@ -2,6 +2,7 @@ import { getNodeEntries, getParentNode, Hotkeys, + isHotkey, KeyboardHandlerReturnType, PlateEditor, select, @@ -9,7 +10,6 @@ import { Value, withoutNormalizing, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { getCodeLineType } from './options/getCodeLineType'; import { getCodeLineEntry } from './queries/getCodeLineEntry'; diff --git a/packages/combobox/package.json b/packages/combobox/package.json index 62f39c84c1..096ad62aba 100644 --- a/packages/combobox/package.json +++ b/packages/combobox/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/combobox/src/onKeyDownCombobox.ts b/packages/combobox/src/onKeyDownCombobox.ts index 04920250ce..84eddedb6a 100644 --- a/packages/combobox/src/onKeyDownCombobox.ts +++ b/packages/combobox/src/onKeyDownCombobox.ts @@ -1,10 +1,10 @@ import { Hotkeys, + isHotkey, KeyboardHandlerReturnType, PlateEditor, Value, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { comboboxActions, diff --git a/packages/comments/package.json b/packages/comments/package.json index 5e384be8e9..428d12076f 100644 --- a/packages/comments/package.json +++ b/packages/comments/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/common/package.json b/packages/common/package.json index d69479c51b..92970d2cea 100644 --- a/packages/common/package.json +++ b/packages/common/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/core/package.json b/packages/core/package.json index 100dd0cb87..8bada766b2 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", @@ -35,6 +44,7 @@ "@udecode/utils": "19.7.1", "@udecode/zustood": "^1.1.3", "clsx": "^1.2.1", + "is-hotkey": "^0.2.0", "jotai": "1.7.2", "lodash": "^4.17.21", "nanoid": "^3.3.6", diff --git a/packages/core/src/components/Editor.spec.tsx b/packages/core/src/components/Editor.spec.tsx index 1527db776a..73e62fdc0f 100644 --- a/packages/core/src/components/Editor.spec.tsx +++ b/packages/core/src/components/Editor.spec.tsx @@ -1,7 +1,6 @@ import React from 'react'; import { render } from '@testing-library/react'; -import { isBlock } from '@udecode/slate/src/interfaces/editor/isBlock'; -import { setNodes } from '@udecode/slate/src/interfaces/transforms/setNodes'; +import { isBlock, setNodes } from '@udecode/slate'; import { isEqual, memoize } from 'lodash'; import { PlatePlugin } from '../types/index'; diff --git a/packages/core/src/plugins/html-deserializer/createDeserializeHtmlPlugin.spec.tsx b/packages/core/src/plugins/html-deserializer/createDeserializeHtmlPlugin.spec.tsx index f177fde25a..219dbcf7eb 100644 --- a/packages/core/src/plugins/html-deserializer/createDeserializeHtmlPlugin.spec.tsx +++ b/packages/core/src/plugins/html-deserializer/createDeserializeHtmlPlugin.spec.tsx @@ -1,14 +1,14 @@ /** @jsx jsx */ -import { createBoldPlugin } from '@udecode/plate-basic-marks/src/createBoldPlugin'; +import { createBoldPlugin } from '@udecode/plate-basic-marks'; import { createPlateEditor, PlateEditor, PlatePlugin, } from '@udecode/plate-common'; -import { createHeadingPlugin } from '@udecode/plate-heading/src/createHeadingPlugin'; -import { createLinkPlugin } from '@udecode/plate-link/src/createLinkPlugin'; -import { createMediaEmbedPlugin } from '@udecode/plate-media/src/media-embed/createMediaEmbedPlugin'; +import { createHeadingPlugin } from '@udecode/plate-heading'; +import { createLinkPlugin } from '@udecode/plate-link'; +import { createMediaEmbedPlugin } from '@udecode/plate-media'; import { createParagraphPlugin } from '@udecode/plate-paragraph'; import { jsx } from '@udecode/plate-test-utils'; diff --git a/packages/core/src/plugins/html-deserializer/utils/deserializeHtml.spec.tsx b/packages/core/src/plugins/html-deserializer/utils/deserializeHtml.spec.tsx index 6036eaa24d..fa5976ed03 100644 --- a/packages/core/src/plugins/html-deserializer/utils/deserializeHtml.spec.tsx +++ b/packages/core/src/plugins/html-deserializer/utils/deserializeHtml.spec.tsx @@ -1,28 +1,32 @@ /** @jsx jsx */ import { renderHook } from '@testing-library/react-hooks'; -import { createAlignPlugin } from '@udecode/plate-alignment/src/createAlignPlugin'; -import { createBoldPlugin } from '@udecode/plate-basic-marks/src/createBoldPlugin'; -import { createCodePlugin } from '@udecode/plate-basic-marks/src/createCodePlugin'; -import { createItalicPlugin } from '@udecode/plate-basic-marks/src/createItalicPlugin'; -import { createStrikethroughPlugin } from '@udecode/plate-basic-marks/src/createStrikethroughPlugin'; -import { createSubscriptPlugin } from '@udecode/plate-basic-marks/src/createSubscriptPlugin'; -import { createSuperscriptPlugin } from '@udecode/plate-basic-marks/src/createSuperscriptPlugin'; -import { createUnderlinePlugin } from '@udecode/plate-basic-marks/src/createUnderlinePlugin'; -import { createBlockquotePlugin } from '@udecode/plate-block-quote/src/createBlockquotePlugin'; -import { createSoftBreakPlugin } from '@udecode/plate-break/src/soft-break/createSoftBreakPlugin'; -import { createCodeBlockPlugin } from '@udecode/plate-code-block/src/createCodeBlockPlugin'; +import { createAlignPlugin } from '@udecode/plate-alignment'; +import { + createBoldPlugin, + createCodePlugin, + createItalicPlugin, + createStrikethroughPlugin, + createSubscriptPlugin, + createSuperscriptPlugin, + createUnderlinePlugin, +} from '@udecode/plate-basic-marks'; +import { createBlockquotePlugin } from '@udecode/plate-block-quote'; +import { createSoftBreakPlugin } from '@udecode/plate-break'; +import { createCodeBlockPlugin } from '@udecode/plate-code-block'; import { createPlateEditor } from '@udecode/plate-common'; -import { createFindReplacePlugin } from '@udecode/plate-find-replace/src/createFindReplacePlugin'; -import { createHeadingPlugin } from '@udecode/plate-heading/src/createHeadingPlugin'; -import { createHighlightPlugin } from '@udecode/plate-highlight/src/createHighlightPlugin'; -import { createKbdPlugin } from '@udecode/plate-kbd/src/createKbdPlugin'; -import { createLinkPlugin } from '@udecode/plate-link/src/createLinkPlugin'; -import { createListPlugin } from '@udecode/plate-list/src/createListPlugin'; -import { createImagePlugin } from '@udecode/plate-media/src/image/createImagePlugin'; -import { createMediaEmbedPlugin } from '@udecode/plate-media/src/media-embed/createMediaEmbedPlugin'; -import { createParagraphPlugin } from '@udecode/plate-paragraph/src/createParagraphPlugin'; -import { createTablePlugin } from '@udecode/plate-table/src/createTablePlugin'; +import { createFindReplacePlugin } from '@udecode/plate-find-replace'; +import { createHeadingPlugin } from '@udecode/plate-heading'; +import { createHighlightPlugin } from '@udecode/plate-highlight'; +import { createKbdPlugin } from '@udecode/plate-kbd'; +import { createLinkPlugin } from '@udecode/plate-link'; +import { createListPlugin } from '@udecode/plate-list'; +import { + createImagePlugin, + createMediaEmbedPlugin, +} from '@udecode/plate-media'; +import { createParagraphPlugin } from '@udecode/plate-paragraph'; +import { createTablePlugin } from '@udecode/plate-table'; import { getHtmlDocument, jsx } from '@udecode/plate-test-utils'; import { deserializeHtml } from './deserializeHtml'; diff --git a/packages/core/src/plugins/html-deserializer/utils/deserializeHtmlElement.spec.tsx b/packages/core/src/plugins/html-deserializer/utils/deserializeHtmlElement.spec.tsx index 2ea374ac7b..98fd0101a1 100644 --- a/packages/core/src/plugins/html-deserializer/utils/deserializeHtmlElement.spec.tsx +++ b/packages/core/src/plugins/html-deserializer/utils/deserializeHtmlElement.spec.tsx @@ -1,11 +1,11 @@ /** @jsx jsx */ -import { createBoldPlugin } from '@udecode/plate-basic-marks/src/createBoldPlugin'; +import { createBoldPlugin } from '@udecode/plate-basic-marks'; import { createPlateEditor } from '@udecode/plate-common'; -import { createLinkPlugin } from '@udecode/plate-link/src/createLinkPlugin'; -import { createImagePlugin } from '@udecode/plate-media/src/image/createImagePlugin'; -import { createParagraphPlugin } from '@udecode/plate-paragraph/src/createParagraphPlugin'; -import { createTablePlugin } from '@udecode/plate-table/src/createTablePlugin'; +import { createLinkPlugin } from '@udecode/plate-link'; +import { createImagePlugin } from '@udecode/plate-media'; +import { createParagraphPlugin } from '@udecode/plate-paragraph'; +import { createTablePlugin } from '@udecode/plate-table'; import { getHtmlDocument, jsx } from '@udecode/plate-test-utils'; import { deserializeHtmlElement } from './deserializeHtmlElement'; diff --git a/packages/core/src/plugins/html-deserializer/utils/htmlElementToElement.spec.tsx b/packages/core/src/plugins/html-deserializer/utils/htmlElementToElement.spec.tsx index e8ec1d591b..45dfd6b5e5 100644 --- a/packages/core/src/plugins/html-deserializer/utils/htmlElementToElement.spec.tsx +++ b/packages/core/src/plugins/html-deserializer/utils/htmlElementToElement.spec.tsx @@ -2,7 +2,7 @@ /** @jsx jsx */ import { createPlateEditor } from '@udecode/plate-common'; -import { createParagraphPlugin } from '@udecode/plate-paragraph/src/createParagraphPlugin'; +import { createParagraphPlugin } from '@udecode/plate-paragraph'; import { jsx } from '@udecode/plate-test-utils'; import { htmlElementToElement } from './htmlElementToElement'; diff --git a/packages/core/src/plugins/html-deserializer/utils/htmlElementToLeaf.spec.tsx b/packages/core/src/plugins/html-deserializer/utils/htmlElementToLeaf.spec.tsx index 6d7d938fc3..12b95e68c2 100644 --- a/packages/core/src/plugins/html-deserializer/utils/htmlElementToLeaf.spec.tsx +++ b/packages/core/src/plugins/html-deserializer/utils/htmlElementToLeaf.spec.tsx @@ -1,11 +1,13 @@ /* eslint-disable react-hooks/rules-of-hooks */ /** @jsx jsx */ -import { createBoldPlugin } from '@udecode/plate-basic-marks/src/createBoldPlugin'; -import { createItalicPlugin } from '@udecode/plate-basic-marks/src/createItalicPlugin'; +import { + createBoldPlugin, + createItalicPlugin, +} from '@udecode/plate-basic-marks'; import { createPlateEditor } from '@udecode/plate-common'; -import { createListPlugin } from '@udecode/plate-list/src/createListPlugin'; -import { createParagraphPlugin } from '@udecode/plate-paragraph/src/createParagraphPlugin'; +import { createListPlugin } from '@udecode/plate-list'; +import { createParagraphPlugin } from '@udecode/plate-paragraph'; import { jsx } from '@udecode/plate-test-utils'; import { htmlElementToLeaf } from './htmlElementToLeaf'; diff --git a/packages/core/src/plugins/html-deserializer/utils/pluginDeserializeHtml.spec.ts b/packages/core/src/plugins/html-deserializer/utils/pluginDeserializeHtml.spec.ts index 254e92621d..47845073a8 100644 --- a/packages/core/src/plugins/html-deserializer/utils/pluginDeserializeHtml.spec.ts +++ b/packages/core/src/plugins/html-deserializer/utils/pluginDeserializeHtml.spec.ts @@ -1,6 +1,6 @@ -import { MARK_BOLD } from '@udecode/plate-basic-marks/src/createBoldPlugin'; +import { MARK_BOLD } from '@udecode/plate-basic-marks'; import { createPlateEditor, mockPlugin } from '@udecode/plate-common'; -import { ELEMENT_PARAGRAPH } from '@udecode/plate-paragraph/src/createParagraphPlugin'; +import { ELEMENT_PARAGRAPH } from '@udecode/plate-paragraph'; import { pluginDeserializeHtml } from './pluginDeserializeHtml'; diff --git a/packages/core/src/plugins/withPlate.spec.ts b/packages/core/src/plugins/withPlate.spec.ts index 3247253f44..153ae8991f 100644 --- a/packages/core/src/plugins/withPlate.spec.ts +++ b/packages/core/src/plugins/withPlate.spec.ts @@ -1,7 +1,7 @@ import { PlatePlugin } from '@udecode/plate-common'; -import { createHeadingPlugin } from '@udecode/plate-heading/src/createHeadingPlugin'; -import { createParagraphPlugin } from '@udecode/plate-paragraph/src/createParagraphPlugin'; -import { createTEditor } from '@udecode/slate/src/createTEditor'; +import { createHeadingPlugin } from '@udecode/plate-heading'; +import { createParagraphPlugin } from '@udecode/plate-paragraph'; +import { createTEditor } from '@udecode/slate'; import { getPlugin } from '../utils/index'; import { KEY_DESERIALIZE_AST } from './createDeserializeAstPlugin'; diff --git a/packages/core/src/transforms/__tests__/mergeDeepToNodes/default-options.spec.tsx b/packages/core/src/transforms/__tests__/mergeDeepToNodes/default-options.spec.tsx index 24a369ae46..32f20d8967 100644 --- a/packages/core/src/transforms/__tests__/mergeDeepToNodes/default-options.spec.tsx +++ b/packages/core/src/transforms/__tests__/mergeDeepToNodes/default-options.spec.tsx @@ -2,7 +2,7 @@ import { PlateEditor } from '@udecode/plate-common'; import { jsx } from '@udecode/plate-test-utils'; -import { TNode } from '@udecode/slate/src/interfaces/node/TNode'; +import { TNode } from '@udecode/slate'; import { mergeDeepToNodes } from '../../../utils/index'; diff --git a/packages/core/src/transforms/__tests__/mergeDeepToNodes/descendant-editor-elements-nested.spec.tsx b/packages/core/src/transforms/__tests__/mergeDeepToNodes/descendant-editor-elements-nested.spec.tsx index 8021716ae2..31b4cc7c56 100644 --- a/packages/core/src/transforms/__tests__/mergeDeepToNodes/descendant-editor-elements-nested.spec.tsx +++ b/packages/core/src/transforms/__tests__/mergeDeepToNodes/descendant-editor-elements-nested.spec.tsx @@ -1,7 +1,7 @@ /** @jsx jsx */ -import { ELEMENT_LI } from '@udecode/plate-list/src/createListPlugin'; -import { ELEMENT_PARAGRAPH } from '@udecode/plate-paragraph/src/createParagraphPlugin'; +import { ELEMENT_LI } from '@udecode/plate-list'; +import { ELEMENT_PARAGRAPH } from '@udecode/plate-paragraph'; import { jsx } from '@udecode/plate-test-utils'; import { isDescendant } from '@udecode/slate'; diff --git a/packages/core/src/transforms/__tests__/mergeDeepToNodes/descendant-elements-nested.spec.tsx b/packages/core/src/transforms/__tests__/mergeDeepToNodes/descendant-elements-nested.spec.tsx index ab58665284..0f8b6bb561 100644 --- a/packages/core/src/transforms/__tests__/mergeDeepToNodes/descendant-elements-nested.spec.tsx +++ b/packages/core/src/transforms/__tests__/mergeDeepToNodes/descendant-elements-nested.spec.tsx @@ -1,7 +1,7 @@ /** @jsx jsx */ -import { ELEMENT_LI } from '@udecode/plate-list/src/createListPlugin'; -import { ELEMENT_PARAGRAPH } from '@udecode/plate-paragraph/src/createParagraphPlugin'; +import { ELEMENT_LI } from '@udecode/plate-list'; +import { ELEMENT_PARAGRAPH } from '@udecode/plate-paragraph'; import { jsx } from '@udecode/plate-test-utils'; import { isDescendant } from '@udecode/slate'; diff --git a/packages/core/src/transforms/__tests__/mergeDeepToNodes/elements-editor-elements-nested.spec.tsx b/packages/core/src/transforms/__tests__/mergeDeepToNodes/elements-editor-elements-nested.spec.tsx index c7e0d2b8da..3cd576ba38 100644 --- a/packages/core/src/transforms/__tests__/mergeDeepToNodes/elements-editor-elements-nested.spec.tsx +++ b/packages/core/src/transforms/__tests__/mergeDeepToNodes/elements-editor-elements-nested.spec.tsx @@ -1,9 +1,9 @@ /** @jsx jsx */ -import { ELEMENT_LI } from '@udecode/plate-list/src/createListPlugin'; -import { ELEMENT_PARAGRAPH } from '@udecode/plate-paragraph/src/createParagraphPlugin'; +import { ELEMENT_LI } from '@udecode/plate-list'; +import { ELEMENT_PARAGRAPH } from '@udecode/plate-paragraph'; import { jsx } from '@udecode/plate-test-utils'; -import { isElement } from '@udecode/slate/src/interfaces/element/isElement'; +import { isElement } from '@udecode/slate'; import { mergeDeepToNodes } from '../../../utils/index'; diff --git a/packages/core/src/transforms/__tests__/mergeDeepToNodes/elements-nested.spec.tsx b/packages/core/src/transforms/__tests__/mergeDeepToNodes/elements-nested.spec.tsx index 8894d01518..b23b8574d8 100644 --- a/packages/core/src/transforms/__tests__/mergeDeepToNodes/elements-nested.spec.tsx +++ b/packages/core/src/transforms/__tests__/mergeDeepToNodes/elements-nested.spec.tsx @@ -1,9 +1,9 @@ /** @jsx jsx */ -import { ELEMENT_LI } from '@udecode/plate-list/src/createListPlugin'; -import { ELEMENT_PARAGRAPH } from '@udecode/plate-paragraph/src/createParagraphPlugin'; +import { ELEMENT_LI } from '@udecode/plate-list'; +import { ELEMENT_PARAGRAPH } from '@udecode/plate-paragraph'; import { jsx } from '@udecode/plate-test-utils'; -import { isElement } from '@udecode/slate/src/interfaces/element/isElement'; +import { isElement } from '@udecode/slate'; import { mergeDeepToNodes } from '../../../utils/index'; diff --git a/packages/core/src/transforms/__tests__/mergeDeepToNodes/elements-text.spec.tsx b/packages/core/src/transforms/__tests__/mergeDeepToNodes/elements-text.spec.tsx index 8b01dec40a..cb6c52c900 100644 --- a/packages/core/src/transforms/__tests__/mergeDeepToNodes/elements-text.spec.tsx +++ b/packages/core/src/transforms/__tests__/mergeDeepToNodes/elements-text.spec.tsx @@ -1,7 +1,7 @@ /** @jsx jsx */ import { jsx } from '@udecode/plate-test-utils'; -import { isElement } from '@udecode/slate/src/interfaces/element/isElement'; +import { isElement } from '@udecode/slate'; import { mergeDeepToNodes } from '../../../utils/index'; diff --git a/packages/core/src/transforms/__tests__/toggleMark/active.spec.tsx b/packages/core/src/transforms/__tests__/toggleMark/active.spec.tsx index 54a1f3a3ba..087129c8a3 100644 --- a/packages/core/src/transforms/__tests__/toggleMark/active.spec.tsx +++ b/packages/core/src/transforms/__tests__/toggleMark/active.spec.tsx @@ -2,7 +2,7 @@ import { MARK_BOLD } from '@udecode/plate-basic-marks'; import { jsx } from '@udecode/plate-test-utils'; -import { toggleMark } from '@udecode/slate-utils/src/transforms/toggleMark'; +import { toggleMark } from '@udecode/slate-utils'; jsx; diff --git a/packages/core/src/transforms/__tests__/toggleMark/clear.spec.tsx b/packages/core/src/transforms/__tests__/toggleMark/clear.spec.tsx index 905e806a33..89a2591cda 100644 --- a/packages/core/src/transforms/__tests__/toggleMark/clear.spec.tsx +++ b/packages/core/src/transforms/__tests__/toggleMark/clear.spec.tsx @@ -2,7 +2,7 @@ import { MARK_BOLD, MARK_ITALIC } from '@udecode/plate-basic-marks'; import { jsx } from '@udecode/plate-test-utils'; -import { toggleMark } from '@udecode/slate-utils/src/transforms/toggleMark'; +import { toggleMark } from '@udecode/slate-utils'; jsx; diff --git a/packages/core/src/transforms/__tests__/toggleMark/inactive.spec.tsx b/packages/core/src/transforms/__tests__/toggleMark/inactive.spec.tsx index f03484b727..107297dbc7 100644 --- a/packages/core/src/transforms/__tests__/toggleMark/inactive.spec.tsx +++ b/packages/core/src/transforms/__tests__/toggleMark/inactive.spec.tsx @@ -2,7 +2,7 @@ import { MARK_BOLD } from '@udecode/plate-basic-marks'; import { jsx } from '@udecode/plate-test-utils'; -import { toggleMark } from '@udecode/slate-utils/src/transforms/toggleMark'; +import { toggleMark } from '@udecode/slate-utils'; jsx; diff --git a/packages/core/src/transforms/__tests__/toggleNodeType/inactive.spec.tsx b/packages/core/src/transforms/__tests__/toggleNodeType/inactive.spec.tsx index 5a34bbbb3a..c85a989b8e 100644 --- a/packages/core/src/transforms/__tests__/toggleNodeType/inactive.spec.tsx +++ b/packages/core/src/transforms/__tests__/toggleNodeType/inactive.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { ELEMENT_BLOCKQUOTE } from '@udecode/plate-block-quote/src/createBlockquotePlugin'; +import { ELEMENT_BLOCKQUOTE } from '@udecode/plate-block-quote'; import { PlateEditor, toggleNodeType } from '@udecode/plate-common'; import { jsx } from '@udecode/plate-test-utils'; diff --git a/packages/core/src/utils/__tests__/onKeyDownMark/invalid.spec.tsx b/packages/core/src/utils/__tests__/onKeyDownMark/invalid.spec.tsx index 1cc635928f..da6e47b96d 100644 --- a/packages/core/src/utils/__tests__/onKeyDownMark/invalid.spec.tsx +++ b/packages/core/src/utils/__tests__/onKeyDownMark/invalid.spec.tsx @@ -1,16 +1,13 @@ /** @jsx jsx */ -import { - createBoldPlugin, - MARK_BOLD, -} from '@udecode/plate-basic-marks/src/createBoldPlugin'; +import { createBoldPlugin, MARK_BOLD } from '@udecode/plate-basic-marks'; import { createPlateEditor, getPlugin, ToggleMarkPlugin, } from '@udecode/plate-common'; import { jsx } from '@udecode/plate-test-utils'; -import { onKeyDownToggleMark } from '@udecode/plate-utils/src/plate/onKeyDownToggleMark'; +import { onKeyDownToggleMark } from '@udecode/plate-utils'; jsx; diff --git a/packages/core/src/utils/__tests__/onKeyDownMark/valid-clear.spec.tsx b/packages/core/src/utils/__tests__/onKeyDownMark/valid-clear.spec.tsx index 9a3bdb6b77..5c87efcf06 100644 --- a/packages/core/src/utils/__tests__/onKeyDownMark/valid-clear.spec.tsx +++ b/packages/core/src/utils/__tests__/onKeyDownMark/valid-clear.spec.tsx @@ -11,8 +11,8 @@ import { onKeyDownToggleMark, ToggleMarkPlugin, } from '@udecode/plate-common'; +import * as isHotkey from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import * as isHotkey from 'is-hotkey'; jsx; @@ -52,7 +52,7 @@ const editor = createPlateEditor({ }); it('should be', () => { - jest.spyOn(isHotkey, 'default').mockReturnValue(true); + jest.spyOn(isHotkey, 'isHotkey').mockReturnValue(true); onKeyDownToggleMark( editor, diff --git a/packages/core/src/utils/__tests__/onKeyDownMark/valid.spec.tsx b/packages/core/src/utils/__tests__/onKeyDownMark/valid.spec.tsx index bf63ce2ba6..40d7ab6c77 100644 --- a/packages/core/src/utils/__tests__/onKeyDownMark/valid.spec.tsx +++ b/packages/core/src/utils/__tests__/onKeyDownMark/valid.spec.tsx @@ -1,13 +1,10 @@ /** @jsx jsx */ -import { - createBoldPlugin, - MARK_BOLD, -} from '@udecode/plate-basic-marks/src/createBoldPlugin'; +import { createBoldPlugin, MARK_BOLD } from '@udecode/plate-basic-marks'; import { createPlateEditor } from '@udecode/plate-common'; +import * as isHotkey from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import { onKeyDownToggleMark } from '@udecode/plate-utils/src/plate/onKeyDownToggleMark'; -import * as isHotkey from 'is-hotkey'; +import { onKeyDownToggleMark } from '@udecode/plate-utils'; import { ToggleMarkPlugin } from '../../../types/index'; import { getPlugin } from '../../getPlugin'; @@ -48,7 +45,7 @@ const editor = createPlateEditor({ }); it('should be', () => { - jest.spyOn(isHotkey, 'default').mockReturnValue(true); + jest.spyOn(isHotkey, 'isHotkey').mockReturnValue(true); onKeyDownToggleMark( editor, diff --git a/packages/core/src/utils/createPlugins.spec.ts b/packages/core/src/utils/createPlugins.spec.ts index eabb081e2b..e705e28fa8 100644 --- a/packages/core/src/utils/createPlugins.spec.ts +++ b/packages/core/src/utils/createPlugins.spec.ts @@ -1,7 +1,7 @@ import { createHeadingPlugin, ELEMENT_H1 } from '@udecode/plate-heading'; import { createNodeIdPlugin } from '@udecode/plate-node-id'; import { createParagraphPlugin } from '@udecode/plate-paragraph'; -import { createTEditor } from '@udecode/slate/src/createTEditor'; +import { createTEditor } from '@udecode/slate'; import { withPlate } from '../plugins/index'; import { createPlugins } from './createPlugins'; diff --git a/packages/core/src/utils/hotkeys.ts b/packages/core/src/utils/hotkeys.ts index 0869d60dc3..996016b56b 100644 --- a/packages/core/src/utils/hotkeys.ts +++ b/packages/core/src/utils/hotkeys.ts @@ -3,6 +3,8 @@ import { isComposing, TReactEditor } from '@udecode/slate-react'; import { IS_APPLE } from '@udecode/utils'; import { isKeyHotkey } from 'is-hotkey'; +export { isHotkey } from 'is-hotkey'; + /** * Hotkey mappings for each platform. */ diff --git a/packages/core/src/utils/mergeDeepPlugins.spec.ts b/packages/core/src/utils/mergeDeepPlugins.spec.ts index 81f5b39cb4..8244c24978 100644 --- a/packages/core/src/utils/mergeDeepPlugins.spec.ts +++ b/packages/core/src/utils/mergeDeepPlugins.spec.ts @@ -1,4 +1,4 @@ -import { createTEditor } from '@udecode/slate/src/createTEditor'; +import { createTEditor } from '@udecode/slate'; import { mergeDeepPlugins } from './mergeDeepPlugins'; import { mockPlugin } from './mockPlugin'; diff --git a/packages/cursor/package.json b/packages/cursor/package.json index e1fa078806..1d4fb70601 100644 --- a/packages/cursor/package.json +++ b/packages/cursor/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/dnd/package.json b/packages/dnd/package.json index cae9203efc..5cd91d7630 100644 --- a/packages/dnd/package.json +++ b/packages/dnd/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/emoji/package.json b/packages/emoji/package.json index e54173e020..efe1749de6 100644 --- a/packages/emoji/package.json +++ b/packages/emoji/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/excalidraw/package.json b/packages/excalidraw/package.json index a16826993f..90d5349067 100644 --- a/packages/excalidraw/package.json +++ b/packages/excalidraw/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/find-replace/package.json b/packages/find-replace/package.json index b6c29c20d4..2fba95f73b 100644 --- a/packages/find-replace/package.json +++ b/packages/find-replace/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/floating/package.json b/packages/floating/package.json index 8e9b981181..c7f3bac1e6 100644 --- a/packages/floating/package.json +++ b/packages/floating/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/font/package.json b/packages/font/package.json index bdc84e92e7..a94a2f7d9e 100644 --- a/packages/font/package.json +++ b/packages/font/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/heading/package.json b/packages/heading/package.json index be6b6c9a27..f3035b84f6 100644 --- a/packages/heading/package.json +++ b/packages/heading/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/highlight/package.json b/packages/highlight/package.json index 2e86589c50..3dd20fc664 100644 --- a/packages/highlight/package.json +++ b/packages/highlight/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/horizontal-rule/package.json b/packages/horizontal-rule/package.json index f609528429..5f658c4830 100644 --- a/packages/horizontal-rule/package.json +++ b/packages/horizontal-rule/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/indent-list/package.json b/packages/indent-list/package.json index ecab28e9d3..ef0636492b 100644 --- a/packages/indent-list/package.json +++ b/packages/indent-list/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/indent-list/src/onKeyDownIndentList.spec.tsx b/packages/indent-list/src/onKeyDownIndentList.spec.tsx index 428ef8efc1..ab77376c03 100644 --- a/packages/indent-list/src/onKeyDownIndentList.spec.tsx +++ b/packages/indent-list/src/onKeyDownIndentList.spec.tsx @@ -1,9 +1,9 @@ /** @jsx jsx */ import { createPlateEditor, getPlugin } from '@udecode/plate-common'; +import * as isHotkey from '@udecode/plate-core'; import { createIndentPlugin } from '@udecode/plate-indent'; import { jsx } from '@udecode/plate-test-utils'; -import * as isHotkey from 'is-hotkey'; import { createIndentListPlugin, @@ -14,7 +14,7 @@ import { onKeyDownIndentList } from './onKeyDownIndentList'; jsx; -jest.spyOn(isHotkey, 'default').mockReturnValue(true); +jest.spyOn(isHotkey, 'isHotkey').mockReturnValue(true); describe('when indented list and empty', () => { it('should outdent', () => { diff --git a/packages/indent-list/src/onKeyDownIndentList.ts b/packages/indent-list/src/onKeyDownIndentList.ts index 4ae014cd89..b9723a4e8a 100644 --- a/packages/indent-list/src/onKeyDownIndentList.ts +++ b/packages/indent-list/src/onKeyDownIndentList.ts @@ -1,13 +1,13 @@ import { getBlockAbove, isBlockAboveEmpty, + isHotkey, KeyboardHandlerReturnType, PlateEditor, TElement, Value, WithPlatePlugin, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { IndentListPlugin, diff --git a/packages/indent/package.json b/packages/indent/package.json index a7958d8a56..bfb0380ce5 100644 --- a/packages/indent/package.json +++ b/packages/indent/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/juice/package.json b/packages/juice/package.json index c4b6034c53..aa0cc1a1e7 100644 --- a/packages/juice/package.json +++ b/packages/juice/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/kbd/package.json b/packages/kbd/package.json index bcec4fb4e6..e788d8d309 100644 --- a/packages/kbd/package.json +++ b/packages/kbd/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/line-height/package.json b/packages/line-height/package.json index 95fb59fb68..3d5eb5c7a9 100644 --- a/packages/line-height/package.json +++ b/packages/line-height/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/link/package.json b/packages/link/package.json index 670331943c..216b0af8e3 100644 --- a/packages/link/package.json +++ b/packages/link/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/list/package.json b/packages/list/package.json index 7b1173732a..c899360321 100644 --- a/packages/list/package.json +++ b/packages/list/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/list/src/onKeyDownList.ts b/packages/list/src/onKeyDownList.ts index d0474f72ec..b52d54665c 100644 --- a/packages/list/src/onKeyDownList.ts +++ b/packages/list/src/onKeyDownList.ts @@ -2,6 +2,7 @@ import { getPluginType, Hotkeys, isCollapsed, + isHotkey, KeyboardHandlerReturnType, PlateEditor, select, @@ -10,7 +11,6 @@ import { Value, WithPlatePlugin, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { castArray } from 'lodash'; import { Range } from 'slate'; diff --git a/packages/media/package.json b/packages/media/package.json index fd0b0860b7..5f69a4e986 100644 --- a/packages/media/package.json +++ b/packages/media/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/mention/package.json b/packages/mention/package.json index ac7201bda2..7ac406f462 100644 --- a/packages/mention/package.json +++ b/packages/mention/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/mention/src/handlers/mentionOnKeyDownHandler.spec.tsx b/packages/mention/src/handlers/mentionOnKeyDownHandler.spec.tsx index f9ab7f2f47..71962101b0 100644 --- a/packages/mention/src/handlers/mentionOnKeyDownHandler.spec.tsx +++ b/packages/mention/src/handlers/mentionOnKeyDownHandler.spec.tsx @@ -1,7 +1,7 @@ /** @jsx jsx */ +import * as isHotkey from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import * as isHotkey from 'is-hotkey'; import { createEditorWithMentions } from '../__tests__/createEditorWithMentions'; @@ -22,7 +22,7 @@ describe('mentionOnKeyDownHandler', () => { { pluginOptions: { trigger } } ); - jest.spyOn(isHotkey, 'default').mockReturnValue(true); + jest.spyOn(isHotkey, 'isHotkey').mockReturnValue(true); // mentionOnKeyDownHandler({})(editor)( // new KeyboardEvent('keydown', { key: 'Escape' }) as any diff --git a/packages/mention/src/handlers/mentionOnKeyDownHandler.ts b/packages/mention/src/handlers/mentionOnKeyDownHandler.ts index 3a4e757361..c6bf9563a8 100644 --- a/packages/mention/src/handlers/mentionOnKeyDownHandler.ts +++ b/packages/mention/src/handlers/mentionOnKeyDownHandler.ts @@ -1,5 +1,4 @@ -import { PlateEditor, Value } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; +import { isHotkey, PlateEditor, Value } from '@udecode/plate-common'; import { findMentionInput } from '../queries/index'; import { removeMentionInput } from '../transforms/index'; diff --git a/packages/mention/src/handlers/moveSelectionByOffset.ts b/packages/mention/src/handlers/moveSelectionByOffset.ts index 62167c9c87..6c7defba4f 100644 --- a/packages/mention/src/handlers/moveSelectionByOffset.ts +++ b/packages/mention/src/handlers/moveSelectionByOffset.ts @@ -1,5 +1,9 @@ -import { moveSelection, PlateEditor, Value } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; +import { + isHotkey, + moveSelection, + PlateEditor, + Value, +} from '@udecode/plate-common'; import { Range } from 'slate'; import { KeyboardEventHandler } from './KeyboardEventHandler'; diff --git a/packages/node-id/package.json b/packages/node-id/package.json index 8ea4e54b25..418fbc7c44 100644 --- a/packages/node-id/package.json +++ b/packages/node-id/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/node-id/src/createNodeIdPlugin.spec.tsx b/packages/node-id/src/createNodeIdPlugin.spec.tsx index 0d37954476..191c901d1e 100644 --- a/packages/node-id/src/createNodeIdPlugin.spec.tsx +++ b/packages/node-id/src/createNodeIdPlugin.spec.tsx @@ -7,11 +7,8 @@ import { PlateEditor, splitNodes, } from '@udecode/plate-common'; -import { - ELEMENT_LI, - ELEMENT_UL, -} from '@udecode/plate-list/src/createListPlugin'; -import { ELEMENT_PARAGRAPH } from '@udecode/plate-paragraph/src/createParagraphPlugin'; +import { ELEMENT_LI, ELEMENT_UL } from '@udecode/plate-list'; +import { ELEMENT_PARAGRAPH } from '@udecode/plate-paragraph'; import { jsx } from '@udecode/plate-test-utils'; import { createNodeIdPlugin } from './createNodeIdPlugin'; diff --git a/packages/normalizers/package.json b/packages/normalizers/package.json index 91bc0e2569..452bd253b1 100644 --- a/packages/normalizers/package.json +++ b/packages/normalizers/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/paragraph/package.json b/packages/paragraph/package.json index 4e61ef62d6..e6c8e1d41e 100644 --- a/packages/paragraph/package.json +++ b/packages/paragraph/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/plate-utils/package.json b/packages/plate-utils/package.json index 60af92db2c..a094475bc2 100644 --- a/packages/plate-utils/package.json +++ b/packages/plate-utils/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/plate-utils/src/plate/onKeyDownToggleElement.ts b/packages/plate-utils/src/plate/onKeyDownToggleElement.ts index a6dece66f4..5f31245c33 100644 --- a/packages/plate-utils/src/plate/onKeyDownToggleElement.ts +++ b/packages/plate-utils/src/plate/onKeyDownToggleElement.ts @@ -2,13 +2,13 @@ import { ELEMENT_DEFAULT, getPluginType, HotkeyPlugin, + isHotkey, KeyboardHandlerReturnType, PlateEditor, toggleNodeType, WithPlatePlugin, } from '@udecode/plate-core'; import { Value } from '@udecode/slate'; -import isHotkey from 'is-hotkey'; import { castArray } from 'lodash'; export const onKeyDownToggleElement = diff --git a/packages/plate-utils/src/plate/onKeyDownToggleMark.ts b/packages/plate-utils/src/plate/onKeyDownToggleMark.ts index 85b2387488..d8305f8221 100644 --- a/packages/plate-utils/src/plate/onKeyDownToggleMark.ts +++ b/packages/plate-utils/src/plate/onKeyDownToggleMark.ts @@ -1,4 +1,5 @@ import { + isHotkey, KeyboardHandlerReturnType, PlateEditor, ToggleMarkPlugin, @@ -6,7 +7,6 @@ import { } from '@udecode/plate-core'; import { Value } from '@udecode/slate'; import { toggleMark } from '@udecode/slate-utils'; -import isHotkey from 'is-hotkey'; export const onKeyDownToggleMark = = PlateEditor>( diff --git a/packages/plate/package.json b/packages/plate/package.json index 2be66ff24b..11b55f4817 100644 --- a/packages/plate/package.json +++ b/packages/plate/package.json @@ -15,12 +15,21 @@ "installConfig": { "hoistingLimits": "workspaces" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/reset-node/package.json b/packages/reset-node/package.json index 5c5d67d201..03f9e5fbd5 100644 --- a/packages/reset-node/package.json +++ b/packages/reset-node/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/reset-node/src/onKeyDownResetNode.spec.tsx b/packages/reset-node/src/onKeyDownResetNode.spec.tsx index 3faac6388b..863d40acd4 100644 --- a/packages/reset-node/src/onKeyDownResetNode.spec.tsx +++ b/packages/reset-node/src/onKeyDownResetNode.spec.tsx @@ -13,10 +13,10 @@ import { isSelectionAtBlockStart, mockPlugin, } from '@udecode/plate-common'; +import * as isHotkey from '@udecode/plate-core'; import { ELEMENT_LI, unwrapList } from '@udecode/plate-list'; import { ELEMENT_PARAGRAPH } from '@udecode/plate-paragraph'; import { jsx } from '@udecode/plate-test-utils'; -import * as isHotkey from 'is-hotkey'; import { onKeyDownResetNode } from './onKeyDownResetNode'; @@ -72,7 +72,7 @@ describe('onKeyDownResetNode', () => { }); jest - .spyOn(isHotkey, 'default') + .spyOn(isHotkey, 'isHotkey') .mockImplementation((hotkey) => hotkey === 'Enter'); onKeyDownResetNode(editor, plugin)(new KeyboardEvent('keydown') as any); @@ -104,7 +104,7 @@ describe('onKeyDownResetNode', () => { }); jest - .spyOn(isHotkey, 'default') + .spyOn(isHotkey, 'isHotkey') .mockImplementation((hotkey) => hotkey === 'Backspace'); onKeyDownResetNode(editor, plugin)(new KeyboardEvent('keydown') as any); @@ -163,7 +163,7 @@ describe('onKeyDownResetNode', () => { }); jest - .spyOn(isHotkey, 'default') + .spyOn(isHotkey, 'isHotkey') .mockImplementation((hotkey) => hotkey === 'Enter'); onKeyDownResetNode(editor, plugin)(new KeyboardEvent('keydown') as any); @@ -203,7 +203,7 @@ describe('onKeyDownResetNode', () => { }); jest - .spyOn(isHotkey, 'default') + .spyOn(isHotkey, 'isHotkey') .mockImplementation((hotkey) => hotkey === 'Enter'); onKeyDownResetNode(editor, plugin)(new KeyboardEvent('keydown') as any); @@ -239,7 +239,7 @@ describe('onKeyDownResetNode', () => { }); jest - .spyOn(isHotkey, 'default') + .spyOn(isHotkey, 'isHotkey') .mockImplementation((hotkey) => hotkey === 'Backspace'); onKeyDownResetNode(editor, plugin)(new KeyboardEvent('keydown') as any); @@ -279,7 +279,7 @@ describe('onKeyDownResetNode', () => { }); jest - .spyOn(isHotkey, 'default') + .spyOn(isHotkey, 'isHotkey') .mockImplementation((hotkey) => hotkey === 'Backspace'); onKeyDownResetNode(editor, plugin)(new KeyboardEvent('keydown') as any); @@ -332,7 +332,7 @@ describe('onKeyDownResetNode', () => { }); jest - .spyOn(isHotkey, 'default') + .spyOn(isHotkey, 'isHotkey') .mockImplementation((hotkey) => hotkey === 'Enter'); onKeyDownResetNode(editor, plugin)(new KeyboardEvent('keydown') as any); @@ -376,7 +376,7 @@ describe('onKeyDownResetNode', () => { }); jest - .spyOn(isHotkey, 'default') + .spyOn(isHotkey, 'isHotkey') .mockImplementation((hotkey) => hotkey === 'Backspace'); onKeyDownResetNode(editor, plugin)(new KeyboardEvent('keydown') as any); diff --git a/packages/reset-node/src/onKeyDownResetNode.ts b/packages/reset-node/src/onKeyDownResetNode.ts index 8494335ec2..4134fdb7bd 100644 --- a/packages/reset-node/src/onKeyDownResetNode.ts +++ b/packages/reset-node/src/onKeyDownResetNode.ts @@ -1,5 +1,6 @@ import { isCollapsed, + isHotkey, KeyboardHandlerReturnType, PlateEditor, setElements, @@ -7,7 +8,6 @@ import { Value, WithPlatePlugin, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { ResetNodePlugin } from './types'; diff --git a/packages/resizable/package.json b/packages/resizable/package.json index 91ba9b100c..a92a86e89a 100644 --- a/packages/resizable/package.json +++ b/packages/resizable/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/select/package.json b/packages/select/package.json index 1eaa15c7f1..bfad9b3894 100644 --- a/packages/select/package.json +++ b/packages/select/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/selection/package.json b/packages/selection/package.json index 103252b034..d057c86652 100644 --- a/packages/selection/package.json +++ b/packages/selection/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/selection/src/useHooksBlockSelection.ts b/packages/selection/src/useHooksBlockSelection.ts index 61ee2acca3..92f5ad8505 100644 --- a/packages/selection/src/useHooksBlockSelection.ts +++ b/packages/selection/src/useHooksBlockSelection.ts @@ -4,12 +4,12 @@ import { focusEditor, getEndPoint, isEditorReadOnly, + isHotkey, PlateEditor, removeNodes, Value, WithPlatePlugin, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { blockSelectionActions, diff --git a/packages/serializer-csv/package.json b/packages/serializer-csv/package.json index df6af3d3bd..f214c4b636 100644 --- a/packages/serializer-csv/package.json +++ b/packages/serializer-csv/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/serializer-docx/package.json b/packages/serializer-docx/package.json index 085a0af31a..dc2eb61c57 100644 --- a/packages/serializer-docx/package.json +++ b/packages/serializer-docx/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/serializer-html/package.json b/packages/serializer-html/package.json index 5de0b6043a..281fae3a94 100644 --- a/packages/serializer-html/package.json +++ b/packages/serializer-html/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/serializer-md/package.json b/packages/serializer-md/package.json index c44de6f08b..f65cd329d5 100644 --- a/packages/serializer-md/package.json +++ b/packages/serializer-md/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/slate-react/package.json b/packages/slate-react/package.json index ba7f7feb07..92345349f6 100644 --- a/packages/slate-react/package.json +++ b/packages/slate-react/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/slate-utils/package.json b/packages/slate-utils/package.json index 8408f953e4..98c3139d08 100644 --- a/packages/slate-utils/package.json +++ b/packages/slate-utils/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/slate-utils/src/queries/__tests__/getNode/found.spec.tsx b/packages/slate-utils/src/queries/__tests__/getNode/found.spec.tsx index 841f19f623..c95a31d149 100644 --- a/packages/slate-utils/src/queries/__tests__/getNode/found.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getNode/found.spec.tsx @@ -1,8 +1,8 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import { getNode } from '@udecode/slate/src/interfaces/node/getNode'; +import { getNode } from '@udecode/slate'; jsx; diff --git a/packages/slate-utils/src/queries/__tests__/getNode/not-found.spec.tsx b/packages/slate-utils/src/queries/__tests__/getNode/not-found.spec.tsx index 2c5f9bb28d..04fe809673 100644 --- a/packages/slate-utils/src/queries/__tests__/getNode/not-found.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getNode/not-found.spec.tsx @@ -1,8 +1,8 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import { getNode } from '@udecode/slate/src/interfaces/node/getNode'; +import { getNode } from '@udecode/slate'; jsx; diff --git a/packages/slate-utils/src/queries/__tests__/getParent/not-root.spec.ts b/packages/slate-utils/src/queries/__tests__/getParent/not-root.spec.ts index 4de9a65bc2..726fe1f7b1 100644 --- a/packages/slate-utils/src/queries/__tests__/getParent/not-root.spec.ts +++ b/packages/slate-utils/src/queries/__tests__/getParent/not-root.spec.ts @@ -1,5 +1,4 @@ -import { createTEditor } from '@udecode/slate/src/createTEditor'; -import { getParentNode } from '@udecode/slate/src/interfaces/editor/getParentNode'; +import { createTEditor, getParentNode } from '@udecode/slate'; it('should be', () => { expect(getParentNode(createTEditor(), [0])?.[1]).toEqual([]); diff --git a/packages/slate-utils/src/queries/__tests__/getParent/root.spec.ts b/packages/slate-utils/src/queries/__tests__/getParent/root.spec.ts index f44c4a041f..22564a80cd 100644 --- a/packages/slate-utils/src/queries/__tests__/getParent/root.spec.ts +++ b/packages/slate-utils/src/queries/__tests__/getParent/root.spec.ts @@ -1,5 +1,4 @@ -import { createTEditor } from '@udecode/slate/src/createTEditor'; -import { getParentNode } from '@udecode/slate/src/interfaces/editor/getParentNode'; +import { createTEditor, getParentNode } from '@udecode/slate'; it('should be', () => { expect(getParentNode(createTEditor(), [])).toEqual(undefined); diff --git a/packages/slate-utils/src/queries/__tests__/getPointBefore/afterMatch/character.spec.tsx b/packages/slate-utils/src/queries/__tests__/getPointBefore/afterMatch/character.spec.tsx index 551e64d288..bb46cc8f6d 100644 --- a/packages/slate-utils/src/queries/__tests__/getPointBefore/afterMatch/character.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getPointBefore/afterMatch/character.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { getPointBeforeLocation } from '../../../getPointBeforeLocation'; diff --git a/packages/slate-utils/src/queries/__tests__/getPointBefore/afterMatch/string.spec.tsx b/packages/slate-utils/src/queries/__tests__/getPointBefore/afterMatch/string.spec.tsx index 4cc6bf5ed1..0700d5af4f 100644 --- a/packages/slate-utils/src/queries/__tests__/getPointBefore/afterMatch/string.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getPointBefore/afterMatch/string.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { getPointBeforeLocation } from '../../../getPointBeforeLocation'; diff --git a/packages/slate-utils/src/queries/__tests__/getPointBefore/default.spec.tsx b/packages/slate-utils/src/queries/__tests__/getPointBefore/default.spec.tsx index a34bab5b6c..bc491b670b 100644 --- a/packages/slate-utils/src/queries/__tests__/getPointBefore/default.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getPointBefore/default.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { getPointBeforeLocation } from '../../getPointBeforeLocation'; diff --git a/packages/slate-utils/src/queries/__tests__/getPointBefore/match/default.spec.tsx b/packages/slate-utils/src/queries/__tests__/getPointBefore/match/default.spec.tsx index 2e24908d62..9272b692dd 100644 --- a/packages/slate-utils/src/queries/__tests__/getPointBefore/match/default.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getPointBefore/match/default.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { getPointBeforeLocation } from '../../../getPointBeforeLocation'; diff --git a/packages/slate-utils/src/queries/__tests__/getPointBefore/matchString.spec.tsx b/packages/slate-utils/src/queries/__tests__/getPointBefore/matchString.spec.tsx index 956f9c0832..d15daf1711 100644 --- a/packages/slate-utils/src/queries/__tests__/getPointBefore/matchString.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getPointBefore/matchString.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { getPointBeforeLocation } from '../../getPointBeforeLocation'; diff --git a/packages/slate-utils/src/queries/__tests__/getPointBefore/multiPaths/true.spec.tsx b/packages/slate-utils/src/queries/__tests__/getPointBefore/multiPaths/true.spec.tsx index 1343d3ad90..3d324b1b9a 100644 --- a/packages/slate-utils/src/queries/__tests__/getPointBefore/multiPaths/true.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getPointBefore/multiPaths/true.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { getPointBeforeLocation } from '../../../getPointBeforeLocation'; diff --git a/packages/slate-utils/src/queries/__tests__/getPointBefore/skipInvalid/false.spec.tsx b/packages/slate-utils/src/queries/__tests__/getPointBefore/skipInvalid/false.spec.tsx index 2d0d5c1809..0facf26a73 100644 --- a/packages/slate-utils/src/queries/__tests__/getPointBefore/skipInvalid/false.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getPointBefore/skipInvalid/false.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { getPointBeforeLocation } from '../../../getPointBeforeLocation'; diff --git a/packages/slate-utils/src/queries/__tests__/getPointFromLocation/range-focus.spec.tsx b/packages/slate-utils/src/queries/__tests__/getPointFromLocation/range-focus.spec.tsx index 838c954842..f324aa3aa4 100644 --- a/packages/slate-utils/src/queries/__tests__/getPointFromLocation/range-focus.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getPointFromLocation/range-focus.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { getPointFromLocation } from '../../getPointFromLocation'; diff --git a/packages/slate-utils/src/queries/__tests__/getRangeBefore/default.spec.tsx b/packages/slate-utils/src/queries/__tests__/getRangeBefore/default.spec.tsx index be1dd5c2e6..c11f5515da 100644 --- a/packages/slate-utils/src/queries/__tests__/getRangeBefore/default.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getRangeBefore/default.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { getRangeBefore } from '../../getRangeBefore'; diff --git a/packages/slate-utils/src/queries/__tests__/getRangeBefore/undefined.spec.tsx b/packages/slate-utils/src/queries/__tests__/getRangeBefore/undefined.spec.tsx index 08c39983e8..24405c6f39 100644 --- a/packages/slate-utils/src/queries/__tests__/getRangeBefore/undefined.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getRangeBefore/undefined.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { getRangeBefore } from '../../getRangeBefore'; diff --git a/packages/slate-utils/src/queries/__tests__/getRangeFromBlockStart/no-selection.spec.tsx b/packages/slate-utils/src/queries/__tests__/getRangeFromBlockStart/no-selection.spec.tsx index 13bbc41bc7..a074bfcad6 100644 --- a/packages/slate-utils/src/queries/__tests__/getRangeFromBlockStart/no-selection.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getRangeFromBlockStart/no-selection.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { getRangeFromBlockStart } from '../../getRangeFromBlockStart'; diff --git a/packages/slate-utils/src/queries/__tests__/getSelectionText/true.spec.tsx b/packages/slate-utils/src/queries/__tests__/getSelectionText/true.spec.tsx index 3da9967bf5..472fe9a2da 100644 --- a/packages/slate-utils/src/queries/__tests__/getSelectionText/true.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/getSelectionText/true.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { getSelectionText } from '../../getSelectionText'; diff --git a/packages/slate-utils/src/queries/__tests__/isAncestorEmpty/string.spec.tsx b/packages/slate-utils/src/queries/__tests__/isAncestorEmpty/string.spec.tsx index bfcd28c2f1..52aa3d9aba 100644 --- a/packages/slate-utils/src/queries/__tests__/isAncestorEmpty/string.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/isAncestorEmpty/string.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { isAncestorEmpty } from '../../isAncestorEmpty'; diff --git a/packages/slate-utils/src/queries/__tests__/isCollapsed/true.spec.tsx b/packages/slate-utils/src/queries/__tests__/isCollapsed/true.spec.tsx index 58d0dac05b..b55aa3ce99 100644 --- a/packages/slate-utils/src/queries/__tests__/isCollapsed/true.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/isCollapsed/true.spec.tsx @@ -1,8 +1,8 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import { isCollapsed } from '@udecode/slate/src/interfaces/range/isCollapsed'; +import { isCollapsed } from '@udecode/slate'; jsx; diff --git a/packages/slate-utils/src/queries/__tests__/isPointAtWordEnd/element-end.spec.tsx b/packages/slate-utils/src/queries/__tests__/isPointAtWordEnd/element-end.spec.tsx index c6985972ea..da8410926a 100644 --- a/packages/slate-utils/src/queries/__tests__/isPointAtWordEnd/element-end.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/isPointAtWordEnd/element-end.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { Range } from 'slate'; diff --git a/packages/slate-utils/src/queries/__tests__/isPointAtWordEnd/word-end.spec.tsx b/packages/slate-utils/src/queries/__tests__/isPointAtWordEnd/word-end.spec.tsx index df7b751d3e..99313f3856 100644 --- a/packages/slate-utils/src/queries/__tests__/isPointAtWordEnd/word-end.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/isPointAtWordEnd/word-end.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { Range } from 'slate'; diff --git a/packages/slate-utils/src/queries/__tests__/isTextByPath/element.spec.tsx b/packages/slate-utils/src/queries/__tests__/isTextByPath/element.spec.tsx index 27da271bd6..aa5bc75024 100644 --- a/packages/slate-utils/src/queries/__tests__/isTextByPath/element.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/isTextByPath/element.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { isTextByPath } from '../../isTextByPath'; diff --git a/packages/slate-utils/src/queries/__tests__/isTextByPath/text.spec.tsx b/packages/slate-utils/src/queries/__tests__/isTextByPath/text.spec.tsx index 77991a86a1..74bfcb4cf4 100644 --- a/packages/slate-utils/src/queries/__tests__/isTextByPath/text.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/isTextByPath/text.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { isTextByPath } from '../../isTextByPath'; diff --git a/packages/slate-utils/src/queries/__tests__/isType/type.spec.tsx b/packages/slate-utils/src/queries/__tests__/isType/type.spec.tsx index ceed23be50..6d03e72dcd 100644 --- a/packages/slate-utils/src/queries/__tests__/isType/type.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/isType/type.spec.tsx @@ -1,7 +1,7 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import { isType } from '@udecode/plate-utils/src/queries/isType'; +import { isType } from '@udecode/plate-utils'; jsx; diff --git a/packages/slate-utils/src/queries/__tests__/isWordAfterTrigger/trigger-accent.spec.tsx b/packages/slate-utils/src/queries/__tests__/isWordAfterTrigger/trigger-accent.spec.tsx index caa875df68..a890535027 100644 --- a/packages/slate-utils/src/queries/__tests__/isWordAfterTrigger/trigger-accent.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/isWordAfterTrigger/trigger-accent.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { Range } from 'slate'; diff --git a/packages/slate-utils/src/queries/__tests__/isWordAfterTrigger/trigger-space-word.spec.tsx b/packages/slate-utils/src/queries/__tests__/isWordAfterTrigger/trigger-space-word.spec.tsx index 79ad17b920..3d11d943c8 100644 --- a/packages/slate-utils/src/queries/__tests__/isWordAfterTrigger/trigger-space-word.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/isWordAfterTrigger/trigger-space-word.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { Range } from 'slate'; diff --git a/packages/slate-utils/src/queries/__tests__/isWordAfterTrigger/trigger.spec.tsx b/packages/slate-utils/src/queries/__tests__/isWordAfterTrigger/trigger.spec.tsx index 986ddfa792..79f71580ce 100644 --- a/packages/slate-utils/src/queries/__tests__/isWordAfterTrigger/trigger.spec.tsx +++ b/packages/slate-utils/src/queries/__tests__/isWordAfterTrigger/trigger.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { Range } from 'slate'; diff --git a/packages/slate-utils/src/transforms/moveChildren.spec.tsx b/packages/slate-utils/src/transforms/moveChildren.spec.tsx index 5e963a9b4a..bdf3dd98b6 100644 --- a/packages/slate-utils/src/transforms/moveChildren.spec.tsx +++ b/packages/slate-utils/src/transforms/moveChildren.spec.tsx @@ -1,8 +1,8 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; -import { findNode } from '@udecode/slate/src/queries/findNode'; +import { findNode } from '@udecode/slate'; import { Path } from 'slate'; import { moveChildren } from './moveChildren'; diff --git a/packages/slate-utils/src/utils/createNode.spec.ts b/packages/slate-utils/src/utils/createNode.spec.ts index d5a43f2df6..9995efbd2d 100644 --- a/packages/slate-utils/src/utils/createNode.spec.ts +++ b/packages/slate-utils/src/utils/createNode.spec.ts @@ -1,4 +1,4 @@ -import { TElement } from '@udecode/slate/src/interfaces/element/TElement'; +import { TElement } from '@udecode/slate'; import { createNode } from './createNode'; diff --git a/packages/slate/package.json b/packages/slate/package.json index c555a87eca..baf17d8ce5 100644 --- a/packages/slate/package.json +++ b/packages/slate/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/slate/src/interfaces/element/TElement.ts b/packages/slate/src/interfaces/element/TElement.ts index 18f4cb2dd0..3b07c30ab1 100644 --- a/packages/slate/src/interfaces/element/TElement.ts +++ b/packages/slate/src/interfaces/element/TElement.ts @@ -10,10 +10,10 @@ import { EText } from '../text/TText'; * element nodes or text nodes. They can be either "blocks" or "inlines" * depending on the Slate editor's configuration. */ -export interface TElement extends UnknownObject { +export type TElement = UnknownObject & { children: TDescendant[]; type: string; -} +}; /** * Element of an editor. diff --git a/packages/slate/src/interfaces/text/TText.ts b/packages/slate/src/interfaces/text/TText.ts index ceb8862307..0e596a1845 100644 --- a/packages/slate/src/interfaces/text/TText.ts +++ b/packages/slate/src/interfaces/text/TText.ts @@ -9,9 +9,9 @@ import { TNode, TNodeProps } from '../node/TNode'; * Slate document along with any formatting properties. They are always leaf * nodes in the document tree as they cannot contain any children. */ -export interface TText extends UnknownObject { +export type TText = UnknownObject & { text: string; -} +}; /** * Text node of an editor. diff --git a/packages/slate/src/queries/findNode.spec.tsx b/packages/slate/src/queries/findNode.spec.tsx index 3c463b0eb7..296371165d 100644 --- a/packages/slate/src/queries/findNode.spec.tsx +++ b/packages/slate/src/queries/findNode.spec.tsx @@ -1,6 +1,6 @@ /** @jsx jsx */ -import { PlateEditor } from '@udecode/plate-core/src/types/PlateEditor'; +import { PlateEditor } from '@udecode/plate-core'; import { jsx } from '@udecode/plate-test-utils'; import { findNode } from './findNode'; diff --git a/packages/suggestion/package.json b/packages/suggestion/package.json index 7397e536ef..b4266ae4ea 100644 --- a/packages/suggestion/package.json +++ b/packages/suggestion/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/tabbable/package.json b/packages/tabbable/package.json index 9aa2b2401c..c393cae114 100644 --- a/packages/tabbable/package.json +++ b/packages/tabbable/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/table/package.json b/packages/table/package.json index c13f8f93f7..96d662c9a8 100644 --- a/packages/table/package.json +++ b/packages/table/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/table/src/onKeyDownTable.spec.tsx b/packages/table/src/onKeyDownTable.spec.tsx index 09fd66255c..db37ef88ce 100644 --- a/packages/table/src/onKeyDownTable.spec.tsx +++ b/packages/table/src/onKeyDownTable.spec.tsx @@ -1,6 +1,5 @@ /** @jsx jsx */ -import React from 'react'; import { PlateEditor } from '@udecode/plate-common'; import { jsx } from '@udecode/plate-test-utils'; diff --git a/packages/table/src/onKeyDownTable.ts b/packages/table/src/onKeyDownTable.ts index 8efcee3a6a..aaf55f8eb7 100644 --- a/packages/table/src/onKeyDownTable.ts +++ b/packages/table/src/onKeyDownTable.ts @@ -1,6 +1,7 @@ import { getAboveNode, Hotkeys, + isHotkey, KeyboardHandlerReturnType, PlateEditor, PluginOptions, @@ -9,7 +10,6 @@ import { Value, WithPlatePlugin, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { keyShiftEdges } from './constants'; import { diff --git a/packages/table/src/transforms/overrideSelectionFromCell.ts b/packages/table/src/transforms/overrideSelectionFromCell.ts index 9c2752a35d..778af0caee 100644 --- a/packages/table/src/transforms/overrideSelectionFromCell.ts +++ b/packages/table/src/transforms/overrideSelectionFromCell.ts @@ -1,11 +1,11 @@ import { + isHotkey, isRangeAcrossBlocks, isRangeInSameBlock, PlateEditor, TRange, Value, } from '@udecode/plate-common'; -import isHotkey from 'is-hotkey'; import { keyShiftEdges } from '../constants'; import { getCellTypes } from '../utils/index'; diff --git a/packages/test-utils/package.json b/packages/test-utils/package.json index 299e2c3375..e02a972581 100644 --- a/packages/test-utils/package.json +++ b/packages/test-utils/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/trailing-block/package.json b/packages/trailing-block/package.json index 2318e1a374..c326d92f00 100644 --- a/packages/trailing-block/package.json +++ b/packages/trailing-block/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/trailing-block/src/createTrailingBlockPlugin.spec.tsx b/packages/trailing-block/src/createTrailingBlockPlugin.spec.tsx index 92c5a58398..ac2871d355 100644 --- a/packages/trailing-block/src/createTrailingBlockPlugin.spec.tsx +++ b/packages/trailing-block/src/createTrailingBlockPlugin.spec.tsx @@ -1,7 +1,7 @@ /** @jsx jsx */ import { createPlateEditor, ELEMENT_DEFAULT } from '@udecode/plate-common'; -import { ELEMENT_H1 } from '@udecode/plate-heading/src/constants'; +import { ELEMENT_H1 } from '@udecode/plate-heading'; import { jsx } from '@udecode/plate-test-utils'; import { createTrailingBlockPlugin } from './createTrailingBlockPlugin'; diff --git a/packages/utils/package.json b/packages/utils/package.json index 9505db3977..27c554aa7e 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/packages/utils/src/types/AnyObject.ts b/packages/utils/src/types/AnyObject.ts index 3372bc3f5b..0fb7f8ebf2 100644 --- a/packages/utils/src/types/AnyObject.ts +++ b/packages/utils/src/types/AnyObject.ts @@ -1,6 +1,6 @@ -export interface AnyObject { +export type AnyObject = { [key: string]: any; -} +}; export interface UnknownObject { [key: string]: unknown; diff --git a/packages/yjs/package.json b/packages/yjs/package.json index 86376ea9ca..261578b933 100644 --- a/packages/yjs/package.json +++ b/packages/yjs/package.json @@ -12,12 +12,21 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", diff --git a/scripts/plop/templates/package/package.json.hbs b/scripts/plop/templates/package/package.json.hbs index be6c8f4ea5..5ee0a8828b 100644 --- a/scripts/plop/templates/package/package.json.hbs +++ b/scripts/plop/templates/package/package.json.hbs @@ -12,17 +12,25 @@ "bugs": { "url": "https://github.com/udecode/plate/issues" }, + "sideEffects": false, "main": "dist/index.js", - "module": "dist/index.es.js", + "module": "dist/index.mjs", + "types": "dist/index.d.ts", "files": [ - "dist" + "dist/**/*" ], - "types": "dist/index.d.ts", + "exports": { + ".": { + "types": "./dist/index.d.ts", + "import": "./dist/index.mjs", + "module": "./dist/index.mjs", + "require": "./dist/index.js" + } + }, "scripts": { "build": "yarn p:build", "build:watch": "yarn p:build:watch", "brl": "yarn p:brl", - "clean": "yarn p:clean", "lint": "yarn p:lint", "lint:fix": "yarn p:lint:fix", "test": "yarn p:test", @@ -30,7 +38,7 @@ "typecheck": "yarn p:typecheck" }, "scripts": { - "build": "tsc && yarn p:rollup" + "build": "yarn p:tsup" }, "dependencies": { "@udecode/plate-common": "{{coreVersion}}" diff --git a/turbo.json b/turbo.json index 9569991ef6..b07380d3ce 100644 --- a/turbo.json +++ b/turbo.json @@ -59,7 +59,7 @@ }, "test": { "dependsOn": [], - "outputs": [] + "outputs": ["jest.config.cjs"] }, "test:watch": { "dependsOn": [], diff --git a/yarn.lock b/yarn.lock index 7c755aac05..2acf3d48b9 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2314,6 +2314,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/android-arm64@npm:0.18.20" + conditions: os=android & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/android-arm@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/android-arm@npm:0.17.19" @@ -2335,6 +2342,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-arm@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/android-arm@npm:0.18.20" + conditions: os=android & cpu=arm + languageName: node + linkType: hard + "@esbuild/android-x64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/android-x64@npm:0.17.19" @@ -2356,6 +2370,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/android-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/android-x64@npm:0.18.20" + conditions: os=android & cpu=x64 + languageName: node + linkType: hard + "@esbuild/darwin-arm64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/darwin-arm64@npm:0.17.19" @@ -2377,6 +2398,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/darwin-arm64@npm:0.18.20" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/darwin-x64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/darwin-x64@npm:0.17.19" @@ -2398,6 +2426,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/darwin-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/darwin-x64@npm:0.18.20" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + "@esbuild/freebsd-arm64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/freebsd-arm64@npm:0.17.19" @@ -2419,6 +2454,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/freebsd-arm64@npm:0.18.20" + conditions: os=freebsd & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/freebsd-x64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/freebsd-x64@npm:0.17.19" @@ -2440,6 +2482,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/freebsd-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/freebsd-x64@npm:0.18.20" + conditions: os=freebsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/linux-arm64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/linux-arm64@npm:0.17.19" @@ -2461,6 +2510,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-arm64@npm:0.18.20" + conditions: os=linux & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/linux-arm@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/linux-arm@npm:0.17.19" @@ -2482,6 +2538,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-arm@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-arm@npm:0.18.20" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + "@esbuild/linux-ia32@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/linux-ia32@npm:0.17.19" @@ -2503,6 +2566,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ia32@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-ia32@npm:0.18.20" + conditions: os=linux & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/linux-loong64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/linux-loong64@npm:0.17.19" @@ -2524,6 +2594,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-loong64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-loong64@npm:0.18.20" + conditions: os=linux & cpu=loong64 + languageName: node + linkType: hard + "@esbuild/linux-mips64el@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/linux-mips64el@npm:0.17.19" @@ -2545,6 +2622,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-mips64el@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-mips64el@npm:0.18.20" + conditions: os=linux & cpu=mips64el + languageName: node + linkType: hard + "@esbuild/linux-ppc64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/linux-ppc64@npm:0.17.19" @@ -2566,6 +2650,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-ppc64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-ppc64@npm:0.18.20" + conditions: os=linux & cpu=ppc64 + languageName: node + linkType: hard + "@esbuild/linux-riscv64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/linux-riscv64@npm:0.17.19" @@ -2587,6 +2678,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-riscv64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-riscv64@npm:0.18.20" + conditions: os=linux & cpu=riscv64 + languageName: node + linkType: hard + "@esbuild/linux-s390x@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/linux-s390x@npm:0.17.19" @@ -2608,6 +2706,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-s390x@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-s390x@npm:0.18.20" + conditions: os=linux & cpu=s390x + languageName: node + linkType: hard + "@esbuild/linux-x64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/linux-x64@npm:0.17.19" @@ -2629,6 +2734,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/linux-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/linux-x64@npm:0.18.20" + conditions: os=linux & cpu=x64 + languageName: node + linkType: hard + "@esbuild/netbsd-x64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/netbsd-x64@npm:0.17.19" @@ -2650,6 +2762,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/netbsd-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/netbsd-x64@npm:0.18.20" + conditions: os=netbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/openbsd-x64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/openbsd-x64@npm:0.17.19" @@ -2671,6 +2790,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/openbsd-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/openbsd-x64@npm:0.18.20" + conditions: os=openbsd & cpu=x64 + languageName: node + linkType: hard + "@esbuild/sunos-x64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/sunos-x64@npm:0.17.19" @@ -2692,6 +2818,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/sunos-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/sunos-x64@npm:0.18.20" + conditions: os=sunos & cpu=x64 + languageName: node + linkType: hard + "@esbuild/win32-arm64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/win32-arm64@npm:0.17.19" @@ -2713,6 +2846,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-arm64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/win32-arm64@npm:0.18.20" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + "@esbuild/win32-ia32@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/win32-ia32@npm:0.17.19" @@ -2734,6 +2874,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-ia32@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/win32-ia32@npm:0.18.20" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + "@esbuild/win32-x64@npm:0.17.19": version: 0.17.19 resolution: "@esbuild/win32-x64@npm:0.17.19" @@ -2755,6 +2902,13 @@ __metadata: languageName: node linkType: hard +"@esbuild/win32-x64@npm:0.18.20": + version: 0.18.20 + resolution: "@esbuild/win32-x64@npm:0.18.20" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@eslint-community/eslint-utils@npm:^4.2.0, @eslint-community/eslint-utils@npm:^4.3.0, @eslint-community/eslint-utils@npm:^4.4.0": version: 4.4.0 resolution: "@eslint-community/eslint-utils@npm:4.4.0" @@ -2823,6 +2977,13 @@ __metadata: languageName: node linkType: hard +"@fastify/deepmerge@npm:^1.0.0": + version: 1.3.0 + resolution: "@fastify/deepmerge@npm:1.3.0" + checksum: b9815ef1607a962a2f3bb03fb70c60b2c7bbf311f8a7034aecd2f50c848ce9b49089dca1444894e5473e379ad6f301bf2b9975be60d4a924022915629183295f + languageName: node + linkType: hard + "@floating-ui/core@npm:^1.3.1": version: 1.3.1 resolution: "@floating-ui/core@npm:1.3.1" @@ -3005,50 +3166,50 @@ __metadata: languageName: node linkType: hard -"@jest/console@npm:^29.6.1": - version: 29.6.1 - resolution: "@jest/console@npm:29.6.1" +"@jest/console@npm:^29.7.0": + version: 29.7.0 + resolution: "@jest/console@npm:29.7.0" dependencies: - "@jest/types": "npm:^29.6.1" + "@jest/types": "npm:^29.6.3" "@types/node": "npm:*" chalk: "npm:^4.0.0" - jest-message-util: "npm:^29.6.1" - jest-util: "npm:^29.6.1" + jest-message-util: "npm:^29.7.0" + jest-util: "npm:^29.7.0" slash: "npm:^3.0.0" - checksum: bf6e01fcbf03028ba18357f0a364eb93e4e02d5e7a060dc168e43af19304679eaef0c33c61c51e62d7ed1ebe21125588fa8bc47d741f5b5ac5fa256d1a9206b3 + checksum: d92bd7cc7a405b84a4e23e1695d9d5451e687c38e1c38ea8dfc129dbf27f74ac68b72e9d7bc25a552bbab79209ff48c52b08357078ae69c08cfc70ef0236a285 languageName: node linkType: hard -"@jest/core@npm:^29.6.1": - version: 29.6.1 - resolution: "@jest/core@npm:29.6.1" +"@jest/core@npm:^29.7.0": + version: 29.7.0 + resolution: "@jest/core@npm:29.7.0" dependencies: - "@jest/console": "npm:^29.6.1" - "@jest/reporters": "npm:^29.6.1" - "@jest/test-result": "npm:^29.6.1" - "@jest/transform": "npm:^29.6.1" - "@jest/types": "npm:^29.6.1" + "@jest/console": "npm:^29.7.0" + "@jest/reporters": "npm:^29.7.0" + "@jest/test-result": "npm:^29.7.0" + "@jest/transform": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" "@types/node": "npm:*" ansi-escapes: "npm:^4.2.1" chalk: "npm:^4.0.0" ci-info: "npm:^3.2.0" exit: "npm:^0.1.2" graceful-fs: "npm:^4.2.9" - jest-changed-files: "npm:^29.5.0" - jest-config: "npm:^29.6.1" - jest-haste-map: "npm:^29.6.1" - jest-message-util: "npm:^29.6.1" - jest-regex-util: "npm:^29.4.3" - jest-resolve: "npm:^29.6.1" - jest-resolve-dependencies: "npm:^29.6.1" - jest-runner: "npm:^29.6.1" - jest-runtime: "npm:^29.6.1" - jest-snapshot: "npm:^29.6.1" - jest-util: "npm:^29.6.1" - jest-validate: "npm:^29.6.1" - jest-watcher: "npm:^29.6.1" + jest-changed-files: "npm:^29.7.0" + jest-config: "npm:^29.7.0" + jest-haste-map: "npm:^29.7.0" + jest-message-util: "npm:^29.7.0" + jest-regex-util: "npm:^29.6.3" + jest-resolve: "npm:^29.7.0" + jest-resolve-dependencies: "npm:^29.7.0" + jest-runner: "npm:^29.7.0" + jest-runtime: "npm:^29.7.0" + jest-snapshot: "npm:^29.7.0" + jest-util: "npm:^29.7.0" + jest-validate: "npm:^29.7.0" + jest-watcher: "npm:^29.7.0" micromatch: "npm:^4.0.4" - pretty-format: "npm:^29.6.1" + pretty-format: "npm:^29.7.0" slash: "npm:^3.0.0" strip-ansi: "npm:^6.0.0" peerDependencies: @@ -3056,7 +3217,16 @@ __metadata: peerDependenciesMeta: node-notifier: optional: true - checksum: 166de7c07fd6c0cefb2ec4ff8e6555e54cc8a47da1d6cf7a3744e2474970ffc5a19bbfca0dc8a62572a50bd2197f26c7e669bcd679a6676d3d97f383c893d80b + checksum: a715126ce6e671cdebab6b242e9f3f628827d1163dcf175ab363eb7d7ffac427adaaf57a850b2e70d2cc194370add4a7d389094aea20ac9fa3cda00a028f9d45 + languageName: node + linkType: hard + +"@jest/create-cache-key-function@npm:^27.4.2": + version: 27.5.1 + resolution: "@jest/create-cache-key-function@npm:27.5.1" + dependencies: + "@jest/types": "npm:^27.5.1" + checksum: b0ced9f72b275b16e127b329b3af4b4c1abd7bcf715c7c96de12ff143abb8b512e171853d8a61ad27a447899fb82172c66c094870eba28707c108eed0ce88875 languageName: node linkType: hard @@ -3072,6 +3242,18 @@ __metadata: languageName: node linkType: hard +"@jest/environment@npm:^29.7.0": + version: 29.7.0 + resolution: "@jest/environment@npm:29.7.0" + dependencies: + "@jest/fake-timers": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" + "@types/node": "npm:*" + jest-mock: "npm:^29.7.0" + checksum: 7c72230d3bfe0dac9339cb92f2a23cdf3e143b9e88878017dd81e063695282bc096eb90e05534cc2a32814b7b667ea2dde301ef3db4d08930361ba61fb6a25d6 + languageName: node + linkType: hard + "@jest/expect-utils@npm:^29.5.0": version: 29.5.0 resolution: "@jest/expect-utils@npm:29.5.0" @@ -3081,22 +3263,22 @@ __metadata: languageName: node linkType: hard -"@jest/expect-utils@npm:^29.6.1": - version: 29.6.1 - resolution: "@jest/expect-utils@npm:29.6.1" +"@jest/expect-utils@npm:^29.7.0": + version: 29.7.0 + resolution: "@jest/expect-utils@npm:29.7.0" dependencies: - jest-get-type: "npm:^29.4.3" - checksum: 1bbda1106d6e816c2d6656067006753a6b722df0c94ee159ae7da2b201e33f6527bc3ec4df9150007c9fdc5466313bd978eba09004b85f6c15e1a2dd9de0dbc6 + jest-get-type: "npm:^29.6.3" + checksum: bda80273008b21523feaa0e3917a8fd23ed313c080fbc6e7024b484bade02193fac01ea1ad0b78381017755955edca4992004385ffce6321fc22d7b19ead28f1 languageName: node linkType: hard -"@jest/expect@npm:^29.6.1": - version: 29.6.1 - resolution: "@jest/expect@npm:29.6.1" +"@jest/expect@npm:^29.7.0": + version: 29.7.0 + resolution: "@jest/expect@npm:29.7.0" dependencies: - expect: "npm:^29.6.1" - jest-snapshot: "npm:^29.6.1" - checksum: 418625e2b9607f6bec138674abf8dc6057be61bcfa9ea48111e2e39aa0b0ed439fc07a29cfeee1d311d6ca8cf8a947d96aedcfafcdbf41fb0bad4b27c6266957 + expect: "npm:^29.7.0" + jest-snapshot: "npm:^29.7.0" + checksum: 9ab04937c0c758e092d149bbb439eae616236ad093b452ba2e0baf24a2d617aa592c6eb73cf6ff68d7e11385aa3e2101cabb8d744b305e74c1c31973c526c3fe languageName: node linkType: hard @@ -3114,27 +3296,41 @@ __metadata: languageName: node linkType: hard -"@jest/globals@npm:^29.6.1": - version: 29.6.1 - resolution: "@jest/globals@npm:29.6.1" +"@jest/fake-timers@npm:^29.7.0": + version: 29.7.0 + resolution: "@jest/fake-timers@npm:29.7.0" dependencies: - "@jest/environment": "npm:^29.6.1" - "@jest/expect": "npm:^29.6.1" - "@jest/types": "npm:^29.6.1" - jest-mock: "npm:^29.6.1" - checksum: 4b3aed3d0b91e0d3dee07808cc7533ae1efbd04da6763f8dcb02341167b9f88ff24c8775f533bc3e4cf67f4a35c72be248b29abb9e8ec30c7a31db85e02d9d8d + "@jest/types": "npm:^29.6.3" + "@sinonjs/fake-timers": "npm:^10.0.2" + "@types/node": "npm:*" + jest-message-util: "npm:^29.7.0" + jest-mock: "npm:^29.7.0" + jest-util: "npm:^29.7.0" + checksum: 79247b15ffb6e61d13def1d7b5c3edf02ee03e92f9b6edf3165a743dca96a507f25e16380d5f66b7ed96dd20cfd1134ea35e0021638124ee6de190751ac55e0b languageName: node linkType: hard -"@jest/reporters@npm:^29.6.1": - version: 29.6.1 - resolution: "@jest/reporters@npm:29.6.1" +"@jest/globals@npm:^29.7.0": + version: 29.7.0 + resolution: "@jest/globals@npm:29.7.0" + dependencies: + "@jest/environment": "npm:^29.7.0" + "@jest/expect": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" + jest-mock: "npm:^29.7.0" + checksum: f2dab31ff28ad2c7c2aefbcb0125aea7c8befb4ec26b3de8a6726a267936e7900110438443017957197c048115c1d52fc176a608524011e2647a531d6411f458 + languageName: node + linkType: hard + +"@jest/reporters@npm:^29.7.0": + version: 29.7.0 + resolution: "@jest/reporters@npm:29.7.0" dependencies: "@bcoe/v8-coverage": "npm:^0.2.3" - "@jest/console": "npm:^29.6.1" - "@jest/test-result": "npm:^29.6.1" - "@jest/transform": "npm:^29.6.1" - "@jest/types": "npm:^29.6.1" + "@jest/console": "npm:^29.7.0" + "@jest/test-result": "npm:^29.7.0" + "@jest/transform": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" "@jridgewell/trace-mapping": "npm:^0.3.18" "@types/node": "npm:*" chalk: "npm:^4.0.0" @@ -3143,13 +3339,13 @@ __metadata: glob: "npm:^7.1.3" graceful-fs: "npm:^4.2.9" istanbul-lib-coverage: "npm:^3.0.0" - istanbul-lib-instrument: "npm:^5.1.0" + istanbul-lib-instrument: "npm:^6.0.0" istanbul-lib-report: "npm:^3.0.0" istanbul-lib-source-maps: "npm:^4.0.0" istanbul-reports: "npm:^3.1.3" - jest-message-util: "npm:^29.6.1" - jest-util: "npm:^29.6.1" - jest-worker: "npm:^29.6.1" + jest-message-util: "npm:^29.7.0" + jest-util: "npm:^29.7.0" + jest-worker: "npm:^29.7.0" slash: "npm:^3.0.0" string-length: "npm:^4.0.1" strip-ansi: "npm:^6.0.0" @@ -3159,7 +3355,7 @@ __metadata: peerDependenciesMeta: node-notifier: optional: true - checksum: 5e5d77f2b885c47e032b00dec5be0c7e53056afb0d36c99f6f2c6126edeb385b9ca84e7e2fea086f60182b50bab9ff90b02fb01a8ce4e49a5e053a65001b623d + checksum: b77e418567c0fbb55b4d27e44ffe7a278820b90cc6f396ab07ab06b33aaedd624f210605cd01805c28f0540047a03be5f80b67f9f5723c31c57cdce79c18b7fa languageName: node linkType: hard @@ -3181,38 +3377,47 @@ __metadata: languageName: node linkType: hard -"@jest/source-map@npm:^29.6.0": - version: 29.6.0 - resolution: "@jest/source-map@npm:29.6.0" +"@jest/schemas@npm:^29.6.3": + version: 29.6.3 + resolution: "@jest/schemas@npm:29.6.3" + dependencies: + "@sinclair/typebox": "npm:^0.27.8" + checksum: 62575779a4c53ffd4bd7e9042b0a5a65b2c754eddbc36cdecfcec3d9357cc4a5777a6486620580db883662cec3df2b1d3d444c45fd953c16b794e169372fe4be + languageName: node + linkType: hard + +"@jest/source-map@npm:^29.6.3": + version: 29.6.3 + resolution: "@jest/source-map@npm:29.6.3" dependencies: "@jridgewell/trace-mapping": "npm:^0.3.18" callsites: "npm:^3.0.0" graceful-fs: "npm:^4.2.9" - checksum: 11fd1bf8190679b5a5801d6250b858f7972243bdcb6ebcba2d41acd98470c34938aada9d647452eceb76e828ea569f2ad675b837cc87d33a1c856f091a9ba631 + checksum: 5ff9aaf7f3d61116f9530da3e0a836173ebbd0e0d26945d7fd4b789ffff62395eb87a3173741c92d13fa31410cec6d72d0552cc5d80958f8f5eee1d7ed06b847 languageName: node linkType: hard -"@jest/test-result@npm:^29.6.1": - version: 29.6.1 - resolution: "@jest/test-result@npm:29.6.1" +"@jest/test-result@npm:^29.7.0": + version: 29.7.0 + resolution: "@jest/test-result@npm:29.7.0" dependencies: - "@jest/console": "npm:^29.6.1" - "@jest/types": "npm:^29.6.1" + "@jest/console": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" "@types/istanbul-lib-coverage": "npm:^2.0.0" collect-v8-coverage: "npm:^1.0.0" - checksum: 55db994f6988dc797224900f9a0a1cf4ebf830bf39ac17ec8944142c879afe7017d30b85c81156e30a833656f28bacc6f0d21ec2bfa46b6f66b07f2806b6dbee + checksum: 5ceb1af68d8a5671ff42c398fb243046db8f2973e3ed27b7f9390fac8da1812c8cf18f6def10a957ac946a9ce6e0ba3d8b81cccd3d62760096124533dc0b9901 languageName: node linkType: hard -"@jest/test-sequencer@npm:^29.6.1": - version: 29.6.1 - resolution: "@jest/test-sequencer@npm:29.6.1" +"@jest/test-sequencer@npm:^29.7.0": + version: 29.7.0 + resolution: "@jest/test-sequencer@npm:29.7.0" dependencies: - "@jest/test-result": "npm:^29.6.1" + "@jest/test-result": "npm:^29.7.0" graceful-fs: "npm:^4.2.9" - jest-haste-map: "npm:^29.6.1" + jest-haste-map: "npm:^29.7.0" slash: "npm:^3.0.0" - checksum: 2150a5d86be908efd4fb96ceb5492dff12b4ceb2b1fd3b9d23d1aa4b9cb3555f83f9252e2b96eb4cd9799364b7d7717ff7675c730ae06ae3231c2c120ce7fafe + checksum: 0fe7bff0db2ce9294506b851ebd1d2a9d2d63042a52eff6ce8530c59aac684bf6360eea15824b72fdce932ac5132de769bb1be68dfc5f3a618fdfaa17ce519ea languageName: node linkType: hard @@ -3239,6 +3444,42 @@ __metadata: languageName: node linkType: hard +"@jest/transform@npm:^29.7.0": + version: 29.7.0 + resolution: "@jest/transform@npm:29.7.0" + dependencies: + "@babel/core": "npm:^7.11.6" + "@jest/types": "npm:^29.6.3" + "@jridgewell/trace-mapping": "npm:^0.3.18" + babel-plugin-istanbul: "npm:^6.1.1" + chalk: "npm:^4.0.0" + convert-source-map: "npm:^2.0.0" + fast-json-stable-stringify: "npm:^2.1.0" + graceful-fs: "npm:^4.2.9" + jest-haste-map: "npm:^29.7.0" + jest-regex-util: "npm:^29.6.3" + jest-util: "npm:^29.7.0" + micromatch: "npm:^4.0.4" + pirates: "npm:^4.0.4" + slash: "npm:^3.0.0" + write-file-atomic: "npm:^4.0.2" + checksum: f4b933b58683dd7b97ac91a99551bee886b0e204e85c1e75e2007ba01d87ed9d6996382982f98785eff4eff0539b8825dcc221c783db03705c973538806de5f5 + languageName: node + linkType: hard + +"@jest/types@npm:^27.5.1": + version: 27.5.1 + resolution: "@jest/types@npm:27.5.1" + dependencies: + "@types/istanbul-lib-coverage": "npm:^2.0.0" + "@types/istanbul-reports": "npm:^3.0.0" + "@types/node": "npm:*" + "@types/yargs": "npm:^16.0.0" + chalk: "npm:^4.0.0" + checksum: 2208d49c3ad1da9178c77f30b84d2c1a8cfa1497b51e5eeabc535ba79d6bf0b9ead4e1f207b1546b99bf4f44026cb69494001f640f34ff3df33ba0aec28552ba + languageName: node + linkType: hard + "@jest/types@npm:^29.5.0": version: 29.5.0 resolution: "@jest/types@npm:29.5.0" @@ -3267,6 +3508,20 @@ __metadata: languageName: node linkType: hard +"@jest/types@npm:^29.6.3": + version: 29.6.3 + resolution: "@jest/types@npm:29.6.3" + dependencies: + "@jest/schemas": "npm:^29.6.3" + "@types/istanbul-lib-coverage": "npm:^2.0.0" + "@types/istanbul-reports": "npm:^3.0.0" + "@types/node": "npm:*" + "@types/yargs": "npm:^17.0.8" + chalk: "npm:^4.0.0" + checksum: d7219fc465e640fd41359f581014fed5eee76f0d4d69250b24b24147ae0cdaeb2e12aeb6ec73316118063fe69bacd44135d42d03b48444319b0f630ddc88c499 + languageName: node + linkType: hard + "@jridgewell/gen-mapping@npm:^0.3.0, @jridgewell/gen-mapping@npm:^0.3.2": version: 0.3.3 resolution: "@jridgewell/gen-mapping@npm:0.3.3" @@ -5592,6 +5847,129 @@ __metadata: languageName: node linkType: hard +"@swc/core-darwin-arm64@npm:1.3.90": + version: 1.3.90 + resolution: "@swc/core-darwin-arm64@npm:1.3.90" + conditions: os=darwin & cpu=arm64 + languageName: node + linkType: hard + +"@swc/core-darwin-x64@npm:1.3.90": + version: 1.3.90 + resolution: "@swc/core-darwin-x64@npm:1.3.90" + conditions: os=darwin & cpu=x64 + languageName: node + linkType: hard + +"@swc/core-linux-arm-gnueabihf@npm:1.3.90": + version: 1.3.90 + resolution: "@swc/core-linux-arm-gnueabihf@npm:1.3.90" + conditions: os=linux & cpu=arm + languageName: node + linkType: hard + +"@swc/core-linux-arm64-gnu@npm:1.3.90": + version: 1.3.90 + resolution: "@swc/core-linux-arm64-gnu@npm:1.3.90" + conditions: os=linux & cpu=arm64 & libc=glibc + languageName: node + linkType: hard + +"@swc/core-linux-arm64-musl@npm:1.3.90": + version: 1.3.90 + resolution: "@swc/core-linux-arm64-musl@npm:1.3.90" + conditions: os=linux & cpu=arm64 & libc=musl + languageName: node + linkType: hard + +"@swc/core-linux-x64-gnu@npm:1.3.90": + version: 1.3.90 + resolution: "@swc/core-linux-x64-gnu@npm:1.3.90" + conditions: os=linux & cpu=x64 & libc=glibc + languageName: node + linkType: hard + +"@swc/core-linux-x64-musl@npm:1.3.90": + version: 1.3.90 + resolution: "@swc/core-linux-x64-musl@npm:1.3.90" + conditions: os=linux & cpu=x64 & libc=musl + languageName: node + linkType: hard + +"@swc/core-win32-arm64-msvc@npm:1.3.90": + version: 1.3.90 + resolution: "@swc/core-win32-arm64-msvc@npm:1.3.90" + conditions: os=win32 & cpu=arm64 + languageName: node + linkType: hard + +"@swc/core-win32-ia32-msvc@npm:1.3.90": + version: 1.3.90 + resolution: "@swc/core-win32-ia32-msvc@npm:1.3.90" + conditions: os=win32 & cpu=ia32 + languageName: node + linkType: hard + +"@swc/core-win32-x64-msvc@npm:1.3.90": + version: 1.3.90 + resolution: "@swc/core-win32-x64-msvc@npm:1.3.90" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + +"@swc/core@npm:1.3.90": + version: 1.3.90 + resolution: "@swc/core@npm:1.3.90" + dependencies: + "@swc/core-darwin-arm64": "npm:1.3.90" + "@swc/core-darwin-x64": "npm:1.3.90" + "@swc/core-linux-arm-gnueabihf": "npm:1.3.90" + "@swc/core-linux-arm64-gnu": "npm:1.3.90" + "@swc/core-linux-arm64-musl": "npm:1.3.90" + "@swc/core-linux-x64-gnu": "npm:1.3.90" + "@swc/core-linux-x64-musl": "npm:1.3.90" + "@swc/core-win32-arm64-msvc": "npm:1.3.90" + "@swc/core-win32-ia32-msvc": "npm:1.3.90" + "@swc/core-win32-x64-msvc": "npm:1.3.90" + "@swc/counter": "npm:^0.1.1" + "@swc/types": "npm:^0.1.5" + peerDependencies: + "@swc/helpers": ^0.5.0 + dependenciesMeta: + "@swc/core-darwin-arm64": + optional: true + "@swc/core-darwin-x64": + optional: true + "@swc/core-linux-arm-gnueabihf": + optional: true + "@swc/core-linux-arm64-gnu": + optional: true + "@swc/core-linux-arm64-musl": + optional: true + "@swc/core-linux-x64-gnu": + optional: true + "@swc/core-linux-x64-musl": + optional: true + "@swc/core-win32-arm64-msvc": + optional: true + "@swc/core-win32-ia32-msvc": + optional: true + "@swc/core-win32-x64-msvc": + optional: true + peerDependenciesMeta: + "@swc/helpers": + optional: true + checksum: 507fb50055239a5c36ae53aa434871ca859fa5d298aee82198a2d21fedb4c4d73ebc2014d7087ecae38ed5274376bcda6f3d4f3caa348e143afa2b650339ee8f + languageName: node + linkType: hard + +"@swc/counter@npm:^0.1.1": + version: 0.1.1 + resolution: "@swc/counter@npm:0.1.1" + checksum: 08fb4b9c5163dc450f84f06572c9cb6f31039865d9196ccf07f32410ce219e7f99bf63fc9083f4a1a13c23177bf61b14a8b22b930b0f4305d54c60af4b414c24 + languageName: node + linkType: hard + "@swc/helpers@npm:0.5.1, @swc/helpers@npm:^0.5.0, @swc/helpers@npm:^0.5.1": version: 0.5.1 resolution: "@swc/helpers@npm:0.5.1" @@ -5610,6 +5988,25 @@ __metadata: languageName: node linkType: hard +"@swc/jest@npm:0.2.29": + version: 0.2.29 + resolution: "@swc/jest@npm:0.2.29" + dependencies: + "@jest/create-cache-key-function": "npm:^27.4.2" + jsonc-parser: "npm:^3.2.0" + peerDependencies: + "@swc/core": "*" + checksum: 4a45e2904a038e728d30f833d42bf600005c83eeb026a24ca77ebe8991eec2e37a4fd48b0faedcf1859d005dae834fc727b8178fd9b8c73efb37af703946a0bc + languageName: node + linkType: hard + +"@swc/types@npm:^0.1.5": + version: 0.1.5 + resolution: "@swc/types@npm:0.1.5" + checksum: 00c3f89780146afe1a6e41c9fa829eb4e559ecf1091ca31bb2fbb9941ebdc78e8f00138aa7d2437c083ee65dc86bd5bff185ee4452a2d1882934141a3558c00c + languageName: node + linkType: hard + "@tailwindcss/typography@npm:^0.5.9": version: 0.5.9 resolution: "@tailwindcss/typography@npm:0.5.9" @@ -6113,6 +6510,13 @@ __metadata: languageName: node linkType: hard +"@types/minimist@npm:^1.2.2": + version: 1.2.3 + resolution: "@types/minimist@npm:1.2.3" + checksum: 9301c27c9d1a632b85f4d114a86f5b7acf1b01eb8ae07f0f71d232d5afaa1cd7fe8aca72587144d9b0ed0ea730fef18e879a458d058593a3fa468544b5058f1f + languageName: node + linkType: hard + "@types/ms@npm:*": version: 0.7.31 resolution: "@types/ms@npm:0.7.31" @@ -6141,6 +6545,13 @@ __metadata: languageName: node linkType: hard +"@types/node@npm:^18.16.3": + version: 18.18.1 + resolution: "@types/node@npm:18.18.1" + checksum: e44e23b8d46268d10ddb66b61e3524758d527689940b7cacb96cf84ceecdcb2639f2b71fe53e5a9f16f6b8ceabf1bceb8498640c12585ab6cad536a4967f2619 + languageName: node + linkType: hard + "@types/node@npm:^20.4.2": version: 20.4.2 resolution: "@types/node@npm:20.4.2" @@ -6171,13 +6582,6 @@ __metadata: languageName: node linkType: hard -"@types/prettier@npm:^2.1.5": - version: 2.7.3 - resolution: "@types/prettier@npm:2.7.3" - checksum: 940c06437f23a12b88ae7d36c40a35dd3ee8cc22f8bc1cba972bcc69904162331ef2fdfafc9cc46762475047194321c0c40ee9285e779353116018c1eeae2b4c - languageName: node - linkType: hard - "@types/prismjs@npm:^1.26.0": version: 1.26.0 resolution: "@types/prismjs@npm:1.26.0" @@ -6202,6 +6606,13 @@ __metadata: languageName: node linkType: hard +"@types/ps-tree@npm:^1.1.2": + version: 1.1.3 + resolution: "@types/ps-tree@npm:1.1.3" + checksum: afd0621be95a46cc00c5214b053fc6880fb25111ef91cb6b708b102d5595f543497b5881f3c1e59d633df679d50642c5dc4d354b9a165be5e438e227c24ce9d0 + languageName: node + linkType: hard + "@types/raf@npm:^3.4.0": version: 3.4.0 resolution: "@types/raf@npm:3.4.0" @@ -6360,6 +6771,13 @@ __metadata: languageName: node linkType: hard +"@types/which@npm:^3.0.0": + version: 3.0.0 + resolution: "@types/which@npm:3.0.0" + checksum: 601467cc37d5667026067fa4e7a59d456310c67dbb313fc1a3408981265e9b00f487f1806c25c170027813113fedac97d47bfabdb63720a0bcd595915adeb008 + languageName: node + linkType: hard + "@types/yargs-parser@npm:*": version: 21.0.0 resolution: "@types/yargs-parser@npm:21.0.0" @@ -6367,6 +6785,15 @@ __metadata: languageName: node linkType: hard +"@types/yargs@npm:^16.0.0": + version: 16.0.6 + resolution: "@types/yargs@npm:16.0.6" + dependencies: + "@types/yargs-parser": "npm:*" + checksum: cce13e790c46f470dd10629b621d36a955b70d1d0d0cc34731a7145868e6229fb7d5183edc6fef67c180505785e40ee54a1d68c8242ab8e726544fb01855f3f6 + languageName: node + linkType: hard + "@types/yargs@npm:^17.0.10, @types/yargs@npm:^17.0.8": version: 17.0.24 resolution: "@types/yargs@npm:17.0.24" @@ -6644,11 +7071,11 @@ __metadata: languageName: node linkType: hard -"@udecode/plate-alignment@npm:24.0.2, @udecode/plate-alignment@workspace:^, @udecode/plate-alignment@workspace:packages/alignment": +"@udecode/plate-alignment@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6658,11 +7085,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-autoformat@npm:24.0.2, @udecode/plate-autoformat@workspace:^, @udecode/plate-autoformat@workspace:packages/autoformat": +"@udecode/plate-autoformat@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6672,15 +7099,15 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-basic-elements@npm:24.0.2, @udecode/plate-basic-elements@workspace:^, @udecode/plate-basic-elements@workspace:packages/basic-elements": +"@udecode/plate-basic-elements@npm:24.2.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.0.2" - "@udecode/plate-code-block": "npm:24.0.2" - "@udecode/plate-common": "npm:24.0.2" - "@udecode/plate-heading": "npm:24.0.2" - "@udecode/plate-paragraph": "npm:24.0.2" + "@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" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6690,11 +7117,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-basic-marks@npm:24.0.2, @udecode/plate-basic-marks@workspace:^, @udecode/plate-basic-marks@workspace:packages/basic-marks": +"@udecode/plate-basic-marks@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6704,11 +7131,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-block-quote@npm:24.0.2, @udecode/plate-block-quote@workspace:^, @udecode/plate-block-quote@workspace:packages/block-quote": +"@udecode/plate-block-quote@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6718,11 +7145,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-break@npm:24.0.2, @udecode/plate-break@workspace:^, @udecode/plate-break@workspace:packages/break": +"@udecode/plate-break@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6736,7 +7163,7 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-caption@workspace:packages/caption" dependencies: - "@udecode/plate-common": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" react-textarea-autosize: "npm:^8.5.2" peerDependencies: react: ">=16.8.0" @@ -6752,7 +7179,7 @@ __metadata: resolution: "@udecode/plate-cloud@workspace:packages/cloud" dependencies: "@portive/client": "npm:10.0.3" - "@udecode/plate-common": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" delay: "npm:5.0.0" p-defer: "npm:^3.0.0" peerDependencies: @@ -6764,11 +7191,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-code-block@npm:24.0.2, @udecode/plate-code-block@workspace:^, @udecode/plate-code-block@workspace:packages/code-block": +"@udecode/plate-code-block@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" prismjs: "npm:^1.29.0" peerDependencies: react: ">=16.8.0" @@ -6779,11 +7206,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-combobox@npm:24.0.2, @udecode/plate-combobox@workspace:^, @udecode/plate-combobox@workspace:packages/combobox": +"@udecode/plate-combobox@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" downshift: "npm:^6.1.12" peerDependencies: react: ">=16.8.0" @@ -6794,11 +7221,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-comments@npm:24.0.2, @udecode/plate-comments@workspace:^, @udecode/plate-comments@workspace:packages/comments": +"@udecode/plate-comments@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6808,15 +7235,15 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-common@npm:24.0.2, @udecode/plate-common@workspace:^, @udecode/plate-common@workspace:packages/common": +"@udecode/plate-common@npm:24.2.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.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.0.0" + "@udecode/slate-utils": "npm:24.2.0" "@udecode/utils": "npm:19.7.1" peerDependencies: react: ">=16.8.0" @@ -6836,6 +7263,7 @@ __metadata: "@udecode/utils": "npm:19.7.1" "@udecode/zustood": "npm:^1.1.3" clsx: "npm:^1.2.1" + is-hotkey: "npm:^0.2.0" jotai: "npm:1.7.2" lodash: "npm:^4.17.21" nanoid: "npm:^3.3.6" @@ -6855,7 +7283,7 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-cursor@workspace:packages/cursor" dependencies: - "@udecode/plate-common": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6869,7 +7297,7 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-dnd@workspace:packages/dnd" dependencies: - "@udecode/plate-common": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" raf: "npm:^3.4.1" peerDependencies: react: ">=16.8.0" @@ -6887,8 +7315,8 @@ __metadata: resolution: "@udecode/plate-emoji@workspace:packages/emoji" dependencies: "@emoji-mart/data": "npm:^1.1.2" - "@udecode/plate-combobox": "npm:24.0.2" - "@udecode/plate-common": "npm:24.0.2" + "@udecode/plate-combobox": "npm:24.2.0" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6903,7 +7331,7 @@ __metadata: resolution: "@udecode/plate-excalidraw@workspace:packages/excalidraw" dependencies: "@excalidraw/excalidraw": "npm:0.12.0" - "@udecode/plate-common": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6913,11 +7341,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-find-replace@npm:24.0.2, @udecode/plate-find-replace@workspace:^, @udecode/plate-find-replace@workspace:packages/find-replace": +"@udecode/plate-find-replace@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6927,13 +7355,13 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-floating@npm:24.0.2, @udecode/plate-floating@workspace:^, @udecode/plate-floating@workspace:packages/floating": +"@udecode/plate-floating@npm:24.2.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/react": "npm:^0.22.3" "@radix-ui/react-dropdown-menu": "npm:^2.0.5" - "@udecode/plate-common": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6943,11 +7371,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-font@npm:24.0.2, @udecode/plate-font@workspace:^, @udecode/plate-font@workspace:packages/font": +"@udecode/plate-font@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6957,11 +7385,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-heading@npm:24.0.2, @udecode/plate-heading@workspace:^, @udecode/plate-heading@workspace:packages/heading": +"@udecode/plate-heading@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6971,11 +7399,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-highlight@npm:24.0.2, @udecode/plate-highlight@workspace:^, @udecode/plate-highlight@workspace:packages/highlight": +"@udecode/plate-highlight@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6985,11 +7413,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-horizontal-rule@npm:24.0.2, @udecode/plate-horizontal-rule@workspace:^, @udecode/plate-horizontal-rule@workspace:packages/horizontal-rule": +"@udecode/plate-horizontal-rule@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -6999,13 +7427,13 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-indent-list@npm:24.0.2, @udecode/plate-indent-list@workspace:^, @udecode/plate-indent-list@workspace:packages/indent-list": +"@udecode/plate-indent-list@npm:24.2.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.0.2" - "@udecode/plate-indent": "npm:24.0.2" - "@udecode/plate-list": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-indent": "npm:24.2.0" + "@udecode/plate-list": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7015,11 +7443,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-indent@npm:24.0.2, @udecode/plate-indent@workspace:^, @udecode/plate-indent@workspace:packages/indent": +"@udecode/plate-indent@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7033,7 +7461,7 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-juice@workspace:packages/juice" dependencies: - "@udecode/plate-common": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" juice: "npm:^8.1.0" peerDependencies: react: ">=16.8.0" @@ -7044,11 +7472,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-kbd@npm:24.0.2, @udecode/plate-kbd@workspace:^, @udecode/plate-kbd@workspace:packages/kbd": +"@udecode/plate-kbd@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7058,11 +7486,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-line-height@npm:24.0.2, @udecode/plate-line-height@workspace:^, @udecode/plate-line-height@workspace:packages/line-height": +"@udecode/plate-line-height@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7072,13 +7500,13 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-link@npm:24.0.2, @udecode/plate-link@workspace:^, @udecode/plate-link@workspace:packages/link": +"@udecode/plate-link@npm:24.2.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.0.2" - "@udecode/plate-floating": "npm:24.0.2" - "@udecode/plate-normalizers": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-floating": "npm:24.2.0" + "@udecode/plate-normalizers": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7088,12 +7516,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-list@npm:24.0.2, @udecode/plate-list@workspace:^, @udecode/plate-list@workspace:packages/list": +"@udecode/plate-list@npm:24.2.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.0.2" - "@udecode/plate-reset-node": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-reset-node": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7103,11 +7531,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-media@npm:24.0.2, @udecode/plate-media@workspace:^, @udecode/plate-media@workspace:packages/media": +"@udecode/plate-media@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" js-video-url-parser: "npm:^0.5.1" peerDependencies: react: ">=16.8.0" @@ -7118,12 +7546,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-mention@npm:24.0.2, @udecode/plate-mention@workspace:^, @udecode/plate-mention@workspace:packages/mention": +"@udecode/plate-mention@npm:24.2.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.0.2" - "@udecode/plate-common": "npm:24.0.2" + "@udecode/plate-combobox": "npm:24.2.0" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7133,11 +7561,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-node-id@npm:24.0.2, @udecode/plate-node-id@workspace:^, @udecode/plate-node-id@workspace:packages/node-id": +"@udecode/plate-node-id@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7147,11 +7575,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-normalizers@npm:24.0.2, @udecode/plate-normalizers@workspace:^, @udecode/plate-normalizers@workspace:packages/normalizers": +"@udecode/plate-normalizers@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7161,11 +7589,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-paragraph@npm:24.0.2, @udecode/plate-paragraph@workspace:^, @udecode/plate-paragraph@workspace:packages/paragraph": +"@udecode/plate-paragraph@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7175,11 +7603,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-reset-node@npm:24.0.2, @udecode/plate-reset-node@workspace:^, @udecode/plate-reset-node@workspace:packages/reset-node": +"@udecode/plate-reset-node@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7189,11 +7617,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-resizable@npm:24.0.2, @udecode/plate-resizable@workspace:^, @udecode/plate-resizable@workspace:packages/resizable": +"@udecode/plate-resizable@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7203,11 +7631,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-select@npm:24.0.2, @udecode/plate-select@workspace:^, @udecode/plate-select@workspace:packages/select": +"@udecode/plate-select@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7221,7 +7649,7 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate-selection@workspace:packages/selection" dependencies: - "@udecode/plate-common": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" "@viselect/vanilla": "npm:3.2.5" copy-to-clipboard: "npm:^3.3.3" peerDependencies: @@ -7233,13 +7661,13 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-serializer-csv@npm:24.0.2, @udecode/plate-serializer-csv@workspace:^, @udecode/plate-serializer-csv@workspace:packages/serializer-csv": +"@udecode/plate-serializer-csv@npm:24.2.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.0.2" - "@udecode/plate-table": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-table": "npm:24.2.0" papaparse: "npm:^5.4.1" peerDependencies: react: ">=16.8.0" @@ -7251,17 +7679,17 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-serializer-docx@npm:24.0.2, @udecode/plate-serializer-docx@workspace:^, @udecode/plate-serializer-docx@workspace:packages/serializer-docx": +"@udecode/plate-serializer-docx@npm:24.2.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.0.2" - "@udecode/plate-heading": "npm:24.0.2" - "@udecode/plate-indent": "npm:24.0.2" - "@udecode/plate-indent-list": "npm:24.0.2" - "@udecode/plate-media": "npm:24.0.2" - "@udecode/plate-paragraph": "npm:24.0.2" - "@udecode/plate-table": "npm:24.0.2" + "@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" validator: "npm:^13.9.0" peerDependencies: react: ">=16.8.0" @@ -7273,12 +7701,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-serializer-html@npm:24.0.2, @udecode/plate-serializer-html@workspace:^, @udecode/plate-serializer-html@workspace:packages/serializer-html": +"@udecode/plate-serializer-html@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" html-entities: "npm:^2.4.0" peerDependencies: react: ">=16.8.0" @@ -7290,17 +7718,17 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-serializer-md@npm:24.0.2, @udecode/plate-serializer-md@workspace:^, @udecode/plate-serializer-md@workspace:packages/serializer-md": +"@udecode/plate-serializer-md@npm:24.2.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.0.2" - "@udecode/plate-code-block": "npm:24.0.2" - "@udecode/plate-common": "npm:24.0.2" - "@udecode/plate-heading": "npm:24.0.2" - "@udecode/plate-link": "npm:24.0.2" - "@udecode/plate-list": "npm:24.0.2" - "@udecode/plate-paragraph": "npm:24.0.2" + "@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" remark-parse: "npm:^9.0.0" unified: "npm:^9.2.2" peerDependencies: @@ -7312,11 +7740,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-suggestion@npm:24.0.2, @udecode/plate-suggestion@workspace:^, @udecode/plate-suggestion@workspace:packages/suggestion": +"@udecode/plate-suggestion@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7326,11 +7754,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-tabbable@npm:24.0.2, @udecode/plate-tabbable@workspace:^, @udecode/plate-tabbable@workspace:packages/tabbable": +"@udecode/plate-tabbable@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" tabbable: "npm:^6.2.0" peerDependencies: react: ">=16.8.0" @@ -7341,12 +7769,12 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-table@npm:24.0.2, @udecode/plate-table@workspace:^, @udecode/plate-table@workspace:packages/table": +"@udecode/plate-table@npm:24.2.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.0.2" - "@udecode/plate-resizable": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" + "@udecode/plate-resizable": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7365,11 +7793,11 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-trailing-block@npm:24.0.2, @udecode/plate-trailing-block@workspace:^, @udecode/plate-trailing-block@workspace:packages/trailing-block": +"@udecode/plate-trailing-block@npm:24.2.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.0.2" + "@udecode/plate-common": "npm:24.2.0" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7408,7 +7836,7 @@ __metadata: languageName: unknown linkType: soft -"@udecode/plate-utils@npm:24.0.2, @udecode/plate-utils@workspace:^, @udecode/plate-utils@workspace:packages/plate-utils": +"@udecode/plate-utils@npm:24.2.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: @@ -7416,7 +7844,7 @@ __metadata: "@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.0.0" + "@udecode/slate-utils": "npm:24.2.0" "@udecode/utils": "npm:19.7.1" peerDependencies: react: ">=16.8.0" @@ -7433,7 +7861,7 @@ __metadata: dependencies: "@hocuspocus/provider": "npm:^2.2.1" "@slate-yjs/core": "npm:^1.0.1" - "@udecode/plate-common": "npm:24.0.2" + "@udecode/plate-common": "npm:24.2.0" yjs: "npm:^13.5.42" peerDependencies: react: ">=16.8.0" @@ -7448,44 +7876,44 @@ __metadata: version: 0.0.0-use.local resolution: "@udecode/plate@workspace:packages/plate" dependencies: - "@udecode/plate-alignment": "npm:24.0.2" - "@udecode/plate-autoformat": "npm:24.0.2" - "@udecode/plate-basic-elements": "npm:24.0.2" - "@udecode/plate-basic-marks": "npm:24.0.2" - "@udecode/plate-block-quote": "npm:24.0.2" - "@udecode/plate-break": "npm:24.0.2" - "@udecode/plate-code-block": "npm:24.0.2" - "@udecode/plate-combobox": "npm:24.0.2" - "@udecode/plate-comments": "npm:24.0.2" - "@udecode/plate-common": "npm:24.0.2" - "@udecode/plate-find-replace": "npm:24.0.2" - "@udecode/plate-floating": "npm:24.0.2" - "@udecode/plate-font": "npm:24.0.2" - "@udecode/plate-heading": "npm:24.0.2" - "@udecode/plate-highlight": "npm:24.0.2" - "@udecode/plate-horizontal-rule": "npm:24.0.2" - "@udecode/plate-indent": "npm:24.0.2" - "@udecode/plate-indent-list": "npm:24.0.2" - "@udecode/plate-kbd": "npm:24.0.2" - "@udecode/plate-line-height": "npm:24.0.2" - "@udecode/plate-link": "npm:24.0.2" - "@udecode/plate-list": "npm:24.0.2" - "@udecode/plate-media": "npm:24.0.2" - "@udecode/plate-mention": "npm:24.0.2" - "@udecode/plate-node-id": "npm:24.0.2" - "@udecode/plate-normalizers": "npm:24.0.2" - "@udecode/plate-paragraph": "npm:24.0.2" - "@udecode/plate-reset-node": "npm:24.0.2" - "@udecode/plate-resizable": "npm:24.0.2" - "@udecode/plate-select": "npm:24.0.2" - "@udecode/plate-serializer-csv": "npm:24.0.2" - "@udecode/plate-serializer-docx": "npm:24.0.2" - "@udecode/plate-serializer-html": "npm:24.0.2" - "@udecode/plate-serializer-md": "npm:24.0.2" - "@udecode/plate-suggestion": "npm:24.0.2" - "@udecode/plate-tabbable": "npm:24.0.2" - "@udecode/plate-table": "npm:24.0.2" - "@udecode/plate-trailing-block": "npm:24.0.2" + "@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" peerDependencies: react: ">=16.8.0" react-dom: ">=16.8.0" @@ -7511,7 +7939,7 @@ __metadata: languageName: unknown linkType: soft -"@udecode/slate-utils@npm:24.0.0, @udecode/slate-utils@workspace:^, @udecode/slate-utils@workspace:packages/slate-utils": +"@udecode/slate-utils@npm:24.2.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: @@ -7803,7 +8231,7 @@ __metadata: languageName: node linkType: hard -"ajv@npm:^8.0.0, ajv@npm:^8.9.0": +"ajv@npm:^8.0.0, ajv@npm:^8.10.0, ajv@npm:^8.9.0": version: 8.12.0 resolution: "ajv@npm:8.12.0" dependencies: @@ -8187,6 +8615,23 @@ __metadata: languageName: node linkType: hard +"babel-jest@npm:^29.7.0": + version: 29.7.0 + resolution: "babel-jest@npm:29.7.0" + dependencies: + "@jest/transform": "npm:^29.7.0" + "@types/babel__core": "npm:^7.1.14" + babel-plugin-istanbul: "npm:^6.1.1" + babel-preset-jest: "npm:^29.6.3" + chalk: "npm:^4.0.0" + graceful-fs: "npm:^4.2.9" + slash: "npm:^3.0.0" + peerDependencies: + "@babel/core": ^7.8.0 + checksum: 1942f678ee7dab1884a0ae8cc036d39b9bcc09557a00b5672c1def03bc2528c16e0a67f0fbce197441e7ceea7bf87102986708de1f9692f321d8abeb008f776e + languageName: node + linkType: hard + "babel-loader@npm:^9.1.3": version: 9.1.3 resolution: "babel-loader@npm:9.1.3" @@ -8259,6 +8704,18 @@ __metadata: languageName: node linkType: hard +"babel-plugin-jest-hoist@npm:^29.6.3": + version: 29.6.3 + resolution: "babel-plugin-jest-hoist@npm:29.6.3" + dependencies: + "@babel/template": "npm:^7.3.3" + "@babel/types": "npm:^7.3.3" + "@types/babel__core": "npm:^7.1.14" + "@types/babel__traverse": "npm:^7.0.6" + checksum: fa5df10e5ae321b8d09ae0ea67a42e397cf4feddd8f3f0a73f6d9572374ac2e8d8ca6631d8aa1049d3276041c5d81b41ea35565a5564a0ce5c6fb40fb0595433 + languageName: node + linkType: hard + "babel-plugin-module-resolver@npm:^5.0.0": version: 5.0.0 resolution: "babel-plugin-module-resolver@npm:5.0.0" @@ -8351,6 +8808,18 @@ __metadata: languageName: node linkType: hard +"babel-preset-jest@npm:^29.6.3": + version: 29.6.3 + resolution: "babel-preset-jest@npm:29.6.3" + dependencies: + babel-plugin-jest-hoist: "npm:^29.6.3" + babel-preset-current-node-syntax: "npm:^1.0.0" + peerDependencies: + "@babel/core": ^7.0.0 + checksum: 56b70974ee45466cc6bf10ac8316c99b2f47378ee8189935b655fb6a0e1f520f9ac28bce6c0d1dfcdf52da6fa0adb57ab3e1e4b166a76f9809b81b299673b6ba + languageName: node + linkType: hard + "bail@npm:^1.0.0": version: 1.0.5 resolution: "bail@npm:1.0.5" @@ -8474,6 +8943,13 @@ __metadata: languageName: node linkType: hard +"boolean@npm:^3.1.4": + version: 3.2.0 + resolution: "boolean@npm:3.2.0" + checksum: b5e473ba9db95838f0d90c8fcf8209192d5d5dc22068425710e5fa88ef8d9fa41da3c2785c3c7d17cd1ca09091b316de362de0b3f394b49a14d598a3b3df929d + languageName: node + linkType: hard + "bplist-parser@npm:^0.2.0": version: 0.2.0 resolution: "bplist-parser@npm:0.2.0" @@ -8863,7 +9339,7 @@ __metadata: languageName: node linkType: hard -"chalk@npm:5.3.0": +"chalk@npm:5.3.0, chalk@npm:^5.2.0": version: 5.3.0 resolution: "chalk@npm:5.3.0" checksum: b35496b395338e78f891796bd55d641d8907e4930a8ecbff087644241f2435d7a6764e65562b43ec8581b2cc35c68fe213ffe5bc710fb39a774f4497617a7ff2 @@ -9026,7 +9502,7 @@ __metadata: languageName: node linkType: hard -"chokidar@npm:>=3.0.0 <4.0.0, chokidar@npm:^3.4.0, chokidar@npm:^3.5.1, chokidar@npm:^3.5.3": +"chokidar@npm:3.5.3, chokidar@npm:>=3.0.0 <4.0.0, chokidar@npm:^3.4.0, chokidar@npm:^3.5.1, chokidar@npm:^3.5.3": version: 3.5.3 resolution: "chokidar@npm:3.5.3" dependencies: @@ -9327,6 +9803,13 @@ __metadata: languageName: node linkType: hard +"commander@npm:^5.1.0": + version: 5.1.0 + resolution: "commander@npm:5.1.0" + checksum: 121debda8eeb53f3282c6a1d7995027a88ad4c22f9bd31b27a1350d483fc90dabd6dbf613782921b646e68a20ab45ed82adc3b594dbd42b60345e08059f338e4 + languageName: node + linkType: hard + "commander@npm:^6.1.0": version: 6.2.1 resolution: "commander@npm:6.2.1" @@ -9564,6 +10047,23 @@ __metadata: languageName: node linkType: hard +"create-jest@npm:^29.7.0": + version: 29.7.0 + resolution: "create-jest@npm:29.7.0" + dependencies: + "@jest/types": "npm:^29.6.3" + chalk: "npm:^4.0.0" + exit: "npm:^0.1.2" + graceful-fs: "npm:^4.2.9" + jest-config: "npm:^29.7.0" + jest-util: "npm:^29.7.0" + prompts: "npm:^2.0.1" + bin: + create-jest: bin/create-jest.js + checksum: dbfb3617cca2aaa66914cb192f827dcd1aff52604abd5ebec96d835f5295cd45d3b4a977144429e416a92b8ad1129c7ecf02848b065c432260511775d06b0bb5 + languageName: node + linkType: hard + "create-require@npm:^1.1.0": version: 1.1.1 resolution: "create-require@npm:1.1.1" @@ -9948,10 +10448,15 @@ __metadata: languageName: node linkType: hard -"dedent@npm:^0.7.0": - version: 0.7.0 - resolution: "dedent@npm:0.7.0" - checksum: ca3f1755ff26262fd43c339faafd3e92c1b3265b132397fc702d97643173fc03f35209af8f93583a99f878c6a355300971dbd2a27e7e0a4af4380c7b38d907ae +"dedent@npm:^1.0.0": + version: 1.5.1 + resolution: "dedent@npm:1.5.1" + peerDependencies: + babel-plugin-macros: ^3.1.0 + peerDependenciesMeta: + babel-plugin-macros: + optional: true + checksum: 3aa957abd3c4e8a18f73479e0effe1e2a19ec9a51988a42ebf384ef82de4242c8913e8a20aced1ee95a97a64e2ca4b349fb0edd30dac5680b325d574e8a28b42 languageName: node linkType: hard @@ -10187,6 +10692,13 @@ __metadata: languageName: node linkType: hard +"diff-sequences@npm:^29.6.3": + version: 29.6.3 + resolution: "diff-sequences@npm:29.6.3" + checksum: 5b4f564b24acde410c096cf53c99d72c59439e41e3ae4914c6696251cc680a79c886fe4afe188a7359441543f19534c01ec235d913a7206954af5fd69bde04bf + languageName: node + linkType: hard + "diff@npm:^4.0.1": version: 4.0.2 resolution: "diff@npm:4.0.2" @@ -10375,6 +10887,13 @@ __metadata: languageName: node linkType: hard +"duplexer@npm:~0.1.1": + version: 0.1.2 + resolution: "duplexer@npm:0.1.2" + checksum: 6624204ad40403546166a072d0e0ec34df52f8bc48e68bd52894ddca3acd9ad99e3adb14a029e8702c290024b24c2171553b9fbdb0a9503697a2240f3b093cb3 + languageName: node + linkType: hard + "e2e-examples@workspace:apps/e2e-examples": version: 0.0.0-use.local resolution: "e2e-examples@workspace:apps/e2e-examples" @@ -10841,6 +11360,83 @@ __metadata: languageName: node linkType: hard +"esbuild@npm:^0.18.2": + version: 0.18.20 + resolution: "esbuild@npm:0.18.20" + dependencies: + "@esbuild/android-arm": "npm:0.18.20" + "@esbuild/android-arm64": "npm:0.18.20" + "@esbuild/android-x64": "npm:0.18.20" + "@esbuild/darwin-arm64": "npm:0.18.20" + "@esbuild/darwin-x64": "npm:0.18.20" + "@esbuild/freebsd-arm64": "npm:0.18.20" + "@esbuild/freebsd-x64": "npm:0.18.20" + "@esbuild/linux-arm": "npm:0.18.20" + "@esbuild/linux-arm64": "npm:0.18.20" + "@esbuild/linux-ia32": "npm:0.18.20" + "@esbuild/linux-loong64": "npm:0.18.20" + "@esbuild/linux-mips64el": "npm:0.18.20" + "@esbuild/linux-ppc64": "npm:0.18.20" + "@esbuild/linux-riscv64": "npm:0.18.20" + "@esbuild/linux-s390x": "npm:0.18.20" + "@esbuild/linux-x64": "npm:0.18.20" + "@esbuild/netbsd-x64": "npm:0.18.20" + "@esbuild/openbsd-x64": "npm:0.18.20" + "@esbuild/sunos-x64": "npm:0.18.20" + "@esbuild/win32-arm64": "npm:0.18.20" + "@esbuild/win32-ia32": "npm:0.18.20" + "@esbuild/win32-x64": "npm:0.18.20" + dependenciesMeta: + "@esbuild/android-arm": + optional: true + "@esbuild/android-arm64": + optional: true + "@esbuild/android-x64": + optional: true + "@esbuild/darwin-arm64": + optional: true + "@esbuild/darwin-x64": + optional: true + "@esbuild/freebsd-arm64": + optional: true + "@esbuild/freebsd-x64": + optional: true + "@esbuild/linux-arm": + optional: true + "@esbuild/linux-arm64": + optional: true + "@esbuild/linux-ia32": + optional: true + "@esbuild/linux-loong64": + optional: true + "@esbuild/linux-mips64el": + optional: true + "@esbuild/linux-ppc64": + optional: true + "@esbuild/linux-riscv64": + optional: true + "@esbuild/linux-s390x": + optional: true + "@esbuild/linux-x64": + optional: true + "@esbuild/netbsd-x64": + optional: true + "@esbuild/openbsd-x64": + optional: true + "@esbuild/sunos-x64": + optional: true + "@esbuild/win32-arm64": + optional: true + "@esbuild/win32-ia32": + optional: true + "@esbuild/win32-x64": + optional: true + bin: + esbuild: bin/esbuild + checksum: e8ff43647209dd6f29bbdbfbeed578f8a20763c2e5714e53d01afcf3a12bc097b03a8eb14f5f4e26965b8336e6f349978e3fa7778abc5bd2dac45544a36ca739 + languageName: node + linkType: hard + "escalade@npm:^3.1.1": version: 3.1.1 resolution: "escalade@npm:3.1.1" @@ -11561,6 +12157,21 @@ __metadata: languageName: node linkType: hard +"event-stream@npm:=3.3.4": + version: 3.3.4 + resolution: "event-stream@npm:3.3.4" + dependencies: + duplexer: "npm:~0.1.1" + from: "npm:~0" + map-stream: "npm:~0.1.0" + pause-stream: "npm:0.0.11" + split: "npm:0.3" + stream-combiner: "npm:~0.0.4" + through: "npm:~2.3.1" + checksum: 86335e11bb279e0576f83b8032d16fb71c844eec21d238e46fae7f5df9c3895191922fb958daa64e5d16d9fa30ca44668bf3ff47003e092f25e3770cab08b2a4 + languageName: node + linkType: hard + "eventemitter3@npm:^4.0.4": version: 4.0.7 resolution: "eventemitter3@npm:4.0.7" @@ -11642,17 +12253,16 @@ __metadata: languageName: node linkType: hard -"expect@npm:^29.6.1": - version: 29.6.1 - resolution: "expect@npm:29.6.1" +"expect@npm:^29.7.0": + version: 29.7.0 + resolution: "expect@npm:29.7.0" dependencies: - "@jest/expect-utils": "npm:^29.6.1" - "@types/node": "npm:*" - jest-get-type: "npm:^29.4.3" - jest-matcher-utils: "npm:^29.6.1" - jest-message-util: "npm:^29.6.1" - jest-util: "npm:^29.6.1" - checksum: 9840e862f67218c7e10afbdd47f16ae3307c6e68196255158881e1fffb62fdc10977e2d26618f106edfc297cf68e9c613849085ddbbfecb73d7e9d40313e64a9 + "@jest/expect-utils": "npm:^29.7.0" + jest-get-type: "npm:^29.6.3" + jest-matcher-utils: "npm:^29.7.0" + jest-message-util: "npm:^29.7.0" + jest-util: "npm:^29.7.0" + checksum: 3d48f25f9bab6a2417961b43c98e9d3b6a5e125b8c5bc47d38e7341e514398954fba640a36396670ab857767bb3becf33bd08c917c544d750e84deeee7dba81f languageName: node linkType: hard @@ -11724,6 +12334,19 @@ __metadata: languageName: node linkType: hard +"fast-glob@npm:^3.3.0": + version: 3.3.1 + resolution: "fast-glob@npm:3.3.1" + dependencies: + "@nodelib/fs.stat": "npm:^2.0.2" + "@nodelib/fs.walk": "npm:^1.2.3" + glob-parent: "npm:^5.1.2" + merge2: "npm:^1.3.0" + micromatch: "npm:^4.0.4" + checksum: e26659062337c60300761c4e46eeabba295ae4140dee6332e69977d920d7d96cb502f8b8a2358e131f088f9d30a98789c9920398896b317f028ba73dee710b01 + languageName: node + linkType: hard + "fast-json-parse@npm:^1.0.3": version: 1.0.3 resolution: "fast-json-parse@npm:1.0.3" @@ -11738,6 +12361,20 @@ __metadata: languageName: node linkType: hard +"fast-json-stringify@npm:^5.8.0": + version: 5.8.0 + resolution: "fast-json-stringify@npm:5.8.0" + dependencies: + "@fastify/deepmerge": "npm:^1.0.0" + ajv: "npm:^8.10.0" + ajv-formats: "npm:^2.1.1" + fast-deep-equal: "npm:^3.1.3" + fast-uri: "npm:^2.1.0" + rfdc: "npm:^1.2.0" + checksum: 350a9ef83ae6f971c70704c377a1b4208a39dc752e38a35c2219423c62827b8b19e0dab4d6ce29fa3beb06de416e73f3183ca2a9337f79de08f7fa073ad062c5 + languageName: node + linkType: hard + "fast-levenshtein@npm:^2.0.6, fast-levenshtein@npm:~2.0.6": version: 2.0.6 resolution: "fast-levenshtein@npm:2.0.6" @@ -11745,6 +12382,22 @@ __metadata: languageName: node linkType: hard +"fast-printf@npm:^1.6.9": + version: 1.6.9 + resolution: "fast-printf@npm:1.6.9" + dependencies: + boolean: "npm:^3.1.4" + checksum: 84a1100af1767ed1fe7fa049521a3923acc1ce37e57373224bb59bbe4213ec7af849b69b89b1262285d38d98cf8b493c203555482afea262e48c60ac3ed8eaed + languageName: node + linkType: hard + +"fast-uri@npm:^2.1.0": + version: 2.2.0 + resolution: "fast-uri@npm:2.2.0" + checksum: 9a31c7428f1817015b1c9147fa1b15e85bd22b331f3bcd4065c8515934586805262b103b49f3e1ceec37a787b6cfaef0eda011adca28fb8713eb0b05bdc8f403 + languageName: node + linkType: hard + "fastq@npm:^1.6.0": version: 1.15.0 resolution: "fastq@npm:1.15.0" @@ -11865,6 +12518,19 @@ __metadata: languageName: node linkType: hard +"find-process@npm:^1.4.7": + version: 1.4.7 + resolution: "find-process@npm:1.4.7" + dependencies: + chalk: "npm:^4.0.0" + commander: "npm:^5.1.0" + debug: "npm:^4.1.1" + bin: + find-process: bin/find-process.js + checksum: f066399a4c0fe388a7b48d4eecfef83250c6aede8c27cb54d37d808587b02f96ffaed3a9a60ceca4ae947b7bd86d3fe606adad9311cfc580bf670a2756dc4359 + languageName: node + linkType: hard + "find-up@npm:^2.0.0": version: 2.1.0 resolution: "find-up@npm:2.1.0" @@ -12088,6 +12754,13 @@ __metadata: languageName: node linkType: hard +"from@npm:~0": + version: 0.1.7 + resolution: "from@npm:0.1.7" + checksum: 66723f45c29cf0abd0462c534bfbc389ce088c2f12aa93cc3f802fa36ec92e7790f23d844e800cc3a4aae862787d63fd43c350c31503c8845f932b7c218f12b5 + languageName: node + linkType: hard + "fs-extra@npm:^10.0.0": version: 10.1.0 resolution: "fs-extra@npm:10.1.0" @@ -12237,6 +12910,15 @@ __metadata: languageName: node linkType: hard +"fx@npm:*": + version: 30.2.0 + resolution: "fx@npm:30.2.0" + bin: + fx: index.js + checksum: e139a4428579ee7376de8c93f5dcf8f94f22ed3a8ccfde1132df93d9e904883896d0fbc3fc77d27a7b10be17fac7a51eef6f52a061e7a964279d00d19c368a3e + languageName: node + linkType: hard + "gauge@npm:^4.0.3": version: 4.0.4 resolution: "gauge@npm:4.0.4" @@ -12437,6 +13119,18 @@ __metadata: languageName: node linkType: hard +"glob@npm:^9.3.1": + version: 9.3.5 + resolution: "glob@npm:9.3.5" + dependencies: + fs.realpath: "npm:^1.0.0" + minimatch: "npm:^8.0.2" + minipass: "npm:^4.2.4" + path-scurry: "npm:^1.6.1" + checksum: e5cd25695c347c9a788f1b7af4bf9a562c06b54029e61c37119fd4ed529aeaf799e4d55fccd52013a30ac11ee0b9995aa767efd77403abeffd0be03ddecfa2f9 + languageName: node + linkType: hard + "global-modules@npm:^1.0.0": version: 1.0.0 resolution: "global-modules@npm:1.0.0" @@ -12477,7 +13171,7 @@ __metadata: languageName: node linkType: hard -"globalthis@npm:^1.0.3": +"globalthis@npm:^1.0.2, globalthis@npm:^1.0.3": version: 1.0.3 resolution: "globalthis@npm:1.0.3" dependencies: @@ -12529,6 +13223,19 @@ __metadata: languageName: node linkType: hard +"globby@npm:^13.1.4": + version: 13.2.2 + resolution: "globby@npm:13.2.2" + dependencies: + dir-glob: "npm:^3.0.1" + fast-glob: "npm:^3.3.0" + ignore: "npm:^5.2.4" + merge2: "npm:^1.4.1" + slash: "npm:^4.0.0" + checksum: d1304681950c25e5d37b95a72a39146371efe30c73f1bc157c2f74d303524ef73f18e1bf579e34cc0798523a819bff7370be77e5acf817e621120510d387203a + languageName: node + linkType: hard + "gopd@npm:^1.0.1": version: 1.0.1 resolution: "gopd@npm:1.0.1" @@ -13950,7 +14657,7 @@ __metadata: languageName: node linkType: hard -"istanbul-lib-instrument@npm:^5.0.4, istanbul-lib-instrument@npm:^5.1.0": +"istanbul-lib-instrument@npm:^5.0.4": version: 5.2.1 resolution: "istanbul-lib-instrument@npm:5.2.1" dependencies: @@ -13963,6 +14670,19 @@ __metadata: languageName: node linkType: hard +"istanbul-lib-instrument@npm:^6.0.0": + version: 6.0.0 + resolution: "istanbul-lib-instrument@npm:6.0.0" + dependencies: + "@babel/core": "npm:^7.12.3" + "@babel/parser": "npm:^7.14.7" + "@istanbuljs/schema": "npm:^0.1.2" + istanbul-lib-coverage: "npm:^3.2.0" + semver: "npm:^7.5.4" + checksum: 325d5611c39a05f97d450d9bf74b89621c3f7160e2cf5d929c473c8ea97604938d1fb525a9cb7ddf9644d01384c23d28a0130bd2d80b9a7c46a4d98544737b9b + languageName: node + linkType: hard + "istanbul-lib-report@npm:^3.0.0": version: 3.0.0 resolution: "istanbul-lib-report@npm:3.0.0" @@ -14008,59 +14728,59 @@ __metadata: languageName: node linkType: hard -"jest-changed-files@npm:^29.5.0": - version: 29.5.0 - resolution: "jest-changed-files@npm:29.5.0" +"jest-changed-files@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-changed-files@npm:29.7.0" dependencies: execa: "npm:^5.0.0" + jest-util: "npm:^29.7.0" p-limit: "npm:^3.1.0" - checksum: 8b9b626ceb88c0a0066399a52f6ce03b0b6feba31af923e20c3e576a3396f779119eae44cfa3bef43078d930839a3dfc21f5220b0220a0ca1151b17fb9e1816f + checksum: 48f88bba412248cb92b5298433ce97aeddb435d2a53335d8aafd1787aa8a92b843f189d8d37e2bbb18f2b5d40ada28d7d2fd9e34eeaed769a251dc90f46248a3 languageName: node linkType: hard -"jest-circus@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-circus@npm:29.6.1" +"jest-circus@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-circus@npm:29.7.0" dependencies: - "@jest/environment": "npm:^29.6.1" - "@jest/expect": "npm:^29.6.1" - "@jest/test-result": "npm:^29.6.1" - "@jest/types": "npm:^29.6.1" + "@jest/environment": "npm:^29.7.0" + "@jest/expect": "npm:^29.7.0" + "@jest/test-result": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" "@types/node": "npm:*" chalk: "npm:^4.0.0" co: "npm:^4.6.0" - dedent: "npm:^0.7.0" + dedent: "npm:^1.0.0" is-generator-fn: "npm:^2.0.0" - jest-each: "npm:^29.6.1" - jest-matcher-utils: "npm:^29.6.1" - jest-message-util: "npm:^29.6.1" - jest-runtime: "npm:^29.6.1" - jest-snapshot: "npm:^29.6.1" - jest-util: "npm:^29.6.1" + jest-each: "npm:^29.7.0" + jest-matcher-utils: "npm:^29.7.0" + jest-message-util: "npm:^29.7.0" + jest-runtime: "npm:^29.7.0" + jest-snapshot: "npm:^29.7.0" + jest-util: "npm:^29.7.0" p-limit: "npm:^3.1.0" - pretty-format: "npm:^29.6.1" + pretty-format: "npm:^29.7.0" pure-rand: "npm:^6.0.0" slash: "npm:^3.0.0" stack-utils: "npm:^2.0.3" - checksum: 999c13db9c36878d809a1953f9ffe6aa70fabf30355ea770cadc6c2c7a2fce5926bb0ffbeffdf1a2e14a283cc5c801b5bbb1897ba27115cb01022849c9a8d777 + checksum: 26c759d3118fa9d6cd56810b6362a71279f05546c53fc50ae154739344ffa3a2babd29e3318c82b095ad9fb5e50b2a8dca88f8048983b7ec07cb28d9103d8bb6 languageName: node linkType: hard -"jest-cli@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-cli@npm:29.6.1" +"jest-cli@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-cli@npm:29.7.0" dependencies: - "@jest/core": "npm:^29.6.1" - "@jest/test-result": "npm:^29.6.1" - "@jest/types": "npm:^29.6.1" + "@jest/core": "npm:^29.7.0" + "@jest/test-result": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" chalk: "npm:^4.0.0" + create-jest: "npm:^29.7.0" exit: "npm:^0.1.2" - graceful-fs: "npm:^4.2.9" import-local: "npm:^3.0.2" - jest-config: "npm:^29.6.1" - jest-util: "npm:^29.6.1" - jest-validate: "npm:^29.6.1" - prompts: "npm:^2.0.1" + jest-config: "npm:^29.7.0" + jest-util: "npm:^29.7.0" + jest-validate: "npm:^29.7.0" yargs: "npm:^17.3.1" peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 @@ -14069,34 +14789,34 @@ __metadata: optional: true bin: jest: bin/jest.js - checksum: b46c4954962586840b07eda1aa4cb3b87b72c92efd879275a02743bf363b6e553f9d93b75f80edab9b1215dff3044b6625c2f6cf428f8d38ff8f073b5c3e4737 + checksum: ab7b1624bdbc5f198421ddc060e138ccb92499227b50e1e90086a35e66d4055355812bf8d4da62888384bd273d75fac6c388b520a602123ee45c09f03e45a328 languageName: node linkType: hard -"jest-config@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-config@npm:29.6.1" +"jest-config@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-config@npm:29.7.0" dependencies: "@babel/core": "npm:^7.11.6" - "@jest/test-sequencer": "npm:^29.6.1" - "@jest/types": "npm:^29.6.1" - babel-jest: "npm:^29.6.1" + "@jest/test-sequencer": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" + babel-jest: "npm:^29.7.0" chalk: "npm:^4.0.0" ci-info: "npm:^3.2.0" deepmerge: "npm:^4.2.2" glob: "npm:^7.1.3" graceful-fs: "npm:^4.2.9" - jest-circus: "npm:^29.6.1" - jest-environment-node: "npm:^29.6.1" - jest-get-type: "npm:^29.4.3" - jest-regex-util: "npm:^29.4.3" - jest-resolve: "npm:^29.6.1" - jest-runner: "npm:^29.6.1" - jest-util: "npm:^29.6.1" - jest-validate: "npm:^29.6.1" + jest-circus: "npm:^29.7.0" + jest-environment-node: "npm:^29.7.0" + jest-get-type: "npm:^29.6.3" + jest-regex-util: "npm:^29.6.3" + jest-resolve: "npm:^29.7.0" + jest-runner: "npm:^29.7.0" + jest-util: "npm:^29.7.0" + jest-validate: "npm:^29.7.0" micromatch: "npm:^4.0.4" parse-json: "npm:^5.2.0" - pretty-format: "npm:^29.6.1" + pretty-format: "npm:^29.7.0" slash: "npm:^3.0.0" strip-json-comments: "npm:^3.1.1" peerDependencies: @@ -14107,7 +14827,7 @@ __metadata: optional: true ts-node: optional: true - checksum: 18d0bb2ab8a82f42ad91d8a50e78e5130b0ab1d4fb615f0117f3c25d8c381ae40be1a592946ac2ac01167bf5bffebb23e10a43751ca4f35b4aec488071f5df42 + checksum: eb77b6d8cf314056ee4ef247d0aee812697ddba27c5c1b7166bedcae1b81742e48d33ebdfc8b3f560146dcfefc038750c09c6a82b02db12662713d310fc27a62 languageName: node linkType: hard @@ -14123,37 +14843,37 @@ __metadata: languageName: node linkType: hard -"jest-diff@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-diff@npm:29.6.1" +"jest-diff@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-diff@npm:29.7.0" dependencies: chalk: "npm:^4.0.0" - diff-sequences: "npm:^29.4.3" - jest-get-type: "npm:^29.4.3" - pretty-format: "npm:^29.6.1" - checksum: 6ff1319bff7cd8acc7e858d55edf5f4551645ad51a59930fa32beccd400f65c67b117fe5a05ab47e01c8aa64465841872b3231685e729f6aa378950b2ee9ad34 + diff-sequences: "npm:^29.6.3" + jest-get-type: "npm:^29.6.3" + pretty-format: "npm:^29.7.0" + checksum: e9d50c11fb4832334e1f62b58591805273ec1f5596d901023b62a611b39f0842b01c5f58502bbc88a066eeb9b9639ea15d57558ba814d844545bf68125690d2f languageName: node linkType: hard -"jest-docblock@npm:^29.4.3": - version: 29.4.3 - resolution: "jest-docblock@npm:29.4.3" +"jest-docblock@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-docblock@npm:29.7.0" dependencies: detect-newline: "npm:^3.0.0" - checksum: df7f82dc9059dc39c150a90d383ceab10538f3dbf2bd5ffab867d1504df23ea39037b66a8d62e21180489bf311e2d250c136bbcb700fbb3053697edffd2d9cf5 + checksum: ff612c76973c8dce2e10bbdc9861a97745b86e09fdc63b6af1a8f4200550787ad001e754903f622f1f24527602956d190eedbf0a030a5dff67b93c63248e6992 languageName: node linkType: hard -"jest-each@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-each@npm:29.6.1" +"jest-each@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-each@npm:29.7.0" dependencies: - "@jest/types": "npm:^29.6.1" + "@jest/types": "npm:^29.6.3" chalk: "npm:^4.0.0" - jest-get-type: "npm:^29.4.3" - jest-util: "npm:^29.6.1" - pretty-format: "npm:^29.6.1" - checksum: 965696f434ea42b39a8b9d7038faed9af4a7563c264784fab3f669be1fa49c3303c381fc2bd01812b38bb9a6fbd56bcfa340f58571952f1050483dfba1aa8753 + jest-get-type: "npm:^29.6.3" + jest-util: "npm:^29.7.0" + pretty-format: "npm:^29.7.0" + checksum: 85a5a99a9ddbbbbcd18d901d290a8002510ec02a2fca938d48f5186fc1adf11b9873f69599fb3d7ebcb85da95c518dfc88f8a0aea20cf149afc148826488617f languageName: node linkType: hard @@ -14178,17 +14898,17 @@ __metadata: languageName: node linkType: hard -"jest-environment-node@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-environment-node@npm:29.6.1" +"jest-environment-node@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-environment-node@npm:29.7.0" dependencies: - "@jest/environment": "npm:^29.6.1" - "@jest/fake-timers": "npm:^29.6.1" - "@jest/types": "npm:^29.6.1" + "@jest/environment": "npm:^29.7.0" + "@jest/fake-timers": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" "@types/node": "npm:*" - jest-mock: "npm:^29.6.1" - jest-util: "npm:^29.6.1" - checksum: 7917d98c5a9419af4dd6c663ee867ec9a96324e4ac041a33f64fa86c96185b90f726ddba03d7e6667c1e8556bd22182ccec9e27284b4640be955abb0f3276587 + jest-mock: "npm:^29.7.0" + jest-util: "npm:^29.7.0" + checksum: 08af1d16207f575585c629262209c30194c720510c967ccb6d3cc91ddf71b536bc589cc1c2de3078517d984743261c819bd70fc5e241b31c635b0225c2e96a85 languageName: node linkType: hard @@ -14199,6 +14919,13 @@ __metadata: languageName: node linkType: hard +"jest-get-type@npm:^29.6.3": + version: 29.6.3 + resolution: "jest-get-type@npm:29.6.3" + checksum: e184017775843c429c97023f7b4a82b8c3cdb624b21bcabee3c6d9915dfe889b583f064d1876b725c80bdae694a4fb54f2ac14b25d979dd0b64b5be282202c18 + languageName: node + linkType: hard + "jest-haste-map@npm:^29.6.1": version: 29.6.1 resolution: "jest-haste-map@npm:29.6.1" @@ -14222,13 +14949,36 @@ __metadata: languageName: node linkType: hard -"jest-leak-detector@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-leak-detector@npm:29.6.1" +"jest-haste-map@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-haste-map@npm:29.7.0" dependencies: - jest-get-type: "npm:^29.4.3" - pretty-format: "npm:^29.6.1" - checksum: 0f0f37f8ece68ca672809a81946af1c4a44a13663eb3af38c0201488265d0d9655c0d4b4f10e195f8ff6178737aa0041cdbd0465b5fa652c4de3c548bb5d7f01 + "@jest/types": "npm:^29.6.3" + "@types/graceful-fs": "npm:^4.1.3" + "@types/node": "npm:*" + anymatch: "npm:^3.0.3" + fb-watchman: "npm:^2.0.0" + fsevents: "npm:^2.3.2" + graceful-fs: "npm:^4.2.9" + jest-regex-util: "npm:^29.6.3" + jest-util: "npm:^29.7.0" + jest-worker: "npm:^29.7.0" + micromatch: "npm:^4.0.4" + walker: "npm:^1.0.8" + dependenciesMeta: + fsevents: + optional: true + checksum: 53a04a9479c37726eb77e9f0d74e3dbdb508953263556819b297f91fd5cb943d479a0e500f21df5c246a8ac2dded3d9b0fbe0bbcc04f56ebd1f4eb501aa6930c + languageName: node + linkType: hard + +"jest-leak-detector@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-leak-detector@npm:29.7.0" + dependencies: + jest-get-type: "npm:^29.6.3" + pretty-format: "npm:^29.7.0" + checksum: 2ee69a9e3db62fa7b0e545d21630986b1c092b14c2513dce1ad0d360171c2031409f9696b9adc4e45b31b653835a5c26c2cfe51b69b233c0b31f74ad32ce5fe4 languageName: node linkType: hard @@ -14244,15 +14994,15 @@ __metadata: languageName: node linkType: hard -"jest-matcher-utils@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-matcher-utils@npm:29.6.1" +"jest-matcher-utils@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-matcher-utils@npm:29.7.0" dependencies: chalk: "npm:^4.0.0" - jest-diff: "npm:^29.6.1" - jest-get-type: "npm:^29.4.3" - pretty-format: "npm:^29.6.1" - checksum: b7fc9113dd974b24fc6ee97c2e4e4f6a844681fe1a629f7bbfaf6c9a7d826adf8ed4be46912dd6ee6b375249c3da3701fd35542e481153cbbd6da4dbf1c2904f + jest-diff: "npm:^29.7.0" + jest-get-type: "npm:^29.6.3" + pretty-format: "npm:^29.7.0" + checksum: 77bedb2b26108d329c437506ab9c28be8d706f7f7bbbbfa5b71385641501b4f1143628f339ad4b33cc3da59ba3daea35a33a8616c33247fded4f4e26f8c75aa4 languageName: node linkType: hard @@ -14290,6 +15040,23 @@ __metadata: languageName: node linkType: hard +"jest-message-util@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-message-util@npm:29.7.0" + dependencies: + "@babel/code-frame": "npm:^7.12.13" + "@jest/types": "npm:^29.6.3" + "@types/stack-utils": "npm:^2.0.0" + chalk: "npm:^4.0.0" + graceful-fs: "npm:^4.2.9" + micromatch: "npm:^4.0.4" + pretty-format: "npm:^29.7.0" + slash: "npm:^3.0.0" + stack-utils: "npm:^2.0.3" + checksum: 0109a4a777507e0521b9cc537046ef29636388c2ea5bc79ceeecb33c99ee10fa31f3f804730b791b4b8729248356c5fdac437044c9bd63ab8ab0ee209914bdd3 + languageName: node + linkType: hard + "jest-mock@npm:^29.6.1": version: 29.6.1 resolution: "jest-mock@npm:29.6.1" @@ -14301,6 +15068,17 @@ __metadata: languageName: node linkType: hard +"jest-mock@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-mock@npm:29.7.0" + dependencies: + "@jest/types": "npm:^29.6.3" + "@types/node": "npm:*" + jest-util: "npm:^29.7.0" + checksum: be63e199219e960bacf5d97ae941a2ba6490d74a1e8c2d44e7d4e50c526721afb0ae54ed6c706367b61369a8e9b57fae928205673def95a3a2b179884f8634fd + languageName: node + linkType: hard + "jest-pnp-resolver@npm:^1.2.2": version: 1.2.3 resolution: "jest-pnp-resolver@npm:1.2.3" @@ -14320,118 +15098,124 @@ __metadata: languageName: node linkType: hard -"jest-resolve-dependencies@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-resolve-dependencies@npm:29.6.1" +"jest-regex-util@npm:^29.6.3": + version: 29.6.3 + resolution: "jest-regex-util@npm:29.6.3" + checksum: 0d2c01d865db28889c5100952d4f1dddbbe19990bf051c1a121b3f91b1c55e70fe818b81ffd4878ce95ac8855c10e592273ba201b6d24336adea37ef0873d7b5 + languageName: node + linkType: hard + +"jest-resolve-dependencies@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-resolve-dependencies@npm:29.7.0" dependencies: - jest-regex-util: "npm:^29.4.3" - jest-snapshot: "npm:^29.6.1" - checksum: d01c8192d1a6f9fe7525d6945ee5acd9b22d02c27a7b87c134b8014b146d9154d01488032a7d5787666a5f439541dba1dea9c8cdd479bdb963731ea0ad4e25a3 + jest-regex-util: "npm:^29.6.3" + jest-snapshot: "npm:^29.7.0" + checksum: 4f00cc400c8eeda607e1b5154cd830575800b645b35c2e02508013b0bcb3a8007cc045e21e8995bf7d8d715c0ce3d0fe3a0ce1e123bdcc6311e47b73df3bf4b3 languageName: node linkType: hard -"jest-resolve@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-resolve@npm:29.6.1" +"jest-resolve@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-resolve@npm:29.7.0" dependencies: chalk: "npm:^4.0.0" graceful-fs: "npm:^4.2.9" - jest-haste-map: "npm:^29.6.1" + jest-haste-map: "npm:^29.7.0" jest-pnp-resolver: "npm:^1.2.2" - jest-util: "npm:^29.6.1" - jest-validate: "npm:^29.6.1" + jest-util: "npm:^29.7.0" + jest-validate: "npm:^29.7.0" resolve: "npm:^1.20.0" resolve.exports: "npm:^2.0.0" slash: "npm:^3.0.0" - checksum: 8d787de7c0d155519cdfc96c03f8ccccbff65a680912a5a81ee68a01371d55f625f949abeb1dfbc643e752cfb7166111e18800fb8a111de20335af955a5b26f5 + checksum: e4ace7ee18b0a8908b2c74d6b7f1a7b749d2883effa6c80c6c31638cb0a4069e4492833e98bfe8f8e3d5ac786474b9f9b3d977e22d82a9a47154039513dfe538 languageName: node linkType: hard -"jest-runner@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-runner@npm:29.6.1" +"jest-runner@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-runner@npm:29.7.0" dependencies: - "@jest/console": "npm:^29.6.1" - "@jest/environment": "npm:^29.6.1" - "@jest/test-result": "npm:^29.6.1" - "@jest/transform": "npm:^29.6.1" - "@jest/types": "npm:^29.6.1" + "@jest/console": "npm:^29.7.0" + "@jest/environment": "npm:^29.7.0" + "@jest/test-result": "npm:^29.7.0" + "@jest/transform": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" "@types/node": "npm:*" chalk: "npm:^4.0.0" emittery: "npm:^0.13.1" graceful-fs: "npm:^4.2.9" - jest-docblock: "npm:^29.4.3" - jest-environment-node: "npm:^29.6.1" - jest-haste-map: "npm:^29.6.1" - jest-leak-detector: "npm:^29.6.1" - jest-message-util: "npm:^29.6.1" - jest-resolve: "npm:^29.6.1" - jest-runtime: "npm:^29.6.1" - jest-util: "npm:^29.6.1" - jest-watcher: "npm:^29.6.1" - jest-worker: "npm:^29.6.1" + jest-docblock: "npm:^29.7.0" + jest-environment-node: "npm:^29.7.0" + jest-haste-map: "npm:^29.7.0" + jest-leak-detector: "npm:^29.7.0" + jest-message-util: "npm:^29.7.0" + jest-resolve: "npm:^29.7.0" + jest-runtime: "npm:^29.7.0" + jest-util: "npm:^29.7.0" + jest-watcher: "npm:^29.7.0" + jest-worker: "npm:^29.7.0" p-limit: "npm:^3.1.0" source-map-support: "npm:0.5.13" - checksum: b60201ae3ea6e3a5d38b05dc7bf2c9275ddecc00ba151f66cf5f5045b3a50f9343015a772147e3bedbd3c49036d5a53e05c2f0653b65f7ffa89815ac004c469e + checksum: 31ca83cd059752c59b8fd25ec4ef1e79dc827e6d44bc4ac8c90bc1a4b64216a39e277eb6f8546805cfcf91f3113bc7f59d381b5894dec0c774b7c548ee429302 languageName: node linkType: hard -"jest-runtime@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-runtime@npm:29.6.1" +"jest-runtime@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-runtime@npm:29.7.0" dependencies: - "@jest/environment": "npm:^29.6.1" - "@jest/fake-timers": "npm:^29.6.1" - "@jest/globals": "npm:^29.6.1" - "@jest/source-map": "npm:^29.6.0" - "@jest/test-result": "npm:^29.6.1" - "@jest/transform": "npm:^29.6.1" - "@jest/types": "npm:^29.6.1" + "@jest/environment": "npm:^29.7.0" + "@jest/fake-timers": "npm:^29.7.0" + "@jest/globals": "npm:^29.7.0" + "@jest/source-map": "npm:^29.6.3" + "@jest/test-result": "npm:^29.7.0" + "@jest/transform": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" "@types/node": "npm:*" chalk: "npm:^4.0.0" cjs-module-lexer: "npm:^1.0.0" collect-v8-coverage: "npm:^1.0.0" glob: "npm:^7.1.3" graceful-fs: "npm:^4.2.9" - jest-haste-map: "npm:^29.6.1" - jest-message-util: "npm:^29.6.1" - jest-mock: "npm:^29.6.1" - jest-regex-util: "npm:^29.4.3" - jest-resolve: "npm:^29.6.1" - jest-snapshot: "npm:^29.6.1" - jest-util: "npm:^29.6.1" + jest-haste-map: "npm:^29.7.0" + jest-message-util: "npm:^29.7.0" + jest-mock: "npm:^29.7.0" + jest-regex-util: "npm:^29.6.3" + jest-resolve: "npm:^29.7.0" + jest-snapshot: "npm:^29.7.0" + jest-util: "npm:^29.7.0" slash: "npm:^3.0.0" strip-bom: "npm:^4.0.0" - checksum: 08b230ea739d9081add86577525264d3b52cbe2ad0a8b32163bc207dedeb8277aabde06945a8d2404dfa1a0d2fd00a0ae6987c5552450c1bad986651de490ede + checksum: 5981913bb317f70192ccf4496dad40638edb514db7395cdcbca58bfa705fcb3657755c3a2bdb3ee23a92ebb92a0c00e3f0381542ff03a9bca68a2f4c56447f20 languageName: node linkType: hard -"jest-snapshot@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-snapshot@npm:29.6.1" +"jest-snapshot@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-snapshot@npm:29.7.0" dependencies: "@babel/core": "npm:^7.11.6" "@babel/generator": "npm:^7.7.2" "@babel/plugin-syntax-jsx": "npm:^7.7.2" "@babel/plugin-syntax-typescript": "npm:^7.7.2" "@babel/types": "npm:^7.3.3" - "@jest/expect-utils": "npm:^29.6.1" - "@jest/transform": "npm:^29.6.1" - "@jest/types": "npm:^29.6.1" - "@types/prettier": "npm:^2.1.5" + "@jest/expect-utils": "npm:^29.7.0" + "@jest/transform": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" babel-preset-current-node-syntax: "npm:^1.0.0" chalk: "npm:^4.0.0" - expect: "npm:^29.6.1" + expect: "npm:^29.7.0" graceful-fs: "npm:^4.2.9" - jest-diff: "npm:^29.6.1" - jest-get-type: "npm:^29.4.3" - jest-matcher-utils: "npm:^29.6.1" - jest-message-util: "npm:^29.6.1" - jest-util: "npm:^29.6.1" + jest-diff: "npm:^29.7.0" + jest-get-type: "npm:^29.6.3" + jest-matcher-utils: "npm:^29.7.0" + jest-message-util: "npm:^29.7.0" + jest-util: "npm:^29.7.0" natural-compare: "npm:^1.4.0" - pretty-format: "npm:^29.6.1" + pretty-format: "npm:^29.7.0" semver: "npm:^7.5.3" - checksum: 078ea5e01c30cf8a878a00d0469b2644706d343007fa67559d2d58ef038c68b0e536271a765cd03d977c44536c7fd948f518635769e8b036e3edc08186219c71 + checksum: 5fa36833f175f3a9686ba36683811cb5c2e889ec666c5b3cb6306372f31cefeb11c41f0c4b7fdc62b86599edb65daf43afc4983a5d70146d1917b524ad6f017e languageName: node linkType: hard @@ -14470,33 +15254,47 @@ __metadata: languageName: node linkType: hard -"jest-validate@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-validate@npm:29.6.1" +"jest-util@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-util@npm:29.7.0" dependencies: - "@jest/types": "npm:^29.6.1" + "@jest/types": "npm:^29.6.3" + "@types/node": "npm:*" + chalk: "npm:^4.0.0" + ci-info: "npm:^3.2.0" + graceful-fs: "npm:^4.2.9" + picomatch: "npm:^2.2.3" + checksum: bca94bdfe28adbcf7f1fa929d2de7777e88e3bdf89e4797f33687bf64198ec936386da7009ebc6dfc3221a76b12b7526f1153ba695a0af965d07a4367d1aa5a2 + languageName: node + linkType: hard + +"jest-validate@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-validate@npm:29.7.0" + dependencies: + "@jest/types": "npm:^29.6.3" camelcase: "npm:^6.2.0" chalk: "npm:^4.0.0" - jest-get-type: "npm:^29.4.3" + jest-get-type: "npm:^29.6.3" leven: "npm:^3.1.0" - pretty-format: "npm:^29.6.1" - checksum: f56f03258e847c61ae2225a8b04d72c873ca0d9a16dca0ea51eaaa18b571e66ab1c15f022c2739b8089c615a65fa39a610250037976b195f83a2d883edf00388 + pretty-format: "npm:^29.7.0" + checksum: 422f418d1665f55c871bed4003336d042767155f44ef9ad15f291245d60a7810b55b74df95d4208712561b4d223449129c68856b1ad2e8d4b9767e65b367fa3f languageName: node linkType: hard -"jest-watcher@npm:^29.6.1": - version: 29.6.1 - resolution: "jest-watcher@npm:29.6.1" +"jest-watcher@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-watcher@npm:29.7.0" dependencies: - "@jest/test-result": "npm:^29.6.1" - "@jest/types": "npm:^29.6.1" + "@jest/test-result": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" "@types/node": "npm:*" ansi-escapes: "npm:^4.2.1" chalk: "npm:^4.0.0" emittery: "npm:^0.13.1" - jest-util: "npm:^29.6.1" + jest-util: "npm:^29.7.0" string-length: "npm:^4.0.1" - checksum: 1fc196cabdeabc64935ffb96206377f261bd500a16df6f86b778046f99f486efc9f59e3d08b8f4fe81c8fb33c31a615cf181cbce824b4dd982df22c925fc9d07 + checksum: 4843d340d62b19309350859316257b83b7ff4dee6eec3faa5df39ea5489d89ae5d95fa99a5db19bb6c17c171d391090d4587021ac175869955431dcf3b1ef10a languageName: node linkType: hard @@ -14523,14 +15321,26 @@ __metadata: languageName: node linkType: hard -"jest@npm:^29.6.1": - version: 29.6.1 - resolution: "jest@npm:29.6.1" +"jest-worker@npm:^29.7.0": + version: 29.7.0 + resolution: "jest-worker@npm:29.7.0" dependencies: - "@jest/core": "npm:^29.6.1" - "@jest/types": "npm:^29.6.1" + "@types/node": "npm:*" + jest-util: "npm:^29.7.0" + merge-stream: "npm:^2.0.0" + supports-color: "npm:^8.0.0" + checksum: 9492d4d7547c6ff654025e685cd6effcb8ca08273fbcdacaa4813f487c8715394229d63ae5a58525b26095987485c1ef7b25466e6f188fbce985b53169a87408 + languageName: node + linkType: hard + +"jest@npm:29.7.0": + version: 29.7.0 + resolution: "jest@npm:29.7.0" + dependencies: + "@jest/core": "npm:^29.7.0" + "@jest/types": "npm:^29.6.3" import-local: "npm:^3.0.2" - jest-cli: "npm:^29.6.1" + jest-cli: "npm:^29.7.0" peerDependencies: node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 peerDependenciesMeta: @@ -14538,7 +15348,7 @@ __metadata: optional: true bin: jest: bin/jest.js - checksum: a9705bcecc473346d37f1de0939fd7ee00dad83b956d50e7a0a08ea3bcffa4e797cd5fcee6b115aa9e9605e4b06119c90012aa9c8ba9e7f8a8cc0571eb2cbe66 + checksum: b7dddf7f17b743a44d40d41dc1307f62d5b5842d17576df797bc50209b8b3f425450b10fa0c02ea99f8ed8eebb85b5cf6875b667aeaf6c26603d438ed6da41e3 languageName: node linkType: hard @@ -15414,6 +16224,13 @@ __metadata: languageName: node linkType: hard +"lru-cache@npm:^9.1.1 || ^10.0.0": + version: 10.0.1 + resolution: "lru-cache@npm:10.0.1" + checksum: 2a029f0067f9cc179c276af53f6827234bda6c799d003e07586eeaecff23bcebbb87c7985d1687c5be1ab5fd42d64327ee06a465d7905bfcb7ad49343793a0a4 + languageName: node + linkType: hard + "ltgt@npm:^2.1.2": version: 2.2.1 resolution: "ltgt@npm:2.2.1" @@ -15563,6 +16380,13 @@ __metadata: languageName: node linkType: hard +"map-stream@npm:~0.1.0": + version: 0.1.0 + resolution: "map-stream@npm:0.1.0" + checksum: 3eb6020cbbd07226602f849eb95e613087bc1c17a00018f28f1a1f605bc53374fe0554ecac9a841e7a33fc1fd55399a0a01308d90ec73f0693dcae2923969385 + languageName: node + linkType: hard + "markdown-extensions@npm:^1.0.0": version: 1.1.1 resolution: "markdown-extensions@npm:1.1.1" @@ -16500,6 +17324,15 @@ __metadata: languageName: node linkType: hard +"minimatch@npm:^8.0.2": + version: 8.0.4 + resolution: "minimatch@npm:8.0.4" + dependencies: + brace-expansion: "npm:^2.0.1" + checksum: eea8425c44427fa26a7a6bfc5835c29911cb3bc528817ecab3a143aa08709e26e30bb8e31fd943aac346e75123b9f28283650aca0b20a1f0b3127cfb5ad2c221 + languageName: node + linkType: hard + "minimatch@npm:^9.0.0, minimatch@npm:^9.0.1": version: 9.0.1 resolution: "minimatch@npm:9.0.1" @@ -16520,7 +17353,7 @@ __metadata: languageName: node linkType: hard -"minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:^1.2.6": +"minimist@npm:^1.2.0, minimist@npm:^1.2.5, minimist@npm:^1.2.6, minimist@npm:^1.2.8": version: 1.2.8 resolution: "minimist@npm:1.2.8" checksum: 8598f846f2b7546b22b01ce486df27da216a302367afe17f2a032da12fcb8d33bfbf2c523051230864abf0b806748bd60d4cd0863fae35fe104da1ff6194a185 @@ -16587,6 +17420,13 @@ __metadata: languageName: node linkType: hard +"minipass@npm:^4.2.4": + version: 4.2.8 + resolution: "minipass@npm:4.2.8" + checksum: d648ef507b0600c2a18f4348ea39a8c8e09a2c740a80750bf10312de2674fa4141bf802bf4eb6d5d3cd71418d8eca7cb374a55cf8a58711816adf31936adf47f + languageName: node + linkType: hard + "minipass@npm:^5.0.0": version: 5.0.0 resolution: "minipass@npm:5.0.0" @@ -16601,6 +17441,13 @@ __metadata: languageName: node linkType: hard +"minipass@npm:^5.0.0 || ^6.0.2 || ^7.0.0": + version: 7.0.4 + resolution: "minipass@npm:7.0.4" + checksum: ac50fdf5fe77b3b2c9fe1019633cf596bfddff7e9c3b013766257f36c7fe3a03a5d69fabd7ecd1e2f4f7852448f9becea4703e7507a9ced9e1a4618151ae4c5d + languageName: node + linkType: hard + "minizlib@npm:^2.1.1, minizlib@npm:^2.1.2": version: 2.1.2 resolution: "minizlib@npm:2.1.2" @@ -16852,6 +17699,17 @@ __metadata: languageName: node linkType: hard +"node-fetch@npm:3.3.1, node-fetch@npm:^3.0.0, node-fetch@npm:^3.3.1": + version: 3.3.1 + resolution: "node-fetch@npm:3.3.1" + dependencies: + data-uri-to-buffer: "npm:^4.0.0" + fetch-blob: "npm:^3.1.4" + formdata-polyfill: "npm:^4.0.10" + checksum: 1d0c635bdff0da737610fe4e8382f01da15402a47e74cf709cc9cb9633c2843215dd167d5fbcb827b966554bc9fdd5134e54eeb54896a75026850c59b1701c0c + languageName: node + linkType: hard + "node-fetch@npm:^2.5.0, node-fetch@npm:^2.6.0": version: 2.6.11 resolution: "node-fetch@npm:2.6.11" @@ -16866,17 +17724,6 @@ __metadata: languageName: node linkType: hard -"node-fetch@npm:^3.0.0, node-fetch@npm:^3.3.1": - version: 3.3.1 - resolution: "node-fetch@npm:3.3.1" - dependencies: - data-uri-to-buffer: "npm:^4.0.0" - fetch-blob: "npm:^3.1.4" - formdata-polyfill: "npm:^4.0.10" - checksum: 1d0c635bdff0da737610fe4e8382f01da15402a47e74cf709cc9cb9633c2843215dd167d5fbcb827b966554bc9fdd5134e54eeb54896a75026850c59b1701c0c - languageName: node - linkType: hard - "node-gyp@npm:latest": version: 9.4.0 resolution: "node-gyp@npm:9.4.0" @@ -17777,6 +18624,16 @@ __metadata: languageName: node linkType: hard +"path-scurry@npm:^1.6.1": + version: 1.10.1 + resolution: "path-scurry@npm:1.10.1" + dependencies: + lru-cache: "npm:^9.1.1 || ^10.0.0" + minipass: "npm:^5.0.0 || ^6.0.2 || ^7.0.0" + checksum: 27512ed33f02818c608d719ca7b18cc038341b09b76aefa6830c8f39a7a5966f412efe7a9fc92a5d426f11d3040df78f10ed5eb319665cf856c69892c3098ed6 + languageName: node + linkType: hard + "path-scurry@npm:^1.7.0": version: 1.9.2 resolution: "path-scurry@npm:1.9.2" @@ -17808,6 +18665,15 @@ __metadata: languageName: node linkType: hard +"pause-stream@npm:0.0.11": + version: 0.0.11 + resolution: "pause-stream@npm:0.0.11" + dependencies: + through: "npm:~2.3" + checksum: b6248f597ca5d0156b2e11f60fca7d163a05866bf742ad27ec0eaa7a8ee4aa4284d71a6544a70000695e20979351e430c20a441e6c73882e786ac6ca52490c7b + languageName: node + linkType: hard + "pbkdf2@npm:^3.0.3": version: 3.1.2 resolution: "pbkdf2@npm:3.1.2" @@ -17853,6 +18719,15 @@ __metadata: languageName: node linkType: hard +"pidtree@npm:^0.6.0": + version: 0.6.0 + resolution: "pidtree@npm:0.6.0" + bin: + pidtree: bin/pidtree.js + checksum: 597e8bf8f7b038a3640749ffb51cd39f54113e2f2db7158de0bac8194d44dd550a6af30a099fc7e9b81463f3c5ca6447c9e9f300a4bd583e205087e656819eaf + languageName: node + linkType: hard + "pify@npm:^2.3.0": version: 2.3.0 resolution: "pify@npm:2.3.0" @@ -18616,6 +19491,17 @@ __metadata: languageName: node linkType: hard +"pretty-format@npm:^29.7.0": + version: 29.7.0 + resolution: "pretty-format@npm:29.7.0" + dependencies: + "@jest/schemas": "npm:^29.6.3" + ansi-styles: "npm:^5.0.0" + react-is: "npm:^18.0.0" + checksum: e78e4aa3842966fa2274cf97027f3b2b211ed2aa6b46ae43aa45f2a0ace5415c977ab6d0f18c9750d53facf78070b54f9364a36aa8ada011b865689e4e3d0592 + languageName: node + linkType: hard + "prism-react-renderer@npm:^1.3.5": version: 1.3.5 resolution: "prism-react-renderer@npm:1.3.5" @@ -18755,6 +19641,17 @@ __metadata: languageName: node linkType: hard +"ps-tree@npm:^1.2.0": + version: 1.2.0 + resolution: "ps-tree@npm:1.2.0" + dependencies: + event-stream: "npm:=3.3.4" + bin: + ps-tree: ./bin/ps-tree.js + checksum: 8bf544d58c87e9e628bce26ee6fb8746a290ee25948dda6c037da7d90dd4a99f53ce60a5290521e2e2271947fd42171087bdad718febe119932105552be18864 + languageName: node + linkType: hard + "pseudomap@npm:^1.0.2": version: 1.0.2 resolution: "pseudomap@npm:1.0.2" @@ -18836,6 +19733,13 @@ __metadata: languageName: node linkType: hard +"randomcolor@npm:^0.6.2": + version: 0.6.2 + resolution: "randomcolor@npm:0.6.2" + checksum: 3265c6908af478a6aee8f063c1acb7b5b76547d7f529a1768059c8554cafbb908a3747781fb7f7f0d4363d3cca7a43fe1a8a7ea68d9fac556da767f0bd3f70cf + languageName: node + linkType: hard + "randomfill@npm:^1.0.3": version: 1.0.4 resolution: "randomfill@npm:1.0.4" @@ -19836,6 +20740,13 @@ __metadata: languageName: node linkType: hard +"rfdc@npm:^1.2.0": + version: 1.3.0 + resolution: "rfdc@npm:1.3.0" + checksum: 9ced4765721871fd25557302aac79c252fd2ce6e79b94321fc32c9c6fbecbb7207f8566672bc5421aeeb8f1b673b1c9af2a7a13c4e1d8f53ac481f8d32645409 + languageName: node + linkType: hard + "rimraf@npm:^2.6.3": version: 2.7.1 resolution: "rimraf@npm:2.7.1" @@ -19879,6 +20790,20 @@ __metadata: languageName: node linkType: hard +"roarr@npm:^7.15.0": + version: 7.15.1 + resolution: "roarr@npm:7.15.1" + dependencies: + boolean: "npm:^3.1.4" + fast-json-stringify: "npm:^5.8.0" + fast-printf: "npm:^1.6.9" + globalthis: "npm:^1.0.2" + safe-stable-stringify: "npm:^2.4.3" + semver-compare: "npm:^1.0.0" + checksum: d42c48108375b8bdca213186a740d64f9c3fc422d93103d2d9100dbc17ce7cffb51edf5026e6fb2f4c7842dfe390184f7fa5122c56b4257f0ad7918239747f3b + languageName: node + linkType: hard + "rollup-plugin-babel@npm:^4.4.0": version: 4.4.0 resolution: "rollup-plugin-babel@npm:4.4.0" @@ -20118,6 +21043,8 @@ __metadata: "@dword-design/eslint-plugin-import-alias": "npm:^4.0.8" "@ianvs/prettier-plugin-sort-imports": "npm:^4.0.2" "@playwright/test": "npm:1.36.0" + "@swc/core": "npm:1.3.90" + "@swc/jest": "npm:0.2.29" "@tailwindcss/typography": "npm:^0.5.9" "@testing-library/jest-dom": "npm:^5.16.5" "@testing-library/react": "npm:^14.0.0" @@ -20146,6 +21073,7 @@ __metadata: babel-plugin-prismjs: "npm:^2.1.0" barrelsby: "npm:^2.8.0" change-case: "npm:^4.1.2" + chokidar: "npm:3.5.3" concurrently: "npm:^8.2.0" cross-env: "npm:^7.0.3" dotenv: "npm:^16.3.1" @@ -20170,7 +21098,7 @@ __metadata: eslint-plugin-testing-library: "npm:^5.11.0" eslint-plugin-unicorn: "npm:^47.0.0" eslint-plugin-unused-imports: "npm:^3.0.0" - jest: "npm:^29.6.1" + jest: "npm:29.7.0" jest-environment-jsdom: "npm:^29.6.1" patch-package: "npm:^7.0.2" plop: "npm:3.1.2" @@ -20205,7 +21133,9 @@ __metadata: slate-test-utils: "npm:1.3.2" tailwindcss: "npm:^3.3.2" ts-jest: "npm:^29.1.1" + tsup: "npm:7.2.0" turbo: "npm:^1.10.7" + turbowatch: "npm:2.29.4" typescript: "npm:5.1.6" languageName: unknown linkType: soft @@ -20294,6 +21224,13 @@ __metadata: languageName: node linkType: hard +"safe-stable-stringify@npm:^2.4.3": + version: 2.4.3 + resolution: "safe-stable-stringify@npm:2.4.3" + checksum: a948b6699f0399445821754f73144dcc8c2e746eb972d9722b100c43f78e8fc38b21163d9429b3460f6b4f38caf4fb454f57cd9fb2a01568f7463607bd1f6d22 + languageName: node + linkType: hard + "safer-buffer@npm:>= 2.1.2 < 3, safer-buffer@npm:>= 2.1.2 < 3.0.0, safer-buffer@npm:^2.1.0": version: 2.1.2 resolution: "safer-buffer@npm:2.1.2" @@ -20392,6 +21329,13 @@ __metadata: languageName: node linkType: hard +"semver-compare@npm:^1.0.0": + version: 1.0.0 + resolution: "semver-compare@npm:1.0.0" + checksum: 1d88e82a6e911032911001e4a23c309a1e40ecb2c60332516b8e1a3419ac230af6b09f2eb02cf3370195da961e0b9dea52256eaa68040d1eb38cc013aeb75789 + languageName: node + linkType: hard + "semver@npm:2 || 3 || 4 || 5, semver@npm:^5.6.0": version: 5.7.1 resolution: "semver@npm:5.7.1" @@ -20441,6 +21385,17 @@ __metadata: languageName: node linkType: hard +"semver@npm:^7.5.4": + version: 7.5.4 + resolution: "semver@npm:7.5.4" + dependencies: + lru-cache: "npm:^6.0.0" + bin: + semver: bin/semver.js + checksum: b06b6c19088f1d7c4a21858a432fc31a766d3a3dbcc6638028e2e85de79f5ec87b849b940f03487d4e366616435ba16bf769f558896addb55ba5ec388ca2ed1b + languageName: node + linkType: hard + "semver@npm:~2.3.1": version: 2.3.2 resolution: "semver@npm:2.3.2" @@ -20461,6 +21416,15 @@ __metadata: languageName: node linkType: hard +"serialize-error@npm:^11.0.0": + version: 11.0.2 + resolution: "serialize-error@npm:11.0.2" + dependencies: + type-fest: "npm:^2.12.2" + checksum: da3197c18b56a9b919e169ad97e56f0fd8f5d12ab65d09f79abed56563338d97e307758b4da21492dbe70d1b66629b3491e82176c466114dfc46f6b84b4a10b2 + languageName: node + linkType: hard + "serialize-javascript@npm:^4.0.0": version: 4.0.0 resolution: "serialize-javascript@npm:4.0.0" @@ -20875,6 +21839,15 @@ __metadata: languageName: node linkType: hard +"split@npm:0.3": + version: 0.3.3 + resolution: "split@npm:0.3.3" + dependencies: + through: "npm:2" + checksum: e6d647479900bd283ebd42cec83021973b4145ea0ab12950da067c6c984dcb28fa0dd3450e9e993528d0704f109265163e56022f6e45460b61ae92e1c46f84cb + languageName: node + linkType: hard + "sprintf-js@npm:~1.0.2": version: 1.0.3 resolution: "sprintf-js@npm:1.0.3" @@ -20939,6 +21912,15 @@ __metadata: languageName: node linkType: hard +"stream-combiner@npm:~0.0.4": + version: 0.0.4 + resolution: "stream-combiner@npm:0.0.4" + dependencies: + duplexer: "npm:~0.1.1" + checksum: 8b245d6d98ee85bb681a255d8ea8d400ae9986bc70d8b8b5cbefa789a5731e57b5ad3fcd88f940522ff24aabc2dd5081311658ab7bd39d18968d6f22b546b866 + languageName: node + linkType: hard + "stream-transform@npm:^2.1.3": version: 2.1.3 resolution: "stream-transform@npm:2.1.3" @@ -21475,7 +22457,14 @@ __metadata: languageName: node linkType: hard -"through@npm:^2.3.6": +"throttle-debounce@npm:^5.0.0": + version: 5.0.0 + resolution: "throttle-debounce@npm:5.0.0" + checksum: dfbcfe3329194dd297e7612548a7071325caa6c7d19ebfb85d4d3fb4ecc76a22a55e478b9e2e510bfd015e32669454782110706267a4ca8726024896d82eea9f + languageName: node + linkType: hard + +"through@npm:2, through@npm:^2.3.6, through@npm:~2.3, through@npm:~2.3.1": version: 2.3.8 resolution: "through@npm:2.3.8" checksum: c9d6883ace26b3c967283827cafdd4ceee6164fa4d3754865f5032dcb564e0cbdea9dc6f43806afa51e1f2863d8e3beca141cbf7b8dcff989982aef69bb851c0 @@ -21705,6 +22694,13 @@ __metadata: languageName: node linkType: hard +"ts-custom-error@npm:^3.3.1": + version: 3.3.1 + resolution: "ts-custom-error@npm:3.3.1" + checksum: 49980216d2df2304ef41c7c4c1270abbbcc4fbc5e34f331717a23f00713881108ab27beecfdaef3957138711f8a81fc27d99dff386badd4440f008f857d90a0f + languageName: node + linkType: hard + "ts-interface-checker@npm:^0.1.9": version: 0.1.13 resolution: "ts-interface-checker@npm:0.1.13" @@ -21837,6 +22833,42 @@ __metadata: languageName: node linkType: hard +"tsup@npm:7.2.0": + version: 7.2.0 + resolution: "tsup@npm:7.2.0" + dependencies: + bundle-require: "npm:^4.0.0" + cac: "npm:^6.7.12" + chokidar: "npm:^3.5.1" + debug: "npm:^4.3.1" + esbuild: "npm:^0.18.2" + execa: "npm:^5.0.0" + globby: "npm:^11.0.3" + joycon: "npm:^3.0.1" + postcss-load-config: "npm:^4.0.1" + resolve-from: "npm:^5.0.0" + rollup: "npm:^3.2.5" + source-map: "npm:0.8.0-beta.0" + sucrase: "npm:^3.20.3" + tree-kill: "npm:^1.2.2" + peerDependencies: + "@swc/core": ^1 + postcss: ^8.4.12 + typescript: ">=4.1.0" + peerDependenciesMeta: + "@swc/core": + optional: true + postcss: + optional: true + typescript: + optional: true + bin: + tsup: dist/cli-default.js + tsup-node: dist/cli-node.js + checksum: f8bd6a05042af09d63f78e4e83bfe1ade9448f8eea8bac51f9335683f74fd827acef8510f2d061970060d7a6f697b6ca88318c411583a7a6ad07032830579474 + languageName: node + linkType: hard + "tsup@npm:^6.6.3": version: 6.7.0 resolution: "tsup@npm:6.7.0" @@ -21972,6 +23004,31 @@ __metadata: languageName: node linkType: hard +"turbowatch@npm:2.29.4": + version: 2.29.4 + resolution: "turbowatch@npm:2.29.4" + dependencies: + chalk: "npm:^4.1.2" + chokidar: "npm:^3.5.3" + find-process: "npm:^1.4.7" + glob: "npm:^9.3.1" + jiti: "npm:^1.18.2" + micromatch: "npm:^4.0.5" + pidtree: "npm:^0.6.0" + randomcolor: "npm:^0.6.2" + roarr: "npm:^7.15.0" + semver: "npm:^7.3.8" + serialize-error: "npm:^11.0.0" + throttle-debounce: "npm:^5.0.0" + ts-custom-error: "npm:^3.3.1" + yargs: "npm:^17.7.1" + zx: "npm:^7.2.1" + bin: + turbowatch: dist/bin/turbowatch.js + checksum: 364f42226021e66e8d95920f580f131b441a054041a48959d3163def90187736f164eda575ed66a862b0561b63e1ea3b8653da8ebf466b0ab1f4003b653a1c00 + languageName: node + linkType: hard + "typanion@npm:^3.12.1, typanion@npm:^3.8.0": version: 3.12.1 resolution: "typanion@npm:3.12.1" @@ -22046,6 +23103,13 @@ __metadata: languageName: node linkType: hard +"type-fest@npm:^2.12.2": + version: 2.19.0 + resolution: "type-fest@npm:2.19.0" + checksum: d63c7c5fd7583cc6d35ccd23e96686eeb1e6f387c83a858625734ea2cf974c6be38bcbc43663da5e10469a1b4119089def1e8def03bf2aee540f0ad4fcd25902 + languageName: node + linkType: hard + "type-fest@npm:^3.12.0": version: 3.12.0 resolution: "type-fest@npm:3.12.0" @@ -22982,6 +24046,15 @@ __metadata: languageName: node linkType: hard +"webpod@npm:^0": + version: 0.0.2 + resolution: "webpod@npm:0.0.2" + bin: + webpod: dist/index.js + checksum: 9b8cc1f117e6155345cf8ce536f8f233c4590a76f4fde71b34a193868e40054347207484adc3e4b47f2ca4ade211afbe0a27fd3b927eda2b8b6e88e36c5c698a + languageName: node + linkType: hard + "whatwg-encoding@npm:^2.0.0": version: 2.0.0 resolution: "whatwg-encoding@npm:2.0.0" @@ -23107,6 +24180,17 @@ __metadata: languageName: node linkType: hard +"which@npm:^3.0.0": + version: 3.0.1 + resolution: "which@npm:3.0.1" + dependencies: + isexe: "npm:^2.0.0" + bin: + node-which: bin/which.js + checksum: 5c5f87994316fba125606f0dee8140633a11f32e8eebb23c4e9ef4e29320b27b170cf94006c26813e912ce4626cd8314bbe06e8d4140d5fac3ebb97bc62922a0 + languageName: node + linkType: hard + "why-is-node-running@npm:^2.2.2": version: 2.2.2 resolution: "why-is-node-running@npm:2.2.2" @@ -23595,3 +24679,28 @@ __metadata: checksum: bf40da12c4b576ffae84456fa80df5008fff61cba229925978bb91f790a5b741db15b2ba930e31e35fe6ef29ec7ff16a5a3b770bc5dfd09765b2a294863af530 languageName: node linkType: hard + +"zx@npm:^7.2.1": + version: 7.2.3 + resolution: "zx@npm:7.2.3" + dependencies: + "@types/fs-extra": "npm:^11.0.1" + "@types/minimist": "npm:^1.2.2" + "@types/node": "npm:^18.16.3" + "@types/ps-tree": "npm:^1.1.2" + "@types/which": "npm:^3.0.0" + chalk: "npm:^5.2.0" + fs-extra: "npm:^11.1.1" + fx: "npm:*" + globby: "npm:^13.1.4" + minimist: "npm:^1.2.8" + node-fetch: "npm:3.3.1" + ps-tree: "npm:^1.2.0" + webpod: "npm:^0" + which: "npm:^3.0.0" + yaml: "npm:^2.2.2" + bin: + zx: build/cli.js + checksum: 0f2dd07de38021055b036b99dd3ccd0d236c7e4fe57012f3118e4a3045762bcfd20d388b86104a9cac54c29858abf44ce0b8421ac3c2fbfac3584caa0d82efc6 + languageName: node + linkType: hard