refactor: use ESM packages for tsconfig and vite-plugin-wext-manifest

This commit is contained in:
Abhijith Vijayan [FLUXON] 2025-06-29 00:04:08 +05:30
parent cf1eb8e594
commit e1f0b743d1
3 changed files with 33 additions and 40 deletions

View File

@ -1,13 +1,6 @@
<h1 align="center">🚀 web-extension-starter</h1>
<p align="center">Web Extension starter to build "Write Once Run on Any Browser" extension</p>
<div align="center">
<a href="https://travis-ci.com/abhijithvijayan/web-extension-starter">
<img src="https://travis-ci.com/abhijithvijayan/web-extension-starter.svg?branch=react-typescript" alt="Travis Build" />
</a>
</a>
<a href="https://david-dm.org/abhijithvijayan/web-extension-starter">
<img src="https://img.shields.io/david/abhijithvijayan/web-extension-starter.svg?colorB=orange" alt="DEPENDENCIES" />
</a>
<a href="https://github.com/abhijithvijayan/web-extension-starter/blob/master/LICENSE">
<img src="https://img.shields.io/github/license/abhijithvijayan/web-extension-starter.svg" alt="LICENSE" />
</a>
@ -77,7 +70,7 @@ curl -fsSL https://github.com/abhijithvijayan/web-extension-starter/archive/reac
Ensure you have
- [Node.js](https://nodejs.org) 10 or later installed
- [Node.js](https://nodejs.org) 20 or later installed
Then run the following:

32
package-lock.json generated
View File

@ -10,27 +10,27 @@
"license": "MIT",
"dependencies": {
"advanced-css-reset": "2.1.3",
"react": "19.1.0",
"react-dom": "19.1.0",
"webextension-polyfill": "0.12.0"
"react": "^19.1.0",
"react-dom": "^19.1.0",
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@abhijithvijayan/tsconfig": "^1.5.1",
"@types/node": "^24.0.7",
"@types/react": "19.1.8",
"@types/react-dom": "19.1.6",
"@types/webextension-polyfill": "0.12.3",
"@vitejs/plugin-react": "4.5.2",
"autoprefixer": "10.4.21",
"cross-env": "7.0.3",
"postcss": "8.5.6",
"sass": "1.89.2",
"typescript": "5.8.3",
"vite": "6.3.5",
"vite-plugin-checker": "0.9.3",
"vite-plugin-clean": "2.0.1",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@types/webextension-polyfill": "^0.12.3",
"@vitejs/plugin-react": "^4.5.2",
"autoprefixer": "^10.4.21",
"cross-env": "^7.0.3",
"postcss": "^8.5.6",
"sass": "^1.89.2",
"typescript": "^5.8.3",
"vite": "^6.3.5",
"vite-plugin-checker": "^0.9.3",
"vite-plugin-clean": "^2.0.1",
"vite-plugin-wext-manifest": "^1.1.0",
"vite-plugin-zip-pack": "1.2.4"
"vite-plugin-zip-pack": "^1.2.4"
},
"engines": {
"node": ">=20"

View File

@ -25,26 +25,26 @@
},
"dependencies": {
"advanced-css-reset": "2.1.3",
"react": "19.1.0",
"react-dom": "19.1.0",
"webextension-polyfill": "0.12.0"
"react": "^19.1.0",
"react-dom": "^19.1.0",
"webextension-polyfill": "^0.12.0"
},
"devDependencies": {
"@abhijithvijayan/tsconfig": "^1.5.1",
"@types/node": "^24.0.7",
"@types/react": "19.1.8",
"@types/react-dom": "19.1.6",
"@types/webextension-polyfill": "0.12.3",
"@vitejs/plugin-react": "4.5.2",
"autoprefixer": "10.4.21",
"cross-env": "7.0.3",
"postcss": "8.5.6",
"sass": "1.89.2",
"typescript": "5.8.3",
"vite": "6.3.5",
"vite-plugin-checker": "0.9.3",
"vite-plugin-clean": "2.0.1",
"@types/react": "^19.1.8",
"@types/react-dom": "^19.1.6",
"@types/webextension-polyfill": "^0.12.3",
"@vitejs/plugin-react": "^4.5.2",
"autoprefixer": "^10.4.21",
"cross-env": "^7.0.3",
"postcss": "^8.5.6",
"sass": "^1.89.2",
"typescript": "^5.8.3",
"vite": "^6.3.5",
"vite-plugin-checker": "^0.9.3",
"vite-plugin-clean": "^2.0.1",
"vite-plugin-wext-manifest": "^1.1.0",
"vite-plugin-zip-pack": "1.2.4"
"vite-plugin-zip-pack": "^1.2.4"
}
}