@krx3d/tizentubekrx 1.15.19 → 1.15.21
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/publish-on-release.yml +63 -0
- package/README.md +1 -1
- package/dist/userScript.js +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,66 @@
|
|
|
1
|
+
# -----------------------------------------------------------------------------
|
|
2
|
+
# Build and publish TizenTubeKrX to npm
|
|
3
|
+
#
|
|
4
|
+
# WHAT THIS WORKFLOW DOES
|
|
5
|
+
# -----------------------
|
|
6
|
+
# - Runs on every push to the `main` branch (build + verification)
|
|
7
|
+
# - Runs again when a GitHub Release is published (build + npm publish)
|
|
8
|
+
# - Builds:
|
|
9
|
+
# - dist/userScript.js (browser userscript, bundled & minified)
|
|
10
|
+
# - dist/service.js (DIAL service, bundled with Rollup)
|
|
11
|
+
# - Publishes the package to https://www.npmjs.com on release only
|
|
12
|
+
#
|
|
13
|
+
# WHEN IT RUNS
|
|
14
|
+
# ------------
|
|
15
|
+
# push to main:
|
|
16
|
+
# - Builds the project
|
|
17
|
+
# - Does NOT publish to npm
|
|
18
|
+
#
|
|
19
|
+
# release (published):
|
|
20
|
+
# - Builds the project
|
|
21
|
+
# - Publishes to npm
|
|
22
|
+
#
|
|
23
|
+
# PREREQUISITES (REQUIRED)
|
|
24
|
+
# -----------------------
|
|
25
|
+
# 1) Create an npm account:
|
|
26
|
+
# https://www.npmjs.com/signup
|
|
27
|
+
#
|
|
28
|
+
# 2) Create an npm access token:
|
|
29
|
+
# - npm → Profile → Access Tokens
|
|
30
|
+
# - Click "Generate New Token"
|
|
31
|
+
# - Token name: anything you want
|
|
32
|
+
# - CHECK: "Bypass two-factor authentication (2FA)"
|
|
33
|
+
# - Packages and scopes:
|
|
34
|
+
# - Permissions: Read and Write
|
|
35
|
+
# - Scope: All packages
|
|
36
|
+
# - Expiration date: e.g. 90 days
|
|
37
|
+
# - Click "Generate token" and COPY it
|
|
38
|
+
#
|
|
39
|
+
# 3) Add the token to GitHub Secrets:
|
|
40
|
+
# - GitHub repository → Settings
|
|
41
|
+
# - Security → Secrets and variables → Actions
|
|
42
|
+
# - Repository secrets → New repository secret
|
|
43
|
+
# Name: NPM_TOKEN
|
|
44
|
+
# Secret: <paste npm token here>
|
|
45
|
+
#
|
|
46
|
+
# PACKAGE REQUIREMENTS
|
|
47
|
+
# --------------------
|
|
48
|
+
# - package.json must contain a unique name, e.g.:
|
|
49
|
+
# "@krx3d/tizentubekrx"
|
|
50
|
+
# - The version MUST be increased before each release
|
|
51
|
+
# (npm will reject duplicate versions)
|
|
52
|
+
#
|
|
53
|
+
# HOW TO PUBLISH A NEW VERSION
|
|
54
|
+
# ----------------------------
|
|
55
|
+
# 1) Bump "version" in package.json
|
|
56
|
+
# 2) Commit and push to `main`
|
|
57
|
+
# 3) Create a GitHub Release
|
|
58
|
+
# 4) When the release is published:
|
|
59
|
+
# → GitHub Actions builds
|
|
60
|
+
# → npm publish runs automatically
|
|
61
|
+
#
|
|
62
|
+
# -----------------------------------------------------------------------------
|
|
63
|
+
|
|
1
64
|
name: Build and publish on release
|
|
2
65
|
|
|
3
66
|
on:
|
package/README.md
CHANGED
|
@@ -12,7 +12,7 @@ Looking for an app for Android TVs? Check out [TizenTube Cobalt](https://github.
|
|
|
12
12
|
|
|
13
13
|
1. Install TizenBrew from [here](https://github.com/reisxd/TizenBrew) and follow the instructions.
|
|
14
14
|
|
|
15
|
-
2. TizenTube is installed to TizenBrew by default. It should be in the home screen. If not, add `@
|
|
15
|
+
2. TizenTube is installed to TizenBrew by default. It should be in the home screen. If not, add `@krx3d/tizentubekrx` as a NPM module in TizenBrew module manager.
|
|
16
16
|
|
|
17
17
|
# Features
|
|
18
18
|
|