From 8910ea2318759113c0f2698cdf892bf3b062d4b2 Mon Sep 17 00:00:00 2001 From: Jesse Feng Date: Tue, 26 Dec 2023 15:17:35 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0engines?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/vite-plugin-cp/package.json | 3 ++- packages/vite-plugin-external/package.json | 7 ++++++- packages/vite-plugin-hook-use/package.json | 7 ++++++- packages/vite-plugin-include-css/package.json | 7 ++++++- packages/vite-plugin-mock-data/package.json | 7 ++++++- packages/vite-plugin-reverse-proxy/package.json | 6 +++++- 6 files changed, 31 insertions(+), 6 deletions(-) diff --git a/packages/vite-plugin-cp/package.json b/packages/vite-plugin-cp/package.json index c487da0..9511896 100644 --- a/packages/vite-plugin-cp/package.json +++ b/packages/vite-plugin-cp/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-cp", - "version": "4.0.5", + "version": "4.0.6", "description": "Copy files after building bundles.", "types": "./dist/index.d.ts", "module": "./dist/index.mjs", @@ -31,6 +31,7 @@ "vite-plugin-cp" ], "author": "Jesse Feng ", + "license": "MIT", "bugs": { "url": "https://github.com/fengxinming/vite-plugins/issues" }, diff --git a/packages/vite-plugin-external/package.json b/packages/vite-plugin-external/package.json index e21e9c0..448d0e7 100644 --- a/packages/vite-plugin-external/package.json +++ b/packages/vite-plugin-external/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-external", - "version": "4.1.2", + "version": "4.1.3", "description": "Provides a way of excluding dependencies from the runtime code and output bundles.", "types": "./dist/index.d.ts", "module": "./dist/index.mjs", @@ -17,6 +17,10 @@ "watch": "vite build --watch", "release": "npm publish" }, + "engines": { + "node": ">=14.18.0", + "vite": ">=3.1.0" + }, "repository": { "type": "git", "url": "git+https://github.com/fengxinming/vite-plugins.git", @@ -27,6 +31,7 @@ "vite-plugin-external" ], "author": "Jesse Feng ", + "license": "MIT", "bugs": { "url": "https://github.com/fengxinming/vite-plugins/issues" }, diff --git a/packages/vite-plugin-hook-use/package.json b/packages/vite-plugin-hook-use/package.json index 866d707..886e12e 100644 --- a/packages/vite-plugin-hook-use/package.json +++ b/packages/vite-plugin-hook-use/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-hook-use", - "version": "4.0.3", + "version": "4.0.4", "description": "Display which hooks are used in your project.", "types": "./dist/index.d.ts", "module": "./dist/index.mjs", @@ -12,6 +12,10 @@ "require": "./dist/index.js" } }, + "engines": { + "node": ">=14.18.0", + "vite": ">=3.1.0" + }, "scripts": { "build": "vite build", "watch": "vite build --watch", @@ -27,6 +31,7 @@ "vite-plugin-external" ], "author": "Jesse Feng ", + "license": "MIT", "bugs": { "url": "https://github.com/fengxinming/vite-plugins/issues" }, diff --git a/packages/vite-plugin-include-css/package.json b/packages/vite-plugin-include-css/package.json index 8dc5e5c..21eee40 100644 --- a/packages/vite-plugin-include-css/package.json +++ b/packages/vite-plugin-include-css/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-include-css", - "version": "4.0.2", + "version": "4.0.3", "description": "build css into individual js files instead of using css links.", "main": "./dist/index.js", "module": "./dist/index.mjs", @@ -17,6 +17,10 @@ "build": "vite build", "watch": "vite build --watch" }, + "engines": { + "node": ">=14.18.0", + "vite": ">=3.1.0" + }, "repository": { "type": "git", "url": "git+https://github.com/fengxinming/vite-plugins.git", @@ -27,6 +31,7 @@ "vite-plugin-include-css" ], "author": "Jesse Feng ", + "license": "MIT", "bugs": { "url": "https://github.com/fengxinming/vite-plugins/issues" }, diff --git a/packages/vite-plugin-mock-data/package.json b/packages/vite-plugin-mock-data/package.json index 29131e5..477fea7 100644 --- a/packages/vite-plugin-mock-data/package.json +++ b/packages/vite-plugin-mock-data/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-mock-data", - "version": "4.0.3", + "version": "4.0.4", "description": "Provides a simple way to mock data.", "main": "./dist/index.js", "module": "./dist/index.mjs", @@ -12,6 +12,10 @@ "require": "./dist/index.js" } }, + "engines": { + "node": ">=14.18.0", + "vite": ">=3.1.0" + }, "scripts": { "release": "npm publish", "build": "vite build", @@ -27,6 +31,7 @@ "vite-plugin-mock-data" ], "author": "Jesse Feng ", + "license": "MIT", "bugs": { "url": "https://github.com/fengxinming/vite-plugins/issues" }, diff --git a/packages/vite-plugin-reverse-proxy/package.json b/packages/vite-plugin-reverse-proxy/package.json index ff74dea..228fdf8 100644 --- a/packages/vite-plugin-reverse-proxy/package.json +++ b/packages/vite-plugin-reverse-proxy/package.json @@ -1,6 +1,6 @@ { "name": "vite-plugin-reverse-proxy", - "version": "4.0.2", + "version": "4.0.3", "description": "Makes the script to be served with the text/javascript MIME type instead of module MIME type.", "main": "./dist/index.js", "module": "./dist/index.mjs", @@ -12,6 +12,10 @@ "require": "./dist/index.js" } }, + "engines": { + "node": ">=14.18.0", + "vite": ">=3.1.0" + }, "scripts": { "release": "npm publish", "build": "vite build",