Skip to content

Commit

Permalink
fix: upgrade dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
akameco committed Mar 19, 2020
1 parent 938cd7d commit afcb2af
Show file tree
Hide file tree
Showing 7 changed files with 2,307 additions and 2,216 deletions.
8 changes: 4 additions & 4 deletions example/i18n/en.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"a": {
"hello": "hello",
"world": "world"
},
"App": {
"hello": "Hello Button",
"submit": "Submit Button"
},
"a": {
"hello": "hello",
"world": "world"
}
}
8 changes: 4 additions & 4 deletions example/i18n/ja.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"a": {
"hello": "",
"world": ""
},
"App": {
"hello": "",
"submit": ""
},
"a": {
"hello": "",
"world": ""
}
}
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ module.exports = {
preset: 'ts-jest',
globals: {
'ts-jest': {
diagnostics: false
// diagnostics: false
}
}
}
58 changes: 29 additions & 29 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,54 +40,54 @@
"messages"
],
"dependencies": {
"@babel/core": "^7.5.5",
"@babel/core": "^7.8.7",
"babel-plugin-react-intl": "^5.1.8",
"flat": "^4.1.0",
"glob": "^7.1.4",
"flat": "^5.0.0",
"glob": "^7.1.6",
"js-yaml": "^3.13.1",
"load-json-file": "^6.2.0",
"lodash.merge": "^4.6.2",
"lodash.mergewith": "^4.6.2",
"lodash.pick": "^4.4.0",
"meow": "^5.0.0",
"mkdirp": "^0.5.1",
"pify": "^4.0.1",
"read-babelrc-up": "^0.4.0",
"meow": "^6.0.1",
"mkdirp": "^1.0.3",
"pify": "^5.0.0",
"read-babelrc-up": "^1.1.0",
"sort-keys": "^4.0.0",
"write-json-file": "^4.1.1"
"write-json-file": "^4.3.0"
},
"devDependencies": {
"@akameco/tsconfig": "^0.3.0",
"@babel/plugin-proposal-class-properties": "^7.5.5",
"@babel/preset-env": "^7.5.5",
"@babel/preset-flow": "^7.0.0",
"@babel/preset-react": "^7.0.0",
"@types/flat": "^0.0.28",
"@types/jest": "^24.0.18",
"@types/js-yaml": "^3.12.1",
"@akameco/tsconfig": "^0.4.0",
"@babel/plugin-proposal-class-properties": "^7.8.3",
"@babel/preset-env": "^7.8.7",
"@babel/preset-flow": "^7.8.3",
"@babel/preset-react": "^7.8.3",
"@types/flat": "^5.0.0",
"@types/glob": "^7.1.1",
"@types/jest": "^25.1.4",
"@types/js-yaml": "^3.12.2",
"@types/lodash.merge": "^4.6.6",
"@types/lodash.mergewith": "^4.6.6",
"@types/lodash.pick": "^4.4.6",
"@types/mkdirp": "^0.5.2",
"@types/mkdirp": "^1.0.0",
"@types/pify": "^3.0.2",
"@types/temp-write": "^4.0.0",
"@types/tempy": "^0.3.0",
"all-contributors-cli": "^6.8.2",
"all-contributors-cli": "^6.14.0",
"babel-core": "7.0.0-bridge.0",
"babel-jest": "^24.8.0",
"babel-plugin-react-intl-auto": "^2.2.0",
"eslint": "^6.3.0",
"eslint-config-precure": "^5.0.2",
"husky": "^3.0.5",
"jest": "^24.8.0",
"lint-staged": "^9.2.5",
"prettier": "^1.18.2",
"react": "^16.8.6",
"eslint": "^6.8.0",
"eslint-config-precure": "^5.3.1",
"husky": "^4.2.3",
"jest": "^25.1.0",
"lint-staged": "^10.0.8",
"prettier": "^1.19.1",
"react": "^16.13.0",
"react-intl": "^3.2.0",
"temp-write": "^4.0.0",
"tempy": "^0.3.0",
"ts-jest": "^24.0.2",
"typescript": "^3.6.2"
"tempy": "^0.5.0",
"ts-jest": "^25.2.1",
"typescript": "^3.8.3"
},
"lint-staged": {
"*.{ts}": [
Expand Down
2 changes: 1 addition & 1 deletion src/extract-react-intl/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,10 +64,10 @@ const babelPluginReactIntlOptions = [
]

type Options = {
[key: string]: unknown
defaultLocale?: string
cwd?: string
withDescriptions?: boolean
[key: string]: unknown
}

type Message = {
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,10 +58,10 @@ function loadLocaleFiles(locales: string[], buildDir: string, ext: string) {
}

type Opts = {
[key: string]: unknown
defaultLocale: string
format?: string
flat?: boolean
[key: string]: unknown
}

// eslint-disable-next-line max-lines-per-function
Expand Down
Loading

0 comments on commit afcb2af

Please sign in to comment.