Skip to content

Commit

Permalink
feat(schematics): upgrade the version of prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
vsavkin committed Nov 27, 2017
1 parent 7bc950c commit cc2277e
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"karma-chrome-launcher": "~2.1.1",
"karma-jasmine": "~1.1.0",
"karma-webpack": "2.0.4",
"prettier": "1.7.4",
"prettier": "1.8.2",
"rxjs": "5.5.2",
"tslint": "5.7.0",
"typescript": "2.5.3"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
"format": "prettier --single-quote --print-width 120 --write \"{apps,libs}/**/*.ts\""
"format": "node ./node_modules/prettier/index.js --single-quote --print-width 120 --write \"{apps,libs}/**/*.ts\""
},
"private": true,
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/schematics/src/utility/lib-versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export const angularJsVersion = '1.6.6';
export const ngrxVersion = '^4.1.0';
export const nxVersion = '*';
export const schematicsVersion = '*';
export const prettierVersion = '1.7.4';
export const prettierVersion = '1.8.2';

export const libVersions = {
angularVersion,
Expand Down
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4715,9 +4715,9 @@ preserve@^0.2.0:
version "0.2.0"
resolved "https://registry.yarnpkg.com/preserve/-/preserve-0.2.0.tgz#815ed1f6ebc65926f865b310c0713bcb3315ce4b"

prettier@1.7.4:
version "1.7.4"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.7.4.tgz#5e8624ae9363c80f95ec644584ecdf55d74f93fa"
prettier@1.8.2:
version "1.8.2"
resolved "https://registry.yarnpkg.com/prettier/-/prettier-1.8.2.tgz#bff83e7fd573933c607875e5ba3abbdffb96aeb8"

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

0 comments on commit cc2277e

Please sign in to comment.