react-scripts-intlayer 7.0.3-canary.1 → 7.0.4-canary.0
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/dist/cjs/cli/react-scripts-intlayer.cjs +1 -1
- package/dist/cjs/cli/react-scripts-intlayer.cjs.map +1 -1
- package/dist/cjs/intlayerCracoPlugin.cjs +1 -1
- package/dist/cjs/intlayerCracoPlugin.cjs.map +1 -1
- package/dist/esm/cli/react-scripts-intlayer.mjs +2 -2
- package/dist/esm/cli/react-scripts-intlayer.mjs.map +1 -1
- package/dist/esm/intlayerCracoPlugin.mjs +2 -2
- package/dist/esm/intlayerCracoPlugin.mjs.map +1 -1
- package/dist/types/intlayerCracoPlugin.d.ts.map +1 -1
- package/package.json +13 -13
|
@@ -14,7 +14,7 @@ switch (script) {
|
|
|
14
14
|
case "start":
|
|
15
15
|
case "test": {
|
|
16
16
|
const nodeArgs = scriptIndex > 0 ? args.slice(0, scriptIndex) : [];
|
|
17
|
-
const scriptPath = __intlayer_config.
|
|
17
|
+
const scriptPath = (0, __intlayer_config.getProjectRequire)().resolve(`@craco/craco/dist/scripts/${script}`);
|
|
18
18
|
const scriptArgs = args.slice(scriptIndex + 1);
|
|
19
19
|
const child = (0, node_child_process.spawnSync)("node", nodeArgs.concat(scriptPath).concat([
|
|
20
20
|
...scriptArgs,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-scripts-intlayer.cjs","names":[
|
|
1
|
+
{"version":3,"file":"react-scripts-intlayer.cjs","names":[],"sources":["../../../src/cli/react-scripts-intlayer.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * To make the setup easier, we are using craco to override the webpack configuration.\n * This script is used to run the craco scripts with the custom configuration.\n *\n * The script is based on the original craco script from create-react-app.\n */\n\nimport { spawnSync } from 'node:child_process';\nimport { getProjectRequire, logger } from '@intlayer/config';\n\nconst args = process.argv.slice(2);\nconst scriptIndex = args.findIndex(\n (index) => index === 'build' || index === 'start' || index === 'test'\n);\nconst script = scriptIndex === -1 ? args[0] : args[scriptIndex];\n\nswitch (script) {\n case 'build':\n case 'start':\n case 'test': {\n const nodeArgs = scriptIndex > 0 ? args.slice(0, scriptIndex) : [];\n const scriptPath = getProjectRequire().resolve(\n `@craco/craco/dist/scripts/${script}`\n );\n\n const scriptArgs = args.slice(scriptIndex + 1);\n const processArgs = nodeArgs\n .concat(scriptPath)\n .concat([\n ...scriptArgs,\n '--config',\n './node_modules/react-scripts-intlayer/dist/cjs/craco.config.cjs',\n ]);\n\n const child = spawnSync('node', processArgs, {\n stdio: 'inherit',\n });\n\n if (child.signal) {\n if (child.signal === 'SIGKILL') {\n logger(`\n The build failed because the process exited too early.\n This probably means the system ran out of memory or someone called\n \\`kill -9\\` on the process.\n `);\n } else if (child.signal === 'SIGTERM') {\n logger(`\n The build failed because the process exited too early.\n Someone might have called \\`kill\\` or \\`killall\\`, or the system could\n be shutting down.\n `);\n }\n\n process.exit(1);\n }\n\n process.exit(child.status ?? undefined);\n break;\n }\n default:\n logger(`Unknown script \"${script}\".`);\n logger('Perhaps you need to update craco?');\n break;\n}\n"],"mappings":";;;;;;;;AAYA,MAAM,OAAO,QAAQ,KAAK,MAAM,EAAE;AAClC,MAAM,cAAc,KAAK,WACtB,UAAU,UAAU,WAAW,UAAU,WAAW,UAAU,OAChE;AACD,MAAM,SAAS,gBAAgB,KAAK,KAAK,KAAK,KAAK;AAEnD,QAAQ,QAAR;CACE,KAAK;CACL,KAAK;CACL,KAAK,QAAQ;EACX,MAAM,WAAW,cAAc,IAAI,KAAK,MAAM,GAAG,YAAY,GAAG,EAAE;EAClE,MAAM,uDAAgC,CAAC,QACrC,6BAA6B,SAC9B;EAED,MAAM,aAAa,KAAK,MAAM,cAAc,EAAE;EAS9C,MAAM,0CAAkB,QARJ,SACjB,OAAO,WAAW,CAClB,OAAO;GACN,GAAG;GACH;GACA;GACD,CAAC,EAEyC,EAC3C,OAAO,WACR,CAAC;AAEF,MAAI,MAAM,QAAQ;AAChB,OAAI,MAAM,WAAW,UACnB,+BAAO;;;;cAID;YACG,MAAM,WAAW,UAC1B,+BAAO;;;;cAID;AAGR,WAAQ,KAAK,EAAE;;AAGjB,UAAQ,KAAK,MAAM,UAAU,OAAU;AACvC;;CAEF;AACE,gCAAO,mBAAmB,OAAO,IAAI;AACrC,gCAAO,oCAAoC;AAC3C"}
|
|
@@ -38,7 +38,7 @@ var init_intlayerCracoPlugin = require_rolldown_runtime.__esm({ "src/intlayerCra
|
|
|
38
38
|
...cracoConfig.webpack?.configure?.resolve ?? {},
|
|
39
39
|
fallback: {
|
|
40
40
|
...cracoConfig.webpack?.configure?.resolve?.fallback ?? {},
|
|
41
|
-
process: __intlayer_config.
|
|
41
|
+
process: (0, __intlayer_config.getProjectRequire)().resolve("process/browser"),
|
|
42
42
|
fs: false,
|
|
43
43
|
module: false,
|
|
44
44
|
path: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intlayerCracoPlugin.cjs","names":["IntlayerWebpackPlugin","
|
|
1
|
+
{"version":3,"file":"intlayerCracoPlugin.cjs","names":["IntlayerWebpackPlugin","intlayerCracoPlugin: CracoPlugin"],"sources":["../../src/intlayerCracoPlugin.ts"],"sourcesContent":["// craco-intlayer-plugin.ts\n\n// @ts-nocheck\n\nimport type {\n CracoConfig,\n CracoConfigOverride,\n CracoPlugin,\n WebpackConfigOverride,\n} from '@craco/types';\nimport {\n getAlias,\n getConfiguration,\n getProjectRequire,\n} from '@intlayer/config';\nimport { IntlayerPlugin as IntlayerWebpackPlugin } from '@intlayer/webpack';\nimport type { Configuration as WebpackConfig } from 'webpack';\n\n// Get Intlayer configuration\nconst intlayerConfig = getConfiguration();\n\n/**\n * Override the final CRA Webpack config.\n */\nexport const overrideWebpackConfig = ({\n webpackConfig,\n}: WebpackConfigOverride): WebpackConfig => {\n // 1) Remove `module`, `fs`, `path`, `vm` from externals. In CRA, you usually\n // want these to be bundled (or set to fallbacks).\n webpackConfig.externals = {\n ...(typeof webpackConfig.externals === 'object'\n ? webpackConfig.externals\n : {}),\n esbuild: 'esbuild', // keep only esbuild external\n };\n webpackConfig.externals.module = undefined;\n webpackConfig.externals.fs = undefined;\n webpackConfig.externals.path = undefined;\n webpackConfig.externals.vm = undefined;\n\n // 2) Properly push node-loader rule instead of overwriting.\n webpackConfig.module.rules.push({\n test: /\\.node$/,\n use: 'node-loader',\n });\n\n return webpackConfig;\n};\n\n/**\n * Override the CRACO config itself to set up aliases, fallbacks, and plugins.\n */\nexport const overrideCracoConfig = ({\n cracoConfig,\n}: CracoConfigOverride): CracoConfig => {\n return {\n ...cracoConfig,\n webpack: {\n ...cracoConfig.webpack,\n plugins: {\n ...cracoConfig.webpack?.plugins,\n // Ensure we actually add IntlayerWebpackPlugin\n add: [\n ...(cracoConfig.webpack?.plugins?.add ?? []),\n new IntlayerWebpackPlugin(intlayerConfig),\n ],\n },\n configure: {\n ...(cracoConfig.webpack?.configure ?? {}),\n resolve: {\n ...(cracoConfig.webpack?.configure?.resolve ?? {}),\n // 3) Provide browser fallbacks so these modules won’t error out in the browser.\n fallback: {\n ...(cracoConfig.webpack?.configure?.resolve?.fallback ?? {}),\n process: getProjectRequire().resolve('process/browser'),\n fs: false,\n module: false,\n path: false,\n vm: false,\n },\n },\n },\n // 4) Alias @intlayer/dictionaries-entry so it no longer tries to use the ESM that depends on `fs`, etc.\n alias: {\n ...cracoConfig.webpack?.alias,\n ...getAlias({\n configuration: intlayerConfig,\n }),\n },\n },\n };\n};\n\n/**\n * A CRACO plugin that adds the Intlayer configuration to the webpack configuration and sets the environment variables.\n *\n * Usage:\n *\n * ```ts\n * const cracoConfig: CracoConfig = {\n * plugins: [\n * {\n * plugin: intlayerCracoPlugin,\n * },\n * ],\n * };\n *\n * export default cracoConfig;\n * ```\n */\nexport const intlayerCracoPlugin: CracoPlugin = {\n overrideCracoConfig,\n overrideWebpackConfig,\n};\n"],"mappings":";;;;;;;;;CAmBM,0DAAmC;CAK5B,yBAAyB,EACpC,oBAC0C;AAG1C,gBAAc,YAAY;GACxB,GAAI,OAAO,cAAc,cAAc,WACnC,cAAc,YACd,EAAE;GACN,SAAS;GACV;AACD,gBAAc,UAAU,SAAS;AACjC,gBAAc,UAAU,KAAK;AAC7B,gBAAc,UAAU,OAAO;AAC/B,gBAAc,UAAU,KAAK;AAG7B,gBAAc,OAAO,MAAM,KAAK;GAC9B,MAAM;GACN,KAAK;GACN,CAAC;AAEF,SAAO;;CAMI,uBAAuB,EAClC,kBACsC;AACtC,SAAO;GACL,GAAG;GACH,SAAS;IACP,GAAG,YAAY;IACf,SAAS;KACP,GAAG,YAAY,SAAS;KAExB,KAAK,CACH,GAAI,YAAY,SAAS,SAAS,OAAO,EAAE,EAC3C,IAAIA,kCAAsB,eAAe,CAC1C;KACF;IACD,WAAW;KACT,GAAI,YAAY,SAAS,aAAa,EAAE;KACxC,SAAS;MACP,GAAI,YAAY,SAAS,WAAW,WAAW,EAAE;MAEjD,UAAU;OACR,GAAI,YAAY,SAAS,WAAW,SAAS,YAAY,EAAE;OAC3D,mDAA4B,CAAC,QAAQ,kBAAkB;OACvD,IAAI;OACJ,QAAQ;OACR,MAAM;OACN,IAAI;OACL;MACF;KACF;IAED,OAAO;KACL,GAAG,YAAY,SAAS;KACxB,mCAAY,EACV,eAAe,gBAChB,CAAC;KACH;IACF;GACF;;CAoBUC,sBAAmC;EAC9C;EACA;EACD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
2
|
+
import { getProjectRequire, logger } from "@intlayer/config";
|
|
3
3
|
import { spawnSync } from "node:child_process";
|
|
4
4
|
|
|
5
5
|
//#region src/cli/react-scripts-intlayer.ts
|
|
@@ -11,7 +11,7 @@ switch (script) {
|
|
|
11
11
|
case "start":
|
|
12
12
|
case "test": {
|
|
13
13
|
const nodeArgs = scriptIndex > 0 ? args.slice(0, scriptIndex) : [];
|
|
14
|
-
const scriptPath =
|
|
14
|
+
const scriptPath = getProjectRequire().resolve(`@craco/craco/dist/scripts/${script}`);
|
|
15
15
|
const scriptArgs = args.slice(scriptIndex + 1);
|
|
16
16
|
const child = spawnSync("node", nodeArgs.concat(scriptPath).concat([
|
|
17
17
|
...scriptArgs,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"react-scripts-intlayer.mjs","names":[],"sources":["../../../src/cli/react-scripts-intlayer.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * To make the setup easier, we are using craco to override the webpack configuration.\n * This script is used to run the craco scripts with the custom configuration.\n *\n * The script is based on the original craco script from create-react-app.\n */\n\nimport { spawnSync } from 'node:child_process';\nimport {
|
|
1
|
+
{"version":3,"file":"react-scripts-intlayer.mjs","names":[],"sources":["../../../src/cli/react-scripts-intlayer.ts"],"sourcesContent":["#!/usr/bin/env node\n\n/**\n * To make the setup easier, we are using craco to override the webpack configuration.\n * This script is used to run the craco scripts with the custom configuration.\n *\n * The script is based on the original craco script from create-react-app.\n */\n\nimport { spawnSync } from 'node:child_process';\nimport { getProjectRequire, logger } from '@intlayer/config';\n\nconst args = process.argv.slice(2);\nconst scriptIndex = args.findIndex(\n (index) => index === 'build' || index === 'start' || index === 'test'\n);\nconst script = scriptIndex === -1 ? args[0] : args[scriptIndex];\n\nswitch (script) {\n case 'build':\n case 'start':\n case 'test': {\n const nodeArgs = scriptIndex > 0 ? args.slice(0, scriptIndex) : [];\n const scriptPath = getProjectRequire().resolve(\n `@craco/craco/dist/scripts/${script}`\n );\n\n const scriptArgs = args.slice(scriptIndex + 1);\n const processArgs = nodeArgs\n .concat(scriptPath)\n .concat([\n ...scriptArgs,\n '--config',\n './node_modules/react-scripts-intlayer/dist/cjs/craco.config.cjs',\n ]);\n\n const child = spawnSync('node', processArgs, {\n stdio: 'inherit',\n });\n\n if (child.signal) {\n if (child.signal === 'SIGKILL') {\n logger(`\n The build failed because the process exited too early.\n This probably means the system ran out of memory or someone called\n \\`kill -9\\` on the process.\n `);\n } else if (child.signal === 'SIGTERM') {\n logger(`\n The build failed because the process exited too early.\n Someone might have called \\`kill\\` or \\`killall\\`, or the system could\n be shutting down.\n `);\n }\n\n process.exit(1);\n }\n\n process.exit(child.status ?? undefined);\n break;\n }\n default:\n logger(`Unknown script \"${script}\".`);\n logger('Perhaps you need to update craco?');\n break;\n}\n"],"mappings":";;;;;AAYA,MAAM,OAAO,QAAQ,KAAK,MAAM,EAAE;AAClC,MAAM,cAAc,KAAK,WACtB,UAAU,UAAU,WAAW,UAAU,WAAW,UAAU,OAChE;AACD,MAAM,SAAS,gBAAgB,KAAK,KAAK,KAAK,KAAK;AAEnD,QAAQ,QAAR;CACE,KAAK;CACL,KAAK;CACL,KAAK,QAAQ;EACX,MAAM,WAAW,cAAc,IAAI,KAAK,MAAM,GAAG,YAAY,GAAG,EAAE;EAClE,MAAM,aAAa,mBAAmB,CAAC,QACrC,6BAA6B,SAC9B;EAED,MAAM,aAAa,KAAK,MAAM,cAAc,EAAE;EAS9C,MAAM,QAAQ,UAAU,QARJ,SACjB,OAAO,WAAW,CAClB,OAAO;GACN,GAAG;GACH;GACA;GACD,CAAC,EAEyC,EAC3C,OAAO,WACR,CAAC;AAEF,MAAI,MAAM,QAAQ;AAChB,OAAI,MAAM,WAAW,UACnB,QAAO;;;;cAID;YACG,MAAM,WAAW,UAC1B,QAAO;;;;cAID;AAGR,WAAQ,KAAK,EAAE;;AAGjB,UAAQ,KAAK,MAAM,UAAU,OAAU;AACvC;;CAEF;AACE,SAAO,mBAAmB,OAAO,IAAI;AACrC,SAAO,oCAAoC;AAC3C"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __esm } from "./_virtual/rolldown_runtime.mjs";
|
|
2
|
-
import {
|
|
2
|
+
import { getAlias, getConfiguration, getProjectRequire } from "@intlayer/config";
|
|
3
3
|
import { IntlayerPlugin } from "@intlayer/webpack";
|
|
4
4
|
|
|
5
5
|
//#region src/intlayerCracoPlugin.ts
|
|
@@ -36,7 +36,7 @@ var init_intlayerCracoPlugin = __esm({ "src/intlayerCracoPlugin.ts": (() => {
|
|
|
36
36
|
...cracoConfig.webpack?.configure?.resolve ?? {},
|
|
37
37
|
fallback: {
|
|
38
38
|
...cracoConfig.webpack?.configure?.resolve?.fallback ?? {},
|
|
39
|
-
process:
|
|
39
|
+
process: getProjectRequire().resolve("process/browser"),
|
|
40
40
|
fs: false,
|
|
41
41
|
module: false,
|
|
42
42
|
path: false,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intlayerCracoPlugin.mjs","names":["IntlayerWebpackPlugin","intlayerCracoPlugin: CracoPlugin"],"sources":["../../src/intlayerCracoPlugin.ts"],"sourcesContent":["// craco-intlayer-plugin.ts\n\n// @ts-nocheck\n\nimport type {\n CracoConfig,\n CracoConfigOverride,\n CracoPlugin,\n WebpackConfigOverride,\n} from '@craco/types';\nimport {
|
|
1
|
+
{"version":3,"file":"intlayerCracoPlugin.mjs","names":["IntlayerWebpackPlugin","intlayerCracoPlugin: CracoPlugin"],"sources":["../../src/intlayerCracoPlugin.ts"],"sourcesContent":["// craco-intlayer-plugin.ts\n\n// @ts-nocheck\n\nimport type {\n CracoConfig,\n CracoConfigOverride,\n CracoPlugin,\n WebpackConfigOverride,\n} from '@craco/types';\nimport {\n getAlias,\n getConfiguration,\n getProjectRequire,\n} from '@intlayer/config';\nimport { IntlayerPlugin as IntlayerWebpackPlugin } from '@intlayer/webpack';\nimport type { Configuration as WebpackConfig } from 'webpack';\n\n// Get Intlayer configuration\nconst intlayerConfig = getConfiguration();\n\n/**\n * Override the final CRA Webpack config.\n */\nexport const overrideWebpackConfig = ({\n webpackConfig,\n}: WebpackConfigOverride): WebpackConfig => {\n // 1) Remove `module`, `fs`, `path`, `vm` from externals. In CRA, you usually\n // want these to be bundled (or set to fallbacks).\n webpackConfig.externals = {\n ...(typeof webpackConfig.externals === 'object'\n ? webpackConfig.externals\n : {}),\n esbuild: 'esbuild', // keep only esbuild external\n };\n webpackConfig.externals.module = undefined;\n webpackConfig.externals.fs = undefined;\n webpackConfig.externals.path = undefined;\n webpackConfig.externals.vm = undefined;\n\n // 2) Properly push node-loader rule instead of overwriting.\n webpackConfig.module.rules.push({\n test: /\\.node$/,\n use: 'node-loader',\n });\n\n return webpackConfig;\n};\n\n/**\n * Override the CRACO config itself to set up aliases, fallbacks, and plugins.\n */\nexport const overrideCracoConfig = ({\n cracoConfig,\n}: CracoConfigOverride): CracoConfig => {\n return {\n ...cracoConfig,\n webpack: {\n ...cracoConfig.webpack,\n plugins: {\n ...cracoConfig.webpack?.plugins,\n // Ensure we actually add IntlayerWebpackPlugin\n add: [\n ...(cracoConfig.webpack?.plugins?.add ?? []),\n new IntlayerWebpackPlugin(intlayerConfig),\n ],\n },\n configure: {\n ...(cracoConfig.webpack?.configure ?? {}),\n resolve: {\n ...(cracoConfig.webpack?.configure?.resolve ?? {}),\n // 3) Provide browser fallbacks so these modules won’t error out in the browser.\n fallback: {\n ...(cracoConfig.webpack?.configure?.resolve?.fallback ?? {}),\n process: getProjectRequire().resolve('process/browser'),\n fs: false,\n module: false,\n path: false,\n vm: false,\n },\n },\n },\n // 4) Alias @intlayer/dictionaries-entry so it no longer tries to use the ESM that depends on `fs`, etc.\n alias: {\n ...cracoConfig.webpack?.alias,\n ...getAlias({\n configuration: intlayerConfig,\n }),\n },\n },\n };\n};\n\n/**\n * A CRACO plugin that adds the Intlayer configuration to the webpack configuration and sets the environment variables.\n *\n * Usage:\n *\n * ```ts\n * const cracoConfig: CracoConfig = {\n * plugins: [\n * {\n * plugin: intlayerCracoPlugin,\n * },\n * ],\n * };\n *\n * export default cracoConfig;\n * ```\n */\nexport const intlayerCracoPlugin: CracoPlugin = {\n overrideCracoConfig,\n overrideWebpackConfig,\n};\n"],"mappings":";;;;;;;CAmBM,iBAAiB,kBAAkB;CAK5B,yBAAyB,EACpC,oBAC0C;AAG1C,gBAAc,YAAY;GACxB,GAAI,OAAO,cAAc,cAAc,WACnC,cAAc,YACd,EAAE;GACN,SAAS;GACV;AACD,gBAAc,UAAU,SAAS;AACjC,gBAAc,UAAU,KAAK;AAC7B,gBAAc,UAAU,OAAO;AAC/B,gBAAc,UAAU,KAAK;AAG7B,gBAAc,OAAO,MAAM,KAAK;GAC9B,MAAM;GACN,KAAK;GACN,CAAC;AAEF,SAAO;;CAMI,uBAAuB,EAClC,kBACsC;AACtC,SAAO;GACL,GAAG;GACH,SAAS;IACP,GAAG,YAAY;IACf,SAAS;KACP,GAAG,YAAY,SAAS;KAExB,KAAK,CACH,GAAI,YAAY,SAAS,SAAS,OAAO,EAAE,EAC3C,IAAIA,eAAsB,eAAe,CAC1C;KACF;IACD,WAAW;KACT,GAAI,YAAY,SAAS,aAAa,EAAE;KACxC,SAAS;MACP,GAAI,YAAY,SAAS,WAAW,WAAW,EAAE;MAEjD,UAAU;OACR,GAAI,YAAY,SAAS,WAAW,SAAS,YAAY,EAAE;OAC3D,SAAS,mBAAmB,CAAC,QAAQ,kBAAkB;OACvD,IAAI;OACJ,QAAQ;OACR,MAAM;OACN,IAAI;OACL;MACF;KACF;IAED,OAAO;KACL,GAAG,YAAY,SAAS;KACxB,GAAG,SAAS,EACV,eAAe,gBAChB,CAAC;KACH;IACF;GACF;;CAoBUC,sBAAmC;EAC9C;EACA;EACD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intlayerCracoPlugin.d.ts","names":[],"sources":["../../src/intlayerCracoPlugin.ts"],"sourcesContent":[],"mappings":";;;;;;;
|
|
1
|
+
{"version":3,"file":"intlayerCracoPlugin.d.ts","names":[],"sources":["../../src/intlayerCracoPlugin.ts"],"sourcesContent":[],"mappings":";;;;;;;AAwBA;AAAsC,cAAzB,qBAAyB,EAAA,CAAA;EAAA;AAAA,CAAA,EAEnC,qBAFmC,EAAA,GAEX,aAFW;;;;AA4BzB,cAAA,mBAuCZ,EAAA,CAAA;EAAA;AAAA,CAAA,EArCE,mBAqCF,EAAA,GArCwB,WAqCxB;;;;;AAmBD;;;;;;;;;;;;;cAAa,qBAAqB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-scripts-intlayer",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.4-canary.0",
|
|
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": [
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
},
|
|
77
77
|
"dependencies": {
|
|
78
78
|
"@craco/craco": "7.1.0",
|
|
79
|
-
"@intlayer/config": "
|
|
80
|
-
"@intlayer/types": "
|
|
81
|
-
"@intlayer/webpack": "
|
|
79
|
+
"@intlayer/config": "workspace:*",
|
|
80
|
+
"@intlayer/types": "workspace:*",
|
|
81
|
+
"@intlayer/webpack": "workspace:*",
|
|
82
82
|
"node-loader": "2.1.0",
|
|
83
83
|
"process": "0.11.10",
|
|
84
84
|
"webpack": "5.98.0"
|
|
@@ -86,20 +86,20 @@
|
|
|
86
86
|
"devDependencies": {
|
|
87
87
|
"@craco/types": "7.1.0",
|
|
88
88
|
"@types/cross-spawn": "6.0.6",
|
|
89
|
-
"@types/node": "24.9.
|
|
89
|
+
"@types/node": "24.9.2",
|
|
90
90
|
"@types/webpack": "5.28.5",
|
|
91
|
-
"@utils/ts-config": "
|
|
92
|
-
"@utils/ts-config-types": "
|
|
93
|
-
"@utils/tsdown-config": "
|
|
91
|
+
"@utils/ts-config": "workspace:*",
|
|
92
|
+
"@utils/ts-config-types": "workspace:*",
|
|
93
|
+
"@utils/tsdown-config": "workspace:*",
|
|
94
94
|
"rimraf": "6.0.1",
|
|
95
|
-
"tsdown": "0.15.
|
|
95
|
+
"tsdown": "0.15.11",
|
|
96
96
|
"typescript": "5.9.3",
|
|
97
|
-
"vitest": "4.0.
|
|
97
|
+
"vitest": "4.0.5"
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
|
-
"@intlayer/config": "
|
|
101
|
-
"@intlayer/types": "
|
|
102
|
-
"@intlayer/webpack": "
|
|
100
|
+
"@intlayer/config": "workspace:*",
|
|
101
|
+
"@intlayer/types": "workspace:*",
|
|
102
|
+
"@intlayer/webpack": "workspace:*",
|
|
103
103
|
"webpack": ">=5.0.0"
|
|
104
104
|
},
|
|
105
105
|
"engines": {
|