@gravity-ui/app-builder 0.32.3-beta.0 → 0.32.3-beta.1

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.
@@ -235,7 +235,11 @@ function getCacheBuildDependencies({ config, configPath }) {
235
235
  const buildDependencies = {};
236
236
  const dependenciesGroups = {
237
237
  appBuilderConfig: configPath ? [configPath] : [],
238
- packageJson: [path.join(paths_1.default.app, 'package.json')],
238
+ packageJson: [
239
+ path.join(paths_1.default.app, 'package.json'),
240
+ path.join(paths_1.default.app, 'package-lock.json'),
241
+ path.join(paths_1.default.app, 'pnpm-lock.yaml'),
242
+ ],
239
243
  tsconfig: [
240
244
  path.join(paths_1.default.app, 'tsconfig.json'),
241
245
  path.join(paths_1.default.appClient, 'tsconfig.json'),
@@ -491,7 +495,10 @@ async function createJavaScriptLoader({ isEnvProduction, isEnvDevelopment, confi
491
495
  sourceMaps: !config.disableSourceMapGeneration,
492
496
  }, { configType, isSsr });
493
497
  if (config.bundler === 'rspack') {
494
- const rspackSwcConfig = swcConfig;
498
+ const rspackSwcConfig = {
499
+ ...swcConfig,
500
+ isModule: swcConfig.isModule === 'commonjs' ? false : swcConfig.isModule,
501
+ };
495
502
  if (!isSsr && isEnvProduction) {
496
503
  rspackSwcConfig.rspackExperiments = {
497
504
  import: [
@@ -3,9 +3,9 @@ export declare function createCli(argv: string[]): {
3
3
  [x: string]: unknown;
4
4
  verbose: boolean | undefined;
5
5
  cdn: string | undefined;
6
- c: unknown;
7
6
  env: string[] | undefined;
8
7
  target: "client" | "server" | undefined;
8
+ c: unknown;
9
9
  inspect: number | undefined;
10
10
  inspectBrk: number | undefined;
11
11
  "inspect-brk": number | undefined;
@@ -33,9 +33,9 @@ export declare function createCli(argv: string[]): {
33
33
  [x: string]: unknown;
34
34
  verbose: boolean | undefined;
35
35
  cdn: string | undefined;
36
- c: unknown;
37
36
  env: string[] | undefined;
38
37
  target: "client" | "server" | undefined;
38
+ c: unknown;
39
39
  inspect: number | undefined;
40
40
  inspectBrk: number | undefined;
41
41
  "inspect-brk": number | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/app-builder",
3
- "version": "0.32.3-beta.0",
3
+ "version": "0.32.3-beta.1",
4
4
  "description": "Develop and build your React client-server projects, powered by typescript and webpack",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",
@@ -73,7 +73,7 @@
73
73
  "@pmmmwh/react-refresh-webpack-plugin": "^0.5.15",
74
74
  "@rsdoctor/rspack-plugin": "^1.0.2",
75
75
  "@rsdoctor/webpack-plugin": "^1.0.2",
76
- "@rspack/core": "1.5.3",
76
+ "@rspack/core": "1.5.5",
77
77
  "@rspack/dev-server": "^1.1.4",
78
78
  "@rspack/plugin-react-refresh": "^1.5.1",
79
79
  "@statoscope/stats": "^5.28.1",
@@ -83,9 +83,9 @@
83
83
  "@svgr/core": "^8.1.0",
84
84
  "@svgr/plugin-jsx": "^8.1.0",
85
85
  "@svgr/webpack": "^8.1.0",
86
- "@swc/cli": "0.7.7",
87
- "@swc/core": "1.11.24",
88
- "@swc/plugin-transform-imports": "7.0.3",
86
+ "@swc/cli": "0.7.8",
87
+ "@swc/core": "1.13.5",
88
+ "@swc/plugin-transform-imports": "9.1.0",
89
89
  "babel-loader": "^9.2.1",
90
90
  "babel-plugin-import": "^1.13.8",
91
91
  "babel-plugin-inline-react-svg": "^2.0.2",