Skip to content

Commit

Permalink
Use semantic version constraint for prettier (^2.2.1 instead of ~2.2.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
JanJakes committed Jun 19, 2021
1 parent ed6923d commit ffb9e66
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 @@ -90,7 +90,7 @@
"loader-utils": "^2.0.0",
"lodash": "^4.17.20",
"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 @@ -52,7 +52,7 @@
"fs-extra": "^9.0.1",
"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 @@ -246,7 +246,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 @@ -5708,7 +5708,7 @@ __metadata:
loader-utils: ^2.0.0
lodash: ^4.17.20
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 @@ -6027,7 +6027,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 @@ -6520,7 +6520,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 @@ -6759,7 +6759,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 @@ -7355,7 +7355,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 @@ -7471,7 +7471,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 @@ -34502,7 +34502,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 ffb9e66

Please sign in to comment.