Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.4.0 #12

Merged
merged 1 commit into from
Nov 25, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ dist/
out/
node_modules
.vscode/.env
**/roku_modules/**
**/roku_modules/**
release/playlet.zip
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -28,13 +28,15 @@
"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\"",
"format": "npm run format:base -- --check",
"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 changes: 14 additions & 0 deletions scripts/zip-package.js
Original file line number Diff line number Diff line change
@@ -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);
});
2 changes: 1 addition & 1 deletion src/manifest
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down