Commit graph

19 commits

Author SHA1 Message Date
a0ed9c2426
chore: migrate to antfu eslint config (+ reformat) 2024-08-18 07:18:13 +03:00
9389cf8b5f
chore(i18n)!: export plurals from index
breaking: `@mtcute/i18n/*` imports are now all in `@mtcute/i18n`
2024-04-27 12:19:08 +03:00
4e78b643df
fix: fixed build for other packages 2024-02-02 04:12:02 +03:00
23a0e69942
refactor: no more parse modes! 2023-11-01 20:24:00 +03:00
73cd1e7dc9
docs: use @default jsdoc tag 2023-10-29 20:25:06 +03:00
Alina Tumanova
f5976a2d74
ESM + end-to-end tests (#11)
* feat: moved tl-runtime to esm and native ArrayBuffers

* feat: migration to esm

* fix(core): web-related fixes

* test: finally, some good fucking e2e

* chore: fixed linters etc

* ci: added e2e to ci

* build(tl): fixed gen-code on node 20

* fix: codegen Uint8Array, not Buffer

never `git reset --hard` kids

* build: only do type-aware linting for `packages/*`

* build: ignore no-unresolved in ci for e2e

* fix: node 16 doesn't have subtle crypto apparently?

* fix(tests): use Uint8Array

for gods sake please can i just merge this already

* ci: don't parallel tasks in ci

because machines are utter garbage and it may just randomly break

* ci: pass secrets to e2e tests

* ci: separate cli command for ci

apparently im retarded

* fix: run codegen in e2e

im actually retarded

* ci: more fixes for e2e

* ci: debugging stuff

* ci: still debugging

* ci: hopefully fix ci???
2023-10-16 19:23:53 +03:00
befbceaf8a
chore: changed prettier width to 120 2023-09-24 01:32:22 +03:00
81ce550604
chore: improved eslint config
closes MTQ-54
2023-09-03 02:37:51 +03:00
d88bc0ea60
chore: code quality improvements
improved eslint config, fixed linter issues, added husky
2023-06-05 00:30:48 +00:00
teidesu
bbd738f572 feat(i18n): added OtherLanguageWrapExhaustive for exhaustive other languages 2022-09-12 15:34:30 +03:00
teidesu
d4040a768f fix(i18n): enforce same arg types in OtherLanguageWrap 2022-09-12 15:28:45 +03:00
teidesu
b7d0b85a15 docs(i18n): improved docs 2022-09-12 15:01:43 +03:00
teidesu
b96c1407d0 feat(i18n): added pluralization helpers
also slight refactor of typings
2022-09-12 14:37:09 +03:00
teidesu
597cb4f07b feat(i18n): exported default adapter 2022-08-29 18:57:00 +03:00
teidesu
5019d7b596 feat(i18n): removed immediate dependency on client to allow for outside usage 2022-08-29 18:54:43 +03:00
teidesu
689533c549 feat(i18n): allow custom adapters 2022-08-29 18:53:27 +03:00
teidesu
390b65f796 build(docs): api reference generation improvements
- added readme in each package
- updated typedoc, fixed related issues
- use @link instead of @see
- moved configs to typedoc.js, improved exclusion of unneeded stuff
- custom plugin for typedoc for cross-package references
- preparing to move documentation to separate repository
2022-08-24 23:37:26 +03:00
teidesu
0330efd4dc fix(i18n): support FormattedString
totally forgot about it
2022-07-19 03:11:08 +03:00
teidesu
ebe9786987 feat: i18n package 2022-07-19 02:47:59 +03:00