]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Update clean-css-cli to v5.2.0 (#33144)
authorXhmikosR <xhmikosr@gmail.com>
Thu, 18 Feb 2021 18:59:05 +0000 (20:59 +0200)
committerGitHub <noreply@github.com>
Thu, 18 Feb 2021 18:59:05 +0000 (20:59 +0200)
* Update clean-css-cli to v5.2.0

* Enable clean-css's batch flag

package-lock.json
package.json

index 02dad9c13482265cc4198c52c1d8c41480d63056..0e83cd88f916435c0b9fda0dfc1fa36e4059a489 100644 (file)
       }
     },
     "clean-css": {
-      "version": "4.2.3",
-      "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-4.2.3.tgz",
-      "integrity": "sha512-VcMWDN54ZN/DS+g58HYL5/n4Zrqe8vHJpGA8KdgUXFU4fuP/aHNw8eld9SyEIyabIMJX/0RaY/fplOo5hYLSFA==",
+      "version": "5.1.0",
+      "resolved": "https://registry.npmjs.org/clean-css/-/clean-css-5.1.0.tgz",
+      "integrity": "sha512-98ALLW4NOhZpvUEoSc2dJO23xE4S4SXc4mLieCVFGo8DNLTFQ3gzi7msW1lqSYJeGZSF5r5+W3KF6cEnkILnFQ==",
       "dev": true,
       "requires": {
         "source-map": "~0.6.0"
       }
     },
     "clean-css-cli": {
-      "version": "4.3.0",
-      "resolved": "https://registry.npmjs.org/clean-css-cli/-/clean-css-cli-4.3.0.tgz",
-      "integrity": "sha512-8GHZfr+mG3zB/Lgqrr27qHBFsPSn0fyEI3f2rIZpxPxUbn2J6A8xyyeBRVTW8duDuXigN0s80vsXiXJOEFIO5Q==",
+      "version": "5.2.0",
+      "resolved": "https://registry.npmjs.org/clean-css-cli/-/clean-css-cli-5.2.0.tgz",
+      "integrity": "sha512-c7TQ+Lq8azYtThXtWlf0m9Iw66wBLQ0LPUJIEKHWTn8HB2tQlbqY6BMoKdgW4NJVZOYquwQrrRszTqH8NjHgTg==",
       "dev": true,
       "requires": {
-        "clean-css": "^4.2.1",
-        "commander": "2.x",
-        "glob": "7.x"
+        "clean-css": "^5.1.0",
+        "commander": "7.x",
+        "glob": "^7.1.6"
       },
       "dependencies": {
         "commander": {
-          "version": "2.20.3",
-          "resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
-          "integrity": "sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==",
+          "version": "7.1.0",
+          "resolved": "https://registry.npmjs.org/commander/-/commander-7.1.0.tgz",
+          "integrity": "sha512-pRxBna3MJe6HKnBGsDyMv8ETbptw3axEdYHoqNh7gu5oDcew8fs0xnivZGm06Ogk8zGAJ9VX+OPEr2GXEQK4dg==",
           "dev": true
         }
       }
index 493e9b2c8ac8fc366ebbb13ac8f6ba280c5b75b9..f03c74bb77b85b96e2ad15f74c062c5beda8cdaf 100644 (file)
@@ -27,7 +27,7 @@
     "css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
     "css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
     "css-lint-vars": "fusv scss/ site/assets/scss/",
-    "css-minify": "cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss -O1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css",
+    "css-minify": "cleancss -O1 --format breakWith=lf --with-rebase --source-map --source-map-inline-sources --output dist/css/ --batch --batch-suffix \".min\" \"dist/css/*.css\" \"!dist/css/*.min.css\"",
     "css-prefix": "npm-run-all --parallel css-prefix-*",
     "css-prefix-main": "postcss --config build/postcss.config.js --replace \"dist/css/*.css\" \"!dist/css/*.min.css\"",
     "css-prefix-examples": "postcss --config build/postcss.config.js --replace \"site/content/**/*.css\"",
@@ -58,7 +58,7 @@
     "docs-serve": "hugo server --port 9001 --disableFastRender",
     "docs-serve-only": "npx sirv-cli _gh_pages --port 9001",
     "lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
-    "update-deps": "ncu -u -x \"clean-css-cli,jquery,karma-browserstack-launcher,sinon,terser\" && npm update && echo Manually update site/assets/js/vendor",
+    "update-deps": "ncu -u -x \"jquery,karma-browserstack-launcher,sinon,terser\" && npm update && echo Manually update site/assets/js/vendor",
     "release": "npm-run-all dist release-sri docs-build release-zip*",
     "release-sri": "node build/generate-sri.js",
     "release-version": "node build/change-version.js",
     "autoprefixer": "^10.2.4",
     "babel-plugin-istanbul": "^6.0.0",
     "bundlewatch": "^0.3.2",
-    "clean-css-cli": "^4.3.0",
+    "clean-css-cli": "^5.2.0",
     "cross-env": "^7.0.3",
     "eslint": "^7.20.0",
     "eslint-config-xo": "^0.34.0",