Skip to content

Commit 5156ce0

Browse files
committed
[fix] several detail bugs
[optimize] update Upstream packages
1 parent 917366b commit 5156ce0

File tree

10 files changed

+654
-642
lines changed

10 files changed

+654
-642
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ jobs:
3030
with:
3131
publish_dir: ./dist
3232
personal_token: ${{ secrets.GITHUB_TOKEN }}
33+
publish_branch: master
3334
force_orphan: true
35+
cname: web-cell.dev
3436

3537
- name: Deploy to Vercel
3638
uses: amondnet/vercel-action@v25

.husky/pre-commit

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
#!/bin/sh
2-
3-
. "$(dirname "$0")/_/husky.sh"
4-
51
npm test

.husky/pre-push

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1 @@
1-
#!/bin/sh
2-
3-
. "$(dirname "$0")/_/husky.sh"
4-
51
npm run build

ReadMe.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@ Design of https://web-cell.dev/ is based on [Product][1] & [Carousel][2] templat
44

55
[![CI & CD](https://github.com/EasyWebApp/EasyWebApp.github.io/actions/workflows/main.yml/badge.svg)][3]
66

7-
[1]: https://getbootstrap.com/docs/4.5/examples/product/
8-
[2]: https://getbootstrap.com/docs/4.5/examples/carousel/
7+
[1]: https://getbootstrap.com/docs/5.3/examples/product/
8+
[2]: https://getbootstrap.com/docs/5.3/examples/carousel/
99
[3]: https://github.com/EasyWebApp/EasyWebApp.github.io/actions/workflows/main.yml

package.json

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,16 @@
2020
"url": "https://github.com/EasyWebApp/EasyWebApp.github.io/issues"
2121
},
2222
"dependencies": {
23-
"boot-cell": "^2.0.0-beta.7",
23+
"boot-cell": "^2.0.0-beta.18",
2424
"cell-router": "^3.0.0-rc.5",
2525
"classnames": "^2.5.1",
26-
"dom-renderer": "^2.0.6",
27-
"github-web-widget": "^4.0.0-rc.1",
26+
"dom-renderer": "^2.1.3",
27+
"github-web-widget": "^4.0.0-rc.2",
2828
"koajax": "^0.9.6",
29-
"marked": "^11.1.1",
29+
"marked": "^12.0.0",
3030
"mobx": "^6.12.0",
3131
"prismjs": "^1.29.0",
32-
"web-cell": "^3.0.0-rc.7",
32+
"web-cell": "^3.0.0-rc.15",
3333
"web-utility": "^4.1.3"
3434
},
3535
"devDependencies": {
@@ -39,11 +39,11 @@
3939
"@parcel/transformer-typescript-tsc": "~2.11.0",
4040
"@parcel/transformer-webmanifest": "~2.11.0",
4141
"@types/classnames": "^2.3.1",
42-
"@types/node": "^18.19.8",
43-
"husky": "^8.0.3",
44-
"lint-staged": "^15.2.0",
42+
"@types/node": "^18.19.15",
43+
"husky": "^9.0.10",
44+
"lint-staged": "^15.2.2",
4545
"parcel": "~2.11.0",
46-
"prettier": "^3.2.4",
46+
"prettier": "^3.2.5",
4747
"typescript": "~5.3.3",
4848
"workbox-cli": "^7.0.0"
4949
},
@@ -57,11 +57,12 @@
5757
"*.{html,md,less,json,yml,js,ts,tsx}": "prettier --write"
5858
},
5959
"scripts": {
60-
"prepare": "husky install",
60+
"prepare": "husky",
6161
"test": "lint-staged",
62-
"start": "parcel source/index.html --open",
62+
"clean": "rm -rf .parcel-cache/ dist/",
63+
"start": "npm run clean && parcel source/index.html --open",
6364
"pack-dist": "parcel build source/index.html --public-url .",
6465
"pack-sw": "rm -f dist/sw.js.map && workbox generateSW",
65-
"build": "rm -rf dist/ && npm run pack-dist && npm run pack-sw"
66+
"build": "npm run clean && npm run pack-dist && npm run pack-sw"
6667
}
6768
}

0 commit comments

Comments
 (0)