From 3c63a99c6b50b1e69f8e5ca85b7c6c56de2daceb Mon Sep 17 00:00:00 2001 From: Benjamin Langlotz Date: Tue, 13 Feb 2024 11:38:50 +0100 Subject: [PATCH] fix(KUI-1219): remove postinstall hook for mini-css-extract-plugin --- package-lock.json | 12 ++++++------ package.json | 4 +--- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/package-lock.json b/package-lock.json index f015bb7f..c08d2bea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,6 @@ "": { "name": "kurs-pm-web", "version": "1.0.0", - "hasInstallScript": true, "license": "MIT", "dependencies": { "@kth/api-call": "^4.0.40", @@ -65,7 +64,7 @@ "jest": "^29.7.0", "jest-environment-jsdom": "29.7.0", "lint-staged": "^15.1.0", - "mini-css-extract-plugin": "^2.7.6", + "mini-css-extract-plugin": "^2.8.0", "nodemon": "^3.0.1", "null-loader": "^4.0.1", "path": "^0.12.7", @@ -12468,12 +12467,13 @@ } }, "node_modules/mini-css-extract-plugin": { - "version": "2.7.6", - "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.7.6.tgz", - "integrity": "sha512-Qk7HcgaPkGG6eD77mLvZS1nmxlao3j+9PkrT9Uc7HAE1id3F41+DdBRYRYkbyfNRGzm8/YWtzhw7nVPmwhqTQw==", + "version": "2.8.0", + "resolved": "https://registry.npmjs.org/mini-css-extract-plugin/-/mini-css-extract-plugin-2.8.0.tgz", + "integrity": "sha512-CxmUYPFcTgET1zImteG/LZOy/4T5rTojesQXkSNBiquhydn78tfbCE9sjIjnJ/UcjNjOC1bphTCCW5rrS7cXAg==", "dev": true, "dependencies": { - "schema-utils": "^4.0.0" + "schema-utils": "^4.0.0", + "tapable": "^2.2.1" }, "engines": { "node": ">= 12.13.0" diff --git a/package.json b/package.json index 803be923..9721b59d 100644 --- a/package.json +++ b/package.json @@ -17,9 +17,7 @@ "docker:build": "bash ./docker-build-image.sh dev", "docker:run": "bash ./docker-run-image.sh dev", "docker:start-dev": "npm run docker:build && npm run docker:run", - "mini-css-extract-plugin": "yarn add mini-css-extract-plugin --no-lockfile --ignore-scripts", "prepare": "husky install", - "postinstall": "npm run mini-css-extract-plugin && bash -c 'rm -rf ./dist; rm -rf ./node_modules/.cache/webpack'", "start": "bash -c 'cat /KTH_NODEJS; NODE_ENV=production node app.js'", "start-dev": "bash -c 'NODE_ENV=development concurrently --kill-others -n build,app \"npm run build-dev\" \"nodemon app.js\"'", "test": "NODE_ENV=test jest --testPathIgnorePatterns=test/e2e", @@ -86,7 +84,7 @@ "jest": "^29.7.0", "jest-environment-jsdom": "29.7.0", "lint-staged": "^15.1.0", - "mini-css-extract-plugin": "^2.7.6", + "mini-css-extract-plugin": "^2.8.0", "nodemon": "^3.0.1", "null-loader": "^4.0.1", "path": "^0.12.7",