Release 0.4.0 (#12)

This commit is contained in:
Brahim Hadriche authored and GitHub committed 2022-11-24 20:06:52 -05:00
1 parent a248318c54
commit f3fbe68db0
5 files changed
+21 -4

No files matched your search

+2 -1
View File
@@ -2,4 +2,5 @@ dist/
out/
node_modules
.vscode/.env
**/roku_modules/**
**/roku_modules/**
release/playlet.zip
+1 -1
View File
@@ -4,7 +4,7 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]
## [0.4.0] - 2022-11-24
### Added
- Play video API
- Play video by ID/URL in web app
+3 -1
View File
@@ -1,6 +1,6 @@
{
"name": "playlet",
"version": "0.3.0",
"version": "0.4.0",
"description": "Unofficial Youtube client for Roku",
"dependencies": {
"bslib": "npm:@rokucommunity/bslib@^0.1.1",
@@ -28,6 +28,7 @@
"prebuild": "rm -rf dist",
"build": "bsc",
"build:prod": "npm run build -- --sourceMap=false",
"build:release": "npm run format:fix && npm run lint:fix && npm run manifest-version && npm run generate-images && npm run build:prod && npm run zip-package",
"lint": "bslint --project config/bsconfig.lint.json --lintConfig config/bslint.jsonc",
"lint:fix": "npm run lint -- --fix",
"format:base": "bsfmt \"src/**/*.brs\" \"src/**/*.bs\" \"!src/components/lib/**/*\" \"!src/source/lib/**/*\" \"!**/bslib.brs\" \"!**/roku_modules/**/*\" --bsfmt-path \"config/bsfmt.jsonc\"",
@@ -35,6 +36,7 @@
"format:fix": "npm run format:base -- --write",
"generate-images": "node scripts/generate-images.js",
"manifest-version": "node scripts/update-manifest-version.js",
"zip-package": "node scripts/zip-package.js",
"postinstall": "npx ropm copy"
}
}
+14
View File
@@ -0,0 +1,14 @@
var rokuDeploy = require('roku-deploy');
const zip_name = 'playlet.zip'
rokuDeploy.zipPackage({
outDir: 'release',
outFile: zip_name,
//BUG: rokuDeploy does not read stagingFolderPath properly fron config
stagingFolderPath: 'dist/build'
}).then(function(){
console.log(`${zip_name} created`)
}, function(error) {
console.error(error);
});
+1 -1
View File
@@ -2,7 +2,7 @@ title=Playlet
# Do not update version manually, it is auto updated from package.json
major_version=0
minor_version=3
minor_version=4
build_version=00000
## Channel Assets