agama/web/package.json
David Díaz González 17c988bfb5
fix(web): temporarily disable typing for drives in some tests
Typing drives in DriveEditor became problematic due to excessive
mocking. Partial mocking was attempted without success, possibly due to
how the buildThing methods work in the storage layer (see previous
commits). As a result, typing for drives has been removed in some tests,
and a few @ts-expect-error directives were added.

The current test setup patterns need a more robust design to support
typing without excessive mocking, especially in the storage area where
proper mocking is difficult without defeating the purpose of the _model_
and _buildThing_ methods. However, tackling this properly would require
significant effort and is deferred to avoid blocking ongoing work.
2025-07-11 11:48:01 +01:00

118 lines
3.9 KiB
JSON

{
"name": "agama",
"description": "A Service-based Linux Installer",
"repository": {
"type": "git",
"url": "https://github.com/openSUSE/Agama.git",
"directory": "web"
},
"author": "",
"license": "LGPL-2.1",
"scripts": {
"server": "webpack server --progress",
"watch": "webpack --watch --progress",
"build": "webpack",
"eslint": "eslint src/",
"eslint:fix": "eslint --fix src/",
"stylelint": "stylelint 'src/**/*.{css,scss}'",
"stylelint:fix": "stylelint --fix 'src/**/*.{css,scss}'",
"check-types": "tsc --skipLibCheck",
"typedoc": "npm run typedoc:client && npm run typedoc:components",
"typedoc:client": "npx typedoc --entryPoints src/client --out typedoc.out/client",
"typedoc:components": "npx typedoc --entryPoints src/components --out typedoc.out/components",
"test": "jest"
},
"engines": {
"node": ">=18"
},
"devDependencies": {
"@agama-project/eslint-plugin-agama-i18n": "^1.0.0",
"@babel/core": "^7.27.4",
"@babel/eslint-parser": "^7.27.5",
"@babel/preset-env": "^7.27.2",
"@babel/preset-react": "^7.27.1",
"@eslint/js": "^9.28.0",
"@pmmmwh/react-refresh-webpack-plugin": "^0.6.0",
"@svgr/plugin-jsx": "^8.1.0",
"@svgr/webpack": "^8.1.0",
"@testing-library/dom": "^10.4.0",
"@testing-library/jest-dom": "^6.6.3",
"@testing-library/react": "^16.3.0",
"@testing-library/user-event": "^14.6.1",
"@types/jest": "^29.5.14",
"@types/react": "^18.3.8",
"@types/react-dom": "^18.3.0",
"@types/webpack-env": "^1.18.8",
"@typescript-eslint/eslint-plugin": "^8.33.1",
"@typescript-eslint/parser": "^8.33.1",
"ajv": "^8.17.1",
"babel-jest": "^29.7.0",
"babel-loader": "^10.0.0",
"compression-webpack-plugin": "^11.1.0",
"copy-webpack-plugin": "^13.0.0",
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.2",
"eslint": "^9.28.0",
"eslint-config-prettier": "^10.1.5",
"eslint-plugin-i18next": "^6.1.1",
"eslint-plugin-import-x": "^4.15.1",
"eslint-plugin-n": "^17.19.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.4.1",
"eslint-plugin-promise": "^7.2.1",
"eslint-plugin-react": "^7.37.5",
"eslint-plugin-react-hooks": "^5.2.0",
"eslint-webpack-plugin": "^5.0.1",
"globals": "^16.2.0",
"html-minimizer-webpack-plugin": "^5.0.2",
"identity-obj-proxy": "^3.0.0",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"jest-transform-stub": "^2.0.0",
"jsdoc": "^4.0.4",
"mini-css-extract-plugin": "^2.9.2",
"neostandard": "^0.12.1",
"prettier": "^3.5.3",
"react-refresh": "^0.17.0",
"react-refresh-typescript": "^2.0.10",
"sass": "^1.89.1",
"sass-loader": "^16.0.5",
"stylelint": "^16.20.0",
"stylelint-config-standard": "^38.0.0",
"stylelint-config-standard-scss": "^15.0.1",
"stylelint-prettier": "^5.0.3",
"stylelint-webpack-plugin": "^5.0.1",
"terser-webpack-plugin": "^5.3.14",
"ts-jest": "^29.3.4",
"ts-loader": "^9.5.2",
"tsconfig-paths-webpack-plugin": "^4.2.0",
"typedoc": "^0.28.5",
"typedoc-plugin-merge-modules": "^7.0.0",
"typedoc-plugin-missing-exports": "^4.0.0",
"typescript": "^5.8.3",
"webpack": "^5.99.9",
"webpack-cli": "^6.0.1",
"webpack-dev-server": "^5.2.2"
},
"dependencies": {
"@date-fns/tz": "^1.2.0",
"@material-symbols/svg-400": "^0.31.5",
"@material-symbols/svg-700": "^0.31.5",
"@patternfly/patternfly": "^6.2.3",
"@patternfly/react-core": "^6.2.2",
"@patternfly/react-table": "^6.2.2",
"@tanstack/react-query": "^5.80.3",
"axios": "^1.9.0",
"fast-sort": "^3.4.1",
"ipaddr.js": "^2.2.0",
"radashi": "^12.5.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.3.0",
"sprintf-js": "^1.1.3",
"xbytes": "^1.9.1"
},
"overrides": {
"jsdom": "^22.1.0"
}
}