From 4d4c86efdc071e3a934f452b360e0502e79cfabf Mon Sep 17 00:00:00 2001 From: Meqn Date: Wed, 6 Nov 2024 01:16:23 +0000 Subject: [PATCH] Version Packages --- package.json | 1 + packages/minify-html/CHANGELOG.md | 6 ++++++ packages/minify-html/package.json | 2 +- packages/page-html/CHANGELOG.md | 9 +++++++++ packages/page-html/package.json | 3 ++- packages/page-html/src/types.ts | 2 +- packages/vanilla/CHANGELOG.md | 9 +++++++++ packages/vanilla/package.json | 3 ++- packages/vanilla/src/types.ts | 2 +- pnpm-lock.yaml | 6 ++++++ 10 files changed, 38 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 84729d6..3f88935 100644 --- a/package.json +++ b/package.json @@ -14,6 +14,7 @@ "build": "pnpm -r run build", "build:page": "pnpm --filter vite-plugin-page-html run build", "build:minify": "pnpm --filter vite-plugin-minify-html run build", + "build:vanilla": "pnpm --filter vite-plugin-vanilla run build", "changeset": "changeset", "changeset:version": "changeset version", "changeset:release": "changeset publish --registry https://registry.npmjs.org" diff --git a/packages/minify-html/CHANGELOG.md b/packages/minify-html/CHANGELOG.md index aa634e1..9c4a038 100644 --- a/packages/minify-html/CHANGELOG.md +++ b/packages/minify-html/CHANGELOG.md @@ -1,5 +1,11 @@ # vite-plugin-minify-html +## 1.0.1 + +### Patch Changes 🌟 + +- fix: Remove export type(MinifyOptions) + ## 1.0.0 ### Major Changes 🎉 diff --git a/packages/minify-html/package.json b/packages/minify-html/package.json index d8cf4e0..634af1d 100644 --- a/packages/minify-html/package.json +++ b/packages/minify-html/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-minify-html", - "version": "1.0.0", + "version": "1.0.1", "description": "Minify HTML files.", "type": "module", "types": "./dist/index.d.ts", diff --git a/packages/page-html/CHANGELOG.md b/packages/page-html/CHANGELOG.md index 62ac053..f1cd837 100644 --- a/packages/page-html/CHANGELOG.md +++ b/packages/page-html/CHANGELOG.md @@ -1,5 +1,14 @@ # vite-plugin-page-html +## 3.1.1 + +### Patch Changes 🌟 + +- fix: Add @types/html-minifier-terser dependency + +- Updated dependencies []: + - vite-plugin-minify-html@1.0.1 + ## 3.1.0 ### Minor Changes 🚀 diff --git a/packages/page-html/package.json b/packages/page-html/package.json index 7a1238d..620b3ab 100644 --- a/packages/page-html/package.json +++ b/packages/page-html/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-page-html", - "version": "3.1.0", + "version": "3.1.1", "description": "A simple and flexible Vite plugin for processing HTML pages, integrating multi-page application (MPA) configuration, EJS template support, and HTML compression.", "type": "module", "types": "./dist/index.d.ts", @@ -54,6 +54,7 @@ }, "dependencies": { "@types/ejs": "^3.1.5", + "@types/html-minifier-terser": "^7.0.2", "connect-history-api-fallback": "^2.0.0", "diy-log": "^2.5.1", "ejs": "^3.1.10", diff --git a/packages/page-html/src/types.ts b/packages/page-html/src/types.ts index 192d8bf..7b9f9cc 100644 --- a/packages/page-html/src/types.ts +++ b/packages/page-html/src/types.ts @@ -1,5 +1,5 @@ import type { HtmlTagDescriptor } from 'vite' -import type { MinifyOptions } from 'vite-plugin-minify-html' +import type { Options as MinifyOptions } from 'html-minifier-terser' import type { Options as EjsOptions } from 'ejs' /** plugin configurations */ diff --git a/packages/vanilla/CHANGELOG.md b/packages/vanilla/CHANGELOG.md index 0833104..e1b219b 100644 --- a/packages/vanilla/CHANGELOG.md +++ b/packages/vanilla/CHANGELOG.md @@ -1,5 +1,14 @@ # vite-plugin-vanilla +## 0.1.1 + +### Patch Changes 🌟 + +- fix: Add @types/html-minifier-terser dependency + +- Updated dependencies []: + - vite-plugin-minify-html@1.0.1 + ## 0.1.0 ### Minor Changes 🚀 diff --git a/packages/vanilla/package.json b/packages/vanilla/package.json index ac8a086..e4ecad2 100644 --- a/packages/vanilla/package.json +++ b/packages/vanilla/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-vanilla", - "version": "0.1.0", + "version": "0.1.1", "description": "Vanilla multi-page web development model based on Vite.js.", "type": "module", "types": "./dist/index.d.ts", @@ -39,6 +39,7 @@ "url": "https://github.com/Marinerer/vite-plugins/issues" }, "dependencies": { + "@types/html-minifier-terser": "^7.0.2", "fast-glob": "^3.3.2", "pathe": "^1.1.2", "vite-plugin-minify-html": "workspace:^" diff --git a/packages/vanilla/src/types.ts b/packages/vanilla/src/types.ts index 94df36b..0240bab 100644 --- a/packages/vanilla/src/types.ts +++ b/packages/vanilla/src/types.ts @@ -1,5 +1,5 @@ import type { HtmlTagDescriptor } from 'vite' -import type { MinifyOptions } from 'vite-plugin-minify-html' +import type { Options as MinifyOptions } from 'html-minifier-terser' export interface PluginOptions { baseDir?: string diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index f6e3220..5f9beb8 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -56,6 +56,9 @@ importers: '@types/ejs': specifier: ^3.1.5 version: 3.1.5 + '@types/html-minifier-terser': + specifier: ^7.0.2 + version: 7.0.2 connect-history-api-fallback: specifier: ^2.0.0 version: 2.0.0 @@ -80,6 +83,9 @@ importers: packages/vanilla: dependencies: + '@types/html-minifier-terser': + specifier: ^7.0.2 + version: 7.0.2 fast-glob: specifier: ^3.3.2 version: 3.3.2