Skip to content

Commit

Permalink
build: bump deps and update prettier integration
Browse files Browse the repository at this point in the history
  • Loading branch information
meteorlxy committed Jul 10, 2023
1 parent 70e6293 commit 9f2a8d8
Show file tree
Hide file tree
Showing 4 changed files with 252 additions and 272 deletions.
3 changes: 3 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"recommendations": ["dbaeumer.vscode-eslint", "esbenp.prettier-vscode"]
}
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
{
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 2,
"files.encoding": "utf8",
Expand Down
23 changes: 12 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@
"scripts": {
"build": "tsc -b tsconfig.build.json",
"clean": "rimraf lib *.tsbuildinfo",
"lint": "eslint --ext .js,.cjs,.ts .",
"format": "prettier --write .",
"lint": "eslint --ext .js,.cjs,.ts . && prettier --check .",
"pb": "pnpm pb:js && pnpm pb:ts",
"pb:js": "pbjs -t static-module -w commonjs -o proto/proto.js proto-files/*.proto",
"pb:ts": "pbts -o proto/proto.d.ts proto/proto.js",
Expand All @@ -45,8 +46,8 @@
]
},
"lint-staged": {
"**/*": "prettier --write --ignore-unknown",
"*.{js,cjs,ts}": "eslint --fix",
"*.{json,md,yml}": "prettier --write",
"package.json": "sort-package-json"
},
"prettier": "@meteorlxy/prettier-config",
Expand All @@ -61,31 +62,31 @@
"devDependencies": {
"@commitlint/cli": "^17.6.6",
"@commitlint/config-conventional": "^17.6.6",
"@meteorlxy/eslint-config-prettier": "^2.24.0",
"@meteorlxy/eslint-config-prettier-typescript": "^2.24.0",
"@meteorlxy/eslint-config-prettier": "^2.25.0",
"@meteorlxy/eslint-config-prettier-typescript": "^2.26.0",
"@meteorlxy/prettier-config": "^2.11.0",
"@meteorlxy/tsconfig": "^2.23.1",
"@types/decompress": "^4.2.4",
"@types/fs-extra": "^11.0.1",
"@types/lodash.get": "^4.4.7",
"@types/node": "^20.3.3",
"@types/node": "^20.4.1",
"@types/varint": "^6.0.1",
"@vitest/coverage-istanbul": "^0.32.4",
"@vitest/coverage-istanbul": "^0.33.0",
"conventional-changelog-cli": "^3.0.0",
"eslint": "^8.44.0",
"fast-glob": "^3.3.0",
"husky": "^8.0.3",
"lint-staged": "^13.2.3",
"long": "^5.2.3",
"prettier": "^2.8.8",
"prettier": "^3.0.0",
"protobufjs-cli": "^1.1.1",
"rimraf": "^5.0.1",
"sort-package-json": "^2.5.0",
"sort-package-json": "^2.5.1",
"typescript": "^5.1.6",
"vite": "^4.3.9",
"vitest": "^0.32.4"
"vite": "^4.4.2",
"vitest": "^0.33.0"
},
"packageManager": "pnpm@8.6.6",
"packageManager": "pnpm@8.6.7",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
Expand Down

0 comments on commit 9f2a8d8

Please sign in to comment.