-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[refactor] replace Material Web 1 with MDUI 2 to simplify components
[add] Rename script & action of GitHub repository [add] VS Code settings & PR badges [optimize] upgrade to PNPM 9 & other latest Upstream packages
- Loading branch information
Showing
16 changed files
with
5,098 additions
and
4,200 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
- icon: visualstudio | ||
label: 'GitHub.dev' | ||
message: 'PR-$prNumber' | ||
color: 'blue' | ||
url: 'https://github.dev/$owner/$repo/pull/$prNumber' | ||
|
||
- icon: github | ||
label: 'GitHub codespaces' | ||
message: 'PR-$prNumber' | ||
color: 'black' | ||
url: 'https://codespaces.new/$owner/$repo/pull/$prNumber' | ||
|
||
- icon: git | ||
label: 'GitPod.io' | ||
message: 'PR-$prNumber' | ||
color: 'orange' | ||
url: 'https://gitpod.io/?autostart=true#https://github.com/$owner/$repo/pull/$prNumber' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Template Repository initialization | ||
on: | ||
push: | ||
branches: | ||
- master | ||
env: | ||
TEMPLATE_OWNER: EasyWebApp | ||
TEMPLATE_NAME: WebCell-mobile | ||
|
||
jobs: | ||
replace-repository-name: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- if: github.repository != format('{0}/{1}', env.TEMPLATE_OWNER, env.TEMPLATE_NAME) | ||
run: | | ||
sh .github/workflows/replace-repository-name.sh \ | ||
${{ env.TEMPLATE_OWNER }} ${{ env.TEMPLATE_NAME }} \ | ||
${{ github.repository_owner }} ${{ github.event.repository.name }} | ||
rm -f .github/workflows/init-template.yml | ||
- uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: '[fix] replace Repository Name' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#! /usr/bin/env bash | ||
|
||
SourceOwner=$1 | ||
SourceName=$2 | ||
TargetOwner=$3 | ||
TargetName=$4 | ||
|
||
sed -i "s/$SourceOwner\/$SourceName/$TargetOwner\/$TargetName/ig" \ | ||
$(grep -i $SourceOwner/$SourceName -rl . --exclude-dir=.git --exclude-dir=node_modules) | ||
sed -i "s/$SourceName/$TargetName/ig" \ | ||
$(grep -i $SourceName -rl . --exclude-dir=.git --exclude-dir=node_modules) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,5 +3,4 @@ package-lock.json | |
yarn.lock | ||
.parcel-cache/ | ||
dist/ | ||
.vscode/settings.json | ||
.vercel/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"html.customData": ["./node_modules/mdui/html-data.en.json"], | ||
"css.customData": ["./node_modules/mdui/css-data.en.json"], | ||
"typescript.tsdk": "./node_modules/typescript/lib" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,39 +1,38 @@ | ||
{ | ||
"name": "@web-cell/mobile", | ||
"version": "0.3.0", | ||
"description": "Mobile App scaffold of WebCell v2", | ||
"name": "webcell-mobile", | ||
"version": "0.4.0", | ||
"description": "Mobile App scaffold of WebCell v3", | ||
"author": "[email protected]", | ||
"homepage": "https://web-cell.dev/mobile/", | ||
"homepage": "https://web-cell.dev/WebCell-mobile/", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+https://github.com/EasyWebApp/mobile.git" | ||
"url": "git+https://github.com/EasyWebApp/WebCell-mobile.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/EasyWebApp/mobile/issues" | ||
"url": "https://github.com/EasyWebApp/WebCell-mobile/issues" | ||
}, | ||
"dependencies": { | ||
"@material/web": "^1.2.0", | ||
"boot-cell": "^2.0.0-beta.18", | ||
"browser-unhandled-rejection": "^1.0.2", | ||
"cell-router": "^3.0.0-rc.5", | ||
"dom-renderer": "^2.1.3", | ||
"koajax": "^0.9.6", | ||
"mobx": "^6.12.0", | ||
"web-cell": "^3.0.0-rc.15", | ||
"web-utility": "^4.1.3" | ||
"cell-router": "^3.0.0-rc.8", | ||
"dom-renderer": "^2.1.8", | ||
"koajax": "^1.1.2", | ||
"mdui": "^2.1.1", | ||
"mobx": "^6.12.4", | ||
"web-cell": "^3.0.0-rc.16", | ||
"web-utility": "^4.4.0" | ||
}, | ||
"devDependencies": { | ||
"@parcel/config-default": "~2.11.0", | ||
"@parcel/packager-raw-url": "2.11.0", | ||
"@parcel/transformer-typescript-tsc": "~2.11.0", | ||
"@parcel/transformer-webmanifest": "~2.11.0", | ||
"@types/node": "^18.19.15", | ||
"husky": "^9.0.10", | ||
"lint-staged": "^15.2.2", | ||
"parcel": "~2.11.0", | ||
"prettier": "^3.2.5", | ||
"typescript": "~5.3.3", | ||
"workbox-cli": "^7.0.0" | ||
"@parcel/config-default": "~2.12.0", | ||
"@parcel/packager-raw-url": "~2.12.0", | ||
"@parcel/transformer-typescript-tsc": "~2.12.0", | ||
"@parcel/transformer-webmanifest": "~2.12.0", | ||
"@types/node": "^18.19.39", | ||
"husky": "^9.0.11", | ||
"lint-staged": "^15.2.7", | ||
"parcel": "~2.12.0", | ||
"prettier": "^3.3.2", | ||
"typescript": "~5.5.2", | ||
"workbox-cli": "^7.1.0" | ||
}, | ||
"prettier": { | ||
"singleQuote": true, | ||
|
@@ -48,7 +47,7 @@ | |
"prepare": "husky", | ||
"test": "lint-staged", | ||
"clean": "rm -rf .parcel-cache/ dist/", | ||
"start": "npm run clean && parcel src/index.html --open", | ||
"start": "npm run clean && parcel src/index.html", | ||
"pack": "parcel build src/index.html --public-url .", | ||
"build": "npm run clean && npm run pack && workbox generateSW" | ||
} | ||
|
Oops, something went wrong.
c8e237e
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for web-cell-mobile ready!
✅ Preview
https://web-cell-mobile-irnxg3m2r-techquerys-projects.vercel.app
Built with commit c8e237e.
This pull request is being automatically deployed with vercel-action