waveterm/package.json

76 lines
2.5 KiB
JSON
Raw Normal View History

{
2024-05-28 21:12:28 +02:00
"name": "thenextwave",
"private": true,
"version": "0.0.0",
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build --minify false --mode development",
"build:prod": "vite build --mode production",
"preview": "vite preview",
"storybook": "storybook dev -p 6006 --no-open",
"build-storybook": "storybook build",
"coverage": "vitest run --coverage",
"test": "vitest"
2024-05-28 21:12:28 +02:00
},
"devDependencies": {
"@chromatic-com/storybook": "^1.5.0",
2024-05-28 21:12:28 +02:00
"@eslint/js": "^9.2.0",
"@storybook/addon-essentials": "^8.1.4",
"@storybook/addon-interactions": "^8.1.4",
"@storybook/addon-links": "^8.1.4",
"@storybook/blocks": "^8.1.4",
"@storybook/builder-vite": "^8.1.4",
"@storybook/react": "^8.1.4",
"@storybook/react-vite": "^8.1.4",
"@storybook/test": "^8.1.4",
2024-05-28 21:12:28 +02:00
"@types/node": "^20.12.12",
"@types/react": "^18.3.2",
"@types/throttle-debounce": "^5",
2024-05-28 21:12:28 +02:00
"@types/uuid": "^9.0.8",
"@vitejs/plugin-react": "^4.3.0",
"@vitest/coverage-istanbul": "^1.6.0",
"@wailsio/runtime": "^3.0.0-alpha.24",
"eslint": "^9.2.0",
"eslint-config-prettier": "^9.1.0",
"less": "^4.2.0",
"prettier": "^3.2.5",
"prettier-plugin-jsdoc": "^1.3.0",
"prettier-plugin-organize-imports": "^3.2.4",
"storybook": "^8.1.4",
2024-05-28 21:12:28 +02:00
"ts-node": "^10.9.2",
"tslib": "^2.6.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.8.0",
"vite": "^5.0.0",
"vite-plugin-static-copy": "^1.0.5",
2024-05-28 21:12:28 +02:00
"vite-tsconfig-paths": "^4.3.2",
"vitest": "^1.6.0"
},
"dependencies": {
"@monaco-editor/loader": "^1.4.0",
"@monaco-editor/react": "^4.6.0",
2024-05-28 21:12:28 +02:00
"@observablehq/plot": "^0.6.14",
"@react-hook/resize-observer": "^2.0.1",
2024-05-28 21:12:28 +02:00
"@tanstack/react-table": "^8.17.3",
"@xterm/addon-fit": "^0.10.0",
"@xterm/xterm": "^5.5.0",
"base64-js": "^1.5.1",
"clsx": "^2.1.1",
Implement outer drop direction, add rudimentary drag preview image rendering (#29) This PR adds support for Outer variants of each DropDirection. When calculating the drop direction, the cursor position is calculated relevant to the box over which it is hovering. The following diagram shows how drop directions are calculated. The colored in center is currently not supported, it is assigned to the top, bottom, left, right direction for now, though it will ultimately be its own distinct direction. ![IMG_3505](https://github.com/wavetermdev/thenextwave/assets/16651283/a7ea7387-b95d-4831-9e29-d3225b824c97) When an outer drop direction is provided for a move operation, if the reference node flexes in the same axis as the drop direction, the new node will be inserted at the same level as the parent of the reference node. If the reference node flexes in a different direction or the reference node does not have a grandparent, the operation will fall back to its non-Outer variant. This also removes some chatty debug statements, adds a blur to the currently-dragging node to indicate that it cannot be dropped onto, and simplifies the deriving of the layout state atom from the tab atom so there's no longer another intermediate derived atom for the layout node. This also adds rudimentary support for rendering custom preview images for any tile being dragged. Right now, this is a simple block containing the block ID, but this can be anything. This resolves an issue where letting React-DnD generate its own previews could take up to a half second, and would block dragging until complete. For Monaco, this was outright failing. It also fixes an issue where the tile layout could animate on first paint. Now, I use React Suspense to prevent the layout from displaying until all the children have loaded.
2024-06-11 22:03:41 +02:00
"html-to-image": "^1.11.11",
2024-05-28 21:12:28 +02:00
"immer": "^10.1.1",
"jotai": "^2.8.0",
"monaco-editor": "^0.49.0",
2024-05-28 21:12:28 +02:00
"react": "^18.3.1",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
2024-05-28 21:12:28 +02:00
"react-dom": "^18.3.1",
"react-markdown": "^9.0.1",
"remark-gfm": "^4.0.0",
"rxjs": "^7.8.1",
"throttle-debounce": "^5.0.0",
2024-05-28 21:12:28 +02:00
"uuid": "^9.0.1"
},
"packageManager": "yarn@4.2.1"
}