Skip to content

Commit

Permalink
BC-7840 - Scripts in nuxt client not working on Windows (#3357)
Browse files Browse the repository at this point in the history
* set script env using cross-env

* upgrade axios due to vulnerability
  • Loading branch information
uidp authored Aug 15, 2024
1 parent ea87a0e commit cf2021f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 23 deletions.
41 changes: 22 additions & 19 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 10 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"author": "Dataport Bildungscloud",
"private": true,
"scripts": {
"serve": "NODE_ENV=development webpack serve --config config/webpack/webpack.dev.js",
"build": "NODE_ENV=production webpack --config config/webpack/webpack.prod.js",
"test": "npm run test:unit",
"serve": "cross-env NODE_ENV=development webpack serve --config config/webpack/webpack.dev.js",
"build": "cross-env NODE_ENV=production webpack --config config/webpack/webpack.prod.js",
"test": "cross-env NODE_ENV=test npm run test:unit",
"test:unit": "npx jest",
"test:unit:ci": "npm run test:unit -- --coverage --ci --maxWorkers=4",
"lint": "npx eslint 'src/**/*.{ts,js,vue}'",
Expand All @@ -23,7 +23,8 @@
"@vuelidate/validators": "^2.0.4",
"@vueuse/components": "^10.11.0",
"@vueuse/core": "^10.11.0",
"axios": "^1.6.2",
"axios": "^1.7.4",
"cross-env": "^7.0.3",
"dayjs": "^1.11.10",
"kjua": "^0.9.0",
"maska": "^2.1.10",
Expand Down Expand Up @@ -95,6 +96,11 @@
"webpack-merge": "^5.10.0",
"webpack-plugin-vuetify": "^3.0.3"
},
"overrides": {
"@openapitools/openapi-generator-cli": {
"axios": "$axios"
}
},
"engines": {
"node": "18",
"npm": ">=9"
Expand Down

0 comments on commit cf2021f

Please sign in to comment.