-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
deps: upgrade eslint&prettier to latest version
- Loading branch information
Showing
5 changed files
with
204 additions
and
198 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 |
---|---|---|
|
@@ -2,4 +2,4 @@ | |
. "$(dirname -- "$0")/_/husky.sh" | ||
|
||
pnpm check | ||
pnpm lint | ||
pnpm exec lint-staged |
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,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" | ||
} | ||
} |
Oops, something went wrong.