Create Component Library (#43)

* Move src under playlet-lib

* Update configuration

* Update script

* Update script

* Working version

* Vs code config WIP

* Package lock sync

* Lint fix

* Fix images

* Reuse config files

* Kind of a working setup

* Lock node version

* Rename scripts to tools

* Fix build scripts, lib url system

* Lint fix

* rale

* Fix args and web server

* Load fallbacks and build script cleanups

* Remove unused method

* no message

* no message

* Remove generic message field

* Lint fix

* no message

* Use loading indicator on main app

* Add playlet lib version to settings

---------

Co-authored-by: github-action linter <githubaction@githubaction.com>
This commit is contained in:
Brahim Hadricheandgithub-action linter authored and GitHub committed 2023-01-29 16:50:28 -05:00
1 parent 90df81df4b
commit 9d8a3d1cea
156 files changed
+3341 -213

No files matched your search

+15 -16
View File
@@ -10,23 +10,22 @@
"stopOnEntry": false,
"enableDebuggerAutoRecovery": false,
"stopDebuggerOnAppExit": false,
"rootDir": "${workspaceFolder}/dist/build",
"preLaunchTask": "build-dev",
"rootDir": "${workspaceFolder}/dist/build/playlet",
"sourceDirs": [
"${workspaceFolder}/playlet/src",
"${workspaceFolder}/playlet-lib/src"
],
"files": [
"**/*",
],
"preLaunchTask": "build",
"name": "Playlet (dev)",
"injectRdbOnDeviceComponent": true
},
{
"type": "brightscript",
"request": "launch",
"envFile": "${workspaceFolder}/.vscode/.env",
"host": "${env:ROKU_DEV_TARGET}",
"password": "${env:ROKU_DEVPASSWORD}",
"stopOnEntry": false,
"enableDebuggerAutoRecovery": false,
"stopDebuggerOnAppExit": false,
"rootDir": "${workspaceFolder}/dist/build",
"preLaunchTask": "build-prod",
"name": "Playlet (prod)"
"injectRdbOnDeviceComponent": true,
"injectRaleTrackerTask": true,
// TODO: change to ${workspaceFolder}/tools/RALE/TrackerTask.xml
// Once https://github.com/rokucommunity/vscode-brightscript-language/pull/462
// is released (after v2.38.7)
"raleTrackerTaskFileLocation": "/Users/brahim/Roku/playlet/tools/RALE/TrackerTask.xml"
},
{
"command": "npm run dev:web",
+3
View File
@@ -0,0 +1,3 @@
{
"brightscript.output.clearConsoleOnChannelStart": false
}
+22 -15
View File
@@ -2,23 +2,30 @@
"version": "2.0.0",
"tasks": [
{
"label": "build-dev",
"presentation": {
"close": true,
"reveal": "silent",
"revealProblems": "onProblem"
},
"script": "build:dev",
"type": "npm"
"label": "build",
"dependsOn": [
"build-app"
]
},
{
"label": "build-prod",
"presentation": {
"close": true,
"reveal": "silent",
"revealProblems": "onProblem"
},
"script": "build:prod",
"label": "build-app",
"script": "build:app:dev",
"type": "npm",
"dependsOn": [
"build-lib"
]
},
{
"label": "build-lib",
"script": "build:lib:dev",
"type": "npm",
"dependsOn": [
"build-web"
]
},
{
"label": "build-web",
"script": "build:web",
"type": "npm"
}
]