@coherent.js/i18n 1.0.0-beta.2 → 1.0.0-beta.5

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 +16 -0
  2. package/package.json +3 -2
package/README.md CHANGED
@@ -18,6 +18,22 @@ For a high-level overview and repository-wide instructions, see the root README:
18
18
  pnpm add @coherent.js/i18n
19
19
  ```
20
20
 
21
+
22
+ ## Exports
23
+
24
+ Internationalization utilities
25
+
26
+ ### Modular Imports (Tree-Shakable)
27
+
28
+ - i18n utilities: `@coherent.js/i18n`
29
+
30
+ ### Example Usage
31
+
32
+ ```javascript
33
+ import { createI18n } from '@coherent.js/i18n';
34
+ ```
35
+
36
+ > **Note**: All exports are tree-shakable. Import only what you need for optimal bundle size.
21
37
  ## Quick start
22
38
 
23
39
  JavaScript (ESM):
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coherent.js/i18n",
3
- "version": "1.0.0-beta.2",
3
+ "version": "1.0.0-beta.5",
4
4
  "description": "Internationalization support for Coherent.js applications",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -20,7 +20,7 @@
20
20
  "author": "Coherent.js Team",
21
21
  "license": "MIT",
22
22
  "peerDependencies": {
23
- "@coherent.js/core": "1.0.0-beta.2"
23
+ "@coherent.js/core": "1.0.0-beta.5"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",
@@ -35,6 +35,7 @@
35
35
  "README.md",
36
36
  "types/"
37
37
  ],
38
+ "sideEffects": false,
38
39
  "scripts": {
39
40
  "build": "node build.mjs",
40
41
  "clean": "rm -rf dist"