Files
logseq/package.json
Phoenix Eliot 0747d5ccb7 Fix pasting race condition (#5964)
* Fix re-running e2e tests when it reuses old app instances

I'm not certain this doesn't break things for other OSes/setups, but it was required for e2e tests to run after the first time I ran them. It keeps a list of all previous (now missing) graphs in the sidebar, and this flow properly causes the new one to be selected, where the old flow did not match what the UI was doing anymore.

* Add e2e test for quickly pasting blocks after editing new blocks

* Fix pasting quickly after editing a new block

* Remove "test.only" focus

* Fix clicking add button in first test by closing error notification

* Improve some flaky race conditions in tests

* Remove unrelated waits in E2E tests

* Update playwright version; update tests to match

* Fix logic for checking if there are unsaved edits

* Fix typescript complaints

* Reduce how long we wait after closing each error popup
2022-08-02 10:54:09 -04:00

148 lines
6.5 KiB
JSON

{
"name": "logseq",
"version": "0.0.1",
"private": true,
"main": "static/electron.js",
"devDependencies": {
"@capacitor/cli": "3.2.2",
"@playwright/test": "^1.24.2",
"@tailwindcss/ui": "0.7.2",
"@types/gulp": "^4.0.7",
"cross-env": "^7.0.3",
"cssnano": "^4.1.10",
"del": "^6.0.0",
"gulp": "^4.0.2",
"gulp-clean-css": "^4.3.0",
"npm-run-all": "^4.1.5",
"playwright": "^1.24.2",
"postcss": "8.2.13",
"postcss-cli": "8.3.1",
"postcss-import": "^14.0.0",
"postcss-import-ext-glob": "^2.0.1",
"postcss-nested": "5.0.5",
"purgecss": "4.0.2",
"shadow-cljs": "2.17.5",
"stylelint": "^13.8.0",
"stylelint-config-standard": "^20.0.0",
"tailwindcss": "2.2.16",
"typescript": "^4.4.3"
},
"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",
"release": "run-s gulp:build cljs:release",
"release-app": "run-s gulp:build cljs:release-app",
"release-android-app": "run-s gulp:build cljs:release-android-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 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",
"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",
"cljs:watch": "clojure -M:cljs watch app electron",
"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 --config-merge '{:compiler-options {:output-feature-set :es6}}'",
"cljs:release-android-app": "clojure -M:cljs release app --config-merge '{:compiler-options {:output-feature-set :es6}}'",
"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: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"
},
"dependencies": {
"@capacitor/android": "3.2.2",
"@capacitor/app": "1.0.6",
"@capacitor/camera": "1.2.1",
"@capacitor/clipboard": "^1.0.8",
"@capacitor/core": "3.2.2",
"@capacitor/filesystem": "1.0.6",
"@capacitor/haptics": "^1.1.4",
"@capacitor/ios": "3.2.2",
"@capacitor/keyboard": "^1.2.0",
"@capacitor/share": "^1.1.2",
"@capacitor/splash-screen": "1.1.3",
"@capacitor/status-bar": "1.0.6",
"@excalidraw/excalidraw": "0.10.0",
"@kanru/rage-wasm": "0.2.1",
"@logseq/react-tweet-embed": "1.3.1-1",
"@sentry/react": "^6.18.2",
"@sentry/tracing": "^6.18.2",
"@tabler/icons": "1.54.0",
"@tippyjs/react": "4.2.5",
"bignumber.js": "^9.0.2",
"capacitor-voice-recorder": "2.1.0",
"chokidar": "3.5.1",
"chrono-node": "2.2.4",
"codemirror": "5.58.1",
"d3-force": "3.0.0",
"diff": "5.0.0",
"electron": "15.1.2",
"electron-dl": "3.3.0",
"fs": "0.0.1-security",
"fs-extra": "9.1.0",
"fuse.js": "6.4.6",
"grapheme-splitter": "1.0.4",
"graphology": "0.20.0",
"gulp-cached": "1.1.1",
"highlight.js": "10.4.1",
"ignore": "5.1.8",
"is-svg": "4.3.0",
"jszip": "3.5.0",
"mldoc": "1.4.0",
"path": "0.12.7",
"pixi-graph-fork": "0.2.0",
"pixi.js": "6.2.0",
"posthog-js": "1.10.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"react-grid-layout": "0.16.6",
"react-icon-base": "^2.1.2",
"react-icons": "2.2.7",
"react-intersection-observer": "^9.3.5",
"react-resize-context": "3.0.0",
"react-textarea-autosize": "8.3.3",
"react-tippy": "1.4.0",
"react-transition-group": "4.3.0",
"reakit": "0.11.1",
"remove-accents": "0.4.2",
"send-intent": "3.0.11",
"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"
}
}