Update dependencies without breaking changes

This commit is contained in:
Resaec 2023-08-09 20:18:18 +02:00
parent bd5e3c9043
commit f5f0ca9fd1
5 changed files with 9811 additions and 6589 deletions

1
.gitignore vendored
View file

@ -6,3 +6,4 @@ package-lock.json
yarn.lock
*swp
*swo
.idea

View file

@ -100,7 +100,7 @@ You should see similar output:
[0] Trusting proxy
[0] Connected to the psql database at localhost
[0] Starting PSAdmin polling for 127.0.0.1:51002
[0] [MODE development] PSFWeb now accepting requests at http://localhost:8080/
[0] [MODE development] PSFPortal now accepting requests at http://localhost:8080/
[1] 「wds」: Project is running at http://dev.psforever.net:8081/
[1] 「wds」: webpack output is served from /
[1] 「wds」: Content not from webpack is served from /home/chord/PSFPortal/public
@ -128,7 +128,7 @@ You should see similar output:
(node:25327) ExperimentalWarning: The ESM module loader is experimental.
WARNING: development server simulated delay active
Connected to the psql database at localhost
[MODE development] PSFWeb now accepting requests at http://localhost:8080/
[MODE development] PSFPortal now accepting requests at http://localhost:8080/
```
Please note that Webpack (dev) will proxy all API requests (/api) to the host `http://localhost:8080` (see the `devServer` key in [webpack.config.cjs](webpack.config.cjs)). This MUST match your backend server's (dev-server) listening port, which is by default 8080.

16317
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -23,42 +23,42 @@
},
"homepage": "https://github.com/psforever/PSFWeb#readme",
"dependencies": {
"bcrypt": "^3.0.7",
"connect-history-api-fallback": "^1.6.0",
"connect-pg-simple": "^6.0.1",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"express-session": "^1.17.0",
"morgan": "^1.9.1",
"page": "^1.11.5",
"pg": "^8.2.0",
"bcrypt": "^5.1.0",
"connect-history-api-fallback": "^2.0.0",
"connect-pg-simple": "^9.0.0",
"dotenv": "^16.3.1",
"express": "^4.18.2",
"express-session": "^1.17.3",
"morgan": "^1.10.0",
"page": "^1.11.6",
"pg": "^8.11.2",
"pg-error-constants": "^1.0.0"
},
"devDependencies": {
"autoprefixer": "^9.7.3",
"axios": "^0.19.0",
"bootstrap": "^4.4.1",
"concurrently": "^5.2.0",
"cross-env": "^5.2.0",
"css-loader": "^2.1.1",
"eslint": "^6.8.0",
"jquery": "^3.4.1",
"mini-css-extract-plugin": "^0.6.0",
"moment": "^2.24.0",
"nodemon": "^2.0.2",
"popper.js": "^1.16.0",
"postcss-loader": "^3.0.0",
"autoprefixer": "^10.4.14",
"axios": "^1.4.0",
"bootstrap": "^4.6.2",
"concurrently": "^8.2.0",
"cross-env": "^7.0.3",
"css-loader": "^3.6.0",
"eslint": "^8.46.0",
"jquery": "^3.7.0",
"mini-css-extract-plugin": "^1.6.2",
"moment": "^2.29.4",
"nodemon": "^3.0.1",
"popper.js": "^1.16.1",
"postcss-loader": "^4.3.0",
"precss": "^4.0.0",
"sass": "^1.24.0",
"sass-loader": "^8.0.0",
"serve": "^11.0.0",
"style-loader": "^0.23.1",
"svelte": "^3.0.0",
"svelte-loader": "2.13.3",
"webpack": "^4.30.0",
"webpack-cli": "^3.3.0",
"webpack-dev-server": "^3.3.1",
"webpack-hot-middleware": "^2.25.0",
"webpack-hot-server-middleware": "^0.6.0"
"sass": "^1.64.2",
"sass-loader": "^10.4.1",
"serve": "^14.2.0",
"style-loader": "^2.0.0",
"svelte": "^3.16.7",
"svelte-loader": "2.13.6",
"webpack": "^4.46.0",
"webpack-cli": "^3.3.12",
"webpack-dev-server": "^3.11.3",
"webpack-hot-middleware": "^2.25.4",
"webpack-hot-server-middleware": "^0.6.1"
}
}

View file

@ -53,11 +53,13 @@ module.exports = {
}, {
loader: 'postcss-loader', // Run post css actions
options: {
plugins: function () { // post css plugins, can be exported to postcss.config.js
return [
require('precss'),
require('autoprefixer')
];
postcssOptions: {
plugins: function () { // post css plugins, can be exported to postcss.config.js
return [
require('precss'),
require('autoprefixer')
];
}
}
}
}, {