Skip to content

Commit

Permalink
deps: upgrade eslint&prettier to latest version
Browse files Browse the repository at this point in the history
  • Loading branch information
gtoselli committed Jan 9, 2024
1 parent e938e26 commit 2015bb4
Show file tree
Hide file tree
Showing 5 changed files with 204 additions and 198 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
. "$(dirname -- "$0")/_/husky.sh"

pnpm check
pnpm lint
pnpm exec lint-staged
141 changes: 70 additions & 71 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,74 +1,73 @@
{
"name": "@fizzbuds/ddd-toolkit",
"version": "0.0.22",
"description": "",
"author": "Gabriele Toselli, Luca Giovenzana",
"private": false,
"license": "Apache-2.0",
"main": "dist/index",
"scripts": {
"build": "rimraf dist && tsc --project tsconfig.build.json",
"lint": "eslint \"{src,apps,libs,test}/**/*.ts\" --fix",
"test": "jest",
"prepublishOnly": "pnpm run build",
"prepare": "husky install",
"check": "cspell lint --quiet src/**/*ts"
},
"dependencies": {
"lodash": "^4.17.21",
"uuid": "^9.0.0"
},
"peerDependencies": {
"mongodb": "^4.0.0 || ^5.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.2",
"@types/lodash": "^4.14.195",
"@types/node": "^20.3.1",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^5.59.11",
"@typescript-eslint/parser": "^5.59.11",
"cspell": "^8.3.2",
"eslint": "^8.42.0",
"eslint-config-prettier": "^8.8.0",
"eslint-plugin-prettier": "^4.2.1",
"husky": "^8.0.0",
"jest": "^29.5.0",
"lint-staged": "^14.0.1",
"mongodb": "^4.17.2",
"mongodb-memory-server": "^8.13.0",
"prettier": "^2.8.8",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3"
},
"publishConfig": {
"access": "public"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*spec\\.ts$",
"testPathIgnorePatterns": [
".api-spec.ts$"
],
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
"name": "@fizzbuds/ddd-toolkit",
"version": "0.0.22",
"description": "",
"author": "Gabriele Toselli, Luca Giovenzana",
"private": false,
"license": "Apache-2.0",
"main": "dist/index",
"scripts": {
"build": "rimraf dist && tsc --project tsconfig.build.json",
"test": "jest",
"prepublishOnly": "pnpm run build",
"prepare": "husky install",
"check": "cspell lint --quiet src/**/*ts"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"lint-staged": {
"*.ts": "eslint --fix",
"*.json": "prettier --write"
}
"dependencies": {
"lodash": "^4.17.21",
"uuid": "^9.0.0"
},
"peerDependencies": {
"mongodb": "^4.0.0 || ^5.0.0"
},
"devDependencies": {
"@types/jest": "^29.5.2",
"@types/lodash": "^4.14.195",
"@types/node": "^20.3.1",
"@types/uuid": "^9.0.2",
"@typescript-eslint/eslint-plugin": "^6.18.1",
"@typescript-eslint/parser": "^6.18.1",
"cspell": "^8.3.2",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.2",
"husky": "^8.0.0",
"jest": "^29.5.0",
"lint-staged": "^14.0.1",
"mongodb": "^4.17.2",
"mongodb-memory-server": "^8.13.0",
"prettier": "^3.1.1",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.0",
"ts-node": "^10.9.1",
"tsconfig-paths": "^4.2.0",
"typescript": "^5.1.3"
},
"publishConfig": {
"access": "public"
},
"jest": {
"moduleFileExtensions": [
"js",
"json",
"ts"
],
"rootDir": "src",
"testRegex": ".*spec\\.ts$",
"testPathIgnorePatterns": [
".api-spec.ts$"
],
"transform": {
"^.+\\.(t|j)s$": "ts-jest"
},
"collectCoverageFrom": [
"**/*.(t|j)s"
],
"coverageDirectory": "../coverage",
"testEnvironment": "node"
},
"lint-staged": {
"*.ts": "eslint --fix",
"*.json": "prettier --write"
}
}
Loading

0 comments on commit 2015bb4

Please sign in to comment.