Another boring PR for keeping dependencies up-to-date via `npm update` and `npm install @package/name@latest`. No more `--lockfile-version 2` because [OBS already supports version 3](2153192f0b/node_modules.py (L342-L343)) as we realized at https://github.com/openSUSE/agama/pull/843 Please, note that this time we manage to get rid of some dependencies which were there because cockpit-starter-kit (see https://github.com/openSUSE/agama/pull/127) but actually not needed anymore. In fact, they are no longer dependencies of starter-kit. Namely, * [core-js](https://github.com/zloirock/core-js) - As a weird side effect, few tests were _fixed_ to wait a bit for the expected content. Some black magic around _Promise.resolve_, I guess. Honestly, I didn't dig too further on it since waiting for the content is somehow _expected_. * [stdio](https://github.com/sgmonda/stdio) * [sizzle](https://www.npmjs.com/package/sizzle) Apart from these, [regenerator-runtime](https://github.com/facebook/regenerator) was dropped too because > It was added more than a year ago in the context of "Adapt React > components to the Starter Kit". But probably is no longer needed since > async functions, ES6 generators, and `yield` JavaScript operator have > broad support among major browsers. --- * [web] Update dependencies via `npm update` * [web] Update icons packages to their latest version * [web] Update Patternfly libraries to latest version * [web] Drop core-js dependency It was added because of cockpit-starter-kit[1] but they already dropped it[2] because > starter-kit does not use it directly, and none of our derived projects > have it. Thus, in principle it does not make sense to keep it as Agama dependency. As weird side-effect, a few test were fixed to "waitFor" the expeced content. [1] https://github.com/openSUSE/agama/pull/127/commits/55c75c3379cb3f6ce9305e80918483055a739d71 [2]67c1c065e9* [web] Update fast-sort to its latest version * [web] Update ippadr.js to its latest version * [web] Drop regenerator-runtime dependency It[1] was added more than a year ago[2] in the context of "Adapt React components to the Starter Kit". But probably is no longer needed since async functions, ES6 generators, and `yield` JavaScript operator have broad support among major browsers. [1] https://github.com/facebook/regenerator [2] https://github.com/openSUSE/agama/pull/127/commits/55c75c3379cb3f6ce9305e80918483055a739d71 * [web] Update sprintf-js to the latest version * [web] Update typedoc and related dependencies * [web] Update webpack and related dependencies * [web] Update stylint and related dependencies * [web] Update @babel and related dependencies * [web] Update cspell dev dependencies * [web] More babel dev dependencies updates * [web] Update eslint and eslint-config dependencies * [web] Update eslint-plugin dependencies * [web] Update jest dependencies * [web] Update jsdoc dependency * [web] Update sass dependencies * [web] Update terser-webpack-plugin * [web] Drop stdio dev dependency It was there because cockpit-starter-kit, which dropped it a year ago[1][2] [1] https://github.com/cockpit-project/starter-kit/pull/590 [2] https://github.com/cockpit-project/starter-kit/pull/590/commits/6e1fd84c982c0456467f36678e2c754e841992b2 * [web] Drop sizzle dev dependency Which came from cockpit-starter-kit. It was dropped there few months ago, in Jun 2023[1] [1] https://github.com/cockpit-project/starter-kit/pull/662/commits/1e4659587508dafb16aa47b9ada42db52a4bec5b * [web] Update qunit dev dependency to latest version * [web] Update mini-css-extract-plugin * [web] Update ajv dev dependency * [web] Update @testing-library dependencies * [web] Update @typescript-eslint dependencies * [web] Update @types/jest * [web] Adapt FileViewer test For waiting for the expected content * [web] Fix NetworkPage test Remove a leftover it.only and make examples wait a bit for the expected content. * [web] Little improvement in Sidebar test * [web] Update ProductPage test For waiting a bit to find the expected content
114 lines
3.8 KiB
JSON
114 lines
3.8 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",
|
|
"cspell": "cspell --no-progress --show-suggestions --exclude '*.svg' src",
|
|
"eslint": "eslint --ext .js --ext .jsx src/",
|
|
"eslint:fix": "eslint --fix --ext .js --ext .jsx src/",
|
|
"stylelint": "stylelint 'src/**/*.{css,scss}'",
|
|
"stylelint:fix": "stylelint --fix 'src/**/*.{css,scss}'",
|
|
"check-types": "tsc --skipLibCheck",
|
|
"jsdoc": "npx typedoc --skipErrorChecking --plugin typedoc-plugin-missing-exports src/ src/client/ && echo Tip: && echo xdg-open jsdoc.out/index.html",
|
|
"test": "jest"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
},
|
|
"devDependencies": {
|
|
"@babel/core": "^7.23.3",
|
|
"@babel/eslint-parser": "^7.23.3",
|
|
"@babel/preset-env": "^7.23.3",
|
|
"@babel/preset-react": "^7.23.3",
|
|
"@cspell/dict-css": "^4.0.12",
|
|
"@cspell/dict-en-common-misspellings": "^1.0.2",
|
|
"@cspell/dict-fullstack": "^3.1.5",
|
|
"@cspell/dict-html": "^4.0.5",
|
|
"@pmmmwh/react-refresh-webpack-plugin": "^0.5.10",
|
|
"@svgr/plugin-jsx": "^8.1.0",
|
|
"@svgr/webpack": "^8.1.0",
|
|
"@testing-library/jest-dom": "^6.1.4",
|
|
"@testing-library/react": "^14.1.0",
|
|
"@testing-library/user-event": "^14.5.1",
|
|
"@types/jest": "^29.5.8",
|
|
"@typescript-eslint/eslint-plugin": "^6.11.0",
|
|
"@typescript-eslint/parser": "^6.11.0",
|
|
"ajv": "^8.12.0",
|
|
"babel-jest": "^29.7.0",
|
|
"babel-loader": "^9.1.3",
|
|
"compression-webpack-plugin": "^10.0.0",
|
|
"copy-webpack-plugin": "^11.0.0",
|
|
"cspell": "^8.0.0",
|
|
"css-loader": "^6.5.0",
|
|
"css-minimizer-webpack-plugin": "^5.0.0",
|
|
"eslint": "^8.53.0",
|
|
"eslint-config-standard": "^17.1.0",
|
|
"eslint-config-standard-jsx": "^11.0.0",
|
|
"eslint-config-standard-react": "^13.0.0",
|
|
"eslint-plugin-agama-i18n": "^0.1.0",
|
|
"eslint-plugin-flowtype": "^8.0.3",
|
|
"eslint-plugin-i18next": "^6.0.3",
|
|
"eslint-plugin-import": "^2.29.0",
|
|
"eslint-plugin-n": "^16.3.1",
|
|
"eslint-plugin-node": "^11.1.0",
|
|
"eslint-plugin-promise": "^6.1.1",
|
|
"eslint-plugin-react": "^7.33.2",
|
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
"eslint-webpack-plugin": "^4.0.1",
|
|
"html-minimizer-webpack-plugin": "^4.4.0",
|
|
"htmlparser": "^1.7.7",
|
|
"identity-obj-proxy": "^3.0.0",
|
|
"jed": "^1.1.1",
|
|
"jest": "^29.7.0",
|
|
"jest-environment-jsdom": "^29.7.0",
|
|
"jest-transform-stub": "^2.0.0",
|
|
"jsdoc": "^4.0.2",
|
|
"mini-css-extract-plugin": "^2.7.6",
|
|
"po2json": "^1.0.0-alpha",
|
|
"qunit": "^2.20.0",
|
|
"react-refresh": "^0.14.0",
|
|
"sass": "^1.69.5",
|
|
"sass-loader": "^13.3.2",
|
|
"string-replace-loader": "^3.0.0",
|
|
"stylelint": "^15.11.0",
|
|
"stylelint-config-standard": "^34.0.0",
|
|
"stylelint-config-standard-scss": "^11.1.0",
|
|
"stylelint-webpack-plugin": "^4.1.1",
|
|
"terser-webpack-plugin": "^5.3.9",
|
|
"ts-jest": "^29.0.3",
|
|
"tsconfig-paths-webpack-plugin": "^4.0.0",
|
|
"typedoc": "^0.25.3",
|
|
"typedoc-plugin-missing-exports": "^2.1.0",
|
|
"typescript": "^5.2.2",
|
|
"webpack": "^5.89.0",
|
|
"webpack-cli": "^5.1.4",
|
|
"webpack-dev-server": "^4.15.1"
|
|
},
|
|
"dependencies": {
|
|
"@icons-pack/react-simple-icons": "^9.1.0",
|
|
"@material-symbols/svg-400": "^0.14.0",
|
|
"@patternfly/patternfly": "^5.1.0",
|
|
"@patternfly/react-core": "^5.1.1",
|
|
"@patternfly/react-table": "^5.1.1",
|
|
"fast-sort": "^3.4.0",
|
|
"ipaddr.js": "^2.1.0",
|
|
"react": "^18.2.0",
|
|
"react-dom": "^18.2.0",
|
|
"react-router-dom": "^6.3.0",
|
|
"react-teleporter": "^3.1.0",
|
|
"sprintf-js": "^1.1.3",
|
|
"xbytes": "^1.8.0"
|
|
},
|
|
"overrides": {
|
|
"jsdom": "^22.1.0"
|
|
}
|
|
}
|