preact-intlayer 5.5.10 → 5.5.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.
Files changed (2) hide show
  1. package/README.md +2 -2
  2. package/package.json +14 -12
package/README.md CHANGED
@@ -106,7 +106,7 @@ By default, Intlayer scans for files with the extension `.content.{json,ts,tsx,j
106
106
 
107
107
  ### Declare your content
108
108
 
109
- `preact-intlayer` is made to work with the [`intlayer` package](https://github.com/aymericzip/intlayer/blob/main/docs/en/packages/intlayer/index.md).`intlayer` is a package that allows you to declare your content anywhere in your code. It converts multilingual content declarations into structured dictionaries that integrate seamlessly into your application.
109
+ `preact-intlayer` is made to work with the [`intlayer` package](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/packages/intlayer/index.md).`intlayer` is a package that allows you to declare your content anywhere in your code. It converts multilingual content declarations into structured dictionaries that integrate seamlessly into your application.
110
110
 
111
111
  Here’s an example of content declaration:
112
112
 
@@ -143,7 +143,7 @@ export default component1Content;
143
143
 
144
144
  Intlayer provides a lot of features to help you internationalize your Preact application.
145
145
 
146
- **To learn more about these features, refer to the [Preact Internationalization (i18n) with Intlayer and Vite and Preact](https://github.com/aymericzip/intlayer/blob/main/docs/en/intlayer_with_vite+react.md) guide for Vite and Preact Application, or the [Preact Internationalization (i18n) with Intlayer and Preact (CRA)](https://intlayer.org/doc/environment/create-react-app) guide for Preact Create App.**
146
+ **To learn more about these features, refer to the [Preact Internationalization (i18n) with Intlayer and Vite and Preact](https://github.com/aymericzip/intlayer/blob/main/docs/docs/en/intlayer_with_vite+react.md) guide for Vite and Preact Application, or the [Preact Internationalization (i18n) with Intlayer and Preact (CRA)](https://intlayer.org/doc/environment/create-react-app) guide for Preact Create App.**
147
147
 
148
148
  ## Functions provided by `preact-intlayer` package
149
149
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "preact-intlayer",
3
- "version": "5.5.10",
3
+ "version": "5.5.11",
4
4
  "private": false,
5
5
  "description": "Easily internationalize i18n your Preact applications with type-safe multilingual content management.",
6
6
  "keywords": [
@@ -58,11 +58,11 @@
58
58
  "dependencies": {
59
59
  "js-cookie": "^3.0.5",
60
60
  "uuid": "^11.1.0",
61
- "@intlayer/api": "5.5.10",
62
- "@intlayer/config": "5.5.10",
63
- "@intlayer/core": "5.5.10",
64
- "@intlayer/editor": "5.5.10",
65
- "@intlayer/chokidar": "5.5.10"
61
+ "@intlayer/api": "5.5.11",
62
+ "@intlayer/chokidar": "5.5.11",
63
+ "@intlayer/core": "5.5.11",
64
+ "@intlayer/editor": "5.5.11",
65
+ "@intlayer/config": "5.5.11"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@types/node": "^22.15.30",
@@ -75,6 +75,7 @@
75
75
  "tsc-alias": "^1.8.16",
76
76
  "tsup": "^8.5.0",
77
77
  "typescript": "^5.8.3",
78
+ "vitest": "^3.2.2",
78
79
  "@utils/eslint-config": "1.0.4",
79
80
  "@utils/ts-config": "1.0.4",
80
81
  "@utils/ts-config-types": "1.0.4",
@@ -82,11 +83,11 @@
82
83
  },
83
84
  "peerDependencies": {
84
85
  "preact": "^10.26.4",
85
- "@intlayer/api": "5.5.10",
86
- "@intlayer/config": "5.5.10",
87
- "@intlayer/chokidar": "5.5.10",
88
- "@intlayer/editor": "5.5.10",
89
- "@intlayer/core": "5.5.10"
86
+ "@intlayer/chokidar": "5.5.11",
87
+ "@intlayer/api": "5.5.11",
88
+ "@intlayer/config": "5.5.11",
89
+ "@intlayer/editor": "5.5.11",
90
+ "@intlayer/core": "5.5.11"
90
91
  },
91
92
  "engines": {
92
93
  "node": ">=14.18"
@@ -105,7 +106,8 @@
105
106
  "prettier": "prettier . --check",
106
107
  "prettier:fix": "prettier . --write",
107
108
  "reset": "pnpm clean & pnpm build",
108
- "test": "",
109
+ "test": "vitest run",
110
+ "test:watch": "vitest",
109
111
  "typecheck": "tsup --project ./tsconfig.json --noEmit"
110
112
  }
111
113
  }