@fullhuman/vue-cli-plugin-purgecss 8.0.0 → 9.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/README.md +1 -1
- package/generator/index.js +4 -1
- package/package.json +6 -4
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
# @fullhuman/vue-cli-plugin-purgecss
|
|
2
|
+
|
|
3
|
+
## 9.0.0
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- 145e717: Require Node.js 22.12 or later. Every package now declares `"engines": { "node": ">=22.12.0" }`, the version the `purgecss` command line already requires since the update to commander 15.
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- 88bb113: Install the `@fullhuman/postcss-purgecss` version that matches the plugin. `vue add @fullhuman/purgecss` added `@fullhuman/postcss-purgecss@^4.0.0` to the project, so every project set up with the plugin got PurgeCSS 4.1.3. The README also showed `vue add purgecss`, which fails because it installs `vue-cli-plugin-purgecss` instead of `@fullhuman/vue-cli-plugin-purgecss`.
|
package/README.md
CHANGED
package/generator/index.js
CHANGED
|
@@ -1,7 +1,10 @@
|
|
|
1
|
+
// all PurgeCSS packages are released together with the same version
|
|
2
|
+
const { version } = require("../package.json");
|
|
3
|
+
|
|
1
4
|
module.exports = (api, options) => {
|
|
2
5
|
api.extendPackage({
|
|
3
6
|
devDependencies: {
|
|
4
|
-
"@fullhuman/postcss-purgecss":
|
|
7
|
+
"@fullhuman/postcss-purgecss": `^${version}`,
|
|
5
8
|
},
|
|
6
9
|
});
|
|
7
10
|
api.render("./templates", options);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fullhuman/vue-cli-plugin-purgecss",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "9.0.0",
|
|
4
4
|
"description": "vue-cli plugin to add PurgeCSS",
|
|
5
5
|
"author": "Ffloriel",
|
|
6
6
|
"homepage": "https://purgecss.com",
|
|
@@ -16,6 +16,9 @@
|
|
|
16
16
|
"optimization"
|
|
17
17
|
],
|
|
18
18
|
"license": "MIT",
|
|
19
|
+
"engines": {
|
|
20
|
+
"node": ">=22.12.0"
|
|
21
|
+
},
|
|
19
22
|
"repository": {
|
|
20
23
|
"type": "git",
|
|
21
24
|
"url": "git+https://github.com/FullHuman/purgecss.git"
|
|
@@ -26,6 +29,5 @@
|
|
|
26
29
|
"publishConfig": {
|
|
27
30
|
"access": "public",
|
|
28
31
|
"registry": "https://registry.npmjs.org/"
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
}
|
|
32
|
+
}
|
|
33
|
+
}
|