Commit Graph

251 Commits

Author SHA1 Message Date
Christian Kaisermann
bb6dd01558 chore: 🤖 oops, fix actual build-time types being git ignored 2020-01-23 10:32:56 -03:00
Christian Kaisermann
73c80e9bea chore(release): v2.3.0 🎉 2020-01-23 10:12:06 -03:00
Christian Kaisermann
dadeaa2e7f feat: 🎸 add runtime typings
 Closes: Closes #43
2020-01-23 10:11:04 -03:00
Christian Kaisermann
107eec0e89 chore(release): v2.2.4 🎉 2020-01-21 10:25:31 -03:00
Christian Kaisermann
932847be2d refactor: 💡 remove fast-memoize in favour of simple monadic fn 2020-01-21 10:23:18 -03:00
Christian Kaisermann
69ec477ffd docs: ✏️ move docs out of wiki 2020-01-21 10:00:45 -03:00
Christian Kaisermann
1c059060e2 chore: 🤖 update changelog 2020-01-15 14:01:41 -03:00
Christian Kaisermann
577e097ad7 chore(release): v2.2.3 🎉 2020-01-15 14:00:27 -03:00
Christian Kaisermann
e02427de3b test: 💍 add flatObj and getIn tests 2020-01-15 13:59:31 -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
e889a41e63 Ignore annoying warning 2020-01-13 21:44:08 -03:00
Christian Kaisermann
788a2c67df chore(release): v2.2.2 🎉 2020-01-13 21:21:16 -03:00
Christian Kaisermann
b2dc7828c5 fix: 🐛 mjs causing an elusive bug in webpack module resolution
Changed i18n.mjs to i18n.esm.js to prevent webpack to only accept .mjs
imports inside the library. Webpack was importing the cjs version of
Intl-Formatmessage and messing things up.

Issues: #36
2020-01-13 21:20:04 -03:00
Christian Kaisermann
88a35580c3 chore: 🤖 update lock 2020-01-08 11:33:01 -03:00
Christian Kaisermann
0892e1530a chore(release): v2.2.1 🎉 2020-01-08 11:33:01 -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
f8b0fe8bbe chore(release): v2.2.0 🎉 2020-01-06 22:36:55 -03:00
Christian Kaisermann
0c57b9b568 fix: 🐛 make message formatter default to current locale 2020-01-06 22:36:31 -03:00
Miguel Camba
86cca99251 feat: add low level API to get access to the formatters (#31)
* Add test
* Change approach, export functions to access the formatters instead
2020-01-06 22:36:04 -03:00
Christian Kaisermann
490fdd9492 refactor: 💡 readme 2019-12-02 23:41:34 -03:00
Christian Kaisermann
396a360324 chore(release): v2.1.1 🎉 2019-12-02 20:20:24 -03:00
Christian Kaisermann
feb7ab9dea fix: 🐛 fix conflict artifacts 2019-12-02 20:16:48 -03:00
Christian Kaisermann
7ff154cc44
Merge pull request #25 from kaisermann/fix/v2
V2 again
2019-11-29 22:19:29 -03:00
Christian Kaisermann
b545f07c92 Merge branch 'master' into fix/v2 2019-11-29 22:18:53 -03:00
Christian Kaisermann
01f749e846 chore(release): v2.1.0 🎉 2019-11-29 22:11:46 -03:00
Christian Kaisermann
a28cb4270d Update example files 2019-11-29 19:47:05 -03:00
Christian Kaisermann
fb0b6fc9be Update example deps 2019-11-29 19:16:04 -03:00
Christian Kaisermann
92cd7412d0 Update lock 2019-11-29 19:13:39 -03:00
Christian Kaisermann
a080419294 chore(release): v2.1.0-alpha.2 🎉 2019-11-29 19:13:20 -03:00
Christian Kaisermann
83a5102ba8 chore: 🤖 release v2.1.0 alpha 2 2019-11-29 19:07:33 -03:00
Christian Kaisermann
0c8cc1292f test: 💍 add tests for format method update 2019-11-29 18:39:20 -03:00
Christian Kaisermann
b8c8ba8b22 chore: 🤖 release alpha 1 2019-11-29 00:57:05 -03:00
Christian Kaisermann
7bef16f344 test: 💍 fix waitLocale tests and add missing formatter tests 2019-11-29 00:25:31 -03:00
Christian Kaisermann
cee3d82b4a chore: 🤖 fix lint issues 2019-11-28 23:40:57 -03:00
Christian Kaisermann
aec74abab9 chore: 🤖 update example files 2019-11-28 23:38:08 -03:00
Christian Kaisermann
0b7f61c49a fix: 🐛 allow to wait for initial locale load 2019-11-28 23:35:48 -03:00
Christian Kaisermann
59289c8443 chore: 🤖 change nvmrc version 2019-11-28 23:19:05 -03:00
Christian Kaisermann
e08fa29099 test: 💍 add missing test for component without script 2019-11-28 23:16:15 -03:00
Christian Kaisermann
45216d46ea chore: 🤖 test on latest node (for Intl purposes) 2019-11-28 23:16:05 -03:00
Christian Kaisermann
43a41f9cb9 chore: 🤖 remove unused dependencies 2019-11-28 23:13:25 -03:00
Christian Kaisermann
15ed03185a test: 💍 add some tests for the cli 2019-11-28 22:57:05 -03:00
Christian Kaisermann
60ba73682f test: 💍 add more tests for loaderQueue 2019-11-28 16:17:22 -03:00
Christian Kaisermann
7dee09b668 test: 💍 add tests for format store 2019-11-28 15:00:04 -03:00
Christian Kaisermann
efbe793a0f feat: 🎸 add warnOnMissingMessages 2019-11-28 14:59:52 -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
Christian Kaisermann
21afa3d6b1 test: 💍 add tests for getClientLocale precedence 2019-11-26 13:18:07 -03:00