react-scripts-intlayer 9.4.3 → 9.4.4
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.
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* that package would load, or `undefined` when the package (or its webpack) is
|
|
5
5
|
* not installed.
|
|
6
6
|
*/
|
|
7
|
-
type WebpackResolver = (packageName: string) => string | undefined;
|
|
7
|
+
export type WebpackResolver = (packageName: string) => string | undefined;
|
|
8
8
|
/**
|
|
9
9
|
* Resolve `webpack` from a package's own resolution root, mirroring what Node
|
|
10
10
|
* does at runtime when that package calls `require('webpack')`.
|
|
@@ -13,7 +13,7 @@ type WebpackResolver = (packageName: string) => string | undefined;
|
|
|
13
13
|
* @returns Absolute path to the webpack entry point, or `undefined` when it
|
|
14
14
|
* cannot be resolved.
|
|
15
15
|
*/
|
|
16
|
-
declare const resolveWebpackFrom: WebpackResolver;
|
|
16
|
+
export declare const resolveWebpackFrom: WebpackResolver;
|
|
17
17
|
/**
|
|
18
18
|
* Detect whether the project tree contains more than one copy of webpack.
|
|
19
19
|
*
|
|
@@ -32,7 +32,6 @@ declare const resolveWebpackFrom: WebpackResolver;
|
|
|
32
32
|
* @returns The distinct webpack entry points found, in discovery order. A
|
|
33
33
|
* result of fewer than two entries means the install is consistent.
|
|
34
34
|
*/
|
|
35
|
-
declare const findDuplicateWebpackPaths: (resolver?: WebpackResolver) => string[];
|
|
35
|
+
export declare const findDuplicateWebpackPaths: (resolver?: WebpackResolver) => string[];
|
|
36
36
|
//#endregion
|
|
37
|
-
export { WebpackResolver, findDuplicateWebpackPaths, resolveWebpackFrom };
|
|
38
37
|
//# sourceMappingURL=findDuplicateWebpackPaths.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"findDuplicateWebpackPaths.d.ts","names":[],"sources":["../../src/findDuplicateWebpackPaths.ts"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"findDuplicateWebpackPaths.d.ts","names":[],"sources":["../../src/findDuplicateWebpackPaths.ts"],"mappings":";;;;;;YAiBY,mBAAmB;;;;;;;;;qBAUlB,oBAAoB;;;;;;;;;;;;;;;;;;;qBA+BpB,4BAAyB,WAC1B"}
|
|
@@ -14,16 +14,15 @@ type CracoWebpackConfig = WebpackConfigOverride['webpackConfig'];
|
|
|
14
14
|
/**
|
|
15
15
|
* Override the final CRA Webpack config.
|
|
16
16
|
*/
|
|
17
|
-
declare const overrideWebpackConfig: ({ webpackConfig }: WebpackConfigOverride) => CracoWebpackConfig;
|
|
17
|
+
export declare const overrideWebpackConfig: ({ webpackConfig }: WebpackConfigOverride) => CracoWebpackConfig;
|
|
18
18
|
/**
|
|
19
19
|
* Override the CRACO config itself to set up aliases, fallbacks, and plugins.
|
|
20
20
|
*/
|
|
21
|
-
declare const overrideCracoConfig: ({ cracoConfig }: CracoConfigOverride) => CracoConfig;
|
|
21
|
+
export declare const overrideCracoConfig: ({ cracoConfig }: CracoConfigOverride) => CracoConfig;
|
|
22
22
|
/**
|
|
23
23
|
* A CRACO plugin that adds the Intlayer configuration to the webpack configuration
|
|
24
24
|
* and sets the environment variables.
|
|
25
25
|
*/
|
|
26
|
-
declare const intlayerCracoPlugin: CracoPlugin;
|
|
26
|
+
export declare const intlayerCracoPlugin: CracoPlugin;
|
|
27
27
|
//#endregion
|
|
28
|
-
export { intlayerCracoPlugin, overrideCracoConfig, overrideWebpackConfig };
|
|
29
28
|
//# sourceMappingURL=intlayerCracoPlugin.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intlayerCracoPlugin.d.ts","names":[],"sources":["../../src/intlayerCracoPlugin.ts"],"mappings":";;;;;;;;;;;;KAsBK,qBAAqB;;;;
|
|
1
|
+
{"version":3,"file":"intlayerCracoPlugin.d.ts","names":[],"sources":["../../src/intlayerCracoPlugin.ts"],"mappings":";;;;;;;;;;;;KAsBK,qBAAqB;;;;qBAab,0BAAqB,iBAE/B,0BAAwB;;;;qBAqBd,wBAAmB,eAE7B,wBAAsB;;;;;qBAsBZ,qBAAqB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-scripts-intlayer",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.4",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Integrate Intlayer with Create React App using custom React scripts for internationalization i18n and advanced Webpack configurations",
|
|
6
6
|
"keywords": [
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
},
|
|
80
80
|
"dependencies": {
|
|
81
81
|
"@craco/craco": "7.1.0",
|
|
82
|
-
"@intlayer/config": "9.4.
|
|
83
|
-
"@intlayer/engine": "9.4.
|
|
84
|
-
"@intlayer/types": "9.4.
|
|
85
|
-
"@intlayer/webpack": "9.4.
|
|
82
|
+
"@intlayer/config": "9.4.4",
|
|
83
|
+
"@intlayer/engine": "9.4.4",
|
|
84
|
+
"@intlayer/types": "9.4.4",
|
|
85
|
+
"@intlayer/webpack": "9.4.4",
|
|
86
86
|
"defu": "6.1.7",
|
|
87
87
|
"node-loader": "2.1.0",
|
|
88
88
|
"process": "0.11.10"
|
|
@@ -96,9 +96,9 @@
|
|
|
96
96
|
"@utils/ts-config-types": "1.0.4",
|
|
97
97
|
"@utils/tsdown-config": "1.0.4",
|
|
98
98
|
"rimraf": "6.1.3",
|
|
99
|
-
"tsdown": "0.
|
|
99
|
+
"tsdown": "0.23.0",
|
|
100
100
|
"typescript": "7.0.2",
|
|
101
|
-
"vitest": "
|
|
101
|
+
"vitest": "5.0.0"
|
|
102
102
|
},
|
|
103
103
|
"peerDependencies": {
|
|
104
104
|
"webpack": ">=5.0.0"
|