Skip to content

Commit

Permalink
[refactor] upgrade Edit pages & components (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery authored Jan 28, 2024
1 parent 5c0179d commit f339ec3
Show file tree
Hide file tree
Showing 35 changed files with 1,037 additions and 1,063 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"prefer-const": "warn",
"no-unused-vars": "warn",
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-unsafe-declaration-merging": "warn",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/ban-ts-comment": "warn"
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
16 changes: 8 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "wuhan2020-pwa",
"version": "1.1.0",
"version": "1.2.0",
"license": "AGPL-3.0",
"author": "[email protected]",
"description": "武汉新型冠状病毒防疫信息平台",
Expand All @@ -13,7 +13,7 @@
"url": "https://github.com/EasyWebApp/wuhan2020/issues"
},
"dependencies": {
"boot-cell": "^2.0.0-beta.8",
"boot-cell": "^2.0.0-beta.10",
"browser-unhandled-rejection": "^1.0.2",
"cell-router": "^3.0.0-rc.5",
"classnames": "^2.5.1",
Expand All @@ -22,7 +22,7 @@
"github-web-widget": "^4.0.0-rc.1",
"js-base64": "^3.7.6",
"koajax": "^0.9.6",
"marked": "^11.1.1",
"marked": "^11.2.0",
"mobx": "^6.12.0",
"web-cell": "^3.0.0-rc.8",
"web-utility": "^4.1.3",
Expand All @@ -35,14 +35,14 @@
"@parcel/transformer-less": "~2.11.0",
"@parcel/transformer-typescript-tsc": "~2.11.0",
"@parcel/transformer-webmanifest": "~2.11.0",
"@types/node": "^18.19.8",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@types/node": "^18.19.10",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"buffer": "^6.0.3",
"cross-env": "^7.0.3",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"husky": "^8.0.3",
"husky": "^9.0.6",
"lint-staged": "^15.2.0",
"parcel": "~2.11.0",
"parcel-transformer-markdown": "^3.0.1",
Expand Down Expand Up @@ -72,7 +72,7 @@
},
"browserslist": "> 0.5%, last 2 versions, not dead, IE 11",
"scripts": {
"prepare": "husky install",
"prepare": "husky",
"test": "lint-staged",
"clean": "rm -rf .parcel-cache/ dist/",
"start:local": "npm run clean && cross-env HTTP_ENV=local parcel source/index.html --open",
Expand Down
122 changes: 61 additions & 61 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

1 comment on commit f339ec3

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Deploy preview for wuhan2020 ready!

✅ Preview
https://wuhan2020-4e74t6pnm-techquery.vercel.app

Built with commit f339ec3.
This pull request is being automatically deployed with vercel-action

Please sign in to comment.