kotori 0.0.10 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -32,11 +32,12 @@ t('intro', { name: 'John', time: '12-00' })
|
|
|
32
32
|
- No codegen
|
|
33
33
|
- No JSON
|
|
34
34
|
- No dependencies
|
|
35
|
+
- No build step
|
|
35
36
|
- 0.39kb gzipped
|
|
36
37
|
- Modular and tree-shakeable
|
|
37
38
|
- Language change in one page rerenders all pages
|
|
38
|
-
- Variables typed and inferred from string literals
|
|
39
39
|
- Translation keys are typed — no more string typos
|
|
40
|
+
- Variables typed and inferred from string literals
|
|
40
41
|
|
|
41
42
|
## Installation
|
|
42
43
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kotori",
|
|
3
3
|
"description": "Strongly-typed and composable internationalization library for React",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.11",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"setup": "rm -rf node_modules && npm i && git init && husky",
|
|
7
|
-
"prepublishOnly": "npm run build",
|
|
7
|
+
"prepublishOnly": "npm i && npx tsc && npm run build",
|
|
8
8
|
"build": "tsdown",
|
|
9
9
|
"test": "vitest",
|
|
10
10
|
"lint": "npx @biomejs/biome check --write",
|