Skip to content

Commit

Permalink
Merge pull request #19672 from storybookjs/prettier-upgrade
Browse files Browse the repository at this point in the history
Dependencies: Bump prettier dependency, cleanup config
  • Loading branch information
ndelangen committed Nov 2, 2022
2 parents 79187f4 + b37061c commit b298a49
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 42 deletions.
8 changes: 0 additions & 8 deletions code/.prettierrc

This file was deleted.

2 changes: 1 addition & 1 deletion code/lib/codemod/package.json
Expand Up @@ -46,7 +46,7 @@
"globby": "^11.0.2",
"jscodeshift": "^0.13.1",
"lodash": "^4.17.21",
"prettier": ">=2.2.1 <=2.3.0",
"prettier": ">=2.2.1 <=3.0.0",
"recast": "^0.19.0",
"util": "^0.12.4"
},
Expand Down
2 changes: 1 addition & 1 deletion code/lib/source-loader/package.json
Expand Up @@ -47,7 +47,7 @@
"@storybook/types": "7.0.0-alpha.47",
"estraverse": "^5.2.0",
"lodash": "^4.17.21",
"prettier": ">=2.2.1 <=2.3.0"
"prettier": ">=2.2.1 <=3.0.0"
},
"devDependencies": {
"jest-specific-snapshot": "^4.0.0",
Expand Down
15 changes: 3 additions & 12 deletions code/yarn.lock
Expand Up @@ -6428,7 +6428,7 @@ __metadata:
jest-specific-snapshot: ^4.0.0
jscodeshift: ^0.13.1
lodash: ^4.17.21
prettier: ">=2.2.1 <=2.3.0"
prettier: ">=2.2.1 <=3.0.0"
recast: ^0.19.0
typescript: ~4.6.3
util: ^0.12.4
Expand Down Expand Up @@ -7724,7 +7724,7 @@ __metadata:
estraverse: ^5.2.0
jest-specific-snapshot: ^4.0.0
lodash: ^4.17.21
prettier: ">=2.2.1 <=2.3.0"
prettier: ">=2.2.1 <=3.0.0"
typescript: ~4.6.3
peerDependencies:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
Expand Down Expand Up @@ -28674,7 +28674,7 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:2.7.1, prettier@npm:>=2.5, prettier@npm:^1.18.2 || ^2.0.0":
"prettier@npm:2.7.1, prettier@npm:>=2.2.1 <=3.0.0, prettier@npm:>=2.5, prettier@npm:^1.18.2 || ^2.0.0":
version: 2.7.1
resolution: "prettier@npm:2.7.1"
bin:
Expand All @@ -28683,15 +28683,6 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:>=2.2.1 <=2.3.0":
version: 2.3.0
resolution: "prettier@npm:2.3.0"
bin:
prettier: bin-prettier.js
checksum: b9f434af2f25a37aad0b133894827e980885eb8bf317444c9dde0401ed2c7f463f9996d691f5ee5a0a4450ab46a894cd6557516b561e2522821522ce1f4c6668
languageName: node
linkType: hard

"pretty-bytes@npm:^5.3.0":
version: 5.6.0
resolution: "pretty-bytes@npm:5.6.0"
Expand Down
8 changes: 0 additions & 8 deletions scripts/.prettierrc

This file was deleted.

2 changes: 1 addition & 1 deletion scripts/package.json
Expand Up @@ -147,7 +147,7 @@
"npmlog": "^5.0.1",
"nx": "14.6.1",
"p-limit": "^3.1.0",
"prettier": ">=2.2.1 <=2.3.0",
"prettier": ">=2.2.1 <=3.0.0",
"pretty-hrtime": "^1.0.0",
"process": "^0.11.10",
"prompts": "^2.4.0",
Expand Down
6 changes: 0 additions & 6 deletions scripts/prettier.config.js
Expand Up @@ -3,10 +3,4 @@ const base = require('@storybook/linter-config/prettier.config');
module.exports = {
...base,
arrowParens: 'always',
overrides: [
{
files: '*.html',
options: { parser: 'babel' },
},
],
};
10 changes: 5 additions & 5 deletions scripts/yarn.lock
Expand Up @@ -3431,7 +3431,7 @@ __metadata:
npmlog: ^5.0.1
nx: 14.6.1
p-limit: ^3.1.0
prettier: ">=2.2.1 <=2.3.0"
prettier: ">=2.2.1 <=3.0.0"
pretty-hrtime: ^1.0.0
process: ^0.11.10
prompts: ^2.4.0
Expand Down Expand Up @@ -15669,12 +15669,12 @@ __metadata:
languageName: node
linkType: hard

"prettier@npm:>=2.2.1 <=2.3.0":
version: 2.3.0
resolution: "prettier@npm:2.3.0"
"prettier@npm:>=2.2.1 <=3.0.0":
version: 2.7.1
resolution: "prettier@npm:2.7.1"
bin:
prettier: bin-prettier.js
checksum: b9f434af2f25a37aad0b133894827e980885eb8bf317444c9dde0401ed2c7f463f9996d691f5ee5a0a4450ab46a894cd6557516b561e2522821522ce1f4c6668
checksum: 359d2b7ecf36bd52924a48331cae506d335f18637fde6c686212f952b9ce678ce9f554a80571049b36ec2897a8a6c40094b776dea371cc5c04c481cf5b78504b
languageName: node
linkType: hard

Expand Down

0 comments on commit b298a49

Please sign in to comment.