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
18 changes: 9 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,14 @@ jobs:

strategy:
matrix:
node_version: [18, 20, 22]
node_version: [20, 22, 24]
os: [ubuntu-latest]
include:
# Active LTS + other OS
# - os: macos-latest
# node_version: 22
- os: macos-latest
node_version: 24
- os: windows-latest
node_version: 22
node_version: 24
fail-fast: false

steps:
Expand Down Expand Up @@ -67,10 +67,10 @@ jobs:

- uses: pnpm/action-setup@v4

- name: Set node version to 22
- name: Set node version to 24
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
cache: pnpm

- name: Install
Expand All @@ -92,7 +92,7 @@ jobs:

lint:
runs-on: ubuntu-latest
name: 'Lint: node-22, ubuntu-latest'
name: 'Lint: node-24, ubuntu-latest'

steps:
- uses: actions/checkout@v4
Expand All @@ -101,10 +101,10 @@ jobs:

- uses: pnpm/action-setup@v4

- name: Set node version to 22
- name: Set node version to 24
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
cache: pnpm

- name: Install
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/jsr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v4

- name: Use Node.js 22
- name: Use Node.js 24
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24
cache: pnpm

- name: Install
Expand Down
4 changes: 2 additions & 2 deletions jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@applelo/vite-plugin-browser-sync",
"version": "5.0.0",
"version": "6.0.0",
"exports": "./src/index.ts",
"exclude": [
"test",
Expand All @@ -9,6 +9,6 @@
"pnpm-workspace.yaml",
".npmrc",
"eslint.config.js",
"tsup.config.ts"
"tsdown.config.ts"
]
}
35 changes: 16 additions & 19 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": "5.0.0",
"packageManager": "pnpm@10.15.0",
"version": "6.0.0",
"packageManager": "pnpm@10.20.0",
"description": "Add BrowserSync in your Vite project",
"author": "Applelo",
"license": "MIT",
Expand All @@ -21,10 +21,7 @@
"vite-plugin"
],
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
".": "./dist/index.js"
},
"main": "./dist/index.js",
"module": "./dist/index.js",
Expand All @@ -38,8 +35,8 @@
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"build": "tsup src/index.ts",
"build:watch": "tsup src/index.ts --watch",
"build": "tsdown src/index.ts",
"build:watch": "tsdown src/index.ts --watch",
"typecheck": "tsc --noEmit --skipLibCheck",
"test": "vitest",
"coverage": "vitest run --coverage",
Expand All @@ -49,21 +46,21 @@
"vite": "^6.0.0 || ^7.0.0"
},
"dependencies": {
"@types/browser-sync": "^2.29.0",
"@types/browser-sync": "^2.29.1",
"browser-sync": "^3.0.4",
"kolorist": "^1.8.0"
},
"devDependencies": {
"@antfu/eslint-config": "^5.2.1",
"@types/node": "^22.17.2",
"@vitest/coverage-v8": "^3.2.4",
"eslint": "^9.33.0",
"@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.53.2",
"rollup": "^4.47.1",
"tsup": "^8.5.0",
"typescript": "^5.9.2",
"vite": "^6.3.5",
"vitest": "^3.2.4"
"playwright": "^1.56.1",
"rollup": "^4.52.5",
"tsdown": "^0.15.12",
"typescript": "^5.9.3",
"vite": "^6.4.1",
"vitest": "^4.0.6"
}
}
Loading