2022-11-12 13:11:54 +11:00
{
2024-08-16 07:15:42 -04:00
"name" : "zoo-modeling-app" ,
2024-11-22 15:29:54 -05:00
"version" : "0.0.0" ,
2022-11-12 13:11:54 +11:00
"private" : true ,
2024-08-16 07:15:42 -04:00
"productName" : "Zoo Modeling App" ,
"author" : {
"name" : "Zoo Corporation" ,
"email" : "info@zoo.dev" ,
"url" : "https://zoo.dev"
} ,
2025-02-21 11:09:46 -05:00
"description" : "Zoo Modeling App" ,
2024-08-16 07:15:42 -04:00
"main" : ".vite/build/main.js" ,
2025-01-02 15:30:19 +02:00
"license" : "MIT" ,
2022-11-12 13:11:54 +11:00
"dependencies" : {
2024-07-03 21:28:51 -07:00
"@codemirror/autocomplete" : "^6.17.0" ,
2025-03-03 10:02:09 -08:00
"@codemirror/commands" : "^6.8.0" ,
2025-02-22 14:36:36 -05:00
"@codemirror/language" : "^6.10.8" ,
2025-01-07 20:23:07 +00:00
"@codemirror/lint" : "^6.8.4" ,
2024-06-29 18:10:07 -07:00
"@codemirror/search" : "^6.5.6" ,
"@codemirror/state" : "^6.4.1" ,
2024-07-03 21:28:51 -07:00
"@codemirror/theme-one-dark" : "^6.1.2" ,
2025-01-06 08:40:31 -08:00
"@csstools/postcss-oklab-function" : "^4.0.7" ,
2024-04-09 10:54:57 -07:00
"@fortawesome/fontawesome-svg-core" : "^6.5.2" ,
2024-04-09 19:07:21 +00:00
"@fortawesome/free-brands-svg-icons" : "^6.5.2" ,
2023-08-15 22:33:52 -04:00
"@fortawesome/free-solid-svg-icons" : "^6.4.2" ,
2023-07-13 07:22:08 -04:00
"@fortawesome/react-fontawesome" : "^0.2.0" ,
2024-04-19 14:54:50 -07:00
"@headlessui/react" : "^1.7.19" ,
2023-08-28 20:31:49 -04:00
"@headlessui/tailwindcss" : "^0.2.0" ,
2025-02-12 14:44:47 -08:00
"@kittycad/lib" : "2.0.17" ,
2024-08-16 07:39:44 -07:00
"@lezer/highlight" : "^1.2.1" ,
2024-07-08 16:47:30 -07:00
"@lezer/lr" : "^1.4.1" ,
2024-05-23 05:22:24 +00:00
"@react-hook/resize-observer" : "^2.0.1" ,
2024-04-12 11:14:22 -07:00
"@replit/codemirror-interact" : "^6.3.1" ,
2023-09-05 16:02:27 -07:00
"@ts-stack/markdown" : "^1.5.0" ,
2024-02-11 12:59:00 +11:00
"@tweenjs/tween.js" : "^23.1.1" ,
2023-10-11 13:36:54 +11:00
"@xstate/inspect" : "^0.8.0" ,
2024-09-09 19:59:36 +03:00
"@xstate/react" : "^4.1.1" ,
2024-08-16 07:15:42 -04:00
"bonjour-service" : "^1.2.1" ,
2024-10-07 23:07:18 -04:00
"chokidar" : "^4.0.1" ,
2024-06-29 18:10:07 -07:00
"codemirror" : "^6.0.1" ,
2024-04-02 10:29:34 -04:00
"decamelize" : "^6.0.0" ,
2024-12-20 13:39:06 +11:00
"diff" : "^7.0.0" ,
2025-02-24 05:41:48 -05:00
"electron-updater" : "^6.6.0" ,
2023-11-10 05:19:46 -05:00
"fuse.js" : "^7.0.0" ,
2024-08-14 21:59:05 -07:00
"html2canvas-pro" : "^1.5.8" ,
2024-08-16 07:15:42 -04:00
"isomorphic-fetch" : "^3.0.0" ,
2023-09-05 16:02:27 -07:00
"json-rpc-2.0" : "^1.6.0" ,
2024-03-14 11:50:46 -04:00
"jszip" : "^3.10.1" ,
2024-08-24 17:47:09 -07:00
"minimist" : "^1.2.8" ,
2024-08-16 07:15:42 -04:00
"openid-client" : "^5.6.5" ,
2023-10-04 10:08:10 -05:00
"re-resizable" : "^6.9.11" ,
2024-05-21 23:04:39 -07:00
"react" : "^18.3.1" ,
2022-11-12 13:11:54 +11:00
"react-dom" : "^18.2.0" ,
2023-07-13 07:22:08 -04:00
"react-hot-toast" : "^2.4.1" ,
2025-01-07 20:46:57 +00:00
"react-hotkeys-hook" : "^4.6.1" ,
2023-02-03 10:04:16 +11:00
"react-json-view" : "^1.21.3" ,
2025-01-07 15:24:24 -08:00
"react-modal" : "^3.16.3" ,
2023-03-07 15:45:59 +11:00
"react-modal-promise" : "^1.0.2" ,
2024-11-26 11:06:59 -05:00
"react-router-dom" : "^6.28.0" ,
2023-08-01 09:36:40 -05:00
"sketch-helpers" : "^0.0.4" ,
2025-01-07 20:19:58 +00:00
"three" : "^0.172.0" ,
2024-04-09 18:05:36 -07:00
"ua-parser-js" : "^1.0.37" ,
2024-11-06 11:21:20 -05:00
"uuid" : "^11.0.2" ,
2024-05-22 21:31:34 -07:00
"vscode-jsonrpc" : "^8.2.1" ,
2023-11-08 05:28:24 -05:00
"vscode-languageserver-protocol" : "^3.17.5" ,
2024-06-29 18:10:07 -07:00
"vscode-uri" : "^3.0.8" ,
2024-03-20 19:57:00 -07:00
"web-vitals" : "^3.5.2" ,
2025-01-14 15:39:05 +00:00
"xstate" : "^5.19.2" ,
2024-11-07 17:23:03 -05:00
"yargs" : "^17.7.2"
2022-11-12 13:11:54 +11:00
} ,
"scripts" : {
2025-03-03 12:57:31 -05:00
"install:rust" : "curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y --default-toolchain 1.85" ,
2025-02-24 11:19:09 -05:00
"install:rust:windows" : "winget install Microsoft.VisualStudio.2022.Community --silent --override \"--wait --quiet --add ProductLang En-us --add Microsoft.VisualStudio.Workload.NativeDesktop --includeRecommended\" && winget install Rustlang.Rustup" ,
"install:wasm-pack:sh" : ". $HOME/.cargo/env && curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh -s -- -y" ,
"install:wasm-pack:cargo" : "cargo install wasm-pack" ,
"install:tools:windows" : "winget install jqlang.jq MikeFarah.yq GitHub.cli" ,
2024-12-10 17:51:51 -08:00
"start" : "vite --port=3000 --host=0.0.0.0" ,
2023-12-14 15:48:06 -05:00
"start:prod" : "vite preview --port=3000" ,
2023-11-24 08:59:24 +11:00
"serve" : "vite serve --port=3000" ,
2025-02-24 11:19:09 -05:00
"build" : "yarn install:rust && . $HOME/.cargo/env && yarn install:wasm-pack:sh && yarn build:wasm && vite build" ,
2023-07-20 19:25:04 -04:00
"build:local" : "vite build" ,
"build:both" : "vite build" ,
"build:both:local" : "yarn build:wasm && vite build" ,
2023-09-18 16:59:40 -04:00
"pretest" : "yarn remove-importmeta" ,
2025-03-01 13:59:01 -08:00
"test:rust" : "(cd rust && just test && just lint)" ,
2023-09-18 16:59:40 -04:00
"simpleserver" : "yarn pretest && http-server ./public --cors -p 3000" ,
2024-08-17 14:15:11 -07:00
"simpleserver:ci" : "yarn pretest && http-server ./public --cors -p 3000 &" ,
2024-10-02 11:58:17 -04:00
"simpleserver:bg" : "yarn pretest && http-server ./public --cors -p 3000 &" ,
2024-12-10 04:42:03 +13:00
"simpleserver:stop" : "kill-port 3000" ,
2024-06-30 14:30:44 -07:00
"fmt" : "prettier --write ./src *.ts *.json *.js ./e2e ./packages" ,
"fmt-check" : "prettier --check ./src *.ts *.json *.js ./e2e ./packages" ,
2025-02-24 11:19:09 -05:00
"fetch:wasm" : "./scripts/get-latest-wasm-bundle.sh" ,
"fetch:wasm:windows" : "./scripts/get-latest-wasm-bundle.ps1" ,
2025-02-28 18:30:21 -08:00
"fetch:samples" : "echo \"Fetching latest KCL samples...\" && curl -o public/kcl-samples-manifest-fallback.json https://raw.githubusercontent.com/KittyCAD/kcl-samples/next/manifest.json" ,
2025-03-01 13:59:01 -08:00
"build:wasm-dev" : "yarn wasm-prep && (cd rust && wasm-pack build kcl-wasm-lib --dev --target web --out-dir pkg && cargo test -p kcl-lib export_bindings) && yarn isomorphic-copy-wasm && yarn fmt" ,
"build:wasm:nocopy" : "yarn wasm-prep && cd rust && wasm-pack build kcl-wasm-lib --release --target web --out-dir pkg && cargo test -p kcl-lib export_bindings" ,
"build:wasm" : "yarn build:wasm:nocopy && cp rust/kcl-wasm-lib/pkg/kcl_wasm_lib_bg.wasm public && yarn fmt" ,
2025-02-25 13:56:00 -05:00
"build:wasm:windows" : "yarn install:wasm-pack:cargo && yarn build:wasm:nocopy && ./scripts/copy-wasm.ps1 && yarn fmt" ,
2025-03-01 13:59:01 -08:00
"remove-importmeta" : "sed -i 's/import.meta.url/window.location.origin/g' \"./rust/kcl-wasm-lib/pkg/kcl_wasm_lib.js\"; sed -i '' 's/import.meta.url/window.location.origin/g' \"./rust/kcl-wasm-lib/pkg/kcl_wasm_lib.js\" || echo \"sed for both mac and linux\"" ,
"wasm-prep" : "rimraf rust/kcl-wasm-lib/pkg && mkdirp rust/kcl-wasm-lib/pkg && rimraf rust/kcl-lib/bindings" ,
2025-01-13 09:30:14 -05:00
"lint-fix" : "eslint --fix --ext .ts --ext .tsx src e2e packages/codemirror-lsp-client/src" ,
"lint" : "eslint --max-warnings 0 --ext .ts --ext .tsx src e2e packages/codemirror-lsp-client/src" ,
2024-11-21 10:12:06 -05:00
"files:set-version" : "echo \"$(jq --arg v \"$VERSION\" '.version=$v' package.json --indent 2)\" > package.json" ,
2024-11-22 15:29:54 -05:00
"files:set-notes" : "./scripts/set-files-notes.sh" ,
2024-11-21 10:12:06 -05:00
"files:flip-to-nightly" : "./scripts/flip-files-to-nightly.sh" ,
2025-02-24 11:19:09 -05:00
"files:flip-to-nightly:windows" : "./scripts/flip-files-to-nightly.ps1" ,
2024-12-09 11:45:32 -05:00
"files:invalidate-bucket" : "./scripts/invalidate-files-bucket.sh" ,
"files:invalidate-bucket:nightly" : "./scripts/invalidate-files-bucket.sh --nightly" ,
2024-09-23 14:35:38 -04:00
"postinstall" : "yarn fetch:samples && yarn xstate:typegen && ./node_modules/.bin/electron-rebuild" ,
2024-06-04 08:32:24 -04:00
"xstate:typegen" : "yarn xstate typegen \"src/**/*.ts?(x)\"" ,
2024-08-04 00:51:30 -04:00
"make:dev" : "make dev" ,
2024-08-16 07:15:42 -04:00
"generate:machine-api" : "npx openapi-typescript ./openapi/machine-api.json -o src/lib/machine-api.d.ts" ,
2024-08-20 11:23:32 +10:00
"tron:start" : "electron-forge start" ,
Move all tests over to electron (#4484)
* Move all tests over to electron
* Pass the correct param to playwright-electron.sh
* Add shebang to script and add macos-14-large as a target
* Get sketch-tests.spec.ts passing in electron
* Try out 4 workers
* Got testing-segment-overlays passing
* Pass testing-selections.spec.ts
* Go back to fix up sketch-tests test
* Pass various.spec.ts, by far the hardest one
* Pass can-sketch-on-all-planes... with ease
* Pass command bar tests
* fmt
* Completely fix code mirror text navigating for tests
* Pass debug pane tests
* Pass desktop export tests
* Pass editor tests
* Pass file tree tests
* Pass onboarding tests
* Corrected a fixme in file-tree.spec!
* Painfully fix hardcoded coordinates in point-click.spec
* Pass machine.spec tests
* Pass projects, fought hard with filechooser
* Pass regresion-tests.spec tests
* Pass network and connection tests
* Pass camera-movement.spec tests
* Extreme time eaten by gizmo test fixes. All passing now.
* Merge main (tests changed x_x) and pass all constraints.spec tests (pain)
* Pass another painful spec suite: testing-settings
* Pass perspective-toggle, interesting note
* Pass samples loading tests
* Pass app header tests
* Pass text-to-cad tests
* Pass segment-overlays (minor ache) and ability to switch to web if needed :)
* Fix a ton of syntax changes and deflake 2 more tests (pain)
* Correct all tsc errors
* Remove to-electron script
* Add an f-ton of shit because playwright doesnt want S P R E A D
* Try CI again
* Stop snapshots of exports (already test in e2e)
* Fix flake in double click editor
* Hopefully help CI flake
* Fixmes, fixmes everywhere
* One more fixme to settings
* Skip another code pane flake
* Port jess's projects.spec tests
* fixup
* Reuse electron window; difficult task
* Rebased and refixed
* Remove duplicate cases
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* Reduce the workers to something CI can handle
* Lower it further, we need to think about the others
* Update package.json
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
* Update package.json
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
* Fix the last tests and tsc errors
* Timeout to 120 and windows-2022-16core
* Fix windows runner detection, enable concurrency temporarily
* Hopefully this time fix windows runner detection
* Comment out Vector, add back removed camera test code
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* Fix camera tests again
* Massively deflake a whole class of tests
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* Try new CI and fix small onboarding test
* Derp
* No github tuning
* Try mac
* Add back all the OS
* Lord, hallow be thy name
* A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest-8-cores)
* One last try with window-16-cores
* Trigger CI
* Try AWS Windows runner
* Passing on windows locally with a few skips
* Skip more win tests, add back all three oses
* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-16-cores)
* Add two more fixmes
* 2 more fixmes
* skip segment overlays on win32
* Another fixme
* Trigger CI
* Trigger CI
* Quick clean up
* Move all tests over to electron
* Pass the correct param to playwright-electron.sh
* Add shebang to script and add macos-14-large as a target
* Get sketch-tests.spec.ts passing in electron
* Try out 4 workers
* Got testing-segment-overlays passing
* Pass testing-selections.spec.ts
* Go back to fix up sketch-tests test
* Pass various.spec.ts, by far the hardest one
* Pass can-sketch-on-all-planes... with ease
* Pass command bar tests
* fmt
* Completely fix code mirror text navigating for tests
* Pass debug pane tests
* Pass desktop export tests
* Pass editor tests
* Pass file tree tests
* Pass onboarding tests
* Corrected a fixme in file-tree.spec!
* Painfully fix hardcoded coordinates in point-click.spec
* Pass machine.spec tests
* Pass projects, fought hard with filechooser
* Pass regresion-tests.spec tests
* Pass network and connection tests
* Pass camera-movement.spec tests
* Extreme time eaten by gizmo test fixes. All passing now.
* Merge main (tests changed x_x) and pass all constraints.spec tests (pain)
* Pass another painful spec suite: testing-settings
* Pass perspective-toggle, interesting note
* Pass samples loading tests
* Pass app header tests
* Pass text-to-cad tests
* Pass segment-overlays (minor ache) and ability to switch to web if needed :)
* Fix a ton of syntax changes and deflake 2 more tests (pain)
* Correct all tsc errors
* Remove to-electron script
* Add an f-ton of shit because playwright doesnt want S P R E A D
* Try CI again
* Stop snapshots of exports (already test in e2e)
* Fix flake in double click editor
* Hopefully help CI flake
* Fixmes, fixmes everywhere
* One more fixme to settings
* Skip another code pane flake
* Port jess's projects.spec tests
* fixup
* Reuse electron window; difficult task
* Rebased and refixed
* Remove duplicate cases
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* Reduce the workers to something CI can handle
* Lower it further, we need to think about the others
* Update package.json
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
* Update package.json
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
* Fix the last tests and tsc errors
* Timeout to 120 and windows-2022-16core
* Fix windows runner detection, enable concurrency temporarily
* Hopefully this time fix windows runner detection
* Comment out Vector, add back removed camera test code
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* Fix camera tests again
* Massively deflake a whole class of tests
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* Try new CI and fix small onboarding test
* Derp
* No github tuning
* Try mac
* Add back all the OS
* Lord, hallow be thy name
* A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest-8-cores)
* Try AWS Windows runner
* Passing on windows locally with a few skips
* Trigger CI
* A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
* fmt, tsc, lint
* Enable two fixmes again
* Fix lint, codespell, fmt
* Fix lint
* Don't run e2e on draft, add back concurrency, clean up
* One last windows skip
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
Co-authored-by: Pierre Jacquier <pierre@zoo.dev>
2024-12-18 17:58:03 -05:00
"chrome:test" : "PLATFORM=web NODE_ENV=development yarn playwright test --config=playwright.config.ts --project='Google Chrome' --grep-invert='@snapshot'" ,
2025-02-03 10:03:41 -05:00
"tronb:vite:dev" : "vite build -c vite.main.config.ts -m development && vite build -c vite.preload.config.ts -m development && vite build -c vite.renderer.config.ts -m development" ,
"tronb:vite:prod" : "vite build -c vite.main.config.ts && vite build -c vite.preload.config.ts && vite build -c vite.renderer.config.ts" ,
"tronb:package:dev" : "yarn tronb:vite:dev && electron-builder --config electron-builder.yml" ,
"tronb:package:prod" : "yarn tronb:vite:prod && electron-builder --config electron-builder.yml --publish always" ,
2024-10-02 11:58:17 -04:00
"test-setup" : "yarn install && yarn build:wasm" ,
"test" : "vitest --mode development" ,
2024-11-05 14:10:00 -05:00
"test:unit" : "vitest run --mode development --exclude **/kclSamples.test.ts" ,
"test:unit:kcl-samples" : "vitest run --mode development ./src/lang/kclSamples.test.ts" ,
Move all tests over to electron (#4484)
* Move all tests over to electron
* Pass the correct param to playwright-electron.sh
* Add shebang to script and add macos-14-large as a target
* Get sketch-tests.spec.ts passing in electron
* Try out 4 workers
* Got testing-segment-overlays passing
* Pass testing-selections.spec.ts
* Go back to fix up sketch-tests test
* Pass various.spec.ts, by far the hardest one
* Pass can-sketch-on-all-planes... with ease
* Pass command bar tests
* fmt
* Completely fix code mirror text navigating for tests
* Pass debug pane tests
* Pass desktop export tests
* Pass editor tests
* Pass file tree tests
* Pass onboarding tests
* Corrected a fixme in file-tree.spec!
* Painfully fix hardcoded coordinates in point-click.spec
* Pass machine.spec tests
* Pass projects, fought hard with filechooser
* Pass regresion-tests.spec tests
* Pass network and connection tests
* Pass camera-movement.spec tests
* Extreme time eaten by gizmo test fixes. All passing now.
* Merge main (tests changed x_x) and pass all constraints.spec tests (pain)
* Pass another painful spec suite: testing-settings
* Pass perspective-toggle, interesting note
* Pass samples loading tests
* Pass app header tests
* Pass text-to-cad tests
* Pass segment-overlays (minor ache) and ability to switch to web if needed :)
* Fix a ton of syntax changes and deflake 2 more tests (pain)
* Correct all tsc errors
* Remove to-electron script
* Add an f-ton of shit because playwright doesnt want S P R E A D
* Try CI again
* Stop snapshots of exports (already test in e2e)
* Fix flake in double click editor
* Hopefully help CI flake
* Fixmes, fixmes everywhere
* One more fixme to settings
* Skip another code pane flake
* Port jess's projects.spec tests
* fixup
* Reuse electron window; difficult task
* Rebased and refixed
* Remove duplicate cases
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* Reduce the workers to something CI can handle
* Lower it further, we need to think about the others
* Update package.json
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
* Update package.json
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
* Fix the last tests and tsc errors
* Timeout to 120 and windows-2022-16core
* Fix windows runner detection, enable concurrency temporarily
* Hopefully this time fix windows runner detection
* Comment out Vector, add back removed camera test code
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* Fix camera tests again
* Massively deflake a whole class of tests
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* Try new CI and fix small onboarding test
* Derp
* No github tuning
* Try mac
* Add back all the OS
* Lord, hallow be thy name
* A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest-8-cores)
* One last try with window-16-cores
* Trigger CI
* Try AWS Windows runner
* Passing on windows locally with a few skips
* Skip more win tests, add back all three oses
* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-16-cores)
* Add two more fixmes
* 2 more fixmes
* skip segment overlays on win32
* Another fixme
* Trigger CI
* Trigger CI
* Quick clean up
* Move all tests over to electron
* Pass the correct param to playwright-electron.sh
* Add shebang to script and add macos-14-large as a target
* Get sketch-tests.spec.ts passing in electron
* Try out 4 workers
* Got testing-segment-overlays passing
* Pass testing-selections.spec.ts
* Go back to fix up sketch-tests test
* Pass various.spec.ts, by far the hardest one
* Pass can-sketch-on-all-planes... with ease
* Pass command bar tests
* fmt
* Completely fix code mirror text navigating for tests
* Pass debug pane tests
* Pass desktop export tests
* Pass editor tests
* Pass file tree tests
* Pass onboarding tests
* Corrected a fixme in file-tree.spec!
* Painfully fix hardcoded coordinates in point-click.spec
* Pass machine.spec tests
* Pass projects, fought hard with filechooser
* Pass regresion-tests.spec tests
* Pass network and connection tests
* Pass camera-movement.spec tests
* Extreme time eaten by gizmo test fixes. All passing now.
* Merge main (tests changed x_x) and pass all constraints.spec tests (pain)
* Pass another painful spec suite: testing-settings
* Pass perspective-toggle, interesting note
* Pass samples loading tests
* Pass app header tests
* Pass text-to-cad tests
* Pass segment-overlays (minor ache) and ability to switch to web if needed :)
* Fix a ton of syntax changes and deflake 2 more tests (pain)
* Correct all tsc errors
* Remove to-electron script
* Add an f-ton of shit because playwright doesnt want S P R E A D
* Try CI again
* Stop snapshots of exports (already test in e2e)
* Fix flake in double click editor
* Hopefully help CI flake
* Fixmes, fixmes everywhere
* One more fixme to settings
* Skip another code pane flake
* Port jess's projects.spec tests
* fixup
* Reuse electron window; difficult task
* Rebased and refixed
* Remove duplicate cases
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* Reduce the workers to something CI can handle
* Lower it further, we need to think about the others
* Update package.json
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
* Update package.json
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
* Fix the last tests and tsc errors
* Timeout to 120 and windows-2022-16core
* Fix windows runner detection, enable concurrency temporarily
* Hopefully this time fix windows runner detection
* Comment out Vector, add back removed camera test code
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* Fix camera tests again
* Massively deflake a whole class of tests
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* Try new CI and fix small onboarding test
* Derp
* No github tuning
* Try mac
* Add back all the OS
* Lord, hallow be thy name
* A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest-8-cores)
* Try AWS Windows runner
* Passing on windows locally with a few skips
* Trigger CI
* A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
* fmt, tsc, lint
* Enable two fixmes again
* Fix lint, codespell, fmt
* Fix lint
* Don't run e2e on draft, add back concurrency, clean up
* One last windows skip
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
Co-authored-by: Pierre Jacquier <pierre@zoo.dev>
2024-12-18 17:58:03 -05:00
"test:playwright:electron" : "playwright test --config=playwright.electron.config.ts --grep-invert='@snapshot'" ,
2025-01-23 16:13:49 +01:00
"test:playwright:electron:windows" : "playwright test --config=playwright.electron.config.ts --grep-invert=\"@skipWin|@snapshot\" --quiet" ,
"test:playwright:electron:macos" : "playwright test --config=playwright.electron.config.ts --grep-invert='@skipMacos|@snapshot' --quiet" ,
"test:playwright:electron:ubuntu" : "playwright test --config=playwright.electron.config.ts --grep-invert='@skipLinux|@snapshot' --quiet" ,
2025-02-05 09:51:23 -05:00
"test:playwright:electron:local" : "yarn tronb:vite:dev && NODE_ENV=development playwright test --config=playwright.electron.config.ts --grep-invert='@snapshot'" ,
"test:playwright:electron:windows:local" : "yarn tronb:vite:dev && set NODE_ENV='development' && playwright test --config=playwright.electron.config.ts --grep-invert=\"@skipWin|@snapshot\"" ,
"test:playwright:electron:macos:local" : "yarn tronb:vite:dev && NODE_ENV=development playwright test --config=playwright.electron.config.ts --grep-invert='@skipMacos|@snapshot'" ,
"test:playwright:electron:ubuntu:local" : "yarn tronb:vite:dev && NODE_ENV=development playwright test --config=playwright.electron.config.ts --grep-invert='@skipLinux|@snapshot'" ,
2025-02-11 11:13:25 -06:00
"test:playwright:electron:ubuntu:engine:local" : "yarn tronb:vite:dev && NODE_ENV=development playwright test --config=playwright.electron.config.ts --grep-invert='@skipLinux|@snapshot|@skipLocalEngine'" ,
2024-11-05 14:10:00 -05:00
"test:unit:local" : "yarn simpleserver:bg && yarn test:unit; kill-port 3000" ,
"test:unit:kcl-samples:local" : "yarn simpleserver:bg && yarn test:unit:kcl-samples; kill-port 3000"
2022-11-23 21:28:38 +11:00
} ,
2022-11-26 08:34:23 +11:00
"prettier" : {
"trailingComma" : "es5" ,
"tabWidth" : 2 ,
"semi" : false ,
"singleQuote" : true
} ,
2022-11-12 13:11:54 +11:00
"browserslist" : {
"production" : [
">0.2%" ,
"not dead" ,
"not op_mini all"
] ,
"development" : [
"last 1 chrome version" ,
"last 1 firefox version" ,
"last 1 safari version"
]
2022-11-22 09:06:08 +11:00
} ,
"devDependencies" : {
2023-08-06 21:29:26 -04:00
"@babel/plugin-proposal-private-property-in-object" : "^7.21.11" ,
2024-08-23 09:00:56 -07:00
"@babel/preset-env" : "^7.25.4" ,
2025-02-17 11:03:02 -05:00
"@electron-forge/cli" : "^7.6.1" ,
"@electron-forge/plugin-fuses" : "^7.6.1" ,
"@electron-forge/plugin-vite" : "^7.6.1" ,
"@electron/fuses" : "^1.8.0" ,
"@electron/notarize" : "^2.5.0" ,
2024-04-16 21:36:19 -07:00
"@iarna/toml" : "^2.2.5" ,
2025-01-13 11:48:13 -05:00
"@lezer/generator" : "^1.7.2" ,
2024-12-06 12:28:58 -05:00
"@nabla/vite-plugin-eslint" : "^2.0.5" ,
Move all tests over to electron (#4484)
* Move all tests over to electron
* Pass the correct param to playwright-electron.sh
* Add shebang to script and add macos-14-large as a target
* Get sketch-tests.spec.ts passing in electron
* Try out 4 workers
* Got testing-segment-overlays passing
* Pass testing-selections.spec.ts
* Go back to fix up sketch-tests test
* Pass various.spec.ts, by far the hardest one
* Pass can-sketch-on-all-planes... with ease
* Pass command bar tests
* fmt
* Completely fix code mirror text navigating for tests
* Pass debug pane tests
* Pass desktop export tests
* Pass editor tests
* Pass file tree tests
* Pass onboarding tests
* Corrected a fixme in file-tree.spec!
* Painfully fix hardcoded coordinates in point-click.spec
* Pass machine.spec tests
* Pass projects, fought hard with filechooser
* Pass regresion-tests.spec tests
* Pass network and connection tests
* Pass camera-movement.spec tests
* Extreme time eaten by gizmo test fixes. All passing now.
* Merge main (tests changed x_x) and pass all constraints.spec tests (pain)
* Pass another painful spec suite: testing-settings
* Pass perspective-toggle, interesting note
* Pass samples loading tests
* Pass app header tests
* Pass text-to-cad tests
* Pass segment-overlays (minor ache) and ability to switch to web if needed :)
* Fix a ton of syntax changes and deflake 2 more tests (pain)
* Correct all tsc errors
* Remove to-electron script
* Add an f-ton of shit because playwright doesnt want S P R E A D
* Try CI again
* Stop snapshots of exports (already test in e2e)
* Fix flake in double click editor
* Hopefully help CI flake
* Fixmes, fixmes everywhere
* One more fixme to settings
* Skip another code pane flake
* Port jess's projects.spec tests
* fixup
* Reuse electron window; difficult task
* Rebased and refixed
* Remove duplicate cases
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* Reduce the workers to something CI can handle
* Lower it further, we need to think about the others
* Update package.json
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
* Update package.json
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
* Fix the last tests and tsc errors
* Timeout to 120 and windows-2022-16core
* Fix windows runner detection, enable concurrency temporarily
* Hopefully this time fix windows runner detection
* Comment out Vector, add back removed camera test code
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* Fix camera tests again
* Massively deflake a whole class of tests
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* Try new CI and fix small onboarding test
* Derp
* No github tuning
* Try mac
* Add back all the OS
* Lord, hallow be thy name
* A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest-8-cores)
* One last try with window-16-cores
* Trigger CI
* Try AWS Windows runner
* Passing on windows locally with a few skips
* Skip more win tests, add back all three oses
* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-16-cores)
* Add two more fixmes
* 2 more fixmes
* skip segment overlays on win32
* Another fixme
* Trigger CI
* Trigger CI
* Quick clean up
* Move all tests over to electron
* Pass the correct param to playwright-electron.sh
* Add shebang to script and add macos-14-large as a target
* Get sketch-tests.spec.ts passing in electron
* Try out 4 workers
* Got testing-segment-overlays passing
* Pass testing-selections.spec.ts
* Go back to fix up sketch-tests test
* Pass various.spec.ts, by far the hardest one
* Pass can-sketch-on-all-planes... with ease
* Pass command bar tests
* fmt
* Completely fix code mirror text navigating for tests
* Pass debug pane tests
* Pass desktop export tests
* Pass editor tests
* Pass file tree tests
* Pass onboarding tests
* Corrected a fixme in file-tree.spec!
* Painfully fix hardcoded coordinates in point-click.spec
* Pass machine.spec tests
* Pass projects, fought hard with filechooser
* Pass regresion-tests.spec tests
* Pass network and connection tests
* Pass camera-movement.spec tests
* Extreme time eaten by gizmo test fixes. All passing now.
* Merge main (tests changed x_x) and pass all constraints.spec tests (pain)
* Pass another painful spec suite: testing-settings
* Pass perspective-toggle, interesting note
* Pass samples loading tests
* Pass app header tests
* Pass text-to-cad tests
* Pass segment-overlays (minor ache) and ability to switch to web if needed :)
* Fix a ton of syntax changes and deflake 2 more tests (pain)
* Correct all tsc errors
* Remove to-electron script
* Add an f-ton of shit because playwright doesnt want S P R E A D
* Try CI again
* Stop snapshots of exports (already test in e2e)
* Fix flake in double click editor
* Hopefully help CI flake
* Fixmes, fixmes everywhere
* One more fixme to settings
* Skip another code pane flake
* Port jess's projects.spec tests
* fixup
* Reuse electron window; difficult task
* Rebased and refixed
* Remove duplicate cases
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* Reduce the workers to something CI can handle
* Lower it further, we need to think about the others
* Update package.json
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
* Update package.json
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
* Fix the last tests and tsc errors
* Timeout to 120 and windows-2022-16core
* Fix windows runner detection, enable concurrency temporarily
* Hopefully this time fix windows runner detection
* Comment out Vector, add back removed camera test code
* A snapshot a day keeps the bugs away! 📷🐛 (OS: ubuntu-latest-8-cores)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* Fix camera tests again
* Massively deflake a whole class of tests
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: macos-14-large)
* Try new CI and fix small onboarding test
* Derp
* No github tuning
* Try mac
* Add back all the OS
* Lord, hallow be thy name
* A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
* A snapshot a day keeps the bugs away! 📷🐛 (OS: windows-latest-8-cores)
* Try AWS Windows runner
* Passing on windows locally with a few skips
* Trigger CI
* A snapshot a day keeps the bugs away! 📷🐛 (OS: namespace-profile-ubuntu-8-cores)
* fmt, tsc, lint
* Enable two fixmes again
* Fix lint, codespell, fmt
* Fix lint
* Don't run e2e on draft, add back concurrency, clean up
* One last windows skip
---------
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: Pierre Jacquier <pierrejacquier39@gmail.com>
Co-authored-by: Pierre Jacquier <pierre@zoo.dev>
2024-12-18 17:58:03 -05:00
"@playwright/test" : "^1.49.0" ,
2024-06-29 18:10:07 -07:00
"@testing-library/jest-dom" : "^5.14.1" ,
"@testing-library/react" : "^15.0.2" ,
2025-03-03 10:02:57 -08:00
"@types/diff" : "^7.0.1" ,
2024-08-16 07:15:42 -04:00
"@types/electron" : "^1.6.10" ,
"@types/isomorphic-fetch" : "^0.0.39" ,
2024-08-24 17:47:09 -07:00
"@types/minimist" : "^1.2.5" ,
2025-02-06 15:17:14 -05:00
"@types/mocha" : "^10.0.10" ,
2025-02-06 10:51:07 +00:00
"@types/node" : "^22.13.1" ,
2023-12-01 20:49:12 +11:00
"@types/pixelmatch" : "^5.2.6" ,
"@types/pngjs" : "^6.0.4" ,
2024-08-20 21:15:00 -07:00
"@types/react" : "^18.3.4" ,
2024-12-06 15:21:28 -06:00
"@types/react-dom" : "^18.3.1" ,
2023-12-04 07:15:52 -05:00
"@types/react-modal" : "^3.16.3" ,
2025-01-07 20:19:58 +00:00
"@types/three" : "^0.172.0" ,
2024-04-09 18:05:36 -07:00
"@types/ua-parser-js" : "^0.7.39" ,
2024-03-20 23:44:57 -07:00
"@types/uuid" : "^9.0.8" ,
2024-03-20 19:59:48 -07:00
"@types/wicg-file-system-access" : "^2023.10.5" ,
2024-11-06 13:25:06 -05:00
"@types/ws" : "^8.5.13" ,
2024-05-24 12:36:36 -07:00
"@vitejs/plugin-react" : "^4.3.0" ,
2024-04-19 14:24:40 -07:00
"@vitest/web-worker" : "^1.5.0" ,
2024-02-11 12:59:00 +11:00
"@xstate/cli" : "^0.5.17" ,
2024-03-21 05:29:39 +00:00
"autoprefixer" : "^10.4.19" ,
2025-02-17 11:03:02 -05:00
"electron" : "^34.1.1" ,
"electron-builder" : "^26.0.6" ,
2024-08-16 07:15:42 -04:00
"eslint" : "^8.0.1" ,
2023-11-10 05:18:09 -05:00
"eslint-plugin-css-modules" : "^2.12.0" ,
2024-09-04 11:29:52 -07:00
"eslint-plugin-import" : "^2.30.0" ,
2025-01-11 09:59:09 -05:00
"eslint-plugin-jest" : "^28.10.0" ,
2025-01-13 09:30:14 -05:00
"eslint-plugin-jsx-a11y" : "^6.10.2" ,
2025-01-11 09:59:09 -05:00
"eslint-plugin-react" : "^7.37.3" ,
2025-01-13 09:30:14 -05:00
"eslint-plugin-react-hooks" : "^5.1.0" ,
2024-06-29 18:10:07 -07:00
"eslint-plugin-suggest-no-throw" : "^1.0.0" ,
2025-01-13 09:30:14 -05:00
"eslint-plugin-testing-library" : "^7.1.1" ,
2025-01-07 20:51:15 +00:00
"happy-dom" : "^16.3.0" ,
2024-06-29 18:10:07 -07:00
"http-server" : "^14.1.1" ,
2025-03-03 10:03:15 -08:00
"husky" : "^9.1.7" ,
2024-10-02 11:58:17 -04:00
"kill-port" : "^2.0.1" ,
2024-06-29 18:10:07 -07:00
"node-fetch" : "^3.3.2" ,
2023-12-01 20:49:12 +11:00
"pixelmatch" : "^5.3.0" ,
"pngjs" : "^7.0.0" ,
2024-09-02 14:32:32 -07:00
"postcss" : "^8.4.43" ,
2024-02-11 12:59:00 +11:00
"postinstall-postinstall" : "^2.1.0" ,
2024-06-30 14:30:44 -07:00
"prettier" : "^2.8.8" ,
2023-06-07 17:45:13 +10:00
"setimmediate" : "^1.0.5" ,
2025-02-24 05:43:05 -05:00
"tailwindcss" : "^3.4.17" ,
2024-08-16 07:15:42 -04:00
"ts-node" : "^10.0.0" ,
2025-01-14 16:18:26 -05:00
"typescript" : "^5.7.3" ,
2025-02-10 04:28:21 +00:00
"typescript-eslint" : "^8.23.0" ,
2025-01-22 20:58:53 -05:00
"vite" : "^5.4.12" ,
2024-02-07 11:36:19 -05:00
"vite-plugin-package-version" : "^1.1.0" ,
2024-03-21 07:06:44 +00:00
"vite-tsconfig-paths" : "^4.3.2" ,
2025-02-04 21:56:48 -05:00
"vitest" : "^1.6.1" ,
2024-02-11 12:59:00 +11:00
"vitest-webgl-canvas-mock" : "^1.1.0" ,
2024-06-29 18:10:07 -07:00
"ws" : "^8.17.0" ,
2024-04-11 15:27:53 -07:00
"yarn" : "^1.22.22"
2025-02-03 13:41:23 -05:00
} ,
"packageManager" : "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
2022-11-12 13:11:54 +11:00
}