Merge pull request #14 from IT4Change/package-updates

feat(frontend): package updates
This commit is contained in:
Ulf Gebhardt 2023-11-23 21:48:53 +01:00 committed by GitHub
commit 5ab01326dc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 409 additions and 666 deletions

View File

@ -58,6 +58,8 @@ The following commands are available:
| `npm run docs:build` | Build static documentation | | `npm run docs:build` | Build static documentation |
| **Chromatic** | | | **Chromatic** | |
| `npm run chromatic` | Run Chromatic. See Chromatic section for details | | `npm run chromatic` | Run Chromatic. See Chromatic section for details |
| **Maintenance** | |
| `npm run update` | Check for updates |
### Docker ### Docker
@ -85,6 +87,17 @@ or you have to append it via parameter:
npm run chromatic -- --project-token=... npm run chromatic -- --project-token=...
``` ```
### Update
You can get a list of packes to update by running `npm run update`.
Appending `-u ` will also update the packages in the `package.json`. You have to run `npm install` again after.
```bash
npm run update -- -u
npm install
```
## Endpoints ## Endpoints
The following endpoints are provided given the right command is executed or all three if `docker compose` is used: The following endpoints are provided given the right command is executed or all three if `docker compose` is used:
@ -97,12 +110,13 @@ The following endpoints are provided given the right command is executed or all
## TODO ## TODO
- [ ] translations & language switch
- [ ] tests - [ ] tests
- [ ] stories - [ ] stories
## Known Problems ## Known Problems
Currently none - [ ] Image Rerender flicker
## License ## License

1022
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -54,17 +54,18 @@
"test": "npm run test:lint && npm run test:unit", "test": "npm run test:lint && npm run test:unit",
"docs:dev": "vuepress dev .", "docs:dev": "vuepress dev .",
"docs:build": "vuepress build .", "docs:build": "vuepress build .",
"chromatic": "npx chromatic --build-script-name storybook:build" "chromatic": "npx chromatic --build-script-name storybook:build",
"update": "npx npm-check-update"
}, },
"dependencies": { "dependencies": {
"@intlify/unplugin-vue-i18n": "^1.5.0", "@intlify/unplugin-vue-i18n": "^1.5.0",
"@mdi/font": "^7.3.67", "@mdi/font": "^7.3.67",
"@types/compression": "^1.7.2", "@types/compression": "^1.7.5",
"@types/express": "^4.17.17", "@types/express": "^4.17.21",
"@types/node": "^20.4.10", "@types/node": "^20.9.4",
"@vitejs/plugin-vue": "^4.2.3", "@vitejs/plugin-vue": "^4.5.0",
"@vue/compiler-sfc": "^3.3.4", "@vue/compiler-sfc": "^3.3.8",
"@vue/server-renderer": "^3.3.4", "@vue/server-renderer": "^3.3.8",
"compression": "^1.7.4", "compression": "^1.7.4",
"cross-env": "^7.0.3", "cross-env": "^7.0.3",
"express": "^4.18.2", "express": "^4.18.2",
@ -74,12 +75,12 @@
"sass-loader": "^13.3.2", "sass-loader": "^13.3.2",
"sirv": "^2.0.3", "sirv": "^2.0.3",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "^5.1.6", "typescript": "^5.3.2",
"vike": "^0.4.145", "vike": "^0.4.147",
"vite": "^4.4.9", "vite": "^5.0.2",
"vue": "^3.3.4", "vue": "^3.3.8",
"vue-i18n": "^9.7.0", "vue-i18n": "^9.7.1",
"vuetify": "^3.4.0" "vuetify": "^3.4.3"
}, },
"devDependencies": { "devDependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "^4.1.0", "@eslint-community/eslint-plugin-eslint-comments": "^4.1.0",
@ -87,17 +88,17 @@
"@storybook/addon-interactions": "^7.5.3", "@storybook/addon-interactions": "^7.5.3",
"@storybook/addon-links": "^7.5.3", "@storybook/addon-links": "^7.5.3",
"@storybook/blocks": "^7.5.3", "@storybook/blocks": "^7.5.3",
"@storybook/test-runner": "^0.15.1", "@storybook/test-runner": "^0.15.2",
"@storybook/testing-library": "^0.2.2", "@storybook/testing-library": "^0.2.2",
"@storybook/vue3": "^7.5.3", "@storybook/vue3": "^7.5.3",
"@storybook/vue3-vite": "^7.5.3", "@storybook/vue3-vite": "^7.5.3",
"@typescript-eslint/eslint-plugin": "^6.11.0", "@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.11.0", "@typescript-eslint/parser": "^6.12.0",
"@vitest/coverage-v8": "^0.34.6", "@vitest/coverage-v8": "^0.34.6",
"@vue/test-utils": "^2.4.2", "@vue/test-utils": "^2.4.2",
"@vuepress/bundler-vite": "^2.0.0-rc.0", "@vuepress/bundler-vite": "^2.0.0-rc.0",
"chromatic": "^9.1.0", "chromatic": "^9.1.0",
"eslint": "^8.53.0", "eslint": "^8.54.0",
"eslint-config-prettier": "^9.0.0", "eslint-config-prettier": "^9.0.0",
"eslint-config-standard": "^17.1.0", "eslint-config-standard": "^17.1.0",
"eslint-import-resolver-typescript": "^3.6.1", "eslint-import-resolver-typescript": "^3.6.1",
@ -107,7 +108,7 @@
"eslint-plugin-promise": "^6.1.1", "eslint-plugin-promise": "^6.1.1",
"eslint-plugin-security": "^1.7.1", "eslint-plugin-security": "^1.7.1",
"eslint-plugin-storybook": "^0.6.15", "eslint-plugin-storybook": "^0.6.15",
"eslint-plugin-vitest": "^0.3.9", "eslint-plugin-vitest": "^0.3.10",
"eslint-plugin-vue": "^9.18.1", "eslint-plugin-vue": "^9.18.1",
"eslint-plugin-vuetify": "^2.1.0", "eslint-plugin-vuetify": "^2.1.0",
"eslint-plugin-yml": "^1.10.0", "eslint-plugin-yml": "^1.10.0",