Opportunities from Find a Tender have a link icon before their title. Clicking it fetches the opportunity with its releases (the list leaves them out) and opens its newest release's notice, www.find-tender.service.gov.uk/notice/<release_id>, in a new tab. The tab is opened on the click and pointed at the notice when the request returns, so it isn't blocked as a popup; if the request fails, or there are no releases, it's closed and a toast says why. Opportunities from other sources have no link for now, but keep its space so the titles line up. The icon is lucide-solid's, added for it at 1.52.0.
45 lines
1.3 KiB
JSON
45 lines
1.3 KiB
JSON
{
|
|
"name": "job-search-frontend",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"type": "module",
|
|
"scripts": {
|
|
"dev": "vite",
|
|
"build": "tsc -b && vite build",
|
|
"preview": "vite preview",
|
|
"typecheck": "tsc -b",
|
|
"lint": "eslint .",
|
|
"format": "prettier --write .",
|
|
"format:check": "prettier --check .",
|
|
"test": "vitest run",
|
|
"test:watch": "vitest",
|
|
"check": "npm run typecheck && npm run lint && npm run format:check && npm run test",
|
|
"generate:api": "node scripts/generateApiTypes.ts",
|
|
"sync": "node scripts/syncDist.ts"
|
|
},
|
|
"dependencies": {
|
|
"lucide-solid": "^1.52.0",
|
|
"solid-js": "^1.9.3"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint-community/eslint-plugin-eslint-comments": "4.8.1",
|
|
"@eslint/js": "10.0.1",
|
|
"@tailwindcss/vite": "^4.0.0",
|
|
"@types/node": "^20.14.0",
|
|
"eslint": "10.12.0",
|
|
"eslint-config-prettier": "10.1.8",
|
|
"eslint-plugin-simple-import-sort": "14.0.0",
|
|
"eslint-plugin-solid": "0.18.0",
|
|
"globals": "17.13.0",
|
|
"openapi-typescript": "7.13.0",
|
|
"prettier": "3.9.9",
|
|
"prettier-plugin-tailwindcss": "0.8.1",
|
|
"tailwindcss": "^4.0.0",
|
|
"typescript": "^5.5.4",
|
|
"typescript-eslint": "8.71.0",
|
|
"vite": "^6.0.0",
|
|
"vite-plugin-solid": "^2.11.0",
|
|
"vitest": "4.1.11"
|
|
}
|
|
}
|