Skip to content

Commit

Permalink
feat(core): migrate to prettier ^2.6.2 (#10499)
Browse files Browse the repository at this point in the history
  • Loading branch information
Phillip9587 committed Jun 3, 2022
1 parent eea2470 commit d53000a
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 18 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -99,7 +99,7 @@
"@types/jest": "27.4.1",
"@types/marked": "^2.0.0",
"@types/node": "16.11.7",
"@types/prettier": "2.4.3",
"@types/prettier": "^2.6.2",
"@types/react": "18.0.8",
"@types/react-dom": "18.0.3",
"@types/react-router-dom": "5.1.7",
Expand Down Expand Up @@ -196,7 +196,7 @@
"postcss-import": "~14.1.0",
"postcss-preset-env": "~7.5.0",
"postcss-url": "~10.1.3",
"prettier": "2.5.1",
"prettier": "^2.6.2",
"prettier-plugin-tailwindcss": "^0.1.5",
"pretty-quick": "^3.1.0",
"protractor": "5.4.3",
Expand Down
2 changes: 1 addition & 1 deletion packages/nx/src/utils/versions.ts
Expand Up @@ -2,7 +2,7 @@ export const nxVersion = require('../../package.json').version;

export const angularCliVersion = '~14.0.0';
export const typescriptVersion = '~4.7.2';
export const prettierVersion = '^2.5.1';
export const prettierVersion = '^2.6.2';
export const tslintVersion = '~6.1.0';
export const typescriptESLintVersion = '~5.24.0';
export const eslintVersion = '~8.15.0';
Expand Down
4 changes: 4 additions & 0 deletions packages/workspace/migrations.json
Expand Up @@ -108,6 +108,10 @@
"typescript": {
"version": "~4.7.2",
"alwaysAddToPackageJson": false
},
"prettier": {
"version": "^2.6.2",
"alwaysAddToPackageJson": false
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace/package.json
Expand Up @@ -56,7 +56,7 @@
}
},
"peerDependencies": {
"prettier": "^2.5.1"
"prettier": "^2.6.2"
},
"peerDependenciesMeta": {
"prettier": {
Expand Down
Expand Up @@ -9,7 +9,7 @@ Object {
"@nrwl/cli": "0.0.1",
"@nrwl/workspace": "0.0.1",
"nx": "0.0.1",
"prettier": "^2.5.1",
"prettier": "^2.6.2",
"typescript": "~4.7.2",
},
"license": "MIT",
Expand All @@ -31,7 +31,7 @@ Object {
"@nrwl/cli": "0.0.1",
"@nrwl/workspace": "0.0.1",
"nx": "0.0.1",
"prettier": "^2.5.1",
"prettier": "^2.6.2",
"typescript": "~4.7.2",
},
"license": "MIT",
Expand All @@ -54,7 +54,7 @@ Object {
"@nrwl/react": "0.0.1",
"@nrwl/workspace": "0.0.1",
"nx": "0.0.1",
"prettier": "^2.5.1",
"prettier": "^2.6.2",
"typescript": "~4.7.2",
},
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/workspace/src/utils/versions.ts
Expand Up @@ -2,7 +2,7 @@ export const nxVersion = require('../../package.json').version;

export const angularCliVersion = '~14.0.0';
export const typescriptVersion = '~4.7.2';
export const prettierVersion = '^2.5.1';
export const prettierVersion = '^2.6.2';
export const tslintVersion = '~6.1.0';
export const typescriptESLintVersion = '~5.24.0';
export const eslintVersion = '~8.15.0';
Expand Down
20 changes: 10 additions & 10 deletions yarn.lock
Expand Up @@ -5840,16 +5840,16 @@
resolved "https://registry.yarnpkg.com/@types/parse5/-/parse5-5.0.3.tgz#e7b5aebbac150f8b5fdd4a46e7f0bd8e65e19109"
integrity sha512-kUNnecmtkunAoQ3CnjmMkzNU/gtxG8guhi+Fk2U/kOpIKjIMKnXGp4IJCgQJrXSgMsWYimYG4TGjz/UzbGEBTw==

"@types/prettier@2.4.3":
version "2.4.3"
resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.4.3.tgz#a3c65525b91fca7da00ab1a3ac2b5a2a4afbffbf"
integrity sha512-QzSuZMBuG5u8HqYz01qtMdg/Jfctlnvj1z/lYnIDXs/golxw0fxtRAHd9KrzjR7Yxz1qVeI00o0kiO3PmVdJ9w==

"@types/prettier@^2.1.5":
version "2.4.4"
resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.4.4.tgz#5d9b63132df54d8909fce1c3f8ca260fdd693e17"
integrity sha512-ReVR2rLTV1kvtlWFyuot+d1pkpG2Fw/XKE3PDAdj57rbM97ttSp9JZ2UsP+2EHTylra9cUf6JA7tGwW1INzUrA==

"@types/prettier@^2.6.2":
version "2.6.2"
resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.6.2.tgz#b6df4f04f5dab9befe2cb74ed1461a0231e23cb7"
integrity sha512-dOW37mq8TBPPI8YIkmN/EDJFWBgvjEmQP8OmODSl26B4fud0sa3ohpTSi5AuhwSfkaY4kYBptSilmS6cBO0DVw==

"@types/pretty-hrtime@^1.0.0":
version "1.0.1"
resolved "https://registry.yarnpkg.com/@types/pretty-hrtime/-/pretty-hrtime-1.0.1.tgz#72a26101dc567b0d68fd956cf42314556e42d601"
Expand Down Expand Up @@ -19611,11 +19611,6 @@ prettier-plugin-tailwindcss@^0.1.5:
resolved "https://registry.yarnpkg.com/prettier-plugin-tailwindcss/-/prettier-plugin-tailwindcss-0.1.8.tgz#ba0f606ed91959ede670303d905b99106e9e6293"
integrity sha512-hwarSBCswAXa+kqYtaAkFr3Vop9o04WOyZs0qo3NyvW8L7f1rif61wRyq0+ArmVThOuRBcJF5hjGXYk86cwemg==

prettier@2.5.1:
version "2.5.1"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.5.1.tgz#fff75fa9d519c54cf0fce328c1017d94546bc56a"
integrity sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==

"prettier@>=2.2.1 <=2.3.0":
version "2.3.0"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.3.0.tgz#b6a5bf1284026ae640f17f7ff5658a7567fc0d18"
Expand All @@ -19626,6 +19621,11 @@ prettier@^2.2.0:
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.0.tgz#12f8f504c4d8ddb76475f441337542fa799207d4"
integrity sha512-m2FgJibYrBGGgQXNzfd0PuDGShJgRavjUoRCw1mZERIWVSXF0iLzLm+aOqTAbLnC3n6JzUhAA8uZnFVghHJ86A==

prettier@^2.6.2:
version "2.6.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.6.2.tgz#e26d71a18a74c3d0f0597f55f01fb6c06c206032"
integrity sha512-PkUpF+qoXTqhOeWL9fu7As8LXsIUZ1WYaJiY/a7McAQzxjk82OF0tibkFXVCDImZtWxbvojFjerkiLb0/q8mew==

pretty-bytes@^5.3.0, pretty-bytes@^5.6.0:
version "5.6.0"
resolved "https://registry.yarnpkg.com/pretty-bytes/-/pretty-bytes-5.6.0.tgz#356256f643804773c82f64723fe78c92c62beaeb"
Expand Down

1 comment on commit d53000a

@vercel
Copy link

@vercel vercel bot commented on d53000a Jun 3, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

nx-dev – ./

nx-five.vercel.app
nx-dev-git-master-nrwl.vercel.app
nx-dev-nrwl.vercel.app
nx.dev

Please sign in to comment.