Files
Compass/package.json
Okechi Jones-Williams b18a6d7ff3 [Onboarding Flow] Added database checks to the onboarding flow (#34)
* Fixed Type errors

* Organizing testing utilities

* Added Database checks to the onboarding flow

* Updated Onboarding flow
Changed type ChildrenExpectation so that it can be used for database verification

* Added compatibility page setup
Added more compatibility questions

* Fix

* .

* Fix: Typo

* Fix: Faker usernames can no longer generate symbols

* Fix: Changed how work area is verified

* .

* .

* Fix: Trying to work in headed mode

* Fix: Change back to headless

* Fix: Added timeout after workArea selection

* .

* Clean e2e

* Improve E2E setup

* Prettier

* Log

* Fix: should pull test account from unique identifier like email, username or id; not the display name

* Source env vars in playwright directly

* Clean e2e data

* Clean test account id to be the same for email and username

* Fix import warning

* Add error handling

* Add log

* Temp remove env load

* Update

* Add logs and safeguards against using remote supabase during e2e tests

* Fix playwright report path in C@

* Remove locale log

* Check if userInformationFromDb loading with name instead of username was the issue

* Remove login log

* Check if initial work area names were the issue

* Ignore if no files found

* Cache Firebase emulators in CI

* Reload env vars in playwright

* It did not break tests...

* Clean verifyWorkArea

* Add caching for node modules in CI

* Add caching for node modules in CI (2)

* Do not raise if emulator not running during db seed

* Do not raise if using firebase emulator

* Fix supabase cache in CI

* Add Cache Playwright browsers in CI

* Fix

* Test cache

* Turn off unused supabase services to speed things up

* Back to good one

* Set CI=true

* api is required for client connection

* Add safeguards for missing supabase env vars

* Remove echo

* Remove supabase cache

---------

Co-authored-by: Martin Braquet <martin.braquet@gmail.com>
2026-03-01 01:25:56 +01:00

126 lines
4.7 KiB
JSON

{
"name": "compass",
"version": "1.10.0",
"private": true,
"workspaces": [
"common",
"backend/api",
"backend/scripts",
"backend/email",
"backend/shared",
"web"
],
"scripts": {
"lint": "yarn --cwd=web lint; yarn --cwd=common lint; yarn --cwd=backend/api lint; yarn --cwd=backend/shared lint; yarn --cwd=backend/email lint",
"lint-fix": "yarn --cwd=web lint-fix; yarn --cwd=common lint-fix; yarn --cwd=backend/api lint-fix; yarn --cwd=backend/shared lint-fix; yarn --cwd=backend/email lint-fix",
"typecheck": "yarn --cwd=web typecheck; yarn --cwd=backend/api typecheck; yarn --cwd=common typecheck; yarn --cwd=backend/shared typecheck; yarn --cwd=backend/email typecheck",
"prettier": "prettier --write .",
"prettier:check": "prettier --check .",
"dev": "./scripts/run_local.sh dev",
"dev:isolated": "./scripts/run_local_isolated.sh",
"prod": "./scripts/run_local.sh prod",
"clean-install": "./scripts/install.sh",
"build-web-view": "./scripts/build_web_view.sh",
"build-sync-android": "./scripts/build_sync_android.sh",
"android-live-update": "./scripts/android_live_update.sh",
"sync-android": "./scripts/sync_android.sh",
"migrate": "./scripts/migrate.sh",
"test": "yarn workspaces run test",
"test:coverage": "yarn workspaces run test --coverage",
"test:watch": "yarn workspaces run test --watch",
"test:update": "yarn workspaces run test --updateSnapshot",
"test:e2e": "./scripts/e2e.sh",
"test:e2e:dev": "./scripts/e2e-dev.sh",
"test:e2e:ui": "./scripts/e2e.sh --ui",
"test:e2e:debug": "./scripts/e2e.sh --debug",
"test:e2e:services": "./scripts/e2e_services.sh",
"test:db:reset": "./scripts/test_db_reset.sh",
"test:db:reset-postgres": "docker compose -f scripts/docker-compose.test.yml down -v && docker compose -f scripts/docker-compose.test.yml up -d",
"test:db:migrate": "./scripts/test_db_migration.sh",
"test:db:seed": "./scripts/seed.sh",
"playwright": "playwright test",
"playwright:ui": "playwright test --ui",
"playwright:debug": "playwright test --debug",
"playwright:report": "npx playwright show-report tests/reports/playwright-report",
"postinstall": "./scripts/post_install.sh",
"emulate": "firebase emulators:start --only auth,storage --project compass-57c3c",
"prepare": "npx husky"
},
"dependencies": {
"@capacitor/app": "7.1.0",
"@capacitor/core": "7.4.4",
"@capacitor/keyboard": "7.0.3",
"@capacitor/push-notifications": "7.0.3",
"@capacitor/status-bar": "7.0.3",
"@capawesome/capacitor-live-update": "7.2.2",
"@capgo/capacitor-social-login": "7.14.9",
"colorette": "^2.0.20",
"prismjs": "^1.30.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"react-markdown": "10.1.0",
"supabase": "2.76.9",
"wait-on": "9.0.4"
},
"devDependencies": {
"@capacitor/android": "7.4.4",
"@capacitor/assets": "3.0.5",
"@capacitor/cli": "7.4.4",
"@faker-js/faker": "10.1.0",
"@playwright/test": "1.58.2",
"@testing-library/dom": "^10.0.0",
"@testing-library/jest-dom": "^6.6.4",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "29.2.4",
"@types/node": "20.12.11",
"@eslint/js": "^9.39.0",
"typescript-eslint": "^8.32.0",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-config-prettier": "^10.1.5",
"@next/eslint-plugin-next": "^15.3.3",
"chalk": "5.6.2",
"concurrently": "8.2.2",
"dotenv-cli": "10.0.0",
"eslint": "9.39.3",
"eslint-plugin-lodash": "7.4.0",
"eslint-plugin-simple-import-sort": "12.1.1",
"eslint-plugin-unused-imports": "4.1.4",
"firebase-tools": "14.27.0",
"husky": "9.1.7",
"jest": "29.3.1",
"nodemon": "2.0.20",
"prettier": "3.6.2",
"prettier-plugin-sql": "0.19.2",
"prettier-plugin-tailwindcss": "0.2.8",
"ts-jest": "29.4.6",
"ts-node": "10.9.1",
"tsc-alias": "1.8.2",
"tsconfig-paths": "4.2.0",
"tsx": "4.20.6",
"typescript": "5.5.4"
},
"resolutions": {
"@tiptap/core": "2.10.4",
"@tiptap/extension-blockquote": "2.10.4",
"@tiptap/extension-bold": "2.10.4",
"@tiptap/extension-bubble-menu": "2.10.4",
"@tiptap/extension-floating-menu": "2.10.4",
"@tiptap/extension-image": "2.10.4",
"@tiptap/extension-link": "2.10.4",
"@tiptap/extension-mention": "2.10.4",
"@tiptap/extension-horizontal-rule": "2.10.4",
"@tiptap/html": "2.10.4",
"@tiptap/pm": "2.10.4",
"@tiptap/starter-kit": "2.10.4",
"@tiptap/suggestion": "2.10.4",
"@types/react": "18.3.5",
"@types/react-dom": "18.3.0",
"prosemirror-model": "1.x",
"react": "18.2.0",
"react-dom": "18.2.0",
"pg-query-stream/pg": "8.x"
}
}