Commit Graph

13 Commits

Author SHA1 Message Date
Christian Kaisermann
e91e822df1 chore: use rollup-plugin-dts 2022-04-05 17:23:38 +02:00
Adriano Raiano
a8b5df0442 feat: introduce handleMissingMessage (#175)
* feat: introduce onMissingMessageHandler

* Update src/runtime/types/index.ts

Co-authored-by: Christian Kaisermann <christian@kaisermann.me>

* Update src/runtime/configs.ts

Co-authored-by: Christian Kaisermann <christian@kaisermann.me>

* Update src/runtime/types/index.ts

Co-authored-by: Christian Kaisermann <christian@kaisermann.me>

* Update src/runtime/stores/formatters.ts

Co-authored-by: Christian Kaisermann <christian@kaisermann.me>

* Update test/runtime/stores/formatters.test.ts

Co-authored-by: Christian Kaisermann <christian@kaisermann.me>

* Update test/runtime/stores/formatters.test.ts

Co-authored-by: Christian Kaisermann <christian@kaisermann.me>

* rename to handleMissingKey and optionally use return as default value

* rename also in the defaultOptions

* test for optional default result from handleMissingKey

Co-authored-by: Christian Kaisermann <christian@kaisermann.me>
2022-04-05 17:14:22 +02:00
odeniso
ec939ab6c6
fix: check modules for defineMessages imports (#163)
Co-authored-by: Denis Richard <richard@satelligence.com>
2021-10-11 08:57:46 -03:00
Christian Kaisermann
980bc18f29 fix: 🐛 support deep properties keyed with dots
 Closes: #129
2021-02-21 13:18:50 -03:00
Christian Kaisermann
9b5023edbf test: 💍 add tests for invalid ICU syntax 2021-02-15 13:39:11 -03:00
Christian Kaisermann
739d784c16 Refactor type imports to use type modifier 2020-12-03 15:08:34 -03:00
Christian Kaisermann
3add4e66b7 refactor: 💡 warn on deprecated usage instead of error-ing 2020-11-24 10:50:25 -03:00
Christian Kaisermann
8db3ad6b4f refactor: 💡 easier to understand browser entrypoint 2020-11-24 10:50:25 -03:00
Christian Kaisermann
9dd1a19aef feat: 🎸 add $json method to get raw dictionary values
 Closes: #109, #83
2020-11-24 10:50:25 -03:00
Christian Kaisermann
330f20b7bd fix: 🐛 interpolate values for default values and missing keys
 Closes: #101
2020-11-05 17:52:22 -03:00
Christian Kaisermann
940aa65f8c style: 💄 format tests 2020-11-05 15:55:42 -03:00
Christian Kaisermann
552a6105d9 chore: 🤖 bump package json version 2020-02-03 11:24:50 -03:00
Christian Kaisermann
7bf47d8790 feat: 🎸 add runtime typings
 Closes: Closes #43
2020-02-03 11:24:50 -03:00