mirror of
https://github.com/umami-software/umami.git
synced 2026-02-19 03:55:37 +01:00
feat: add user management scripts and update dependencies
- Added `change-password.js` script for changing user passwords with bcrypt hashing. - Added `create-admin.js` script to create an admin user if it doesn't already exist. - Added `list-users.js` script to list all users in the database. - Updated `package.json` to include `bcrypt` for password hashing and added testing libraries. - Updated `ts-jest` version and ensured `prompts` is using a caret version for flexibility.
This commit is contained in:
parent
b04077db02
commit
46da6f3770
5 changed files with 32788 additions and 2 deletions
|
|
@ -77,6 +77,7 @@
|
|||
"@react-spring/web": "^9.7.3",
|
||||
"@tanstack/react-query": "^5.28.6",
|
||||
"@umami/redis-client": "^0.26.0",
|
||||
"bcrypt": "^6.0.0",
|
||||
"bcryptjs": "^2.4.3",
|
||||
"chalk": "^4.1.1",
|
||||
"chart.js": "^4.4.9",
|
||||
|
|
@ -135,6 +136,8 @@
|
|||
"@rollup/plugin-terser": "^0.4.4",
|
||||
"@svgr/rollup": "^8.1.0",
|
||||
"@svgr/webpack": "^8.1.0",
|
||||
"@testing-library/jest-dom": "^6.6.3",
|
||||
"@testing-library/react": "^16.3.0",
|
||||
"@types/jest": "^29.5.14",
|
||||
"@types/node": "^22.13.4",
|
||||
"@types/react": "^19.0.8",
|
||||
|
|
@ -157,13 +160,14 @@
|
|||
"extract-react-intl-messages": "^4.1.1",
|
||||
"husky": "^8.0.3",
|
||||
"jest": "^29.7.0",
|
||||
"jest-environment-jsdom": "^29.7.0",
|
||||
"lint-staged": "^14.0.1",
|
||||
"postcss": "^8.4.31",
|
||||
"postcss-flexbugs-fixes": "^5.0.2",
|
||||
"postcss-import": "^15.1.0",
|
||||
"postcss-preset-env": "7.8.3",
|
||||
"prettier": "^2.6.2",
|
||||
"prompts": "2.4.2",
|
||||
"prompts": "^2.4.2",
|
||||
"rollup": "^3.28.0",
|
||||
"rollup-plugin-copy": "^3.4.0",
|
||||
"rollup-plugin-delete": "^2.0.0",
|
||||
|
|
@ -176,7 +180,7 @@
|
|||
"stylelint-config-prettier": "^9.0.3",
|
||||
"stylelint-config-recommended": "^14.0.0",
|
||||
"tar": "^6.1.2",
|
||||
"ts-jest": "^29.1.2",
|
||||
"ts-jest": "^29.3.4",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^5.5.3"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue