Skip to content

Commit b0f7792

Browse files
committed
chore: prettier is now a peer dependency instead of a direct dependency
User of this plugin should be able to choose which version of prettier they want to use, so prettier is now declared as a peer dependency.
1 parent 26dd850 commit b0f7792

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,16 +27,16 @@
2727
"prettier"
2828
],
2929
"peerDependencies": {
30-
"rollup": "^1.0.0 || ^2.0.0"
30+
"rollup": "^1.0.0 || ^2.0.0",
31+
"prettier": "^1.0.0 || ^2.0.0"
3132
},
3233
"dependencies": {
3334
"diff": "4.0.2",
3435
"lodash.hasin": "4.5.2",
3536
"lodash.isempty": "4.4.0",
3637
"lodash.isnil": "4.0.0",
3738
"lodash.omitby": "4.6.0",
38-
"magic-string": "0.25.7",
39-
"prettier": "^1.0.0"
39+
"magic-string": "0.25.7"
4040
},
4141
"devDependencies": {
4242
"@babel/core": "7.9.0",
@@ -55,6 +55,7 @@
5555
"gulp-jasmine": "4.0.0",
5656
"jasmine-core": "3.5.0",
5757
"lodash.startswith": "4.2.1",
58+
"prettier": "1.19.1",
5859
"q": "1.5.1",
5960
"rimraf": "3.0.2",
6061
"rollup": "1.32.0",

0 commit comments

Comments
 (0)