@intlayer/chokidar 4.0.0 → 4.0.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 +60 -0
  2. package/package.json +10 -10
package/README.md ADDED
@@ -0,0 +1,60 @@
1
+ <div align="center">
2
+ <a href="https://www.npmjs.com/package/intlayer">
3
+ <img src="https://raw.githubusercontent.com/aymericzip/intlayer/572ae9c9acafb74307b81530c1931a8e98990aef/docs/assets/logo.png" width="500" alt="intlayer" />
4
+ </a>
5
+ </div>
6
+
7
+ <div align="center">
8
+ <a href="https://www.npmjs.com/package/intlayer">
9
+ <img alt="npm" src="https://img.shields.io/npm/v/intlayer.svg?labelColor=49516F&color=8994BC" />
10
+ </a>
11
+ <a href="https://npmjs.org/package/intlayer">
12
+ <img alt="downloads" src="https://badgen.net/npm/dm/intlayer?labelColor=49516F&color=8994BC" />
13
+ </a>
14
+ <a href="https://npmjs.org/package/intlayer">
15
+ <img alt="types included" src="https://badgen.net/npm/types/intlayer?labelColor=49516F&color=8994BC"
16
+ />
17
+ </a>
18
+ </div>
19
+
20
+ # @intlayer/chokidar: NPM Package to Scan and build Intlayer declaration files into dictionaries
21
+
22
+ **Intlayer** is a suite of packages designed specifically for JavaScript developers. It is compatible with frameworks like React, React, and Express.js.
23
+
24
+ The **`@intlayer/chokidar`** package is used to scan and build Intlayer declaration files into dictionaries using [chokidar](https://github.com/paulmillr/chokidar) and according to the [Intlayer configuration](https://github.com/aymericzip/intlayer/blob/main/docs/en/configuration.md).
25
+
26
+ ## Usage
27
+
28
+ ```ts
29
+ import { watch } from "@intlayer/chokidar";
30
+
31
+ watch(); // Build Intlayer dictionaries
32
+
33
+ // Or
34
+
35
+ watch({ persistent: true }); // Watch mode
36
+ ```
37
+
38
+ ## Installation
39
+
40
+ Install the necessary package using your preferred package manager:
41
+
42
+ ```bash packageManager="npm"
43
+ npm install @intlayer/chokidar
44
+ ```
45
+
46
+ ```bash packageManager="pnpm"
47
+ pnpm add @intlayer/chokidar
48
+ ```
49
+
50
+ ```bash packageManager="yarn"
51
+ yarn add @intlayer/chokidar
52
+ ```
53
+
54
+ ## Read about Intlayer
55
+
56
+ - [Intlayer Website](https://intlayer.org)
57
+ - [Intlayer Documentation](https://intlayer.org/docs)
58
+ - [Intlayer GitHub](https://github.com/aymericzip/intlayer)
59
+
60
+ - [Ask your questions to our smart documentation](https://intlayer.org/docs/chat)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intlayer/chokidar",
3
- "version": "4.0.0",
3
+ "version": "4.0.2",
4
4
  "private": false,
5
5
  "description": "Chokidar application for IntLayer - Transpile IntLayer declaration files into dictionaries.",
6
6
  "keywords": [
@@ -64,10 +64,10 @@
64
64
  "p-limit": "^3.1.0",
65
65
  "quicktype-core": "^23.0.170",
66
66
  "react": "^18.3.1",
67
- "@intlayer/api": "4.0.0",
68
- "@intlayer/core": "4.0.0",
69
- "intlayer": "4.0.0",
70
- "@intlayer/config": "4.0.0"
67
+ "@intlayer/api": "4.0.2",
68
+ "@intlayer/core": "4.0.2",
69
+ "@intlayer/config": "4.0.2",
70
+ "intlayer": "4.0.2"
71
71
  },
72
72
  "devDependencies": {
73
73
  "@changesets/cli": "2.27.11",
@@ -81,18 +81,18 @@
81
81
  "tsc-alias": "^1.8.10",
82
82
  "tsup": "^8.3.5",
83
83
  "typescript": "^5.7.3",
84
- "@intlayer/backend": "4.0.0",
85
84
  "@utils/eslint-config": "1.0.4",
85
+ "@intlayer/backend": "4.0.2",
86
86
  "@utils/ts-config": "1.0.4",
87
87
  "@utils/ts-config-types": "1.0.4",
88
88
  "@utils/tsup-config": "1.0.4"
89
89
  },
90
90
  "peerDependencies": {
91
91
  "fast-glob": "^3.3.3",
92
- "@intlayer/api": "4.0.0",
93
- "@intlayer/core": "4.0.0",
94
- "intlayer": "^4.0.0",
95
- "@intlayer/config": "4.0.0"
92
+ "@intlayer/api": "4.0.2",
93
+ "@intlayer/config": "4.0.2",
94
+ "@intlayer/core": "4.0.2",
95
+ "intlayer": "^4.0.2"
96
96
  },
97
97
  "engines": {
98
98
  "node": ">=14.18"