intlayer 5.5.0 → 5.5.2

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 +3 -3
  2. package/package.json +8 -8
package/README.md CHANGED
@@ -87,7 +87,7 @@ By default, Intlayer scans for files with the extension `.content.{json,ts,tsx,j
87
87
 
88
88
  Here’s an example of content declaration:
89
89
 
90
- ```tsx filePath="src/ClientComponent/index.content.ts" codeFormat="typescript"
90
+ ```tsx fileName="src/ClientComponent/index.content.ts" codeFormat="typescript"
91
91
  import { t, type Dictionary } from "intlayer";
92
92
 
93
93
  const clientComponentContent = {
@@ -187,7 +187,7 @@ Output:
187
187
 
188
188
  For example, the **en/client-component.json** might look like:
189
189
 
190
- ```json filePath="intlayer/dictionary/en/client-component.json"
190
+ ```json fileName="intlayer/dictionary/en/client-component.json"
191
191
  {
192
192
  "myTranslatedContent": "Hello World",
193
193
  "zero_numberOfCar": "No cars",
@@ -237,7 +237,7 @@ Output:
237
237
 
238
238
  For example, the **en/client-component.json** might look like:
239
239
 
240
- ```json filePath="intlayer/dictionary/en/client-component.json"
240
+ ```json fileName="intlayer/dictionary/en/client-component.json"
241
241
  {
242
242
  "myTranslatedContent": "Hello World",
243
243
  "zero_numberOfCar": "No cars",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intlayer",
3
- "version": "5.5.0",
3
+ "version": "5.5.2",
4
4
  "private": false,
5
5
  "description": "Manage internationalization i18n in a simple way, through TypeScript, declaration file, declare your multilingual content every where in your code.",
6
6
  "keywords": [
@@ -59,9 +59,9 @@
59
59
  "./package.json"
60
60
  ],
61
61
  "dependencies": {
62
- "@intlayer/config": "5.5.0",
63
- "@intlayer/core": "5.5.0",
64
- "@intlayer/cli": "5.5.0"
62
+ "@intlayer/config": "5.5.2",
63
+ "@intlayer/cli": "5.5.2",
64
+ "@intlayer/core": "5.5.2"
65
65
  },
66
66
  "devDependencies": {
67
67
  "@changesets/changelog-github": "0.5.1",
@@ -75,15 +75,15 @@
75
75
  "tsc-alias": "^1.8.11",
76
76
  "tsup": "^8.4.0",
77
77
  "typescript": "^5.8.2",
78
- "@utils/ts-config-types": "1.0.4",
79
78
  "@utils/ts-config": "1.0.4",
79
+ "@utils/ts-config-types": "1.0.4",
80
80
  "@utils/tsup-config": "1.0.4",
81
81
  "@utils/eslint-config": "1.0.4"
82
82
  },
83
83
  "peerDependencies": {
84
- "@intlayer/core": "5.5.0",
85
- "@intlayer/cli": "5.5.0",
86
- "@intlayer/config": "5.5.0"
84
+ "@intlayer/cli": "5.5.2",
85
+ "@intlayer/config": "5.5.2",
86
+ "@intlayer/core": "5.5.2"
87
87
  },
88
88
  "engines": {
89
89
  "node": ">=14.18"