@krx3d/tizentube2 1.31.560 → 1.31.580
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.github/workflows/build-publish-cleanup.yml +22 -6
- package/.github/workflows/build-standalone-release.yaml +7 -0
- package/.github/workflows/claude.yml +1 -1
- package/.github/workflows/codeql.yml +1 -1
- package/.github/workflows/upstream-sync.yml +1 -1
- package/dist/userScript.js +1 -1
- package/package.json +1 -1
- package/standalone/config.xml +8 -0
- package/standalone/index.html +43 -0
- package/standalone/preview/preview.js +117 -0
|
@@ -186,11 +186,15 @@ env:
|
|
|
186
186
|
# refused request writes nothing, and if npm allows this again for
|
|
187
187
|
# automation, removal resumes on the next run with no change here.
|
|
188
188
|
# Set to 'false' only to stop attempting it altogether.
|
|
189
|
-
|
|
189
|
+
# 'false': npm refuses unpublish from this granular bypass-2FA token
|
|
190
|
+
# (see "Decide versions" below), so every attempt only produced a 403 and a
|
|
191
|
+
# warning. Old versions are deprecated instead; scripts/npm-cleanup removes
|
|
192
|
+
# them locally.
|
|
193
|
+
ALLOW_UNPUBLISH: 'false'
|
|
190
194
|
|
|
191
195
|
jobs:
|
|
192
196
|
build-publish-clean:
|
|
193
|
-
runs-on: ubuntu-
|
|
197
|
+
runs-on: ubuntu-24.04
|
|
194
198
|
|
|
195
199
|
# Prevent loop on bot commits and on our own "[skip ci]" commits.
|
|
196
200
|
#
|
|
@@ -956,10 +960,22 @@ jobs:
|
|
|
956
960
|
# continue-on-error here, a benign throttle still failed the whole
|
|
957
961
|
# job even though that fallback ran and succeeded.
|
|
958
962
|
continue-on-error: true
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
+
# Was egad13/purge-jsdelivr-cache@v1, which targets Node 20 (deprecated
|
|
964
|
+
# on the runners). jsDelivr's purge API is one JSON POST, so it is done
|
|
965
|
+
# here directly: paths without the host, all in one request.
|
|
966
|
+
env:
|
|
967
|
+
CDN_URLS: ${{ steps.cdn_urls.outputs.urls }}
|
|
968
|
+
run: |
|
|
969
|
+
set -euo pipefail
|
|
970
|
+
BODY=$(node -e 'const u=(process.env.CDN_URLS||"").split(",").filter(Boolean).map(x=>x.replace(/^https:\/\/cdn\.jsdelivr\.net/,""));process.stdout.write(JSON.stringify({path:u}))')
|
|
971
|
+
echo "Purging $(echo "$BODY" | node -e 'let s="";process.stdin.on("data",d=>s+=d).on("end",()=>console.log(JSON.parse(s).path.length))') paths"
|
|
972
|
+
for attempt in 1 2 3; do
|
|
973
|
+
CODE=$(curl -s -o /tmp/purge.json -w '%{http_code}' -X POST https://purge.jsdelivr.net/ -H 'Content-Type: application/json' -d "$BODY" || true)
|
|
974
|
+
echo "attempt ${attempt}: HTTP ${CODE}"; head -c 600 /tmp/purge.json || true; echo
|
|
975
|
+
if [ "$CODE" -ge 200 ] && [ "$CODE" -lt 300 ]; then exit 0; fi
|
|
976
|
+
sleep 5
|
|
977
|
+
done
|
|
978
|
+
exit 1
|
|
963
979
|
|
|
964
980
|
- name: Purge individual URLs (fallback if batch fails)
|
|
965
981
|
if: steps.confirm_publish.outputs.confirmed == 'true' && failure()
|
|
@@ -96,6 +96,11 @@ on:
|
|
|
96
96
|
release_version:
|
|
97
97
|
description: 'Release version/tag name (e.g. v1.0.0)'
|
|
98
98
|
required: false
|
|
99
|
+
artifact_only:
|
|
100
|
+
description: 'Only build the .wgt as a run artifact; publish no release (for test builds from a branch)'
|
|
101
|
+
type: boolean
|
|
102
|
+
required: false
|
|
103
|
+
default: false
|
|
99
104
|
|
|
100
105
|
env:
|
|
101
106
|
TIZEN_STUDIO_VER: 5.6
|
|
@@ -350,6 +355,7 @@ jobs:
|
|
|
350
355
|
# release; the build/TBI_METADATA header stays first so the TizenBrew
|
|
351
356
|
# Installer still finds it.
|
|
352
357
|
- name: Build release notes
|
|
358
|
+
if: ${{ github.event_name != 'workflow_dispatch' || !inputs.artifact_only }}
|
|
353
359
|
env:
|
|
354
360
|
GH_TOKEN: ${{ github.token }}
|
|
355
361
|
run: |
|
|
@@ -373,6 +379,7 @@ jobs:
|
|
|
373
379
|
# The .wgt is uploaded as an artifact by the step above, before any of
|
|
374
380
|
# this runs, so a failure here never loses the build.
|
|
375
381
|
- name: Release TizenTube Standalone
|
|
382
|
+
if: ${{ github.event_name != 'workflow_dispatch' || !inputs.artifact_only }}
|
|
376
383
|
env:
|
|
377
384
|
GH_TOKEN: ${{ github.token }}
|
|
378
385
|
TAG: ${{ env.RELEASE_VERSION }}
|
|
@@ -17,7 +17,7 @@ jobs:
|
|
|
17
17
|
(github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '@claude')) ||
|
|
18
18
|
(github.event_name == 'pull_request_review' && contains(github.event.review.body, '@claude')) ||
|
|
19
19
|
(github.event_name == 'issues' && (contains(github.event.issue.body, '@claude') || contains(github.event.issue.title, '@claude')))
|
|
20
|
-
runs-on: ubuntu-
|
|
20
|
+
runs-on: ubuntu-24.04
|
|
21
21
|
permissions:
|
|
22
22
|
contents: write
|
|
23
23
|
pull-requests: write
|