logseq/package.json

185 lines
8.1 KiB
JSON
Raw Normal View History

2020-04-11 13:17:31 +00:00
{
"name": "logseq",
"version": "0.0.1",
"private": true,
"main": "static/electron.js",
2020-04-11 13:17:31 +00:00
"devDependencies": {
2022-11-29 05:03:41 +00:00
"@axe-core/playwright": "=4.4.4",
"@capacitor/cli": "^5.0.0",
"@playwright/test": "=1.44.0",
"@tailwindcss/aspect-ratio": "0.4.2",
"@tailwindcss/forms": "0.5.3",
"@tailwindcss/typography": "0.5.7",
"@types/gulp": "^4.0.7",
2022-11-13 07:39:31 +00:00
"autoprefixer": "^10.4.13",
2020-12-14 01:59:26 +00:00
"cross-env": "^7.0.3",
"cssnano": "^5.1.13",
"del": "^6.0.0",
"gulp": "^4.0.2",
"gulp-clean-css": "^4.3.0",
"ip": "1.1.9",
"npm-run-all": "^4.1.5",
"playwright": "=1.44.0",
"postcss": "8.4.17",
"postcss-cli": "10.0.0",
2023-05-24 12:46:33 +00:00
"postcss-functions": "^4.0.2",
"postcss-import": "15.0.0",
"postcss-import-ext-glob": "2.0.1",
"postcss-nested": "6.0.0",
"purgecss": "4.0.2",
"shadow-cljs": "2.26.0",
2020-12-07 04:37:20 +00:00
"stylelint": "^13.8.0",
"stylelint-config-standard": "^20.0.0",
2023-11-06 16:08:57 +00:00
"tailwindcss": "3.3.5",
Feat: New UI components (#10694) * enhance(plugin): call apis with the sdk ns * enhance(plugin): types * enhance(api): get value from the computed style * enhance(api): types * enhance(plugin): types * enhance(plugin): types * fix: lint * fix(apis): incorrect shortcut command registion for block editing mode #10392 * fix(api): types * enhance(apis): support register shortcuts with multi binding vals * fix(plugins): normalize command key to make the internal keyword legal * chore(plugin): build libs core * chore(plugin): bump version * enhance(apis): normalize apis cljs data * chore(plugin): update libs user sdk * chore(plugin): CHANGELOG.md * fix: typo * feat(ui): add package * Update .gitignore * feat(ui): set up shui infrastructure * feat(ui): add storybook macro * enhance(ui): storybook themes * feat(ui): adapt ui button to classic * enhance(ui): shui story * feat(ui): shui toaster * enhance(ui): shui toaster * feat(ui): imperative API for shui toaster * enhance(shui): update API for shui toaster * enhance(shui): update hooks for shui toaster * enhance(shui): remove debug * feat(ui): story for the shui toaster * feat(ui): story * feat(ui): story docs * feat(ui): more variants for the shui toaster * feat(ui): story * fix(ux): support querying plugins with right space chars * feat(ui): add shui `Alert` component * enhance(ui): shui demo * feat(ui): add logseq UI readme * enhance(ui): default shui theme * feat(ui): add shui `Badge` component & demo * fix(ui): outline theme for shui button * feat(ui): custom icon for the toaster item * feat(ui): add shui dropdown & demo * feat(ui): WIP shui form related components * feat(ui): WIP shui form-related components * feat(ui): WIP shui form * feat(ui): WIP shui form state for validation * fix(ui): missing rounded for ui button * feat(ui): add yup for shui form as default validation resolver * enhance(ui): simplify validation schema input for the shui form * fix(ui): accent ring color for input * feat(ui): add shui switch * feat(ui): add shui checkbox & switch * feat(ui): add shui radio group * fix(ui): missing file * feat(ui): add Textarea component * feat(ui): add shui card & skeleton * feat(ui): add shui context menu component & demo * fix(ui): accent color for the context menu item * feat(ui): add shui select component & demo * enhance(ui): ui css priority * feat(ui): add shui calendar & ui details * feat(ui): add shui popover * feat(ui): add date picker & demo * feat(ui): add shui dialog * feat(ui): WIP add shui dialog * feat(ui): WIP shui dialog as modal * feat(ui): WIP imperative APIs for the shui modal * feat(ui): imperative APIs for the shui modal/alert * feat(ui): support imperative API alert!/confirm! return promise * feat(ui): simplify shui components resources * feat(ui): response layout for the demo ui page * feat(ui): simplify colors * feat(ui): simplify colors * feat(ui): simplify colors * refactor(ui): WIP Adapt to the new button component * refactor(ui): polish new button & colors * fix(ui): the new theme color for the plugin settings nav item link * fix(ui): blockquote colors * enhance(ui): more custom colors for shui button * feat(ui): WIP make logseq green as a theme color * enhance(ui): polish logseq classical theme color * fix(ui): theme details of all pages * enhance(ui): polish logseq theme color for dark mode * fix(ui): missing table style * refactor(ui): simplify the all shui buttons & shortcuts for the cmdk component * fix(ui): missing file * refactor(ui): clear up stuff * fix(ui): theme color related issues * enhance(ui): polish button style * enhance(ui): polish the keymap setting pane * fix(ui): hint button from the cmdk pane footer * fix(ui): logseq colors for the storybook * enhance(ui): stories for the shui components * fix(ui): active color for the old toggle component * enhance(ui): keep the constant size of the settings pane * fix(ui): polish search input for the plugins pane * enhance(ui): polish number list bullet colors * feat(ui): add shui tooltip component * chore: build ui * chore(ui): clean up resources * fix: lint * fix: lint * fix: lint * fix(ui): alignment of the keymap title from the settings pane * fix: tests * fix(ui): close button for the classic notification tip * fix(ui): polish toaster viewport * enhance(ui): polish the ghost button colors * enhance(ui): demos for tips * fix(ui): accent colors for the rc-datepicker * fix(ui): accent color for the menu item * refactor(ui): remove unless code for the accent colors * enhance(ui): polish pdf viewer background color for the accent color mode * fix: lint * fix: lint * fix: lint * enhance(ui): support button with the custom href link * enhance(ui): polish aside setting items * enhance(ui): polish accent color for buttons * enhance(ui): polish all pages --------- Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-12-26 08:31:37 +00:00
"tailwindcss-animate": "^1.0.7",
"typescript": "^4.4.3"
2020-04-11 13:17:31 +00:00
},
"scripts": {
2021-03-19 04:23:58 +00:00
"watch": "run-p gulp:watch cljs:watch",
"electron-watch": "run-p gulp:watch cljs:electron-watch",
"app-watch": "run-p gulp:watch cljs:app-watch",
"release": "run-s gulp:build cljs:release",
2021-09-27 11:11:21 +00:00
"release-app": "run-s gulp:build cljs:release-app",
"dev-release-app": "run-s gulp:build cljs:dev-release-app",
"dev-electron-app": "gulp electron",
"release-electron": "run-s gulp:build && gulp electronMaker",
"debug-electron": "cd static/ && yarn electron:debug",
"e2e-test": "cross-env DEBUG=pw:api CI=true npx playwright test --reporter github",
"run-android-release": "yarn clean && yarn release-app && rm -rf ./public/static && rm -rf ./static/js/*.map && mv static ./public && npx cap sync android && npx cap run android",
"run-ios-release": "yarn clean && yarn release-app && rm -rf ./public/static && rm -rf ./static/js/*.map && mv static ./public && npx cap sync ios && npx cap run ios",
"clean": "gulp clean",
2020-12-02 03:27:57 +00:00
"test": "run-s cljs:test cljs:run-test",
"report": "run-s cljs:report",
"style:lint": "stylelint \"src/**/*.css\"",
"gulp:watch": "gulp watch",
"gulp:build": "cross-env NODE_ENV=production gulp build",
"css:build": "postcss tailwind.all.css -o static/css/style.css --verbose --env production",
"css:watch": "cross-env TAILWIND_MODE=watch postcss tailwind.all.css -o static/css/style.css --verbose --watch",
2022-02-08 09:31:32 +00:00
"cljs:watch": "clojure -M:cljs watch app electron",
Feat: New UI components (#10694) * enhance(plugin): call apis with the sdk ns * enhance(plugin): types * enhance(api): get value from the computed style * enhance(api): types * enhance(plugin): types * enhance(plugin): types * fix: lint * fix(apis): incorrect shortcut command registion for block editing mode #10392 * fix(api): types * enhance(apis): support register shortcuts with multi binding vals * fix(plugins): normalize command key to make the internal keyword legal * chore(plugin): build libs core * chore(plugin): bump version * enhance(apis): normalize apis cljs data * chore(plugin): update libs user sdk * chore(plugin): CHANGELOG.md * fix: typo * feat(ui): add package * Update .gitignore * feat(ui): set up shui infrastructure * feat(ui): add storybook macro * enhance(ui): storybook themes * feat(ui): adapt ui button to classic * enhance(ui): shui story * feat(ui): shui toaster * enhance(ui): shui toaster * feat(ui): imperative API for shui toaster * enhance(shui): update API for shui toaster * enhance(shui): update hooks for shui toaster * enhance(shui): remove debug * feat(ui): story for the shui toaster * feat(ui): story * feat(ui): story docs * feat(ui): more variants for the shui toaster * feat(ui): story * fix(ux): support querying plugins with right space chars * feat(ui): add shui `Alert` component * enhance(ui): shui demo * feat(ui): add logseq UI readme * enhance(ui): default shui theme * feat(ui): add shui `Badge` component & demo * fix(ui): outline theme for shui button * feat(ui): custom icon for the toaster item * feat(ui): add shui dropdown & demo * feat(ui): WIP shui form related components * feat(ui): WIP shui form-related components * feat(ui): WIP shui form * feat(ui): WIP shui form state for validation * fix(ui): missing rounded for ui button * feat(ui): add yup for shui form as default validation resolver * enhance(ui): simplify validation schema input for the shui form * fix(ui): accent ring color for input * feat(ui): add shui switch * feat(ui): add shui checkbox & switch * feat(ui): add shui radio group * fix(ui): missing file * feat(ui): add Textarea component * feat(ui): add shui card & skeleton * feat(ui): add shui context menu component & demo * fix(ui): accent color for the context menu item * feat(ui): add shui select component & demo * enhance(ui): ui css priority * feat(ui): add shui calendar & ui details * feat(ui): add shui popover * feat(ui): add date picker & demo * feat(ui): add shui dialog * feat(ui): WIP add shui dialog * feat(ui): WIP shui dialog as modal * feat(ui): WIP imperative APIs for the shui modal * feat(ui): imperative APIs for the shui modal/alert * feat(ui): support imperative API alert!/confirm! return promise * feat(ui): simplify shui components resources * feat(ui): response layout for the demo ui page * feat(ui): simplify colors * feat(ui): simplify colors * feat(ui): simplify colors * refactor(ui): WIP Adapt to the new button component * refactor(ui): polish new button & colors * fix(ui): the new theme color for the plugin settings nav item link * fix(ui): blockquote colors * enhance(ui): more custom colors for shui button * feat(ui): WIP make logseq green as a theme color * enhance(ui): polish logseq classical theme color * fix(ui): theme details of all pages * enhance(ui): polish logseq theme color for dark mode * fix(ui): missing table style * refactor(ui): simplify the all shui buttons & shortcuts for the cmdk component * fix(ui): missing file * refactor(ui): clear up stuff * fix(ui): theme color related issues * enhance(ui): polish button style * enhance(ui): polish the keymap setting pane * fix(ui): hint button from the cmdk pane footer * fix(ui): logseq colors for the storybook * enhance(ui): stories for the shui components * fix(ui): active color for the old toggle component * enhance(ui): keep the constant size of the settings pane * fix(ui): polish search input for the plugins pane * enhance(ui): polish number list bullet colors * feat(ui): add shui tooltip component * chore: build ui * chore(ui): clean up resources * fix: lint * fix: lint * fix: lint * fix(ui): alignment of the keymap title from the settings pane * fix: tests * fix(ui): close button for the classic notification tip * fix(ui): polish toaster viewport * enhance(ui): polish the ghost button colors * enhance(ui): demos for tips * fix(ui): accent colors for the rc-datepicker * fix(ui): accent color for the menu item * refactor(ui): remove unless code for the accent colors * enhance(ui): polish pdf viewer background color for the accent color mode * fix: lint * fix: lint * fix: lint * enhance(ui): support button with the custom href link * enhance(ui): polish aside setting items * enhance(ui): polish accent color for buttons * enhance(ui): polish all pages --------- Co-authored-by: Gabriel Horner <97210743+logseq-cldwalker@users.noreply.github.com>
2023-12-26 08:31:37 +00:00
"cljs:watch-storybook": "clojure -M:cljs watch stories-dev",
2022-02-08 09:31:32 +00:00
"cljs:app-watch": "clojure -M:cljs watch app",
"cljs:electron-watch": "clojure -M:cljs watch app electron --config-merge \"{:asset-path \\\"./js\\\"}\"",
2022-02-08 09:31:32 +00:00
"cljs:release": "clojure -M:cljs release app publishing electron",
"cljs:release-electron": "clojure -M:cljs release app electron --debug && clojure -M:cljs release publishing",
2024-04-04 04:21:42 +00:00
"cljs:release-app": "clojure -M:cljs release app",
"cljs:release-publishing": "clojure -M:cljs release publishing",
2021-06-23 07:31:16 +00:00
"cljs:test": "clojure -M:test compile test",
2020-12-02 03:27:57 +00:00
"cljs:run-test": "node static/tests.js",
"cljs:dev-release-app": "clojure -M:cljs release app --config-merge \"{:closure-defines {frontend.config/DEV-RELEASE true}}\"",
"cljs:dev-release-electron": "clojure -M:cljs release app electron --debug --config-merge \"{:closure-defines {frontend.config/DEV-RELEASE true}}\" && clojure -M:cljs release publishing",
2022-02-08 09:31:32 +00:00
"cljs:debug": "clojure -M:cljs release app --debug",
"cljs:report": "clojure -M:cljs run shadow.cljs.build-report app report.html",
"cljs:build-electron": "clojure -A:cljs compile app electron",
"cljs:lint": "clojure -M:clj-kondo --parallel --lint src --cache false",
2022-09-01 13:17:43 +00:00
"ios:dev": "cross-env PLATFORM=ios gulp cap",
"android:dev": "cross-env PLATFORM=android gulp cap",
2024-01-15 16:08:08 +00:00
"tldraw:build": "yarn --cwd packages/tldraw install",
2023-07-27 08:26:34 +00:00
"amplify:build": "yarn --cwd packages/amplify install",
"ui:build": "yarn --cwd packages/ui install",
2024-01-26 10:29:53 +00:00
"postinstall": "yarn tldraw:build && yarn amplify:build && yarn ui:build"
2020-04-11 13:17:31 +00:00
},
"dependencies": {
"@capacitor/action-sheet": "^5.0.7",
"@capacitor/android": "^5.0.0",
"@capacitor/app": "^5.0.0",
"@capacitor/camera": "^5.0.0",
"@capacitor/clipboard": "^5.0.0",
"@capacitor/core": "^5.0.0",
"@capacitor/filesystem": "^5.0.0",
"@capacitor/haptics": "^5.0.0",
"@capacitor/ios": "^5.0.0",
"@capacitor/keyboard": "^5.0.0",
"@capacitor/share": "^5.0.0",
"@capacitor/splash-screen": "^5.0.0",
"@capacitor/status-bar": "^5.0.0",
"@capawesome/capacitor-background-task": "^5.0.0",
2023-10-03 05:40:21 +00:00
"@capgo/capacitor-navigation-bar": "^6.0.0",
2023-10-04 01:35:05 +00:00
"@dnd-kit/core": "^6.0.8",
"@dnd-kit/sortable": "^7.0.2",
2023-08-07 07:03:03 +00:00
"@emoji-mart/data": "^1.1.2",
"@emoji-mart/react": "^1.1.1",
2023-12-07 08:19:57 +00:00
"@excalidraw/excalidraw": "0.16.1",
2023-07-26 09:01:00 +00:00
"@highlightjs/cdn-assets": "10.4.1",
"@isomorphic-git/lightning-fs": "^4.6.0",
"@logseq/capacitor-file-sync": "5.0.2",
2023-07-30 17:32:22 +00:00
"@logseq/diff-merge": "0.2.2",
"@logseq/react-tweet-embed": "1.3.1-1",
2023-12-15 04:02:39 +00:00
"@logseq/sqlite-wasm": "=0.1.0",
2023-01-19 18:40:04 +00:00
"@radix-ui/colors": "^0.1.8",
2022-03-18 05:48:27 +00:00
"@sentry/react": "^6.18.2",
"@sentry/tracing": "^6.18.2",
Feat: sync progress for electron (#6662) * fix: state shouldn't be returned in ipc * feat: download && upload processing * enhance(ui): interaction of show password checkbox * feat: time left * feat: download progress * Set download batch size to 100 * improve(ui): progress pane of file sync indicator * improve(ui): progress pie of each file state * improve(ui): progress pie of each file state * improve(ui): progress pie of each downloading file * fix: add last changed time * enhance: time left * fix: total needs to be larger than finished * fix: wait for update-graphs-txid! * enhance: show in-progress files first * chore: ui polish * improve(ui): persist stauts of sync files list toggle switch * fix(ui): visibility of sync now button on mobile * chore: remove ios static out after sync * fix: debounce clicking on sync icon * fix: repos not refreshed after unlink or delete * enhance: automatically save page-metadata.edn to avoid sync when restart * improve(ui): sync now shortcut for file sync progress pane * enhance: data transfer icons * fix: stop sync if switched to another graph * fix: can't switch * enhance: sort files first before uploading or downloading * fix: clear current graph uuid when sync stops * fix: separate progress by graphs * fix: check files only in the current progress * fix: prevent multiple sync managers for the same graph * fix: remove redundant files watchers * enhance(sync): re-exec remote->local-full-sync when exception re-exec remote->local-full-sync when <update-local-files return exceptions * enhance(sync): re-exec remote->local-full-sync when exception re-exec remote->local-full-sync when <update-local-files return exceptions * fix(sync): set-progress-callback, update rsapi * fix(sync): uploading progress bar Co-authored-by: Tienson Qin <tiensonqin@gmail.com> Co-authored-by: charlie <xyhp915@qq.com> Co-authored-by: rcmerci <rcmerci@gmail.com>
2022-09-22 18:00:24 +00:00
"@tabler/icons": "^1.96.0",
2021-11-18 13:04:29 +00:00
"@tippyjs/react": "4.2.5",
2022-05-21 20:52:44 +00:00
"bignumber.js": "^9.0.2",
"capacitor-voice-recorder": "^5.0.0",
"check-password-strength": "2.0.7",
2021-11-18 13:04:29 +00:00
"chokidar": "3.5.1",
"chrono-node": "2.2.4",
"codemirror": "5.65.13",
"comlink": "^4.4.1",
2021-11-18 13:04:29 +00:00
"d3-force": "3.0.0",
"diff": "5.0.0",
2022-10-05 15:13:03 +00:00
"dompurify": "2.4.0",
"electron": "28.3.1",
"electron-dl": "3.3.0",
2023-08-07 07:03:03 +00:00
"emoji-mart": "^5.5.2",
2021-11-18 13:04:29 +00:00
"fs": "0.0.1-security",
"fs-extra": "9.1.0",
"fuse.js": "6.4.6",
2022-01-08 10:06:16 +00:00
"grapheme-splitter": "1.0.4",
2021-11-18 13:04:29 +00:00
"graphology": "0.20.0",
2023-06-29 07:54:28 +00:00
"html2canvas": "^1.4.1",
2021-11-18 13:04:29 +00:00
"ignore": "5.1.8",
2023-06-29 07:54:28 +00:00
"inter-ui": "^3.19.3",
2023-06-30 09:50:04 +00:00
"interactjs": "^1.10.17",
"jszip": "3.8.0",
"katex": "^0.16.10",
2023-07-26 08:35:35 +00:00
"marked": "^5.1.2",
"mldoc": "^1.5.8",
2021-11-18 13:04:29 +00:00
"path": "0.12.7",
"path-complete-extname": "1.0.0",
2023-08-02 07:49:23 +00:00
"pdfjs-dist": "^3.9.179",
2023-06-29 09:39:47 +00:00
"photoswipe": "^5.3.7",
"pixi-graph-fork": "0.2.0",
2021-11-18 13:04:29 +00:00
"pixi.js": "6.2.0",
"posthog-js": "1.10.2",
2021-11-18 13:04:29 +00:00
"react": "17.0.2",
"react-dom": "17.0.2",
"react-grid-layout": "0.16.6",
"react-intersection-observer": "^9.3.5",
2021-11-18 13:04:29 +00:00
"react-resize-context": "3.0.0",
"react-textarea-autosize": "8.3.3",
2021-11-18 13:04:29 +00:00
"react-tippy": "1.4.0",
"react-transition-group": "4.3.0",
"react-virtuoso": "^4.7.11",
"remove-accents": "0.4.2",
2023-07-21 11:19:51 +00:00
"reveal.js": "^4.5.0",
"sanitize-filename": "1.6.3",
"send-intent": "^5.0.0",
2023-07-21 11:40:30 +00:00
"shepherd.js": "^9.1.0",
2023-01-19 18:40:04 +00:00
"tailwind-capitalize-first-letter": "^1.0.4",
2021-11-18 13:04:29 +00:00
"threads": "1.6.5",
"url": "^0.11.0",
"yargs-parser": "20.2.4"
},
"resolutions": {
"pixi-graph-fork/@pixi/app": "6.2.0",
"pixi-graph-fork/@pixi/constants": "6.2.0",
"pixi-graph-fork/@pixi/core": "6.2.0",
"pixi-graph-fork/@pixi/display": "6.2.0",
"pixi-graph-fork/@pixi/graphics": "6.2.0",
"pixi-graph-fork/@pixi/interaction": "6.2.0",
"pixi-graph-fork/@pixi/loaders": "6.2.0",
"pixi-graph-fork/@pixi/ticker": "6.2.0",
"pixi-graph-fork/@pixi/sprite": "6.2.0",
"pixi-graph-fork/@pixi/text": "6.2.0",
"pixi-graph-fork/@pixi/text-bitmap": "6.2.0",
"pixi-graph-fork/@pixi/utils": "6.2.0",
"pixi-graph-fork/@pixi/runner": "6.2.0",
"pixi-graph-fork/@pixi/mesh": "6.2.0",
"pixi-graph-fork/@pixi/settings": "6.2.0",
"pixi-graph-fork/@pixi/mixin-get-child-by-name": "6.2.0",
"pixi-graph-fork/@pixi/math": "6.2.0"
}
2023-05-29 15:01:04 +00:00
}