Skip to content

Commit

Permalink
add prettier dependency as global
Browse files Browse the repository at this point in the history
  • Loading branch information
MacondoExpress committed Nov 12, 2024
1 parent ccc02e9 commit d723366
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 2 additions & 0 deletions jest.config.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ module.exports = {
escapeString: true,
printBasicPrototype: true,
},

prettierPath: require.resolve("prettier-2"),
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"lint-staged": "15.2.10",
"neo4j-driver": "5.26.0",
"prettier": "3.3.3",
"prettier-2": "npm:[email protected]",
"set-tz": "0.2.0",
"ts-jest": "29.2.5",
"typescript": "5.1.6"
Expand Down
1 change: 0 additions & 1 deletion packages/graphql/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@ module.exports = {
},
],
},
prettierPath: require.resolve("prettier-2"),
};
1 change: 0 additions & 1 deletion packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@
"koa-router": "13.0.1",
"mock-jwks": "1.0.10",
"nock": "13.5.6",
"prettier-2": "npm:prettier@^2",
"randomstring": "1.3.0",
"rimraf": "5.0.10",
"supertest": "7.0.0",
Expand Down
4 changes: 2 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2114,7 +2114,6 @@ __metadata:
mock-jwks: "npm:1.0.10"
nock: "npm:13.5.6"
pluralize: "npm:^8.0.0"
prettier-2: "npm:prettier@^2"
randomstring: "npm:1.3.0"
rimraf: "npm:5.0.10"
semver: "npm:^7.5.4"
Expand Down Expand Up @@ -12355,6 +12354,7 @@ __metadata:
lint-staged: "npm:15.2.10"
neo4j-driver: "npm:5.26.0"
prettier: "npm:3.3.3"
prettier-2: "npm:[email protected]"
set-tz: "npm:0.2.0"
ts-jest: "npm:29.2.5"
typescript: "npm:5.1.6"
Expand Down Expand Up @@ -13631,7 +13631,7 @@ __metadata:
languageName: node
linkType: hard

"prettier-2@npm:prettier@^2, prettier@npm:^2.7.1":
"prettier-2@npm:prettier@2.8.8, prettier@npm:^2.7.1":
version: 2.8.8
resolution: "prettier@npm:2.8.8"
bin:
Expand Down

0 comments on commit d723366

Please sign in to comment.