Compare commits

..
11 Commits
22 changed files with 219 additions and 79 deletions

No files matched your search

+18
View File
@@ -5,6 +5,24 @@ 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.1.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [0.25.3] - 2024-08-14
### Fixed
- a bug where the web app qrcode doesn't show up
- added `uri_resolution_autosub` to manifest (needed to fix 720p UI)
## [0.25.2] - 2024-08-05
### Added
- An announcement for the `This helps protect our community` error message
### Fixed
- Few optimizations with texture loading to improve memory usage
- A rare crash in DIAL server
## [0.25.1] - 2024-08-03 ## [0.25.1] - 2024-08-03
### Added ### Added
+12 -6
View File
@@ -26,7 +26,8 @@ This document contains various kinds of information related to Playlet developme
- [Playlet Web App](#playlet-web-app) - [Playlet Web App](#playlet-web-app)
- [Svelte development](#svelte-development) - [Svelte development](#svelte-development)
- [Tailwind/Daisy UI](#tailwinddaisy-ui) - [Tailwind/Daisy UI](#tailwinddaisy-ui)
- [API calls (proxy authenticated)](#api-calls-proxy-authenticated) - [API calls](#api-calls)
- [API calls (proxy authenticated)](#api-calls-proxy-authenticated)
- [Developer settings](#developer-settings) - [Developer settings](#developer-settings)
- [In case of a softlock](#in-case-of-a-softlock) - [In case of a softlock](#in-case-of-a-softlock)
- [CI/CD](#cicd) - [CI/CD](#cicd)
@@ -144,7 +145,7 @@ There are a few reasons we made this separation:
- Playlet relies on [Invidious](https://github.com/iv-org/invidious). Invidious tries to keep up with YouTube making changes to their platform, but sometimes, a breaking change happens that requires Playlet to react quickly. Releasing through the Roku Channel store can take days, or a week. During this time, Playlet would be not functional, and that's not acceptable. - Playlet relies on [Invidious](https://github.com/iv-org/invidious). Invidious tries to keep up with YouTube making changes to their platform, but sometimes, a breaking change happens that requires Playlet to react quickly. Releasing through the Roku Channel store can take days, or a week. During this time, Playlet would be not functional, and that's not acceptable.
- The ability to roll back: Sometimes an app breaking bug gets released. Allowing users to choose a seperate version is a flexible way to keep things working. For example, it's possible to choose a different verrsion from the developer settings in the web app. - The ability to roll back: Sometimes an app breaking bug gets released. Allowing users to choose a seperate version is a flexible way to keep things working. For example, it's possible to choose a different verrsion from the developer settings in the web app.
- It is simply easier to release: Releasing Playlet Lib on Github, and everyone receives the latest version immediately, is very conveninct and less of a hassle, than going through the Roku Channel store. - It is simply easier to release: Releasing Playlet Lib on Github, and everyone receives the latest version immediately, is very convenient and less of a hassle, than going through the Roku Channel store.
- I've had instances where I was trying to pass the certfication for Playlet to publish it. One of the criterias is to pass a some automated tests. But the tests were failing because their system could not connect to their Roku test devices (connection keeps timing out). My only option was to keep trying over and over until it worked. - I've had instances where I was trying to pass the certfication for Playlet to publish it. One of the criterias is to pass a some automated tests. But the tests were failing because their system could not connect to their Roku test devices (connection keeps timing out). My only option was to keep trying over and over until it worked.
- It might sound that Playlet Lib is just a workaround for the Roku Channel release process. But phrased differently, Roku Channel release process is not good enough of what we need for Playlet. - It might sound that Playlet Lib is just a workaround for the Roku Channel release process. But phrased differently, Roku Channel release process is not good enough of what we need for Playlet.
- Canary builds: The latest version of Playlet can be tested as soon as it lands in the main branch. This is a great way to test newer features in production, without affecting the stability of the released version. Roku has the concept of "beta" channels, but they are more cumbersome. - Canary builds: The latest version of Playlet can be tested as soon as it lands in the main branch. This is a great way to test newer features in production, without affecting the stability of the released version. Roku has the concept of "beta" channels, but they are more cumbersome.
@@ -181,7 +182,8 @@ These are useful to see if the files and caching are working as expected.
### Releases from Github ### Releases from Github
Since Component Libraries are simply zip files hosted at some https endpoint, Github releases are used to host and deliver Playet Lib to users. By default, Playlet grabs `https://github.com/iBicha/playlet/releases/latest/download/playlet-lib.zip` and loads it, but this can be pointed to somewhere else, if for some reason the Github repository becomes unavailable. Since Component Libraries are simply zip/squashfs files hosted at some HTTPS endpoint, Github releases are used to host and deliver Playet Lib to users. By default, Playlet grabs `https://github.com/iBicha/playlet/releases/latest/download/playlet-lib.squashfs.pkg` and loads it, but this can be pointed to somewhere else, if for some reason the Github repository becomes unavailable.
Squashfs files are faster to load, but they require signing. Zip files can be used without signing if they are served from an HTTPS endpoint.
### Dev library hosted by VS Code Extension ### Dev library hosted by VS Code Extension
@@ -272,7 +274,11 @@ For debugging, choose the compound target `Playlet Web (Debug)`.
The Playlet web app uses [Tailwind CSS](https://tailwindcss.com/) as its base styling library. Additionally, it uses [DaisyUI](https://daisyui.com/) as it offers a versatile set of components, and has built-in supports for themes. The Playlet web app uses [Tailwind CSS](https://tailwindcss.com/) as its base styling library. Additionally, it uses [DaisyUI](https://daisyui.com/) as it offers a versatile set of components, and has built-in supports for themes.
### API calls (proxy authenticated) ### API calls
The Playlet web app communicates with the Playlet Roku app using web APIs. Most of the APIs used are described in the OpenAPI spec [playlet-web-api.yml](./playlet-web-api.yml). The web app also uses Invidious apis documented at [https://docs.invidious.io/api](https://docs.invidious.io/api)
#### API calls (proxy authenticated)
When making authenticated calls to Invidious (for example to fetch the user Subscription feed) the Bearer token is needed. When making authenticated calls to Invidious (for example to fetch the user Subscription feed) the Bearer token is needed.
@@ -286,9 +292,9 @@ For API calls that don't require authentication, the web app fetches data from I
### Developer settings ### Developer settings
The developer settings are only visible through the web app. They are found at the buttom of the settings page. The developer settings are found at the buttom of the settings page.
For now, it allows you to point to a different Github release other than the default `latest`. One setting that is only available in the web app is `Playlet Library version`. It allows you to point to a different Github release other than the default `latest`.
This is mostly useful to QA the `canary` release (see [Canary release](https://en.wikipedia.org/wiki/Feature_toggle#Canary_release)) in a "production" setting before making it available to all users as the official "latest" version. This is mostly useful to QA the `canary` release (see [Canary release](https://en.wikipedia.org/wiki/Feature_toggle#Canary_release)) in a "production" setting before making it available to all users as the official "latest" version.
+1 -1
View File
@@ -2,7 +2,7 @@ openapi: 3.0.0
info: info:
title: Playlet Web API title: Playlet Web API
version: 0.25.1 version: 0.25.3
description: description:
Playlet Web API is a RESTful API for controlling the Playlet app on Playlet Web API is a RESTful API for controlling the Playlet app on
Roku devices. The API is intended to be used by the Playlet web app, but can Roku devices. The API is intended to be used by the Playlet web app, but can
+6 -6
View File
@@ -1,18 +1,18 @@
{ {
"name": "playlet", "name": "playlet",
"version": "0.25.1", "version": "0.25.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playlet", "name": "playlet",
"version": "0.25.1", "version": "0.25.3",
"hasInstallScript": true, "hasInstallScript": true,
"devDependencies": { "devDependencies": {
"@rokucommunity/bslint": "^0.8.22", "@rokucommunity/bslint": "^0.8.22",
"@types/crypto-js": "^4.2.2", "@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^11.0.4", "@types/fs-extra": "^11.0.4",
"@types/node": "^22.1.0", "@types/node": "^22.2.0",
"@types/xml2js": "^0.4.14", "@types/xml2js": "^0.4.14",
"argparse": "^2.0.1", "argparse": "^2.0.1",
"brighterscript": "0.67.5", "brighterscript": "0.67.5",
@@ -514,9 +514,9 @@
"dev": true "dev": true
}, },
"node_modules/@types/node": { "node_modules/@types/node": {
"version": "22.1.0", "version": "22.2.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-22.1.0.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-22.2.0.tgz",
"integrity": "sha512-AOmuRF0R2/5j1knA3c6G3HOk523Ga+l+ZXltX8SF1+5oqcXijjfTd8fY3XRZqSihEu9XhtQnKYLmkFaoxgsJHw==", "integrity": "sha512-bm6EG6/pCpkxDf/0gDNDdtDILMOHgaQBVOJGdwsqClnxA3xL6jtMv76rLBc006RVMWbmaf0xbmom4Z/5o2nRkQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "playlet", "name": "playlet",
"version": "0.25.1", "version": "0.25.3",
"description": "Unofficial YouTube client for Roku", "description": "Unofficial YouTube client for Roku",
"devDependencies": { "devDependencies": {
"@rokucommunity/bslint": "^0.8.22", "@rokucommunity/bslint": "^0.8.22",
"@types/crypto-js": "^4.2.2", "@types/crypto-js": "^4.2.2",
"@types/fs-extra": "^11.0.4", "@types/fs-extra": "^11.0.4",
"@types/node": "^22.1.0", "@types/node": "^22.2.0",
"@types/xml2js": "^0.4.14", "@types/xml2js": "^0.4.14",
"argparse": "^2.0.1", "argparse": "^2.0.1",
"brighterscript": "0.67.5", "brighterscript": "0.67.5",
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "playlet-app", "name": "playlet-app",
"version": "0.25.1", "version": "0.25.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playlet-app", "name": "playlet-app",
"version": "0.25.1" "version": "0.25.3"
} }
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "playlet-app", "name": "playlet-app",
"version": "0.25.1", "version": "0.25.3",
"description": "Unofficial YouTube client for Roku", "description": "Unofficial YouTube client for Roku",
"scripts": { "scripts": {
"prebuild": "rm -rf ../build/playlet-app", "prebuild": "rm -rf ../build/playlet-app",
@@ -1,10 +1,14 @@
function Init() function Init()
m.busySpinner = m.top.findNode("busySpinner") m.busySpinner = m.top.findNode("busySpinner")
m.busyspinner.poster.width = 150 poster = m.busyspinner.poster
m.busyspinner.poster.height = 150 poster.width = 150
poster.height = 150
poster.loadWidth = 150
poster.loadHeight = 150
poster.loadDisplayMode = "limitSize"
' bs:disable-next-line NO_OBSERVE_STRING_CALLBACK ' bs:disable-next-line NO_OBSERVE_STRING_CALLBACK
m.busyspinner.poster.observeField("loadStatus", "PositionSpinner") poster.observeField("loadStatus", "PositionSpinner")
m.busySpinner.poster.uri = "pkg:/images/spinner.png" poster.uri = "pkg:/images/spinner.png"
' bs:disable-next-line NO_OBSERVE_STRING_CALLBACK ' bs:disable-next-line NO_OBSERVE_STRING_CALLBACK
m.top.observeField("visible", "OnVisibleChange") m.top.observeField("visible", "OnVisibleChange")
end function end function
+2 -1
View File
@@ -3,9 +3,10 @@ title=Playlet
# Do not update version manually, it is auto updated from package.json # Do not update version manually, it is auto updated from package.json
major_version=0 major_version=0
minor_version=25 minor_version=25
build_version=00001 build_version=00003
ui_resolutions=hd ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
## Channel Assets ## Channel Assets
### Main Menu Icons / Channel Poster Artwork ### Main Menu Icons / Channel Poster Artwork
+2 -2
View File
@@ -1,12 +1,12 @@
{ {
"name": "playlet-lib", "name": "playlet-lib",
"version": "0.25.1", "version": "0.25.3",
"lockfileVersion": 2, "lockfileVersion": 2,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playlet-lib", "name": "playlet-lib",
"version": "0.25.1" "version": "0.25.3"
} }
} }
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"name": "playlet-lib", "name": "playlet-lib",
"version": "0.25.1", "version": "0.25.3",
"description": "Unofficial YouTube client for Roku", "description": "Unofficial YouTube client for Roku",
"scripts": { "scripts": {
"prebuild": "rm -rf ../build/playlet-lib", "prebuild": "rm -rf ../build/playlet-lib",
@@ -17,6 +17,9 @@
<Poster <Poster
id="banner" id="banner"
width="1280" width="1280"
loadWidth="1280"
loadHeight="500"
loadDisplayMode="limitSize"
visible="false" /> visible="false" />
<Group id="container"> <Group id="container">
+27
View File
@@ -2,6 +2,7 @@ import "pkg:/components/EcpArgs.bs"
import "pkg:/components/parts/AutoBind/AutoBind.part.bs" import "pkg:/components/parts/AutoBind/AutoBind.part.bs"
import "pkg:/components/parts/AutoBind/OnNodeReadyNoOp.bs" import "pkg:/components/parts/AutoBind/OnNodeReadyNoOp.bs"
import "pkg:/source/utils/LoadingScreen.bs" import "pkg:/source/utils/LoadingScreen.bs"
import "pkg:/source/utils/Locale.bs"
function Init() function Init()
m.scene = m.top.getScene() m.scene = m.top.getScene()
@@ -18,6 +19,7 @@ function MainSceneContainerChanged()
InitEcpArgs() InitEcpArgs()
m.scene.signalBeacon("AppLaunchComplete") m.scene.signalBeacon("AppLaunchComplete")
CopyLoadingMessagesToCache() CopyLoadingMessagesToCache()
ShowAnnouncement()
end function end function
function StartWebServer() function StartWebServer()
@@ -30,3 +32,28 @@ function StartWebServer()
m.dialServer = m.top.findNode("DialServer") m.dialServer = m.top.findNode("DialServer")
m.dialServer@.StartServer() m.dialServer@.StartServer()
end function end function
function ShowAnnouncement()
title = "Announcement"
message = [
"Hello again!",
"Invidious servers are actively getting blocked by YouTube.",
`If you see the error message "This helps protect our community. Learn more" when playing a video, try changing the Invidious instance in the settings.`,
"This is a known issue and the Invidious dev team is working to fix it."
"See more information at https://github.com/iv-org/invidious/issues/4734"
"We apologize for the inconvenience."
]
buttons = [Tr(Locale.Buttons.OK)]
dialog = CreateObject("roSGNode", "SimpleDialog")
dialog.title = title
dialog.message = message
dialog.buttons = buttons
deviceInfo = CreateObject("roDeviceInfo")
displaySize = deviceInfo.GetDisplaySize()
dialog.width = displaySize.w - 180
m.top.getScene().dialog = dialog
end function
@@ -2,6 +2,7 @@
'import "pkg:/components/parts/AutoBind/AutoBind.part.bs" 'import "pkg:/components/parts/AutoBind/AutoBind.part.bs"
'import "pkg:/components/parts/AutoBind/OnNodeReadyNoOp.bs" 'import "pkg:/components/parts/AutoBind/OnNodeReadyNoOp.bs"
'import "pkg:/source/utils/LoadingScreen.bs" 'import "pkg:/source/utils/LoadingScreen.bs"
'import "pkg:/source/utils/Locale.bs"
function Init() function Init()
InitializeBindings() ' auto-generated! InitializeBindings() ' auto-generated!
@@ -19,6 +20,7 @@ function MainSceneContainerChanged()
InitEcpArgs() InitEcpArgs()
m.scene.signalBeacon("AppLaunchComplete") m.scene.signalBeacon("AppLaunchComplete")
CopyLoadingMessagesToCache() CopyLoadingMessagesToCache()
ShowAnnouncement()
end function end function
function StartWebServer() function StartWebServer()
@@ -29,4 +31,27 @@ function StartWebServer()
m.dialServer = m.top.findNode("DialServer") m.dialServer = m.top.findNode("DialServer")
m.dialServer.callfunc("StartServer", invalid) m.dialServer.callfunc("StartServer", invalid)
end function end function
function ShowAnnouncement()
title = "Announcement"
message = [
"Hello again!"
"Invidious servers are actively getting blocked by YouTube."
"If you see the error message " + chr(34) + "This helps protect our community. Learn more" + chr(34) + " when playing a video, try changing the Invidious instance in the settings."
"This is a known issue and the Invidious dev team is working to fix it."
"See more information at https://github.com/iv-org/invidious/issues/4734"
"We apologize for the inconvenience."
]
buttons = [
Tr("OK")
]
dialog = CreateObject("roSGNode", "SimpleDialog")
dialog.title = title
dialog.message = message
dialog.buttons = buttons
deviceInfo = CreateObject("roDeviceInfo")
displaySize = deviceInfo.GetDisplaySize()
dialog.width = displaySize.w - 180
m.top.getScene().dialog = dialog
end function
'//# sourceMappingURL=./MainScene.brs.map '//# sourceMappingURL=./MainScene.brs.map
@@ -1,29 +1,49 @@
import "pkg:/source/AsyncTask/AsyncTask.bs" import "pkg:/source/AsyncTask/AsyncTask.bs"
import "pkg:/source/AsyncTask/Tasks.bs" import "pkg:/source/AsyncTask/Tasks.bs"
import "pkg:/source/utils/Logging.bs"
import "pkg:/source/utils/StringUtils.bs" import "pkg:/source/utils/StringUtils.bs"
import "pkg:/source/utils/Types.bs" import "pkg:/source/utils/Types.bs"
function Init() function Init()
m.busySpinner = m.top.findNode("busySpinner") m.busySpinner = m.top.findNode("busySpinner")
m.busySpinnerPoster = m.busySpinner.poster m.busySpinnerPoster = m.busySpinner.poster
m.busySpinnerPoster.loadDisplayMode = "limitSize"
m.busySpinnerPoster.uri = "pkg:/images/spinner.png"
m.top.observeField("width", FuncName(OnSizeChange)) m.top.observeField("width", FuncName(OnSizeChange))
m.top.observeField("height", FuncName(OnSizeChange)) m.top.observeField("height", FuncName(OnSizeChange))
OnSizeChange() OnSizeChange()
m.busySpinnerPoster.uri = "pkg:/images/spinner.png"
m.top.observeField("loadStatus", FuncName(OnLoadStatusChange))
end function end function
function OnSizeChange() function OnSizeChange()
width = m.top.width spinnerWidth = m.top.width / 2
height = m.top.height spinnerHeight = m.top.height / 2
m.busySpinnerPoster.width = spinnerWidth
m.busySpinnerPoster.width = width / 2 m.busySpinnerPoster.height = spinnerHeight
m.busySpinnerPoster.height = height / 2 m.busySpinnerPoster.loadWidth = spinnerWidth
m.busySpinner.translation = [width / 4, height / 4] m.busySpinnerPoster.loadHeight = spinnerHeight
m.busySpinner.translation = [spinnerWidth / 2, spinnerHeight / 2]
end function end function
function OnTextChange() as void function OnTextChange() as void
GenerateQrCode()
end function
function OnLoadStatusChange() as void
if m.top.loadStatus <> "failed"
return
end if
' If the image failed to load, it might have been deleted from cachefs:
' Try to generate it again
LogInfo("QrCode image failed to load, trying to generate it again")
GenerateQrCode()
end function
function GenerateQrCode() as void
if m.qrCodeGenTask <> invalid if m.qrCodeGenTask <> invalid
m.qrCodeGenTask.cancel = true m.qrCodeGenTask.cancel = true
end if end if
@@ -56,7 +56,7 @@ namespace Http
m.SetState(Http.HttpConnectionState.RECV_REQUEST) m.SetState(Http.HttpConnectionState.RECV_REQUEST)
m.client = m.socket.getReceivedFromAddress().getAddress() m.client = m.socket.getReceivedFromAddress().getAddress()
LogInfo("accepted connection @" + m.client) LogDebug("accepted connection @" + m.client)
' try to read right away rather than going through another iteration ' try to read right away rather than going through another iteration
' of the poll loop. ' of the poll loop.
@@ -162,7 +162,7 @@ namespace Http
'info(m,op + " would have blocked @"+m.client) 'info(m,op + " would have blocked @"+m.client)
else else
if m.socket.eSuccess() if m.socket.eSuccess()
LogInfo(op + " peer closed @" + m.client) LogDebug(op + " peer closed @" + m.client)
else else
LogError(op + " transfer error @" + m.client, m.socket.status()) LogError(op + " transfer error @" + m.client, m.socket.status())
end if end if
@@ -121,7 +121,8 @@ ${m.GeneratedBy()}
buf_pos = m.start + m.sent - m.buf_start buf_pos = m.start + m.sent - m.buf_start
buf_remaining = m.body_buffer.count() - buf_pos buf_remaining = m.body_buffer.count() - buf_pos
if buf_remaining = 0 if buf_remaining = 0
LogInfo("source buffer is empty") ' This is expected if there's an ETag cache hit
LogDebug("source buffer is empty")
end if end if
req_remaining = m.body_buffer_length - m.sent req_remaining = m.body_buffer_length - m.sent
if buf_remaining > req_remaining if buf_remaining > req_remaining
+2 -1
View File
@@ -3,9 +3,10 @@ title=PlayletLib
# Do not update version manually, it is auto updated from package.json # Do not update version manually, it is auto updated from package.json
major_version=0 major_version=0
minor_version=25 minor_version=25
build_version=00001 build_version=00003
ui_resolutions=hd ui_resolutions=hd
uri_resolution_autosub=$$RES$$,480p,720p,1080p
sg_component_libs_provided=PlayletLib sg_component_libs_provided=PlayletLib
hidden=1 hidden=1
+2 -2
View File
@@ -11,9 +11,9 @@ namespace QrCode
function Generate(text as string, size as integer, padding as integer, mode = QrCode.QrMode.Byte as QrCode.QrMode) as string function Generate(text as string, size as integer, padding as integer, mode = QrCode.QrMode.Byte as QrCode.QrMode) as string
fileName = m.GetFileName(text, mode, size, padding) fileName = m.GetFileName(text, mode, size, padding)
#if DEBUG #if DISABLE_CACHE
#else #else
#if DISABLE_CACHE #if DEBUG
#else #else
fs = CreateObject("roFileSystem") fs = CreateObject("roFileSystem")
if fs.exists(fileName) if fs.exists(fileName)
@@ -87,18 +87,42 @@ class ApplicationInfo
function GetLibVersion() as string function GetLibVersion() as string
values = m.GetLibManifestValues() values = m.GetLibManifestValues()
if values = invalid
return "0.0.0"
end if
Major = values["major_version"].toInt() major = 0
Minor = values["minor_version"].toInt() minor = 0
Build = values["build_version"].toInt() build = 0
return `${Major}.${Minor}.${Build}` if values.DoesExist("major_version")
value = values["major_version"]
if IsString(value)
major = value.toInt()
end if
end if
if values.DoesExist("minor_version")
value = values["minor_version"]
if IsString(value)
minor = value.toInt()
end if
end if
if values.DoesExist("build_version")
value = values["build_version"]
if IsString(value)
build = value.toInt()
end if
end if
return `${major}.${minor}.${build}`
end function end function
function GetLibGitCommitHash() as string function GetLibGitCommitHash() as string
values = m.GetLibManifestValues() values = m.GetLibManifestValues()
if values.doesexist("git_commit_sha") if values.DoesExist("git_commit_sha")
return values["git_commit_sha"] return values["git_commit_sha"]
end if end if
return "" return ""
+37 -27
View File
@@ -1,31 +1,31 @@
{ {
"name": "playlet-web", "name": "playlet-web",
"version": "0.25.1", "version": "0.25.3",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "playlet-web", "name": "playlet-web",
"version": "0.25.1", "version": "0.25.3",
"devDependencies": { "devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.1.1", "@sveltejs/vite-plugin-svelte": "^3.1.1",
"@tailwindcss/typography": "^0.5.13", "@tailwindcss/typography": "^0.5.14",
"@tsconfig/svelte": "^5.0.4", "@tsconfig/svelte": "^5.0.4",
"@vitejs/plugin-legacy": "^5.4.1", "@vitejs/plugin-legacy": "^5.4.1",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"daisyui": "^4.12.10", "daisyui": "^4.12.10",
"dotenv": "^16.4.5", "dotenv": "^16.4.5",
"ip": "^2.0.1", "ip": "^2.0.1",
"postcss": "^8.4.40", "postcss": "^8.4.41",
"svelte": "^4.2.18", "svelte": "^4.2.18",
"svelte-check": "^3.8.5", "svelte-check": "^3.8.5",
"svelte-preprocess": "^6.0.2", "svelte-preprocess": "^6.0.2",
"tailwindcss": "^3.4.7", "tailwindcss": "^3.4.9",
"terser": "^5.31.3", "terser": "^5.31.5",
"tslib": "^2.6.3", "tslib": "^2.6.3",
"typescript": "^5.5.4", "typescript": "^5.5.4",
"vite": "^5.3.5", "vite": "^5.4.0",
"vite-tsconfig-paths": "^4.3.2" "vite-tsconfig-paths": "^5.0.1"
} }
}, },
"node_modules/@alloc/quick-lru": { "node_modules/@alloc/quick-lru": {
@@ -2393,10 +2393,11 @@
} }
}, },
"node_modules/@tailwindcss/typography": { "node_modules/@tailwindcss/typography": {
"version": "0.5.13", "version": "0.5.14",
"resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.13.tgz", "resolved": "https://registry.npmjs.org/@tailwindcss/typography/-/typography-0.5.14.tgz",
"integrity": "sha512-ADGcJ8dX21dVVHIwTRgzrcunY6YY9uSlAHHGVKvkA+vLc5qLwEszvKts40lx7z0qc4clpjclwLeK5rVCV2P/uw==", "integrity": "sha512-ZvOCjUbsJBjL9CxQBn+VEnFpouzuKhxh2dH8xMIWHILL+HfOYtlAkWcyoon8LlzE53d2Yo6YO6pahKKNW3q1YQ==",
"dev": true, "dev": true,
"license": "MIT",
"dependencies": { "dependencies": {
"lodash.castarray": "^4.4.0", "lodash.castarray": "^4.4.0",
"lodash.isplainobject": "^4.0.6", "lodash.isplainobject": "^4.0.6",
@@ -3667,9 +3668,9 @@
} }
}, },
"node_modules/postcss": { "node_modules/postcss": {
"version": "8.4.40", "version": "8.4.41",
"resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.40.tgz", "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.41.tgz",
"integrity": "sha512-YF2kKIUzAofPMpfH6hOi2cGnv/HrUlfucspc7pDyvv7kGdqXrfj8SCl/t8owkEgKEuu8ZcRjSOxFxVLqwChZ2Q==", "integrity": "sha512-TesUflQ0WKZqAvg52PWL6kHgLKP6xB6heTOdoYM0Wt2UHyxNa4K25EZZMgKns3BH1RLVbZCREPpLY0rhnNoHVQ==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -3685,6 +3686,7 @@
"url": "https://github.com/sponsors/ai" "url": "https://github.com/sponsors/ai"
} }
], ],
"license": "MIT",
"dependencies": { "dependencies": {
"nanoid": "^3.3.7", "nanoid": "^3.3.7",
"picocolors": "^1.0.1", "picocolors": "^1.0.1",
@@ -4368,10 +4370,11 @@
"dev": true "dev": true
}, },
"node_modules/tailwindcss": { "node_modules/tailwindcss": {
"version": "3.4.7", "version": "3.4.9",
"resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.7.tgz", "resolved": "https://registry.npmjs.org/tailwindcss/-/tailwindcss-3.4.9.tgz",
"integrity": "sha512-rxWZbe87YJb4OcSopb7up2Ba4U82BoiSGUdoDr3Ydrg9ckxFS/YWsvhN323GMcddgU65QRy7JndC7ahhInhvlQ==", "integrity": "sha512-1SEOvRr6sSdV5IDf9iC+NU4dhwdqzF4zKKq3sAbasUWHEM6lsMhX+eNN5gkPx1BvLFEnZQEUFbXnGj8Qlp83Pg==",
"dev": true, "dev": true,
"license": "MIT",
"dependencies": { "dependencies": {
"@alloc/quick-lru": "^5.2.0", "@alloc/quick-lru": "^5.2.0",
"arg": "^5.0.2", "arg": "^5.0.2",
@@ -4430,10 +4433,11 @@
} }
}, },
"node_modules/terser": { "node_modules/terser": {
"version": "5.31.3", "version": "5.31.5",
"resolved": "https://registry.npmjs.org/terser/-/terser-5.31.3.tgz", "resolved": "https://registry.npmjs.org/terser/-/terser-5.31.5.tgz",
"integrity": "sha512-pAfYn3NIZLyZpa83ZKigvj6Rn9c/vd5KfYGX7cN1mnzqgDcxWvrU5ZtAfIKhEXz9nRecw4z3LXkjaq96/qZqAA==", "integrity": "sha512-YPmas0L0rE1UyLL/llTWA0SiDOqIcAQYLeUj7cJYzXHlRTAnMSg9pPe4VJ5PlKvTrPQsdVFuiRiwyeNlYgwh2Q==",
"dev": true, "dev": true,
"license": "BSD-2-Clause",
"dependencies": { "dependencies": {
"@jridgewell/source-map": "^0.3.3", "@jridgewell/source-map": "^0.3.3",
"acorn": "^8.8.2", "acorn": "^8.8.2",
@@ -4618,13 +4622,14 @@
"dev": true "dev": true
}, },
"node_modules/vite": { "node_modules/vite": {
"version": "5.3.5", "version": "5.4.0",
"resolved": "https://registry.npmjs.org/vite/-/vite-5.3.5.tgz", "resolved": "https://registry.npmjs.org/vite/-/vite-5.4.0.tgz",
"integrity": "sha512-MdjglKR6AQXQb9JGiS7Rc2wC6uMjcm7Go/NHNO63EwiJXfuk9PgqiP/n5IDJCziMkfw9n4Ubp7lttNwz+8ZVKA==", "integrity": "sha512-5xokfMX0PIiwCMCMb9ZJcMyh5wbBun0zUzKib+L65vAZ8GY9ePZMXxFrHbr/Kyll2+LSCY7xtERPpxkBDKngwg==",
"dev": true, "dev": true,
"license": "MIT",
"dependencies": { "dependencies": {
"esbuild": "^0.21.3", "esbuild": "^0.21.3",
"postcss": "^8.4.39", "postcss": "^8.4.40",
"rollup": "^4.13.0" "rollup": "^4.13.0"
}, },
"bin": { "bin": {
@@ -4644,6 +4649,7 @@
"less": "*", "less": "*",
"lightningcss": "^1.21.0", "lightningcss": "^1.21.0",
"sass": "*", "sass": "*",
"sass-embedded": "*",
"stylus": "*", "stylus": "*",
"sugarss": "*", "sugarss": "*",
"terser": "^5.4.0" "terser": "^5.4.0"
@@ -4661,6 +4667,9 @@
"sass": { "sass": {
"optional": true "optional": true
}, },
"sass-embedded": {
"optional": true
},
"stylus": { "stylus": {
"optional": true "optional": true
}, },
@@ -4673,10 +4682,11 @@
} }
}, },
"node_modules/vite-tsconfig-paths": { "node_modules/vite-tsconfig-paths": {
"version": "4.3.2", "version": "5.0.1",
"resolved": "https://registry.npmjs.org/vite-tsconfig-paths/-/vite-tsconfig-paths-4.3.2.tgz", "resolved": "https://registry.npmjs.org/vite-tsconfig-paths/-/vite-tsconfig-paths-5.0.1.tgz",
"integrity": "sha512-0Vd/a6po6Q+86rPlntHye7F31zA2URZMbH8M3saAZ/xR9QoGN/L21bxEGfXdWmFdNkqPpRdxFT7nmNe12e9/uA==", "integrity": "sha512-yqwv+LstU7NwPeNqajZzLEBVpUFU6Dugtb2P84FXuvaoYA+/70l9MHE+GYfYAycVyPSDYZ7mjOFuYBRqlEpTig==",
"dev": true, "dev": true,
"license": "MIT",
"dependencies": { "dependencies": {
"debug": "^4.1.1", "debug": "^4.1.1",
"globrex": "^0.1.2", "globrex": "^0.1.2",
+7 -7
View File
@@ -1,6 +1,6 @@
{ {
"name": "playlet-web", "name": "playlet-web",
"version": "0.25.1", "version": "0.25.3",
"type": "module", "type": "module",
"scripts": { "scripts": {
"dev": "vite", "dev": "vite",
@@ -10,22 +10,22 @@
}, },
"devDependencies": { "devDependencies": {
"@sveltejs/vite-plugin-svelte": "^3.1.1", "@sveltejs/vite-plugin-svelte": "^3.1.1",
"@tailwindcss/typography": "^0.5.13", "@tailwindcss/typography": "^0.5.14",
"@tsconfig/svelte": "^5.0.4", "@tsconfig/svelte": "^5.0.4",
"@vitejs/plugin-legacy": "^5.4.1", "@vitejs/plugin-legacy": "^5.4.1",
"autoprefixer": "^10.4.20", "autoprefixer": "^10.4.20",
"daisyui": "^4.12.10", "daisyui": "^4.12.10",
"dotenv": "^16.4.5", "dotenv": "^16.4.5",
"ip": "^2.0.1", "ip": "^2.0.1",
"postcss": "^8.4.40", "postcss": "^8.4.41",
"svelte": "^4.2.18", "svelte": "^4.2.18",
"svelte-check": "^3.8.5", "svelte-check": "^3.8.5",
"svelte-preprocess": "^6.0.2", "svelte-preprocess": "^6.0.2",
"tailwindcss": "^3.4.7", "tailwindcss": "^3.4.9",
"terser": "^5.31.3", "terser": "^5.31.5",
"tslib": "^2.6.3", "tslib": "^2.6.3",
"typescript": "^5.5.4", "typescript": "^5.5.4",
"vite": "^5.3.5", "vite": "^5.4.0",
"vite-tsconfig-paths": "^4.3.2" "vite-tsconfig-paths": "^5.0.1"
} }
} }