Move to infisical. Create local dev environment. Add ci gates. Modernize repo
This commit is contained in:
+58
-2
@@ -21,6 +21,18 @@
|
||||
"zod": "^4.3.6"
|
||||
},
|
||||
"catalogs": {
|
||||
"test": {
|
||||
"@edge-runtime/vm": "^5.0.0",
|
||||
"@playwright/test": "^1.60.0",
|
||||
"@testing-library/jest-dom": "^6.9.1",
|
||||
"@testing-library/react": "^16.3.2",
|
||||
"@testing-library/user-event": "^14.6.1",
|
||||
"@vitejs/plugin-react": "^6.0.2",
|
||||
"@vitest/coverage-v8": "^4.1.8",
|
||||
"convex-test": "^0.0.53",
|
||||
"jsdom": "^29.1.1",
|
||||
"vitest": "^4.1.8"
|
||||
},
|
||||
"convex": {
|
||||
"@convex-dev/auth": "^0.0.87",
|
||||
"convex": "^1.34.1"
|
||||
@@ -42,7 +54,13 @@
|
||||
"dev:next:web": "turbo run dev:web -F @gib/next -F @gib/backend",
|
||||
"dev:expo": "turbo run dev -F @gib/expo -F @gib/backend",
|
||||
"dev:backend": "turbo run dev -F @gib/backend",
|
||||
"dev:staging": "INFISICAL_ENV=staging turbo run dev -F @gib/next -F @gib/backend",
|
||||
"dev:expo:tunnel": "turbo run dev:tunnel -F @gib/expo -F @gib/backend",
|
||||
"db:up": "bash scripts/db/up",
|
||||
"db:down": "bash scripts/db/down",
|
||||
"db:down:wipe": "bash scripts/db/down --wipe",
|
||||
"db:seed:payload": "bash scripts/db/seed-payload",
|
||||
"db:sync:payload": "bash scripts/db/sync-payload",
|
||||
"format": "turbo run format --continue -- --cache --cache-location .cache/.prettiercache",
|
||||
"format:fix": "turbo run format --continue -- --write --cache --cache-location .cache/.prettiercache",
|
||||
"lint": "turbo run lint --continue -- --cache --cache-location .cache/.eslintcache",
|
||||
@@ -51,19 +69,57 @@
|
||||
"patch:usesend": "node scripts/patch-usesend.mjs",
|
||||
"postinstall": "bun patch:usesend && bun lint:ws",
|
||||
"typecheck": "turbo run typecheck",
|
||||
"test": "turbo run test:unit test:integration test:component",
|
||||
"test:unit": "turbo run test:unit",
|
||||
"test:integration": "turbo run test:integration",
|
||||
"test:component": "turbo run test:component",
|
||||
"test:e2e": "bash scripts/e2e",
|
||||
"test:all": "turbo run test:unit test:integration test:component && bun test:e2e",
|
||||
"ci:check": "bun lint:ws && turbo run lint typecheck test:unit test:integration test:component --concurrency=2 && bun test:e2e",
|
||||
"prepare": "husky",
|
||||
"ui-add": "turbo run ui-add",
|
||||
"android": "expo run:android",
|
||||
"ios": "expo run:ios"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@gib/prettier-config": "workspace:",
|
||||
"@turbo/gen": "^2.8.21",
|
||||
"@turbo/gen": "^2.9.18",
|
||||
"dotenv-cli": "11.0.0",
|
||||
"husky": "^9.1.7",
|
||||
"lint-staged": "^17.0.7",
|
||||
"prettier": "catalog:",
|
||||
"turbo": "^2.8.21",
|
||||
"turbo": "^2.9.18",
|
||||
"typescript": "catalog:"
|
||||
},
|
||||
"prettier": "@gib/prettier-config",
|
||||
"lint-staged": {
|
||||
"apps/next/**/*.{ts,tsx}": [
|
||||
"eslint --flag unstable_native_nodejs_ts_config --fix --no-warn-ignored --config apps/next/eslint.config.ts",
|
||||
"prettier --write"
|
||||
],
|
||||
"apps/expo/**/*.{ts,tsx}": [
|
||||
"eslint --flag unstable_native_nodejs_ts_config --fix --no-warn-ignored --config apps/expo/eslint.config.mts",
|
||||
"prettier --write"
|
||||
],
|
||||
"packages/backend/**/*.{ts,tsx}": [
|
||||
"eslint --flag unstable_native_nodejs_ts_config --fix --no-warn-ignored --config packages/backend/eslint.config.ts",
|
||||
"prettier --write"
|
||||
],
|
||||
"packages/ui/**/*.{ts,tsx}": [
|
||||
"eslint --flag unstable_native_nodejs_ts_config --fix --no-warn-ignored --config packages/ui/eslint.config.ts",
|
||||
"prettier --write"
|
||||
],
|
||||
"tools/tailwind/**/*.{ts,tsx}": [
|
||||
"eslint --flag unstable_native_nodejs_ts_config --fix --no-warn-ignored --config tools/tailwind/eslint.config.ts",
|
||||
"prettier --write"
|
||||
],
|
||||
"tools/{eslint,prettier,typescript,vitest}/**/*.{ts,tsx}": [
|
||||
"prettier --write"
|
||||
],
|
||||
"**/*.{js,mjs,cjs,md,json,yaml,yml,css}": [
|
||||
"prettier --write"
|
||||
]
|
||||
},
|
||||
"trustedDependencies": [
|
||||
"@sentry/cli",
|
||||
"core-js-pure",
|
||||
|
||||
Reference in New Issue
Block a user