Skip to content

Commit

Permalink
[migrate] replace Animate.css with View Transition API (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery authored Jun 13, 2024
1 parent edbc637 commit 866cd1f
Show file tree
Hide file tree
Showing 8 changed files with 4,748 additions and 4,019 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

- uses: pnpm/action-setup@v2
with:
version: 8
version: 9
- uses: actions/setup-node@v3
with:
node-version: 18
Expand Down
4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh

. "$(dirname "$0")/_/husky.sh"

npm test
4 changes: 0 additions & 4 deletions .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/bin/sh

. "$(dirname "$0")/_/husky.sh"

npm run build
4 changes: 2 additions & 2 deletions ReadMe.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ https://web-cell-scaffold.vercel.app/

- [x] **Async Loading** (based on `import()` ECMAScript syntax)

- [x] [Animate.css][7] based **Page Transition Animation**
- [x] [View Transition API][7] based **Page Transition Animation**

## Installation

Expand Down Expand Up @@ -164,4 +164,4 @@ new DOMRenderer().render(
[4]: https://libraries.io/npm/cell-router
[5]: https://github.com/EasyWebApp/cell-router/actions/workflows/main.yml
[6]: https://nodei.co/npm/cell-router/
[7]: https://animate.style/
[7]: https://developer.chrome.com/docs/web-platform/view-transitions/
48 changes: 24 additions & 24 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cell-router",
"version": "3.0.0-rc.5",
"version": "3.0.0-rc.7",
"license": "LGPL-3.0",
"description": "Web Component Router based on WebCell & MobX",
"keywords": [
Expand All @@ -24,40 +24,40 @@
"main": "dist/index.js",
"module": "dist/index.esm.js",
"dependencies": {
"@swc/helpers": "^0.5.3",
"dom-renderer": "^2.0.6",
"@swc/helpers": "^0.5.11",
"dom-renderer": "^2.1.7",
"mobx": ">=6.11",
"regenerator-runtime": "^0.14.1",
"urlpattern-polyfill": "^9.0.0",
"web-cell": "^3.0.0-rc.7",
"web-utility": "^4.1.3"
"urlpattern-polyfill": "^10.0.0",
"web-cell": "^3.0.0-rc.16",
"web-utility": "^4.4.0"
},
"devDependencies": {
"@parcel/config-default": "~2.11.0",
"@parcel/packager-ts": "~2.11.0",
"@parcel/transformer-less": "~2.11.0",
"@parcel/transformer-typescript-tsc": "~2.11.0",
"@parcel/transformer-typescript-types": "~2.11.0",
"@types/jest": "^29.5.11",
"element-internals-polyfill": "^1.3.10",
"@parcel/config-default": "~2.12.0",
"@parcel/packager-ts": "~2.12.0",
"@parcel/transformer-less": "~2.12.0",
"@parcel/transformer-typescript-tsc": "~2.12.0",
"@parcel/transformer-typescript-types": "~2.12.0",
"@types/jest": "^29.5.12",
"element-internals-polyfill": "^1.3.11",
"fs-match": "^1.7.1",
"husky": "^8.0.3",
"husky": "^9.0.11",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"koapache": "^2.2.2",
"lint-staged": "^15.2.0",
"parcel": "~2.11.0",
"prettier": "^3.2.2",
"lint-staged": "^15.2.7",
"parcel": "~2.12.0",
"prettier": "^3.3.2",
"process": "^0.11.10",
"puppeteer-core": "^21.7.0",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.1",
"typedoc": "^0.25.7",
"typedoc-plugin-mdn-links": "^3.1.12",
"typescript": "~5.3.3"
"puppeteer-core": "^22.11.0",
"rimraf": "^5.0.7",
"ts-jest": "^29.1.4",
"typedoc": "^0.25.13",
"typedoc-plugin-mdn-links": "^3.1.29",
"typescript": "~5.4.5"
},
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"set-chrome": "app-find chrome -c",
"preview": "cd test/ && rimraf ../.parcel-cache/ dist/ && parcel --open",
"pack-preview": "cd test/ && rimraf ../.parcel-cache/ dist/ && parcel build --public-url=. --dist-dir=../docs/preview/",
Expand Down
Loading

0 comments on commit 866cd1f

Please sign in to comment.