Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions .npmrc

This file was deleted.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@

Add [BrowserSync](https://browsersync.io) to your Vite project.

> This plugin supports Vite 6 and 7.
> This plugin supports Vite 7 and 8.

<p align="center">
<a href="https://github.com/Applelo/vite-plugin-browser-sync/blob/main/screenshot.png?raw=true">
<img src="https://raw.githubusercontent.com/Applelo/vite-plugin-browser-sync/main/screenshot.png?raw=true"/>
<a href="https://github.com/Applelo/vite-plugin-browser-sync/blob/main/screenshot.jpg?raw=true">
<img src="https://raw.githubusercontent.com/Applelo/vite-plugin-browser-sync/main/screenshot.png?raw=true" alt=""/>
</a>
</p>

Expand Down
6 changes: 3 additions & 3 deletions demo/astro/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"astro": "astro"
},
"dependencies": {
"@astrojs/check": "^0.9.4",
"astro": "^5.13.2",
"typescript": "^5.9.2",
"@astrojs/check": "catalog:",
"astro": "catalog:",
"typescript": "catalog:",
"vite-plugin-browser-sync": "workspace:*"
}
}
6 changes: 3 additions & 3 deletions demo/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
"preview": "vite preview"
},
"devDependencies": {
"@vitejs/plugin-vue": "^6.0.1",
"typescript": "^5.9.2",
"vite": "^6.3.5",
"@vitejs/plugin-vue": "catalog:",
"typescript": "catalog:",
"vite": "catalog:",
"vite-plugin-browser-sync": "workspace:*"
}
}
2 changes: 1 addition & 1 deletion demo/basic/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"lib": ["ESNext", "DOM"],
"useDefineForClassFields": true,
"module": "ESNext",
"moduleResolution": "Node",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"strict": true,
"noImplicitReturns": true,
Expand Down
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applelo/vite-plugin-browser-sync",
"version": "6.0.0",
"version": "7.0.0",
"exports": "./src/index.ts",
"exclude": [
"test",
Expand Down
49 changes: 27 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "vite-plugin-browser-sync",
"type": "module",
"version": "6.0.0",
"packageManager": "pnpm@10.20.0",
"version": "7.0.0",
"packageManager": "pnpm@10.33.0",
"description": "Add BrowserSync in your Vite project",
"author": "Applelo",
"license": "MIT",
Expand All @@ -21,16 +21,21 @@
"vite-plugin"
],
"exports": {
".": "./dist/index.js"
".": {
"types": "./dist/index.d.mts",
"default": "./dist/index.mjs"
},
"./client": {
"types": "./dist/client.d.ts"
}
},
"main": "./dist/index.js",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
"main": "./dist/index.mjs",
"types": "./dist/index.d.mts",
"files": [
"dist"
],
"engines": {
"node": "^18.0.0 || ^20.0.0 || >=22.0.0"
"node": "^20.0.0 || >=22.0.0"
},
"scripts": {
"lint": "eslint .",
Expand All @@ -43,24 +48,24 @@
"prepublishOnly": "npm run build"
},
"peerDependencies": {
"vite": "^6.0.0 || ^7.0.0"
"vite": "^7.0.0 || ^8.0.0"
},
"dependencies": {
"@types/browser-sync": "^2.29.1",
"browser-sync": "^3.0.4",
"kolorist": "^1.8.0"
"@types/browser-sync": "catalog:",
"browser-sync": "catalog:",
"kolorist": "catalog:"
},
"devDependencies": {
"@antfu/eslint-config": "^6.2.0",
"@types/node": "^22.19.0",
"@vitest/coverage-v8": "^4.0.6",
"eslint": "^9.39.0",
"eslint-import-resolver-node": "^0.3.9",
"playwright": "^1.56.1",
"rollup": "^4.52.5",
"tsdown": "^0.15.12",
"typescript": "^5.9.3",
"vite": "^6.4.1",
"vitest": "^4.0.6"
"@antfu/eslint-config": "catalog:",
"@types/node": "catalog:",
"@vitest/coverage-v8": "catalog:",
"eslint": "catalog:",
"eslint-import-resolver-node": "catalog:",
"playwright": "catalog:",
"rollup": "catalog:",
"tsdown": "catalog:",
"typescript": "catalog:",
"vite": "catalog:",
"vitest": "catalog:"
}
}
Loading
Loading