@zairakai/js-i18n 1.0.10 → 1.0.12

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.
Files changed (2) hide show
  1. package/README.md +17 -1
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -5,6 +5,7 @@
5
5
  [![Coverage][coverage-badge]][coverage-link]
6
6
 
7
7
  [![npm][npm-badge]][npm-link]
8
+ [![Docs][docs-badge]][docs]
8
9
  [![GitLab Release][gitlab-release-badge]][gitlab-release]
9
10
  [![License][license-badge]][license]
10
11
 
@@ -14,6 +15,8 @@
14
15
 
15
16
  Lightweight internationalization library with Laravel-style translation, pluralization, dot-notation keys, and multi-locale support.
16
17
 
18
+ **Documentation: [js-i18n-8f9736.gitlab.io][docs]**
19
+
17
20
  ---
18
21
 
19
22
  ## Features
@@ -26,6 +29,12 @@ Lightweight internationalization library with Laravel-style translation, plurali
26
29
 
27
30
  ---
28
31
 
32
+ ## Documentation
33
+
34
+ The documentation site has this guide and the reference of the API generated from the source with TypeDoc, for every released version (selector at the top right, `next` is `main`). Build it with `cd docs && npm ci && npm run dev`. It is published with GitLab Pages from `main`.
35
+
36
+ ---
37
+
29
38
  ## Install
30
39
 
31
40
  ```bash
@@ -203,6 +212,10 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md) for the full development workflow.
203
212
 
204
213
  <!-- Reference Links -->
205
214
 
215
+ ## Statistics
216
+
217
+ ![Statistics of js-i18n][stats-card]
218
+
206
219
  [pipeline-main-badge]: https://gitlab.com/zairakai/npm-packages/js-i18n/badges/main/pipeline.svg?ignore_skipped=true&key_text=Main
207
220
  [pipeline-main-link]: https://gitlab.com/zairakai/npm-packages/js-i18n/-/commits/main
208
221
  [pipeline-develop-badge]: https://gitlab.com/zairakai/npm-packages/js-i18n/badges/develop/pipeline.svg?ignore_skipped=true&key_text=Develop
@@ -219,10 +232,13 @@ See [CONTRIBUTING.md](./CONTRIBUTING.md) for the full development workflow.
219
232
  [security]: ./SECURITY.md
220
233
  [issues-badge]: https://img.shields.io/gitlab/issues/open-raw/zairakai%2Fnpm-packages%2Fi18n?logo=gitlab&label=Issues
221
234
  [issues]: https://gitlab.com/zairakai/npm-packages/js-i18n/-/issues
222
- [node-badge]: https://img.shields.io/badge/node.js-%3E%3D22-green.svg?logo=node.js
235
+ [node-badge]: https://img.shields.io/badge/node.js-%3E%3D24-green.svg?logo=node.js
223
236
  [node]: https://nodejs.org
224
237
  [eslint-badge]: https://img.shields.io/badge/code%20style-eslint-4B32C3.svg?logo=eslint
225
238
  [eslint]: https://eslint.org
226
239
  [prettier-badge]: https://img.shields.io/badge/formatter-prettier-F7B93E.svg?logo=prettier
227
240
  [prettier]: https://prettier.io
228
241
  [ecosystem]: https://gitlab.com/zairakai
242
+ [docs]: https://js-i18n-8f9736.gitlab.io
243
+ [docs-badge]: https://img.shields.io/badge/docs-online-blue
244
+ [stats-card]: https://gitlab.com/zairakai/gitlab-profile/-/raw/main/assets/projects/js-i18n.svg
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zairakai/js-i18n",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "Lightweight internationalization library with Laravel-style translation, pluralization, dot-notation keys, and multi-locale support",
5
5
  "keywords": [
6
6
  "i18n",
@@ -12,7 +12,7 @@
12
12
  "fluent",
13
13
  "typescript"
14
14
  ],
15
- "homepage": "https://gitlab.com/zairakai/npm-packages/js-i18n",
15
+ "homepage": "https://js-i18n-8f9736.gitlab.io",
16
16
  "bugs": {
17
17
  "url": "https://gitlab.com/zairakai/npm-packages/js-i18n/-/issues",
18
18
  "email": "contact-project+zairakai-npm-packages-js-i18n-80190292-issue-@incoming.gitlab.com"
@@ -77,16 +77,16 @@
77
77
  "esbuild": "^0.28.1"
78
78
  },
79
79
  "dependencies": {
80
- "zod": "^4.0.0"
80
+ "zod": "^4.6.5"
81
81
  },
82
82
  "devDependencies": {
83
- "@types/node": "^25.6.0",
83
+ "@types/node": "^26.6.4",
84
84
  "@vitest/coverage-v8": "^5.0.3",
85
- "@zairakai/js-dev-tools": "^3.0.0",
86
- "knip": "^6.4.1",
85
+ "@zairakai/js-dev-tools": "^3.2.0",
86
+ "knip": "^6.41.0",
87
87
  "sort-package-json": "^4.0.0",
88
- "tsup": "^8.0.0",
89
- "typedoc": "^0.28.19",
88
+ "tsup": "^8.5.1",
89
+ "typedoc": "^0.28.20",
90
90
  "typescript": "^6.0.3",
91
91
  "vitest": "^5.0.3"
92
92
  },