Christian Kaisermann
6526245bf9
feat: 🎸 make date,time and number formatters tree-shakeable
...
BREAKING CHANGE: Changes completely the API. Now, to format a number, date or time, the
developer must explicitly import the formatter store:
`import { time, date, number } from 'svelte-i18n'`
2020-02-03 11:24:50 -03:00
Christian Kaisermann
dadeaa2e7f
feat: 🎸 add runtime typings
...
✅ Closes: Closes #43
2020-01-23 10:11:04 -03:00
Christian Kaisermann
270aefa199
refactor: 💡 remove deepmerge and dlv dependencies
...
No need for them anymore. We now flat the dicitonary partials on
`addMessages`
2020-01-15 13:59:31 -03:00
Christian Kaisermann
bb8c68f2eb
fix: 🐛 lookup message not caching correctly
...
It was only caching lookups of fallback locales. If a message was found
in the passed locale, it wouldn't be cached.
2020-01-08 11:33:01 -03:00
Christian Kaisermann
7dee09b668
test: 💍 add tests for format store
2019-11-28 15:00:04 -03:00
Christian Kaisermann
9d636694b1
refactor: 💡 formatter format/manual options logic
2019-11-27 16:20:21 -03:00
Christian Kaisermann
850fd09f32
test: 💍 add tests for formatters
2019-11-27 13:26:18 -03:00
Christian Kaisermann
300f965a87
refactor: 💡 configure to init
2019-11-27 00:58:53 -03:00
Christian Kaisermann
cf8d32f0a6
test: 💍 add some misisng tests
2019-11-26 22:29:40 -03:00
Christian Kaisermann
b3098ba67b
test: 💍 add test for lookup and loader queue
2019-11-26 22:00:23 -03:00