Skip to content

Commit

Permalink
feat(project): update prettier to 2.1.0 (#6712)
Browse files Browse the repository at this point in the history
* feat(project): update prettier to 2.1.0

* chore(project): format files

* chore(project): remove local dependency from root package.json

Co-authored-by: TJ Egan <[email protected]>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
  • Loading branch information
3 people authored Aug 25, 2020
1 parent a135f5c commit dc20b51
Show file tree
Hide file tree
Showing 12 changed files with 13 additions and 14 deletions.
Binary file removed .yarn/offline-mirror/prettier-2.0.5.tgz
Binary file not shown.
Binary file added .yarn/offline-mirror/prettier-2.1.0.tgz
Binary file not shown.
Binary file not shown.
4 changes: 2 additions & 2 deletions config/prettier-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"access": "public"
},
"peerDependencies": {
"prettier": "^2.0.5"
"prettier": "^2.1.0"
},
"devDependencies": {
"prettier": "^2.0.5"
"prettier": "^2.1.0"
}
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,7 @@
"jest-junit": "^10.0.0",
"lerna": "^3.20.2",
"lint-staged": "^9.5.0",
"prettier": "^2.0.5",
"prettier-config-carbon": "^0.2.0",
"prettier": "^2.1.0",
"react": "^16.8.6",
"react-dom": "^16.8.6",
"rimraf": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"fast-glob": "^3.2.2",
"fs-extra": "^8.0.1",
"inquirer": "^6.4.1",
"prettier": "^2.0.5",
"prettier": "^2.1.0",
"prettier-config-carbon": "^0.3.0",
"progress-estimator": "^0.2.2",
"remark": "^10.0.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/icon-build-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"js-yaml": "^3.12.1",
"klaw-sync": "^6.0.0",
"memfs": "^3.0.4",
"prettier": "^2.0.5",
"prettier": "^2.1.0",
"prop-types": "^15.6.2",
"react": "^16.6.0",
"react-dom": "^16.6.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/icons-vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
"@carbon/cli-reporter": "^10.3.0",
"@carbon/icons": "^10.16.0",
"fs-extra": "^8.1.0",
"prettier": "^2.0.5",
"prettier": "^2.1.0",
"rimraf": "^3.0.0",
"rollup": "^1.15.1",
"vue": "^2.6.8"
Expand Down
2 changes: 1 addition & 1 deletion packages/scss-generator/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"access": "public"
},
"dependencies": {
"prettier": "^2.0.5"
"prettier": "^2.1.0"
}
}
2 changes: 1 addition & 1 deletion packages/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"react-dom": "^16.9.0"
},
"dependencies": {
"prettier": "^2.0.5",
"prettier": "^2.1.0",
"resolve": "^1.12.0",
"tabbable": "^4.0.0"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/type/scss/_reset.scss
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/// @group @carbon/type
@mixin carbon--type-reset(
// TODO: remove in next major release. This has been replaced with 100%
$base-font-size: $carbon--base-font-size,
$base-font-size: $carbon--base-font-size,
$body-font-family: carbon--font-family('sans'),
$mono-font-family: carbon--font-family('mono')
) {
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -19651,10 +19651,10 @@ prettier@^1.16.4:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.19.1.tgz#f7d7f5ff8a9cd872a7be4ca142095956a60797cb"
integrity sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==

prettier@^2.0.5:
version "2.0.5"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.0.5.tgz#d6d56282455243f2f92cc1716692c08aa31522d4"
integrity sha512-7PtVymN48hGcO4fGjybyBSIWDsLU4H4XlvOHfq91pz9kkGlonzwTfYkaIEwiRg/dAJF9YlbsduBAgtYLi+8cFg==
prettier@^2.1.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.1.0.tgz#5a9789f767a243118c60f3e56d95cb6544914fbb"
integrity sha512-lz28cCbA1cDFHVuY8vvj6QuqOwIpyIfPUYkSl8AZ/vxH8qBXMMjE2knfLHCrZCmUsK/H1bg1P0tOo0dJkTJHvw==

pretty-error@^2.1.1:
version "2.1.1"
Expand Down

0 comments on commit dc20b51

Please sign in to comment.