@cocreate/fullscreen 1.13.1 → 1.13.3
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/FUNDING.yml +1 -1
- package/.github/workflows/automated.yml +34 -21
- package/CHANGELOG.md +465 -444
- package/CONTRIBUTING.md +6 -6
- package/README.md +17 -17
- package/demo/index.html +1 -1
- package/docs/index.html +6 -6
- package/package.json +8 -8
- package/release.config.js +1 -1
- package/src/index.css +0 -10
- package/src/index.js +51 -3
package/.github/FUNDING.yml
CHANGED
|
@@ -3,39 +3,53 @@ name: Automated Workflow
|
|
|
3
3
|
on:
|
|
4
4
|
push:
|
|
5
5
|
branches:
|
|
6
|
-
-
|
|
6
|
+
- main
|
|
7
7
|
|
|
8
8
|
jobs:
|
|
9
9
|
about:
|
|
10
10
|
runs-on: ubuntu-latest
|
|
11
11
|
steps:
|
|
12
|
-
- name: Checkout
|
|
13
|
-
uses: actions/checkout@
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
12
|
+
- name: Checkout repository
|
|
13
|
+
uses: actions/checkout@v7
|
|
14
|
+
|
|
15
|
+
- name: Sync package.json description and keywords to GitHub repository
|
|
16
|
+
env:
|
|
17
|
+
GH_TOKEN: ${{ secrets.GITHUB }}
|
|
18
|
+
run: |
|
|
19
|
+
if [ ! -f package.json ]; then
|
|
20
|
+
echo "No package.json found; skipping repository metadata sync."
|
|
21
|
+
exit 0
|
|
22
|
+
fi
|
|
23
|
+
|
|
24
|
+
DESCRIPTION=$(jq -r '.description // empty' package.json)
|
|
25
|
+
if [ -n "$DESCRIPTION" ]; then
|
|
26
|
+
gh api --method PATCH "repos/${GITHUB_REPOSITORY}" -f description="$DESCRIPTION"
|
|
27
|
+
else
|
|
28
|
+
echo "No package description found; leaving GitHub description unchanged."
|
|
29
|
+
fi
|
|
30
|
+
|
|
31
|
+
if jq -e '.keywords | type == "array"' package.json >/dev/null; then
|
|
32
|
+
TOPICS=$(jq -c '.keywords | map(ascii_downcase | gsub("[^a-z0-9-]+"; "-") | gsub("(^-+|-+$)"; "") | .[0:50]) | map(select(length > 0)) | unique | .[0:20]' package.json)
|
|
33
|
+
printf '{"names":%s}' "$TOPICS" | gh api --method PUT -H "Accept: application/vnd.github+json" "repos/${GITHUB_REPOSITORY}/topics" --input -
|
|
34
|
+
else
|
|
35
|
+
echo "No package keywords found; leaving GitHub topics unchanged."
|
|
36
|
+
fi
|
|
23
37
|
|
|
24
38
|
release:
|
|
25
39
|
runs-on: ubuntu-latest
|
|
26
40
|
steps:
|
|
27
|
-
- name: Checkout
|
|
28
|
-
uses: actions/checkout@
|
|
41
|
+
- name: Checkout repository
|
|
42
|
+
uses: actions/checkout@v7
|
|
29
43
|
with:
|
|
30
|
-
fetch-depth: 0
|
|
44
|
+
fetch-depth: 0
|
|
45
|
+
token: ${{ secrets.GITHUB }} # Authenticates git CLI for tag/commit pushes
|
|
31
46
|
|
|
32
47
|
- name: Setup Node.js
|
|
33
|
-
uses: actions/setup-node@
|
|
48
|
+
uses: actions/setup-node@v7
|
|
34
49
|
with:
|
|
35
|
-
node-version:
|
|
50
|
+
node-version: '24'
|
|
36
51
|
|
|
37
52
|
- name: Install Semantic Release & Plugins
|
|
38
|
-
# Installs semantic-release and its plugins on the runner
|
|
39
53
|
run: |
|
|
40
54
|
npm install -g semantic-release \
|
|
41
55
|
@semantic-release/changelog \
|
|
@@ -43,12 +57,11 @@ jobs:
|
|
|
43
57
|
@semantic-release/github \
|
|
44
58
|
@semantic-release/git
|
|
45
59
|
|
|
46
|
-
- name: Run Semantic Release
|
|
60
|
+
- name: Run Semantic Release
|
|
47
61
|
id: semantic
|
|
48
|
-
# This will automatically pick up your export default config file in the repository root
|
|
49
62
|
run: npx semantic-release
|
|
50
63
|
env:
|
|
51
|
-
GITHUB_TOKEN: "${{ secrets.
|
|
64
|
+
GITHUB_TOKEN: "${{ secrets.GITHUB }}"
|
|
52
65
|
NPM_TOKEN: "${{ secrets.NPM_TOKEN }}"
|
|
53
66
|
|
|
54
67
|
outputs:
|