@intlayer/webpack 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.
- package/README.md +62 -0
- package/package.json +7 -7
package/README.md
ADDED
|
@@ -0,0 +1,62 @@
|
|
|
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/webpack: NPM Package to use the Intlayer Webpack Plugin into your application
|
|
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/webpack`** package is used to provide a Webpack configuration to make working a Webpack based application with Intlayer. The package also provides a plugin to add into an existing Webpack application.
|
|
25
|
+
|
|
26
|
+
## Usage
|
|
27
|
+
|
|
28
|
+
```ts
|
|
29
|
+
import { IntLayerPlugin } from "@intlayer/webpack";
|
|
30
|
+
|
|
31
|
+
export default {
|
|
32
|
+
plugins: [
|
|
33
|
+
new IntLayerPlugin({
|
|
34
|
+
// Options
|
|
35
|
+
}),
|
|
36
|
+
],
|
|
37
|
+
};
|
|
38
|
+
```
|
|
39
|
+
|
|
40
|
+
## Installation
|
|
41
|
+
|
|
42
|
+
Install the necessary package using your preferred package manager:
|
|
43
|
+
|
|
44
|
+
```bash packageManager="npm"
|
|
45
|
+
npm install @intlayer/webpack
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
```bash packageManager="pnpm"
|
|
49
|
+
pnpm add @intlayer/webpack
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
```bash packageManager="yarn"
|
|
53
|
+
yarn add @intlayer/webpack
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
## Read about Intlayer
|
|
57
|
+
|
|
58
|
+
- [Intlayer Website](https://intlayer.org)
|
|
59
|
+
- [Intlayer Documentation](https://intlayer.org/docs)
|
|
60
|
+
- [Intlayer GitHub](https://github.com/aymericzip/intlayer)
|
|
61
|
+
|
|
62
|
+
- [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/webpack",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Webpack application for IntLayer - Transpile Intlayer declaration files into dictionaries using webpack.",
|
|
6
6
|
"keywords": [
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"fast-glob": "^3.3.3",
|
|
61
61
|
"webpack": "^5.97.1",
|
|
62
62
|
"webpack-dev-server": "^5.2.0",
|
|
63
|
-
"@intlayer/
|
|
64
|
-
"@intlayer/
|
|
63
|
+
"@intlayer/chokidar": "4.0.2",
|
|
64
|
+
"@intlayer/config": "4.0.2"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@changesets/cli": "2.27.11",
|
|
@@ -77,13 +77,13 @@
|
|
|
77
77
|
"typescript": "^5.7.3",
|
|
78
78
|
"@utils/eslint-config": "1.0.4",
|
|
79
79
|
"@utils/ts-config": "1.0.4",
|
|
80
|
-
"@utils/
|
|
81
|
-
"@utils/
|
|
80
|
+
"@utils/tsup-config": "1.0.4",
|
|
81
|
+
"@utils/ts-config-types": "1.0.4"
|
|
82
82
|
},
|
|
83
83
|
"peerDependencies": {
|
|
84
84
|
"webpack": "^5.96.1",
|
|
85
|
-
"@intlayer/chokidar": "4.0.
|
|
86
|
-
"@intlayer/config": "4.0.
|
|
85
|
+
"@intlayer/chokidar": "4.0.2",
|
|
86
|
+
"@intlayer/config": "4.0.2"
|
|
87
87
|
},
|
|
88
88
|
"engines": {
|
|
89
89
|
"node": ">=14.18"
|