mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-11-28 13:26:16 +03:00
692297ed8e
- Upgrade CodeViewer component to use MergeView - Add collapseUnchanged option to MergeView - Update @codemirror/state and @codemirror/view to latest version - Add @codemirror/merge to dependencies and packages list [package.json] - Add @codemirror/merge dependency to package.json [src/routes/projects/[projectId]/sessions/[sessionId]/+page.svelte] - Change the `CodeViewer` value from `contentWithDeltasApplied` to `contentAtSessionStart` and `newValue` to `contentWithDeltasApplied` [src/routes/projects/[projectId]/sessions/[sessionId]/+page.ts] - Remove `console.log` line in `src/routes/projects/[projectId]/sessions/[sessionId]/+page.ts` - Change type of `files` from `Record<string, string>` to `any` [src/lib/components/CodeViewer.svelte] - Change the code viewer from an EditorView to a MergeView - Add a newValue prop to the CodeViewer component - Update the update function to use the new MergeView - Add collapseUnchanged option to the MergeView - Remove unused code related to coloring the last edit [pnpm-lock.yaml] - Add `@codemirror/merge` to the dependencies and specifiers - Update `@codemirror/state` to version `6.2.0` - Update `@codemirror/view` to version `6.7.3` - Add `@codemirror/merge` to the packages list with the specified resolution and dependencies
51 lines
1.5 KiB
JSON
51 lines
1.5 KiB
JSON
{
|
|
"name": "git-butler-tauri",
|
|
"private": true,
|
|
"version": "0.0.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite dev",
|
|
"build": "vite build",
|
|
"preview": "vite preview",
|
|
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
|
|
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
|
|
"tauri": "tauri"
|
|
},
|
|
"dependencies": {
|
|
"@codemirror/commands": "^6.2.0",
|
|
"@codemirror/merge": "^0.1.3",
|
|
"@codemirror/state": "^6.2.0",
|
|
"@codemirror/view": "^6.7.3",
|
|
"@tauri-apps/api": "^1.2.0",
|
|
"idb-keyval": "^6.2.0",
|
|
"mm-jsr": "^3.0.2",
|
|
"svelte-icons": "^2.1.0",
|
|
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log",
|
|
"yjs": "^13.5.45"
|
|
},
|
|
"devDependencies": {
|
|
"@sveltejs/adapter-static": "next",
|
|
"@sveltejs/kit": "next",
|
|
"@tauri-apps/cli": "^1.2.2",
|
|
"@types/diff": "^5.0.2",
|
|
"autoprefixer": "^10.4.7",
|
|
"eslint": "^8.34.0",
|
|
"eslint-config-prettier": "^8.6.0",
|
|
"eslint-plugin-prettier": "^4.2.1",
|
|
"eslint-plugin-svelte": "^2.18.0",
|
|
"eslint-plugin-unicorn": "^45.0.2",
|
|
"postcss": "^8.4.14",
|
|
"postcss-load-config": "^4.0.1",
|
|
"prettier": "^2.8.4",
|
|
"prettier-plugin-svelte": "^2.9.0",
|
|
"prettier-plugin-tailwindcss": "^0.2.2",
|
|
"svelte": "^3.55.1",
|
|
"svelte-check": "^3.0.0",
|
|
"svelte-preprocess": "^4.10.7",
|
|
"tailwindcss": "^3.1.5",
|
|
"tslib": "^2.4.1",
|
|
"typescript": "^4.8.4",
|
|
"vite": "^4.0.0"
|
|
}
|
|
}
|