Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand All @@ -34,7 +34,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: '22'

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand All @@ -46,14 +46,18 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
load: true
load: ${{ github.ref_name == github.event.repository.default_branch }}
push: false
tags: local/app:latest
cache-from: type=gha
cache-to: type=gha,mode=max

- name: Save image
if: github.ref_name == github.event.repository.default_branch
run: docker save local/app:latest -o image.tar

- name: Upload image
if: github.ref_name == github.event.repository.default_branch
uses: actions/upload-artifact@v4
with:
name: docker-image
Expand Down
50 changes: 25 additions & 25 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,38 +15,38 @@
"test:watch": "vitest"
},
"dependencies": {
"@hey-api/openapi-ts": "^0.80.10",
"@hey-api/openapi-ts": "^0.99.0",
"@monaco-editor/react": "^4.7.0",
"@tailwindcss/typography": "^0.5.16",
"@tailwindcss/vite": "^4.0.9",
"axios": "^1.11.0",
"@tailwindcss/typography": "^0.5.20",
"@tailwindcss/vite": "^4.3.3",
"axios": "^1.19.0",
"classnames": "^2.5.1",
"flowbite-react": "^0.12.7",
"monaco-editor": "^0.55.1",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-icons": "^5.5.0",
"flowbite-react": "^0.12.17",
"monaco-editor": "^0.56.0",
"react": "^19.2.8",
"react-dom": "^19.2.8",
"react-icons": "^5.7.0",
"react-markdown": "^10.1.0",
"react-router-dom": "^7.2.0",
"react-router-dom": "^7.18.2",
"serve-handler": "^6.1.6",
"tailwindcss": "^4.0.9",
"tailwindcss": "^4.3.3",
"uplot": "^1.6.32"
},
"devDependencies": {
"@eslint/js": "^9.34.0",
"@types/react": "^19.0.10",
"@types/react-dom": "^19.0.4",
"@vitejs/plugin-react-swc": "^3.8.0",
"eslint": "^9.34.0",
"@eslint/js": "^10.0.1",
"@types/react": "^19.2.18",
"@types/react-dom": "^19.2.4",
"@vitejs/plugin-react-swc": "^4.3.3",
"eslint": "^10.8.1",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-react-hooks": "^5.1.0",
"eslint-plugin-react-refresh": "^0.4.19",
"globals": "^15.15.0",
"jiti": "^2.5.1",
"prettier": "3.6.2",
"typescript": "^5.9.2",
"typescript-eslint": "^8.41.0",
"vite": "^6.2.0",
"vitest": "3.2.4"
"eslint-plugin-react-hooks": "^7.1.1",
"eslint-plugin-react-refresh": "^0.5.3",
"globals": "^17.9.0",
"jiti": "^2.7.0",
"prettier": "3.9.6",
"typescript": "^6.0.3",
"typescript-eslint": "^8.66.0",
"vite": "^8.2.1",
"vitest": "^4.1.10"
}
}
20 changes: 10 additions & 10 deletions src/lib/astronomy/parseCoordinateQuery.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,11 @@ function tryParseEquatorialCopyFormats(

const complete = Boolean(
partial[2] &&
partial[3] &&
partial[4] &&
partial[5] &&
partial[6] &&
partial[7],
partial[3] &&
partial[4] &&
partial[5] &&
partial[6] &&
partial[7],
);

return inspectSexagesimalHms(
Expand Down Expand Up @@ -514,11 +514,11 @@ function tryParseEquatorialCopyFormats(
const deg = partial[5] && partial[5].length > 0 ? partial[5] : undefined;
const complete = Boolean(
minutes &&
seconds &&
partial[4] &&
deg &&
partial[6]?.length === 2 &&
partial[7],
seconds &&
partial[4] &&
deg &&
partial[6]?.length === 2 &&
partial[7],
);

return inspectSexagesimalHms(
Expand Down
Loading
Loading