Auto-update manifest version on build

This commit is contained in:
Brahim Hadriche committed 2022-11-06 12:36:13 -05:00
1 parent 0fba45717f
commit e61cf6ae8a
3 files changed
+32 -7

No files matched your search

+4 -2
View File
@@ -14,7 +14,8 @@
"maestro-roku-bsc-plugin": "^0.25.7",
"roku-log-bsc-plugin": "^0.6.1",
"rooibos-roku": "^5.2.3",
"ropm": "^0.10.10"
"ropm": "^0.10.10",
"semver": "^7.3.8"
},
"ropm": {
"rootDir": "src",
@@ -25,8 +26,9 @@
]
},
"scripts": {
"build": "node scripts/run-roku-youtube.js",
"build": "npm run manifest-version && node scripts/run-roku-youtube.js",
"test": "echo \"Error: no test specified\" && exit 1",
"manifest-version": "node scripts/update-manifest-version.js",
"postinstall": "npx ropm copy",
"lint": "npx bsc"
},