@modern-js/app-tools 2.50.1-alpha.0 → 2.51.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,7 +4,7 @@ import type { AppLegacyUserConfig, AppUserConfig } from './types';
4
4
  * This function helps you to autocomplete configuration types.
5
5
  * It accepts a direct config object, or a function that returns a config.
6
6
  */
7
- export declare const defineConfig: <B extends "rspack" | "webpack" = "webpack">(config: UserConfigExport<AppUserConfig<B>>) => UserConfigExport<AppUserConfig<B>>;
7
+ export declare const defineConfig: <B extends "webpack" | "rspack" = "webpack">(config: UserConfigExport<AppUserConfig<B>>) => UserConfigExport<AppUserConfig<B>>;
8
8
  /**
9
9
  * @deprecated Please use `defineConfig` instead.
10
10
  * `defineLegacyConfig` will be removed in the future major version.
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.50.1-alpha.0",
18
+ "version": "2.51.0",
19
19
  "jsnext:source": "./src/index.ts",
20
20
  "types": "./dist/types/index.d.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -69,9 +69,9 @@
69
69
  "@babel/parser": "^7.22.15",
70
70
  "@babel/traverse": "^7.23.2",
71
71
  "@babel/types": "^7.23.0",
72
- "@rsbuild/plugin-node-polyfill": "0.6.15",
73
- "@rsbuild/shared": "0.6.15",
74
- "@rsbuild/core": "0.6.15",
72
+ "@rsbuild/plugin-node-polyfill": "0.7.1",
73
+ "@rsbuild/shared": "0.7.1",
74
+ "@rsbuild/core": "0.7.1",
75
75
  "@swc/helpers": "0.5.3",
76
76
  "@vercel/nft": "^0.26.4",
77
77
  "es-module-lexer": "^1.1.0",
@@ -80,23 +80,23 @@
80
80
  "mlly": "^1.6.1",
81
81
  "pkg-types": "^1.1.0",
82
82
  "std-env": "^3.7.0",
83
- "@modern-js/core": "2.50.0",
84
- "@modern-js/node-bundle-require": "2.50.0",
85
- "@modern-js/plugin": "2.50.0",
86
- "@modern-js/plugin-i18n": "2.50.0",
87
- "@modern-js/rsbuild-plugin-esbuild": "2.50.0",
88
- "@modern-js/prod-server": "2.50.0",
89
- "@modern-js/plugin-lint": "2.50.0",
90
- "@modern-js/server-core": "2.50.0",
91
- "@modern-js/server": "2.50.0",
92
- "@modern-js/server-utils": "2.50.0",
93
- "@modern-js/types": "2.50.0",
94
- "@modern-js/uni-builder": "2.50.0",
95
- "@modern-js/utils": "2.50.0",
96
- "@modern-js/plugin-data-loader": "2.50.0"
83
+ "@modern-js/node-bundle-require": "2.51.0",
84
+ "@modern-js/plugin-i18n": "2.51.0",
85
+ "@modern-js/plugin-data-loader": "2.51.0",
86
+ "@modern-js/plugin": "2.51.0",
87
+ "@modern-js/plugin-lint": "2.51.0",
88
+ "@modern-js/core": "2.51.0",
89
+ "@modern-js/prod-server": "2.51.0",
90
+ "@modern-js/rsbuild-plugin-esbuild": "2.51.0",
91
+ "@modern-js/server": "2.51.0",
92
+ "@modern-js/server-core": "2.51.0",
93
+ "@modern-js/server-utils": "2.51.0",
94
+ "@modern-js/types": "2.51.0",
95
+ "@modern-js/uni-builder": "2.51.0",
96
+ "@modern-js/utils": "2.51.0"
97
97
  },
98
98
  "devDependencies": {
99
- "@rsbuild/plugin-swc": "0.6.15",
99
+ "@rsbuild/plugin-swc": "0.7.1",
100
100
  "@types/babel__traverse": "7.18.5",
101
101
  "@types/jest": "^29",
102
102
  "@types/node": "^14",
@@ -105,8 +105,8 @@
105
105
  "tsconfig-paths": "^4.2.0",
106
106
  "typescript": "^5",
107
107
  "webpack": "^5.91.0",
108
- "@scripts/build": "2.50.0",
109
- "@scripts/jest-config": "2.50.0"
108
+ "@scripts/build": "2.51.0",
109
+ "@scripts/jest-config": "2.51.0"
110
110
  },
111
111
  "sideEffects": false,
112
112
  "publishConfig": {