Skip to content

Commit 1d6e51b

Browse files
committed
[add] GitHub repository settings
[optimize] upgrade Split View & Stepper components to WebCell v3 [optimize] update Upstream packages & actions
1 parent d3e8905 commit 1d6e51b

File tree

8 files changed

+1893
-1494
lines changed

8 files changed

+1893
-1494
lines changed

.github/settings.yml

+85
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
# These settings are synced to GitHub by https://probot.github.io/apps/settings/
2+
3+
repository:
4+
allow_merge_commit: false
5+
6+
delete_branch_on_merge: true
7+
8+
enable_vulnerability_alerts: true
9+
10+
labels:
11+
- name: bug
12+
color: '#d73a4a'
13+
description: Something isn't working
14+
15+
- name: documentation
16+
color: '#0075ca'
17+
description: Improvements or additions to documentation
18+
19+
- name: duplicate
20+
color: '#cfd3d7'
21+
description: This issue or pull request already exists
22+
23+
- name: enhancement
24+
color: '#a2eeef'
25+
description: Some improvements
26+
27+
- name: feature
28+
color: '#16b33f'
29+
description: New feature or request
30+
31+
- name: good first issue
32+
color: '#7057ff'
33+
description: Good for newcomers
34+
35+
- name: help wanted
36+
color: '#008672'
37+
description: Extra attention is needed
38+
39+
- name: invalid
40+
color: '#e4e669'
41+
description: This doesn't seem right
42+
43+
- name: question
44+
color: '#d876e3'
45+
description: Further information is requested
46+
47+
- name: wontfix
48+
color: '#ffffff'
49+
description: This will not be worked on
50+
51+
branches:
52+
- name: main
53+
# https://docs.github.com/en/rest/reference/repos#update-branch-protection
54+
protection:
55+
# Required. Require at least one approving review on a pull request, before merging. Set to null to disable.
56+
required_pull_request_reviews:
57+
# The number of approvals required. (1-6)
58+
required_approving_review_count: 1
59+
# Dismiss approved reviews automatically when a new commit is pushed.
60+
dismiss_stale_reviews: true
61+
# Blocks merge until code owners have reviewed.
62+
require_code_owner_reviews: true
63+
# Specify which users and teams can dismiss pull request reviews.
64+
# Pass an empty dismissal_restrictions object to disable.
65+
# User and team dismissal_restrictions are only available for organization-owned repositories.
66+
# Omit this parameter for personal repositories.
67+
dismissal_restrictions:
68+
# users: []
69+
# teams: []
70+
# Required. Require status checks to pass before merging. Set to null to disable
71+
required_status_checks:
72+
# Required. Require branches to be up to date before merging.
73+
strict: true
74+
# Required. The list of status checks to require in order to merge into this branch
75+
contexts: []
76+
# Required. Enforce all configured restrictions for administrators.
77+
# Set to true to enforce required status checks for repository administrators.
78+
# Set to null to disable.
79+
enforce_admins: true
80+
# Prevent merge commits from being pushed to matching branches
81+
required_linear_history: true
82+
# Required. Restrict who can push to this branch.
83+
# Team and user restrictions are only available for organization-owned repositories.
84+
# Set to null to disable.
85+
restrictions: null

.github/workflows/main.yml

+9-6
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,30 @@ on:
66
jobs:
77
Build-and-Publish:
88
runs-on: ubuntu-latest
9+
permissions:
10+
contents: write
11+
id-token: write
912
steps:
10-
- uses: actions/checkout@v3
13+
- uses: actions/checkout@v4
1114

12-
- uses: pnpm/action-setup@v2
15+
- uses: pnpm/action-setup@v4
1316
with:
1417
version: 9
15-
- uses: actions/setup-node@v3
18+
- uses: actions/setup-node@v4
1619
with:
17-
node-version: 18
20+
node-version: 20
1821
registry-url: https://registry.npmjs.org
1922
cache: pnpm
2023
- name: Install Dependencies
2124
run: pnpm i --frozen-lockfile
2225

2326
- name: Build & Publish
24-
run: npm publish
27+
run: npm publish --access public --provenance
2528
env:
2629
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2730

