-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[optimize] upgrade MobX i18n & Husky
- Loading branch information
Showing
5 changed files
with
76 additions
and
89 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 |
---|---|---|
@@ -1,5 +1 @@ | ||
#!/bin/sh | ||
|
||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm test |
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,5 +1 @@ | ||
#!/bin/sh | ||
|
||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npm run build |
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,6 +1,6 @@ | ||
{ | ||
"name": "next-ssr-middleware", | ||
"version": "0.6.2", | ||
"version": "0.7.0", | ||
"license": "LGPL-3.0-or-later", | ||
"author": "[email protected]", | ||
"description": "Koa-like middlewares for Next.js Server Side Rendering", | ||
|
@@ -23,7 +23,7 @@ | |
"main": "dist/index.js", | ||
"dependencies": { | ||
"jsonwebtoken": "^9.0.2", | ||
"mobx-i18n": "^0.4.2", | ||
"mobx-i18n": "^0.5.0", | ||
"tslib": "^2.6.2", | ||
"web-utility": "^4.1.3" | ||
}, | ||
|
@@ -32,14 +32,14 @@ | |
}, | ||
"devDependencies": { | ||
"@types/jsonwebtoken": "^9.0.5", | ||
"@types/node": "^18.19.3", | ||
"husky": "^8.0.3", | ||
"@types/node": "^18.19.10", | ||
"husky": "^9.0.7", | ||
"koajax": "^0.9.6", | ||
"lint-staged": "^15.2.0", | ||
"next": "^14.0.4", | ||
"next": "^14.1.0", | ||
"open-cli": "^8.0.0", | ||
"prettier": "^3.1.1", | ||
"typedoc": "^0.25.4", | ||
"prettier": "^3.2.4", | ||
"typedoc": "^0.25.7", | ||
"typescript": "~5.3.3" | ||
}, | ||
"prettier": { | ||
|
@@ -52,7 +52,7 @@ | |
"*.{md,json,yml,ts}": "prettier --write" | ||
}, | ||
"scripts": { | ||
"prepare": "husky install", | ||
"prepare": "husky", | ||
"test": "lint-staged", | ||
"build": "rm -rf dist/ docs/ && typedoc source/ && tsc", | ||
"start": "typedoc && open-cli docs/index.html", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.