build(docker): improve cache on web-builder stage (#1034)

* upgrade pnpm

* add postcss-import npm dependency

* fix postcss.config.js lint

* improve cache for Docker web-builder stage
This commit is contained in:
Fabricio Silva 2023-08-28 22:16:38 +01:00 committed by GitHub
parent f234caec08
commit 0d7cbdfe50
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 16 deletions

View file

@ -3,7 +3,7 @@
"version": "0.2.0",
"private": true,
"homepage": ".",
"packageManager": "pnpm@8.6.2",
"packageManager": "pnpm@8.6.11",
"scripts": {
"start": "vite",
"build": "tsc && vite build",
@ -55,6 +55,7 @@
"formik": "^2.4.3",
"http-proxy-middleware": "^2.0.6",
"postcss": "^8.4.27",
"postcss-import": "^15.1.0",
"react": "^18.2.0",
"react-debounce-input": "^3.3.0",
"react-dom": "^18.2.0",

3
web/pnpm-lock.yaml generated
View file

@ -86,6 +86,9 @@ dependencies:
postcss:
specifier: ^8.4.27
version: 8.4.27
postcss-import:
specifier: ^15.1.0
version: 15.1.0(postcss@8.4.27)
react:
specifier: ^18.2.0
version: 18.2.0

View file

@ -1,8 +1,8 @@
module.exports = {
plugins: {
"postcss-import": {},
"tailwindcss/nesting": {},
tailwindcss: {},
autoprefixer: {},
}
}
module.exports = {
plugins: {
"postcss-import": {},
"tailwindcss/nesting": {},
tailwindcss: {},
autoprefixer: {},
},
};