|
@@ -36,27 +36,36 @@
|
|
|
"postcss-import": "15.0.0",
|
|
|
"postcss-import-ext-glob": "2.0.1",
|
|
|
"postcss-nested": "6.0.0",
|
|
|
+ "process": "^0.11.10",
|
|
|
"purgecss": "4.0.2",
|
|
|
"semver": "7.5.2",
|
|
|
- "shadow-cljs": "2.26.0",
|
|
|
+ "shadow-cljs": "2.28.23",
|
|
|
"stylelint": "^13.8.0",
|
|
|
"stylelint-config-standard": "^20.0.0",
|
|
|
"tailwindcss": "3.3.5",
|
|
|
"tailwindcss-animate": "^1.0.7",
|
|
|
- "typescript": "^4.4.3"
|
|
|
+ "typescript": "^4.4.3",
|
|
|
+ "webpack": "^5.98.0",
|
|
|
+ "webpack-cli": "^6.0.1"
|
|
|
},
|
|
|
"scripts": {
|
|
|
- "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",
|
|
|
- "dev": "run-p gulp:watch gulp:mobile-watch cljs:dev-watch",
|
|
|
- "release": "run-s gulp:build cljs:release",
|
|
|
- "release-app": "run-s gulp:build cljs:release-app",
|
|
|
- "release-mobile": "run-s gulp:buildMobile cljs:release-mobile",
|
|
|
- "dev-release-app": "run-s gulp:build cljs:dev-release-app",
|
|
|
+ "watch": "run-p gulp:watch cljs:watch webpack-app-watch",
|
|
|
+ "electron-watch": "run-p gulp:watch cljs:electron-watch webpack-app-watch",
|
|
|
+ "app-watch": "run-p gulp:watch cljs:app-watch webpack-app-watch",
|
|
|
+ "mobile-watch": "run-p gulp:mobile-watch cljs:mobile-watch webpack-mobile-watch",
|
|
|
+ "dev": "run-p gulp:watch gulp:mobile-watch cljs:dev-watch webpack",
|
|
|
+ "release": "run-s gulp:build cljs:release webpack-app-build",
|
|
|
+ "release-app": "run-s gulp:build cljs:release-app webpack-app-build",
|
|
|
+ "release-mobile": "run-s gulp:buildMobile cljs:release-mobile webpack-mobile-build",
|
|
|
+ "dev-release-app": "run-s gulp:build cljs:dev-release-app webpack-app-build",
|
|
|
"dev-electron-app": "gulp electron",
|
|
|
- "release-electron": "run-s gulp:build && gulp electronMaker",
|
|
|
+ "release-electron": "run-s gulp:build && gulp electronMaker webpack-app-build",
|
|
|
"debug-electron": "cd static/ && yarn electron:debug",
|
|
|
+ "webpack": "webpack --watch",
|
|
|
+ "webpack-app-watch": "npx webpack --watch --config-name app",
|
|
|
+ "webpack-mobile-watch": "npx webpack --watch --config-name mobile",
|
|
|
+ "webpack-app-build": "npx webpack build --config-name app",
|
|
|
+ "webpack-mobile-build": "npx webpack build --config-name mobile",
|
|
|
"sync-android-release": "yarn clean && yarn release-mobile && rm -rf ./static/mobile/**/*.map && npx cap sync android",
|
|
|
"sync-ios-release": "yarn clean && yarn release-mobile && rm -rf ./static/mobile/**/*.map && npx cap sync ios",
|
|
|
"clean": "gulp clean",
|
|
@@ -68,27 +77,27 @@
|
|
|
"gulp:buildMobile": "cross-env NODE_ENV=production gulp buildMobile",
|
|
|
"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",
|
|
|
- "cljs:watch": "clojure -M:cljs watch app electron",
|
|
|
+ "cljs:watch": "clojure -M:cljs watch app workers electron",
|
|
|
"cljs:storybook-watch": "clojure -M:cljs watch stories-dev",
|
|
|
"gulp:mobile-watch": "gulp watchMobile",
|
|
|
- "css:mobile-build": "postcss tailwind.mobile.css -o static/mobile/css/style.css --verbose --env production",
|
|
|
- "css:mobile-watch": "cross-env TAILWIND_MODE=watch postcss tailwind.mobile.css -o static/mobile/css/style.css --verbose --watch",
|
|
|
- "cljs:mobile-watch": "clojure -M:cljs watch mobile",
|
|
|
- "cljs:release-mobile": "clojure -M:cljs release mobile",
|
|
|
- "cljs:dev-watch": "clojure -M:cljs watch app electron mobile",
|
|
|
- "cljs:app-watch": "clojure -M:cljs watch app",
|
|
|
- "cljs:electron-watch": "clojure -M:cljs watch app electron --config-merge \"{:asset-path \\\"./js\\\"}\"",
|
|
|
- "cljs:release": "clojure -M:cljs release app publishing electron",
|
|
|
- "cljs:release-electron": "clojure -M:cljs release app electron --debug && clojure -M:cljs release publishing",
|
|
|
- "cljs:release-app": "clojure -M:cljs release app",
|
|
|
- "cljs:release-publishing": "clojure -M:cljs release publishing",
|
|
|
+ "css:mobile-build": "postcss tailwind.mobile.css -o static/mobile/style.css --verbose --env production",
|
|
|
+ "css:mobile-watch": "cross-env TAILWIND_MODE=watch postcss tailwind.mobile.css -o static/mobile/style.css --verbose --watch",
|
|
|
+ "cljs:mobile-watch": "clojure -M:cljs watch mobile workers --config-merge \"{:output-dir \\\"./static/mobile/js\\\" :asset-path \\\"/static/mobile/js\\\" :release {:asset-path \\\"http://localhost\\\"}}\"",
|
|
|
+ "cljs:release-mobile": "clojure -M:cljs release mobile workers --config-merge \"{:output-dir \\\"./static/mobile/js\\\" :asset-path \\\"/static/mobile/js\\\" :release {:asset-path \\\"http://localhost\\\"}}\"",
|
|
|
+ "cljs:dev-watch": "clojure -M:cljs watch app workers electron mobile",
|
|
|
+ "cljs:app-watch": "clojure -M:cljs watch app workers",
|
|
|
+ "cljs:electron-watch": "clojure -M:cljs watch app workers electron --config-merge \"{:asset-path \\\"./js\\\"}\"",
|
|
|
+ "cljs:release": "clojure -M:cljs release app workers publishing electron",
|
|
|
+ "cljs:release-electron": "clojure -M:cljs release app workers electron --debug && clojure -M:cljs release publishing",
|
|
|
+ "cljs:release-app": "clojure -M:cljs release app workers",
|
|
|
+ "cljs:release-publishing": "clojure -M:cljs release app publishing",
|
|
|
"cljs:test": "clojure -M:test compile test",
|
|
|
"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",
|
|
|
- "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:dev-release-app": "clojure -M:cljs release app workers --config-merge \"{:closure-defines {frontend.config/DEV-RELEASE true}}\"",
|
|
|
+ "cljs:dev-release-electron": "clojure -M:cljs release app workers electron --debug --config-merge \"{:closure-defines {frontend.config/DEV-RELEASE true}}\" && clojure -M:cljs release publishing",
|
|
|
+ "cljs:debug": "clojure -M:cljs release app workers --debug",
|
|
|
+ "cljs:report": "clojure -M:cljs run shadow.cljs.build-report app workers report.html",
|
|
|
+ "cljs:build-electron": "clojure -A:cljs compile app workers electron",
|
|
|
"cljs:lint": "clojure -M:clj-kondo --parallel --lint src --cache false",
|
|
|
"ios:dev": "cross-env PLATFORM=ios gulp cap",
|
|
|
"android:dev": "cross-env PLATFORM=android gulp cap",
|
|
@@ -122,16 +131,17 @@
|
|
|
"@excalidraw/excalidraw": "0.16.1",
|
|
|
"@glidejs/glide": "^3.6.0",
|
|
|
"@highlightjs/cdn-assets": "10.4.1",
|
|
|
+ "@huggingface/transformers": "^3.6.3",
|
|
|
"@isomorphic-git/lightning-fs": "^4.6.0",
|
|
|
"@js-joda/core": "3.2.0",
|
|
|
"@js-joda/locale_en-us": "3.1.1",
|
|
|
"@js-joda/timezone": "2.5.0",
|
|
|
"@logseq/diff-merge": "^0.2.2",
|
|
|
"@logseq/react-tweet-embed": "1.3.1-1",
|
|
|
- "@logseq/sqlite-wasm": "=0.1.0",
|
|
|
"@radix-ui/colors": "^0.1.8",
|
|
|
"@sentry/react": "^6.18.2",
|
|
|
"@sentry/tracing": "^6.18.2",
|
|
|
+ "@sqlite.org/sqlite-wasm": "^3.50.3-build1",
|
|
|
"@tabler/icons-react": "^2.47.0",
|
|
|
"@tabler/icons-webfont": "^2.47.0",
|
|
|
"@tippyjs/react": "4.2.5",
|
|
@@ -153,6 +163,7 @@
|
|
|
"fuse.js": "6.4.6",
|
|
|
"grapheme-splitter": "1.0.4",
|
|
|
"graphology": "0.20.0",
|
|
|
+ "hnswlib-wasm": "^0.8.2",
|
|
|
"html2canvas": "^1.4.1",
|
|
|
"ignore": "5.1.8",
|
|
|
"inter-ui": "^3.19.3",
|
|
@@ -173,7 +184,6 @@
|
|
|
"react-dom": "18.3.1",
|
|
|
"react-grid-layout": "0.16.6",
|
|
|
"react-intersection-observer": "^9.3.5",
|
|
|
- "react-resize-context": "3.0.0",
|
|
|
"react-textarea-autosize": "8.3.3",
|
|
|
"react-transition-group": "4.3.0",
|
|
|
"react-virtuoso": "4.12.5",
|
|
@@ -184,6 +194,7 @@
|
|
|
"tailwind-capitalize-first-letter": "^1.0.4",
|
|
|
"threads": "1.6.5",
|
|
|
"url": "^0.11.0",
|
|
|
+ "util": "^0.12.5",
|
|
|
"yargs-parser": "20.2.4"
|
|
|
},
|
|
|
"resolutions": {
|