Skip to content

Commit

Permalink
feat: support vite 5
Browse files Browse the repository at this point in the history
  • Loading branch information
bluwy committed Nov 17, 2023
1 parent 1047a5a commit cfa5037
Show file tree
Hide file tree
Showing 7 changed files with 907 additions and 775 deletions.
5 changes: 5 additions & 0 deletions .changeset/small-wasps-dream.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'vite-plugin-qrcode': patch
---

Support Vite 5 peer dependency
32 changes: 16 additions & 16 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,35 @@
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"@types/node": "^18.16.20",
"@typescript-eslint/eslint-plugin": "^6.1.0",
"@typescript-eslint/parser": "^6.1.0",
"@types/node": "^20.9.1",
"@typescript-eslint/eslint-plugin": "^6.11.0",
"@typescript-eslint/parser": "^6.11.0",
"cross-env": "^7.0.3",
"eslint": "^8.45.0",
"eslint-config-prettier": "^8.8.0",
"eslint": "^8.53.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-html": "^7.1.0",
"eslint-plugin-markdown": "^3.0.0",
"eslint-plugin-markdown": "^3.0.1",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-svelte": "^2.32.4",
"eslint-plugin-prettier": "^5.0.1",
"eslint-plugin-svelte": "^2.35.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"lint-staged": "^15.1.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.0",
"prettier-plugin-svelte": "^3.0.0",
"rimraf": "^5.0.1",
"svelte": "^4.1.1",
"prettier": "^3.1.0",
"prettier-plugin-svelte": "^3.1.0",
"rimraf": "^5.0.5",
"svelte": "^4.2.4",
"tsm": "^2.3.0",
"tsup": "^7.1.0",
"typescript": "^5.1.6"
"tsup": "^7.3.0",
"typescript": "^5.2.2"
},
"lint-staged": {
"*.{js,ts,svelte,html,md,svx}": "eslint --fix",
"*.{css,scss,svelte,html,js,ts,svx,md}": [
"prettier --write"
]
},
"packageManager": "pnpm@8.6.7",
"packageManager": "pnpm@8.10.5",
"engines": {
"node": "^14.18.0 || ^16.0.0 || >=18"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/playground/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"preview": "vite preview"
},
"devDependencies": {
"vite": "^4.4.6",
"vite": "^5.0.0",
"vite-plugin-qrcode": "workspace:*"
}
}
6 changes: 3 additions & 3 deletions packages/playground/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
"preview": "vite preview"
},
"devDependencies": {
"@sveltejs/kit": "^1.22.3",
"svelte": "^4.1.1",
"vite": "^4.4.6",
"@sveltejs/kit": "^1.27.6",
"svelte": "^4.2.4",
"vite": "^5.0.0",
"vite-plugin-qrcode": "workspace:*"
},
"type": "module"
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin-qrcode/LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 [these people](https://github.com/svitejs/vite-plugin-qrcode/graphs/contributors)
Copyright (c) 2023 [these people](https://github.com/svitejs/vite-plugin-qrcode/graphs/contributors)

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
6 changes: 3 additions & 3 deletions packages/vite-plugin-qrcode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,11 +45,11 @@
"qrcode-terminal": "^0.12.0"
},
"peerDependencies": {
"vite": "^3.0.0 || ^4.0.0"
"vite": "^3.0.0 || ^4.0.0 || ^5.0.0"
},
"devDependencies": {
"@types/qrcode-terminal": "^0.12.0",
"@types/qrcode-terminal": "^0.12.2",
"uvu": "^0.5.6",
"vite": "^4.4.6"
"vite": "^5.0.0"
}
}
Loading

0 comments on commit cfa5037

Please sign in to comment.