@tolgee/format-icu
Advanced tools
Comparing version 4.10.0-rc.14ca700.0 to 4.10.0-rc.18d1cd5.0
{ | ||
"name": "@tolgee/format-icu", | ||
"version": "4.10.0-rc.14ca700.0", | ||
"version": "4.10.0-rc.18d1cd5.0", | ||
"description": "Tolgee format-icu plugin.", | ||
"main": "./dist/tolgee-format-icu.cjs.js", | ||
"module": "./dist/tolgee-format-icu.esm.mjs", | ||
"module": "./dist/tolgee-format-icu.esm.js", | ||
"types": "./lib/index.d.ts", | ||
@@ -28,3 +28,3 @@ "repository": { | ||
"require": "./dist/tolgee-format-icu.cjs.js", | ||
"import": "./dist/tolgee-format-icu.esm.mjs" | ||
"import": "./dist/tolgee-format-icu.esm.js" | ||
}, | ||
@@ -49,3 +49,3 @@ "scripts": { | ||
"@testing-library/jest-dom": "^5.16.5", | ||
"@tolgee/core": "^4.10.0-rc.14ca700.0", | ||
"@tolgee/core": "^4.10.0-rc.18d1cd5.0", | ||
"@types/jest": "^27.0.2", | ||
@@ -68,3 +68,3 @@ "@types/node": "^17.0.8", | ||
}, | ||
"gitHead": "b1d3f9ef8bd9aa70bf0e3acbdaff6043021a2fee" | ||
"gitHead": "c1c1a75777b40da3674427ba36ca751bdd8c7698" | ||
} |
import { TolgeePlugin } from '@tolgee/core'; | ||
import { IcuFormatter } from './IcuFormatter'; | ||
import { FormatIcuCreator } from './FormatIcuCreator'; | ||
export const FormatIcu = (): TolgeePlugin => (tolgee, tools) => { | ||
tools.setFinalFormatter(IcuFormatter()); | ||
tools.setFinalFormatter(FormatIcuCreator()); | ||
return tolgee; | ||
}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1769691