2831
- name: Update document
29-
uses: peaceiris/actions-gh-pages@v3
32+
uses: peaceiris/actions-gh-pages@v4
3033
with:
3134
publish_dir: ./docs
3235
personal_token: ${{ secrets.GITHUB_TOKEN }}

package.json

+24-25
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "boot-cell",
3-
"version": "2.0.0-beta.28",
3+
"version": "2.0.0-rc.0",
44
"license": "LGPL-3.0",
55
"author": "[email protected]",
66
"description": "Web Components UI library based on WebCell v3, BootStrap v5, BootStrap Icon v1 & FontAwesome v6",
@@ -24,13 +24,14 @@
2424
"main": "dist/index.js",
2525
"module": "dist/index.esm.js",
2626
"dependencies": {
27-
"@swc/helpers": "^0.5.11",
27+
"@swc/helpers": "^0.5.15",
2828
"classnames": "^2.5.1",
29-
"dom-renderer": "^2.1.8",
30-
"mobx": "^6.12.4",
29+
"dom-renderer": "^2.6.1",
30+
"iterable-observer": "^1.1.0",
31+
"mobx": "^6.13.5",
3132
"regenerator-runtime": "^0.14.1",
32-
"web-cell": "^3.0.0-rc.16",
33-
"web-utility": "^4.4.0"
33+
"web-cell": "^3.0.3",
34+
"web-utility": "^4.4.2"
3435
},
3536
"peerDependencies": {
3637
"@fortawesome/fontawesome-free": "^6",
@@ -42,38 +43,36 @@
4243
},
4344
"devDependencies": {
4445
"@jest/types": "^29.6.3",
45-
"@parcel/config-default": "^2.12.0",
46-
"@parcel/packager-ts": "~2.12.0",
47-
"@parcel/transformer-less": "~2.12.0",
48-
"@parcel/transformer-typescript-tsc": "^2.12.0",
49-
"@parcel/transformer-typescript-types": "~2.12.0",
46+
"@parcel/config-default": "^2.13.1",
47+
"@parcel/packager-ts": "~2.13.1",
48+
"@parcel/transformer-less": "~2.13.1",
49+
"@parcel/transformer-typescript-tsc": "^2.13.1",
50+
"@parcel/transformer-typescript-types": "~2.13.1",
5051
"@peculiar/webcrypto": "^1.5.0",
5152
"@tech_query/snabbdom-looks-like": "^2.0.1",
52-
"@types/jest": "^29.5.12",
53+
"@types/jest": "^29.5.14",
5354
"@types/resize-observer-browser": "^0.1.11",
54-
"@types/turndown": "^5.0.4",
55+
"@types/turndown": "^5.0.5",
5556
"cross-env": "^7.0.3",
56-
"element-internals-polyfill": "^1.3.11",
57-
"husky": "^9.0.11",
57+
"element-internals-polyfill": "^1.3.12",
58+
"husky": "^9.1.7",
5859
"identity-obj-proxy": "^3.0.0",
59-
"iterable-observer": "^1.0.1",
6060
"jest": "^29.7.0",
6161
"less": "^4.2.0",
62-
"lint-staged": "^15.2.7",
62+
"lint-staged": "^15.2.10",
6363
"markdown-area-element": "^0.2.3",
6464
"open-cli": "^8.0.0",
65-
"parcel": "~2.12.0",
66-
"prettier": "^3.3.2",
67-
"ts-jest": "^29.1.5",
65+
"parcel": "~2.13.1",
66+
"prettier": "^3.3.3",
67+
"ts-jest": "^29.2.5",
6868
"ts-node": "^10.9.2",
69-
"typedoc": "^0.25.13",
70-
"typedoc-plugin-mdn-links": "^3.1.30",
71-
"typescript": "~5.4.5"
69+
"typedoc": "^0.26.11",
70+
"typedoc-plugin-mdn-links": "^4.0.1",
71+
"typescript": "~5.7.2"
7272
},
7373
"scripts": {
7474
"prepare": "husky",
75-
"lint": "lint-staged",
76-
"test": "lint-staged",
75+
"test": "lint-staged && tsc --noEmit",
7776
"start": "cd test/ && parcel index.html --open",
7877
"pack-dist": "rm -rf dist/ && parcel build source/index.ts",
7978
"pack-docs": "rm -rf docs/ && typedoc source/",

0 commit comments

Comments
 (0)