Skip to content

Commit

Permalink
fix(deps): migrate messageformat to @messageformat/core (#442)
Browse files Browse the repository at this point in the history
Co-authored-by: JounQin <[email protected]>
  • Loading branch information
He Li and JounQin authored Aug 23, 2022
1 parent 39c38b5 commit 3eef076
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@
}
},
"dependencies": {
"@messageformat/core": "^3.0.1",
"@prettier/eslint": "npm:prettier-eslint@^15.0.1",
"arrify": "^2.0.1",
"boolify": "^1.0.1",
Expand All @@ -50,7 +51,6 @@
"indent-string": "^4.0.0",
"lodash.memoize": "^4.1.2",
"loglevel-colored-level-prefix": "^1.0.0",
"messageformat": "^2.3.0",
"rxjs": "^7.5.6",
"yargs": "^13.1.1"
},
Expand Down
2 changes: 1 addition & 1 deletion src/messages.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MessageFormat from 'messageformat';
import MessageFormat from '@messageformat/core';

const mf = new MessageFormat('en');

Expand Down
6 changes: 5 additions & 1 deletion test/tests/__snapshots__/cli.spec.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@ Object {
`;

exports[`prettier-eslint test/fixtures/example*.js --write --no-eslint-ignore --no-prettier-ignore: stdout: prettier-eslint test/fixtures/example*.js --write --no-eslint-ignore --no-prettier-ignore 1`] = `
"success formatting 2 files with prettier-eslint
"can't resolve reference #/definitions/directiveConfigSchema from id #
can't resolve reference #/definitions/directiveConfigSchema from id #
can't resolve reference #/definitions/directiveConfigSchema from id #
can't resolve reference #/definitions/directiveConfigSchema from id #
success formatting 2 files with prettier-eslint
"
`;

0 comments on commit 3eef076

Please sign in to comment.