Skip to content

Commit

Permalink
updates to bsc 0.45.2
Browse files Browse the repository at this point in the history
  • Loading branch information
georgejecook committed Feb 26, 2022
1 parent ab79832 commit 0a751a8
Show file tree
Hide file tree
Showing 15 changed files with 408 additions and 203 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ module.exports = {
'@typescript-eslint/no-type-alias': 'off',
'@typescript-eslint/no-unnecessary-boolean-literal-compare': 'off',
'@typescript-eslint/no-unnecessary-condition': 'off',
'@typescript-eslint/no-unsafe-argument': 'off',
'@typescript-eslint/no-unsafe-assignment': 'off',
'@typescript-eslint/no-unsafe-call': 'off',
'@typescript-eslint/no-unsafe-member-access': 'off',
Expand Down
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"0"
],
"skipFiles": [
"${workspaceFolder}/node_modules/**/*.js",
// "${workspaceFolder}/node_modules/**/*.js",
"<node_internals>/**/*.js"
],
"cwd": "${workspaceRoot}",
Expand Down
73 changes: 38 additions & 35 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@typescript-eslint/eslint-plugin": "^4.4.1",
"@typescript-eslint/parser": "^4.4.1",
"auto-changelog": "^2.2.1",
"brighterscript": "^0.41.6",
"brighterscript": "0.45.3",
"chai": "^4.2.0",
"eslint": "^7.11.0",
"eslint-plugin-github": "^4.1.1",
Expand All @@ -39,6 +39,9 @@
"ts-node": "^10.4.0",
"typescript": "^4.1.3"
},
"peerDependencies": {
"brighterscript": "^0.45.3"
},
"preferGlobal": true,
"keywords": [
"brightscript",
Expand Down
109 changes: 98 additions & 11 deletions scripts/run.js
Original file line number Diff line number Diff line change
Expand Up @@ -542,14 +542,83 @@ let maestroSample = {
'retainStagingFolder': true
};

let nba = {
// let nba = {
// 'rootDir': '/home/george/hope/nba/nba-roku/src',
// 'stagingFolderPath': 'build',
// 'plugins': [
// '/home/george/hope/open-source/maestro/maestro-roku-bsc-plugin/dist/plugin.js',
// '/home/george/hope/open-source/rooibos/bsc-plugin/dist/plugin.js'
// ],
// 'files': [
// 'manifest',
// 'source/**/*.*',
// 'images/**/*.*',
// 'sounds/**/*.*',
// 'sounds/*.*',
// 'fonts/**/*.*',
// 'meta/**/*.*',
// 'components/**/*.*',
// { 'src': '../src-dev/source/**/*.*', 'dest': 'source' }
// ],
// 'autoImportComponentScript': true,
// 'createPackage': false,
// 'diagnosticFilters': [
// {
// 'src': '**/roku_modules/**/*.*'
// },
// {
// 'src': '**/RALETrackerTask.*'
// },
// {
// 'src': '**/*spec.bs',
// 'codes': ['LINT3011']
// },
// {
// 'src': '**/bitmovinAnalytics/**/*.*'
// },
// {
// 'src': '**/bitmovinPlayer/**/*.*'
// },
// {
// 'src': '**/mediakind/**/*.*'
// }
// ],
// 'maestro': {
// 'excludeFilters': [
// '**/roku_modules/**/*',
// '**/roku_modules/**/*',
// '**/rooibos/**/*',
// '**/bitmovinAnalytics/**/*.*',
// '**/bitmovinPlayer/**/*.*',
// '**/mediakind/**/*.*',
// '**/NewRelicAgent/**/*.*',
// '**/NewRelicAgent.brs'
// ],
// 'buildForIDE': false,
// 'extraValidation': {
// 'doExtraValidation': true,
// 'doExtraImportValidation': true
// }
// },
// 'rooibos': {
// 'isRecordingCodeCoverage': false,
// 'testsFilePattern': null
// },
// 'rokuLog': {
// 'strip': false,
// 'insertPkgPath': true,
// 'removeComments': true
// },
// 'logLevel': 'error',
// 'retainStagingFolder': true
// };


let nbaLatest = {
'rootDir': '/home/george/hope/nba/nba-roku/src',
'stagingFolderPath': 'build',
'plugins': [
'/home/george/hope/open-source/maestro/maestro-roku-bsc-plugin/dist/plugin.js',
'/home/george/hope/open-source/rooibos/bsc-plugin/dist/plugin.js'
],
'files': [
'!**/*.i8n.json',
'manifest',
'source/**/*.*',
'images/**/*.*',
Expand All @@ -566,6 +635,9 @@ let nba = {
{
'src': '**/roku_modules/**/*.*'
},
{
'src': '**/rooibos/**/*.*'
},
{
'src': '**/RALETrackerTask.*'
},
Expand All @@ -581,23 +653,35 @@ let nba = {
},
{
'src': '**/mediakind/**/*.*'
},
{
'src': '**/NewRelicAgent/**/*.*'
},
{
'src': '**/NewRelicAgent.brs'
}
],
'plugins': [
'/home/george/hope/open-source/maestro/maestro-roku-bsc-plugin/dist/plugin.js',
'/home/george/hope/open-source/maestro/roku-log-bsc-plugin/dist/plugin.js',
'/home/george/hope/open-source/rooibos/bsc-plugin/dist/plugin.js'
],
'maestro': {
'excludeFilters': [
'**/roku_modules/**/*',
'**/roku_modules/**/*',
'**/node_modules/**/*',
'**/rooibos/**/*',
'**/bitmovinAnalytics/**/*.*',
'**/bitmovinPlayer/**/*.*',
'**/mediakind/**/*.*',
'**/NewRelicAgent/**/*.*',
'**/NewRelicAgent.brs'
],
'buildForIDE': true,
'buildForIDE': false,
'extraValidation': {
'doExtraValidation': true,
'doExtraImportValidation': true
'doExtraImportValidation': true,
'excludeFilters': []
}
},
'rooibos': {
Expand All @@ -610,17 +694,20 @@ let nba = {
'removeComments': true
},
'logLevel': 'error',
'retainStagingFolder': true
'retainStagingFolder': true,
'transpileOptions': {
'removeParameterTypes': true
}
};


let programBuilder = new ProgramBuilder();
programBuilder.run(
// swv
// zapp
// maestro
// corco
nba
nbaLatest
// nba
// z41
// maestroSample
// maestroList
Expand Down
Loading

0 comments on commit 0a751a8

Please sign in to comment.