diff --git a/.changeset/css-minimizer-options.md b/.changeset/css-minimizer-options.md deleted file mode 100644 index 275627e..0000000 --- a/.changeset/css-minimizer-options.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@webpack/css-plugins-to-native-css": patch ---- - -Migrate supported css-minimizer-webpack-plugin options from cssnano's default preset to webpack's native CSS minifier. Preserve the build's minimize switch, other asset types, custom minimizers, and compatible native settings; retain unsupported or conflicting configurations for manual migration. diff --git a/.changeset/html-plugins-to-native-html.md b/.changeset/html-plugins-to-native-html.md deleted file mode 100644 index cff1bc8..0000000 --- a/.changeset/html-plugins-to-native-html.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@webpack/html-plugins-to-native-html": major ---- - -Add a codemod migrating html-webpack-plugin and html-loader to webpack 5.112.0+ native HTML support and minification. Translate supported minification options, preserve existing configuration and still-used dependencies, and leave unsupported template/multi-page setups for manual migration. - -Apply template and dependency changes through AST workflow steps coordinated by shared state, without filesystem APIs or permissions; preserve dry-run behavior and idempotence. diff --git a/codemods/css-plugins-to-native-css/CHANGELOG.md b/codemods/css-plugins-to-native-css/CHANGELOG.md index 8d54a4e..aaa30be 100644 --- a/codemods/css-plugins-to-native-css/CHANGELOG.md +++ b/codemods/css-plugins-to-native-css/CHANGELOG.md @@ -1,5 +1,11 @@ # @webpack/css-plugins-to-native-css +## 1.0.1 + +### Patch Changes + +- ca16efc: Migrate supported css-minimizer-webpack-plugin options from cssnano's default preset to webpack's native CSS minifier. Preserve the build's minimize switch, other asset types, custom minimizers, and compatible native settings; retain unsupported or conflicting configurations for manual migration. + ## 1.0.0 ### Major Changes diff --git a/codemods/css-plugins-to-native-css/codemod.yaml b/codemods/css-plugins-to-native-css/codemod.yaml index 69a4951..15579b0 100644 --- a/codemods/css-plugins-to-native-css/codemod.yaml +++ b/codemods/css-plugins-to-native-css/codemod.yaml @@ -1,6 +1,6 @@ schema_version: "1.0" name: "@webpack/css-plugins-to-native-css" -version: "1.0.0" +version: "1.0.1" description: Migrate CSS plugins, loaders, and supported css-minimizer-webpack-plugin options to webpack's native CSS support and minification author: bjohansebas (Sebastian Beltran) license: MIT diff --git a/codemods/css-plugins-to-native-css/package.json b/codemods/css-plugins-to-native-css/package.json index b6b1295..7e899b1 100644 --- a/codemods/css-plugins-to-native-css/package.json +++ b/codemods/css-plugins-to-native-css/package.json @@ -1,7 +1,7 @@ { "name": "@webpack/css-plugins-to-native-css", "private": true, - "version": "1.0.0", + "version": "1.0.1", "description": "Migrate CSS plugins, loaders, and supported css-minimizer-webpack-plugin options to webpack's native CSS support and minification.", "type": "module", "scripts": { diff --git a/codemods/html-plugins-to-native-html/CHANGELOG.md b/codemods/html-plugins-to-native-html/CHANGELOG.md new file mode 100644 index 0000000..ab58436 --- /dev/null +++ b/codemods/html-plugins-to-native-html/CHANGELOG.md @@ -0,0 +1,9 @@ +# @webpack/html-plugins-to-native-html + +## 1.0.0 + +### Major Changes + +- 5c0f0a1: Add a codemod migrating html-webpack-plugin and html-loader to webpack 5.112.0+ native HTML support and minification. Translate supported minification options, preserve existing configuration and still-used dependencies, and leave unsupported template/multi-page setups for manual migration. + + Apply template and dependency changes through AST workflow steps coordinated by shared state, without filesystem APIs or permissions; preserve dry-run behavior and idempotence. diff --git a/codemods/html-plugins-to-native-html/codemod.yaml b/codemods/html-plugins-to-native-html/codemod.yaml index bf39e0c..d12bf3a 100644 --- a/codemods/html-plugins-to-native-html/codemod.yaml +++ b/codemods/html-plugins-to-native-html/codemod.yaml @@ -1,6 +1,6 @@ schema_version: "1.0" name: "@webpack/html-plugins-to-native-html" -version: "0.0.0" +version: "1.0.0" description: Migrate html-webpack-plugin and html-loader to webpack's native HTML support and minification author: bjohansebas (Sebastian Beltran) license: MIT diff --git a/codemods/html-plugins-to-native-html/package.json b/codemods/html-plugins-to-native-html/package.json index 161daba..04f42ff 100644 --- a/codemods/html-plugins-to-native-html/package.json +++ b/codemods/html-plugins-to-native-html/package.json @@ -1,7 +1,7 @@ { "name": "@webpack/html-plugins-to-native-html", "private": true, - "version": "0.0.0", + "version": "1.0.0", "type": "module", "scripts": { "test": "npm run test:workflow && npm run test:templates && npm run test:dependencies && npm run test:integration",