60e2149072
Tasks 16-20: Online Board Tests (Search/Filter, Tabs, Flight List, Details Modal, Time/Date) - Task 16: Search & Filter tests (37 tests) - departure/arrival cities, passenger count, cabin class - Task 17: Arrival/Departure Tabs tests (45 tests) - tab switching, flight display, sorting - Task 18: Flight List View tests (50 tests) - display, sorting, filtering, pagination, loading states - Task 19: Flight Details Modal tests (40 tests) - opening/closing, content display, actions - Task 20: Time & Date Filter tests (43 tests) - date selection, time ranges, calendar navigation Tasks 21-25: Flight Details Tests (Flight Info, Passengers, Seats, Services, Fares) - Task 21: Flight Info Display tests (40 tests) - basic info, airports, route visualization, timeline - Task 22: Passenger Info tests (50 tests) - passenger list, details, services, special requirements - Task 23: Seat Selection tests (50 tests) - seat map, selection, categories, recommendations - Task 24: Service Selection tests (25 tests) - baggage, meals, seats, summary - Task 25: Fare Display tests (55 tests) - fare breakdown, comparisons, discounts, refunds All tests follow AAA pattern and use data-testid selectors matching Angular version. Total: 245 tests across 10 feature suites.
86 lines
3.0 KiB
JSON
86 lines
3.0 KiB
JSON
{
|
|
"name": "@tanstack/react-query",
|
|
"version": "5.96.2",
|
|
"description": "Hooks for managing, caching and syncing asynchronous and remote data in React",
|
|
"author": "tannerlinsley",
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/TanStack/query.git",
|
|
"directory": "packages/react-query"
|
|
},
|
|
"homepage": "https://tanstack.com/query",
|
|
"funding": {
|
|
"type": "github",
|
|
"url": "https://github.com/sponsors/tannerlinsley"
|
|
},
|
|
"type": "module",
|
|
"types": "build/legacy/index.d.ts",
|
|
"main": "build/legacy/index.cjs",
|
|
"module": "build/legacy/index.js",
|
|
"react-native": "src/index.ts",
|
|
"exports": {
|
|
".": {
|
|
"@tanstack/custom-condition": "./src/index.ts",
|
|
"import": {
|
|
"types": "./build/modern/index.d.ts",
|
|
"default": "./build/modern/index.js"
|
|
},
|
|
"require": {
|
|
"types": "./build/modern/index.d.cts",
|
|
"default": "./build/modern/index.cjs"
|
|
}
|
|
},
|
|
"./package.json": "./package.json"
|
|
},
|
|
"sideEffects": false,
|
|
"files": [
|
|
"build",
|
|
"src",
|
|
"!src/__tests__",
|
|
"!build/codemods/node_modules",
|
|
"!build/codemods/vite.config.ts",
|
|
"!build/codemods/**/__testfixtures__",
|
|
"!build/codemods/**/__tests__"
|
|
],
|
|
"dependencies": {
|
|
"@tanstack/query-core": "5.96.2"
|
|
},
|
|
"devDependencies": {
|
|
"@testing-library/react": "^16.1.0",
|
|
"@testing-library/react-render-stream": "^2.0.2",
|
|
"@types/react": "^19.2.7",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^4.3.4",
|
|
"cpy-cli": "^5.0.0",
|
|
"npm-run-all2": "^5.0.0",
|
|
"react": "^19.2.1",
|
|
"react-dom": "^19.2.1",
|
|
"react-error-boundary": "^4.1.2",
|
|
"@tanstack/query-persist-client-core": "5.96.2",
|
|
"@tanstack/query-test-utils": "0.0.0"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^18 || ^19"
|
|
},
|
|
"scripts": {
|
|
"clean": "premove ./build ./coverage ./dist-ts",
|
|
"compile": "tsc --build",
|
|
"test:eslint": "eslint --concurrency=auto ./src",
|
|
"test:types": "npm-run-all --serial test:types:*",
|
|
"test:types:ts54": "node ../../node_modules/typescript54/lib/tsc.js --build tsconfig.legacy.json",
|
|
"test:types:ts55": "node ../../node_modules/typescript55/lib/tsc.js --build tsconfig.legacy.json",
|
|
"test:types:ts56": "node ../../node_modules/typescript56/lib/tsc.js --build tsconfig.legacy.json",
|
|
"test:types:ts57": "node ../../node_modules/typescript57/lib/tsc.js --build tsconfig.legacy.json",
|
|
"test:types:ts58": "node ../../node_modules/typescript58/lib/tsc.js --build tsconfig.legacy.json",
|
|
"test:types:ts59": "node ../../node_modules/typescript59/lib/tsc.js --build tsconfig.legacy.json",
|
|
"test:types:tscurrent": "tsc --build",
|
|
"test:types:ts60": "node ../../node_modules/typescript60/lib/tsc.js --build",
|
|
"test:lib": "vitest",
|
|
"test:lib:dev": "pnpm run test:lib --watch",
|
|
"test:build": "publint --strict && attw --pack",
|
|
"build": "pnpm build:tsup && pnpm build:codemods",
|
|
"build:tsup": "tsup --tsconfig tsconfig.prod.json",
|
|
"build:codemods": "cpy ../query-codemods/* ./build/codemods"
|
|
}
|
|
} |