Skip to content

Commit

Permalink
Merge pull request #158 from gemini-hlsw/sc-3283-implement-target-swap
Browse files Browse the repository at this point in the history
Implement target swap/restore
  • Loading branch information
hugo-vrijswijk authored Oct 3, 2024
2 parents 8e130cc + 847930d commit 15bc77f
Show file tree
Hide file tree
Showing 56 changed files with 1,332 additions and 312 deletions.
1 change: 1 addition & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ jobs:
node-version: 22.x
cache: 'pnpm'
- run: pnpm install --frozen-lockfile
- run: pnpx playwright install chromium --with-deps
- run: pnpm build
- run: pnpm lint
- run: pnpm test
Expand Down
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ dist
node_modules
coverage/
reports/
.metals
.bloop
target
8 changes: 0 additions & 8 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,6 @@ export default tseslint.config(
},
rules: {
// Custom rules here
'@typescript-eslint/no-explicit-any': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',

// Most of these rules _should_ be turned on, but they are disabled for now
'@typescript-eslint/unbound-method': 'off',
'@typescript-eslint/no-floating-promises': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
},
settings: {
react: { version: 'detect' },
Expand Down
11 changes: 6 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"build": "tsc && vite build",
"preview": "vite preview",
"deploy": "./deploy.sh",
"test": "vitest --ui",
"test": "vitest",
"coverage": "vitest run --coverage",
"lint": "npm run lint:prettier && npm run lint:eslint",
"lint": "pnpm lint:prettier && pnpm lint:eslint",
"lint:prettier": "prettier --check .",
"lint:eslint": "eslint .",
"codegen": "graphql-codegen --config tasks/codegen.ts",
Expand Down Expand Up @@ -49,28 +49,29 @@
"@swc-jotai/debug-label": "0.1.1",
"@swc-jotai/react-refresh": "0.2.0",
"@swc/core": "1.6.13",
"@testing-library/react": "16.0.1",
"@types/eslint__js": "8.42.3",
"@types/react": "18.3.10",
"@types/react-dom": "18.3.0",
"@types/uuid": "10.0.0",
"@vitejs/plugin-react-swc": "3.7.0",
"@vitest/browser": "2.1.1",
"@vitest/coverage-v8": "2.1.1",
"@vitest/ui": "2.1.1",
"eslint": "9.11.1",
"eslint-plugin-react": "7.37.0",
"globals": "15.9.0",
"happy-dom": "15.7.4",
"husky": "9.1.6",
"lint-staged": "15.2.10",
"lucuma-schemas": "0.100.0",
"playwright": "1.47.2",
"prettier": "3.3.3",
"sass": "1.79.4",
"typescript": "5.6.2",
"typescript-eslint": "8.7.0",
"vite": "5.4.8",
"vite-plugin-mkcert": "1.17.6",
"vitest": "2.1.1"
"vitest": "2.1.1",
"vitest-browser-react": "0.0.1"
},
"lint-staged": {
"*.{js,mjs,ts,tsx,jsx,css,md,json,yml}": "prettier --write"
Expand Down
Loading

0 comments on commit 15bc77f

Please sign in to comment.