Skip to content

Commit 6899d63

Browse files
authored
Chore: Migrate from Rollup to Vite (#14)
* chore: switch bundler from rollup to vite * feat: bump version and update meta * chore: update package.json
1 parent 4f5d6d5 commit 6899d63

File tree

5 files changed

+543
-172
lines changed

5 files changed

+543
-172
lines changed

package.json

Lines changed: 19 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,21 @@
11
{
22
"name": "@bolajiolajide/now-playing",
3-
"version": "0.0.16",
4-
"description": "",
3+
"version": "1.0.0",
4+
"description": "A simple package to get the current playing song from a streaming platform.",
5+
"homepage": "https://github.com/bolajiolajide/now-playing",
6+
"repository": {
7+
"type": "git",
8+
"url": "git+https://github.com/bolajiolajide/now-playing.git"
9+
},
10+
"bugs": {
11+
"url": "https://github.com/bolajiolajide/now-playing/issues"
12+
},
513
"main": "dist/now-playing.mjs",
614
"module": "dist/now-playing.mjs",
715
"types": "dist/now-playing.d.ts",
816
"type": "module",
917
"scripts": {
10-
"build": "npx rimraf dist && rollup --config",
18+
"build": "npx rimraf dist && vite build",
1119
"test": "vitest",
1220
"format": "prettier . --write"
1321
},
@@ -19,7 +27,11 @@
1927
"dist/now-playing.mjs",
2028
"dist/now-playing.d.ts"
2129
],
22-
"keywords": [],
30+
"keywords": [
31+
"spotify",
32+
"now-playing",
33+
"in-memory"
34+
],
2335
"author": "",
2436
"license": "MIT",
2537
"dependencies": {
@@ -28,14 +40,14 @@
2840
},
2941
"devDependencies": {
3042
"@rollup/plugin-typescript": "11.1.6",
31-
"@types/node": "20.14.9",
43+
"@types/node": "18.19.39",
3244
"@types/node-fetch": "2.6.11",
3345
"msw": "2.3.1",
3446
"prettier": "3.3.2",
35-
"rollup": "4.18.0",
36-
"rollup-plugin-dts": "6.1.1",
3747
"tslib": "2.6.3",
3848
"typescript": "5.4.5",
49+
"vite": "^5.3.3",
50+
"vite-plugin-dts": "^3.9.1",
3951
"vitest": "1.6.0"
4052
},
4153
"engines": {

0 commit comments

Comments
 (0)