Skip to content

Commit

Permalink
Merge pull request #15298 from JanJakes/prettier-version-constraint
Browse files Browse the repository at this point in the history
Use semantic version constraint for prettier (^2.2.1 instead of ~2.2.1)
  • Loading branch information
ndelangen committed Aug 2, 2021
2 parents d0db188 + ffb9e66 commit 6fedc7d
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion addons/docs/package.json
Expand Up @@ -91,7 +91,7 @@
"lodash": "^4.17.20",
"nanoid": "^3.1.23",
"p-limit": "^3.1.0",
"prettier": "~2.2.1",
"prettier": "^2.2.1",
"prop-types": "^15.7.2",
"react-element-to-jsx-string": "^14.3.2",
"regenerator-runtime": "^0.13.7",
Expand Down
2 changes: 1 addition & 1 deletion addons/storysource/package.json
Expand Up @@ -51,7 +51,7 @@
"core-js": "^3.8.2",
"estraverse": "^5.2.0",
"loader-utils": "^2.0.0",
"prettier": "~2.2.1",
"prettier": "^2.2.1",
"prop-types": "^15.7.2",
"react-syntax-highlighter": "^13.5.3",
"regenerator-runtime": "^0.13.7"
Expand Down
2 changes: 1 addition & 1 deletion lib/codemod/package.json
Expand Up @@ -51,7 +51,7 @@
"globby": "^11.0.2",
"jscodeshift": "^0.7.0",
"lodash": "^4.17.20",
"prettier": "~2.2.1",
"prettier": "^2.2.1",
"recast": "^0.19.0",
"regenerator-runtime": "^0.13.7"
},
Expand Down
2 changes: 1 addition & 1 deletion lib/csf-tools/package.json
Expand Up @@ -54,7 +54,7 @@
"global": "^4.4.0",
"js-string-escape": "^1.0.1",
"lodash": "^4.17.20",
"prettier": "~2.2.1",
"prettier": "^2.2.1",
"regenerator-runtime": "^0.13.7"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion lib/source-loader/package.json
Expand Up @@ -49,7 +49,7 @@
"global": "^4.4.0",
"loader-utils": "^2.0.0",
"lodash": "^4.17.20",
"prettier": "~2.2.1",
"prettier": "^2.2.1",
"regenerator-runtime": "^0.13.7"
},
"peerDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -248,7 +248,7 @@
"npmlog": "^4.1.2",
"p-limit": "^3.1.0",
"postcss-loader": "^4.2.0",
"prettier": "~2.2.1",
"prettier": "^2.2.1",
"prompts": "^2.4.0",
"raf": "^3.4.1",
"regenerator-runtime": "^0.13.7",
Expand Down
14 changes: 7 additions & 7 deletions yarn.lock
Expand Up @@ -5995,7 +5995,7 @@ __metadata:
lodash: ^4.17.20
nanoid: ^3.1.23
p-limit: ^3.1.0
prettier: ~2.2.1
prettier: ^2.2.1
prop-types: ^15.7.2
react-element-to-jsx-string: ^14.3.2
regenerator-runtime: ^0.13.7
Expand Down Expand Up @@ -6342,7 +6342,7 @@ __metadata:
core-js: ^3.8.2
estraverse: ^5.2.0
loader-utils: ^2.0.0
prettier: ~2.2.1
prettier: ^2.2.1
prop-types: ^15.7.2
react-syntax-highlighter: ^13.5.3
regenerator-runtime: ^0.13.7
Expand Down Expand Up @@ -6837,7 +6837,7 @@ __metadata:
jest-specific-snapshot: ^4.0.0
jscodeshift: ^0.7.0
lodash: ^4.17.20
prettier: ~2.2.1
prettier: ^2.2.1
recast: ^0.19.0
regenerator-runtime: ^0.13.7
languageName: unknown
Expand Down Expand Up @@ -7077,7 +7077,7 @@ __metadata:
js-string-escape: ^1.0.1
js-yaml: ^3.14.1
lodash: ^4.17.20
prettier: ~2.2.1
prettier: ^2.2.1
regenerator-runtime: ^0.13.7
ts-dedent: ^2.0.0
languageName: unknown
Expand Down Expand Up @@ -7680,7 +7680,7 @@ __metadata:
npmlog: ^4.1.2
p-limit: ^3.1.0
postcss-loader: ^4.2.0
prettier: ~2.2.1
prettier: ^2.2.1
prompts: ^2.4.0
puppeteer: ^2.1.1
raf: ^3.4.1
Expand Down Expand Up @@ -7819,7 +7819,7 @@ __metadata:
global: ^4.4.0
loader-utils: ^2.0.0
lodash: ^4.17.20
prettier: ~2.2.1
prettier: ^2.2.1
regenerator-runtime: ^0.13.7
peerDependencies:
react: ^16.8.0 || ^17.0.0
Expand Down Expand Up @@ -34817,7 +34817,7 @@ fsevents@^1.2.7:
languageName: node
linkType: hard

"prettier@npm:~2.2.1":
"prettier@npm:^2.2.1":
version: 2.2.1
resolution: "prettier@npm:2.2.1"
bin:
Expand Down

0 comments on commit 6fedc7d

Please sign in to comment.