@modern-js/uni-builder 0.0.0-nightly-20240813170712 → 0.0.0-nightly-20240814170652

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +2 -2
  2. package/package.json +21 -21
package/dist/types.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ConfigChainWithContext, ConfigChain, DevConfig, RsbuildConfig, RsbuildTarget, Polyfill, ScriptInject, ServerConfig, RsbuildPluginAPI, OutputConfig, DistPathConfig, Rspack, RequestHandler, NodeEnv, HtmlTagDescriptor, RsbuildPlugin } from '@rsbuild/core';
1
+ import type { ConfigChainWithContext, ConfigChain, DevConfig, RsbuildConfig, RsbuildTarget, Polyfill, ScriptInject, ServerConfig, RsbuildPluginAPI, OutputConfig, DistPathConfig, Rspack, RequestHandler, HtmlTagDescriptor, RsbuildPlugin } from '@rsbuild/core';
2
2
  import type { PluginAssetsRetryOptions } from '@rsbuild/plugin-assets-retry';
3
3
  import type { PluginStyledComponentsOptions } from '@rsbuild/plugin-styled-components';
4
4
  import type { PluginRemOptions } from '@rsbuild/plugin-rem';
@@ -48,7 +48,7 @@ export type CreateUniBuilderOptions = {
48
48
  } & Partial<CreateBuilderCommonOptions>;
49
49
  export type GlobalVars = Record<string, any>;
50
50
  export type ChainedGlobalVars = ConfigChainWithContext<GlobalVars, {
51
- env: NodeEnv;
51
+ env: string;
52
52
  target: RsbuildTarget;
53
53
  }>;
54
54
  export type ModuleScopes = Array<string | RegExp>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modern-js/uni-builder",
3
- "version": "0.0.0-nightly-20240813170712",
3
+ "version": "0.0.0-nightly-20240814170652",
4
4
  "description": "Unified builder for Modern.js",
5
5
  "repository": {
6
6
  "type": "git",
@@ -26,24 +26,24 @@
26
26
  "@babel/preset-react": "^7.22.15",
27
27
  "@babel/types": "^7.24.7",
28
28
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
29
- "@rsbuild/core": "1.0.1-beta.10",
30
- "@rsbuild/plugin-sass": "1.0.1-beta.10",
31
- "@rsbuild/plugin-less": "1.0.1-beta.10",
32
- "@rsbuild/plugin-assets-retry": "1.0.1-beta.10",
33
- "@rsbuild/plugin-babel": "1.0.1-beta.10",
29
+ "@rsbuild/core": "1.0.1-beta.13",
30
+ "@rsbuild/plugin-assets-retry": "1.0.1-beta.13",
31
+ "@rsbuild/plugin-babel": "1.0.1-beta.13",
34
32
  "@rsbuild/plugin-check-syntax": "1.0.1",
35
33
  "@rsbuild/plugin-css-minimizer": "1.0.2",
34
+ "@rsbuild/plugin-less": "1.0.1-beta.13",
36
35
  "@rsbuild/plugin-pug": "1.0.2",
37
- "@rsbuild/plugin-react": "1.0.1-beta.10",
38
- "@rsbuild/plugin-rem": "1.0.1-beta.10",
39
- "@rsbuild/plugin-source-build": "1.0.1-beta.10",
40
- "@rsbuild/plugin-styled-components": "1.0.1-beta.10",
41
- "@rsbuild/plugin-svgr": "1.0.1-beta.10",
42
- "@rsbuild/plugin-type-check": "1.0.1-beta.10",
43
- "@rsbuild/plugin-typed-css-modules": "1.0.2",
36
+ "@rsbuild/plugin-react": "1.0.1-beta.13",
37
+ "@rsbuild/plugin-rem": "1.0.1",
38
+ "@rsbuild/plugin-sass": "1.0.1-beta.13",
39
+ "@rsbuild/plugin-source-build": "1.0.1",
40
+ "@rsbuild/plugin-styled-components": "1.0.1",
41
+ "@rsbuild/plugin-svgr": "1.0.1-beta.13",
44
42
  "@rsbuild/plugin-toml": "1.0.1",
43
+ "@rsbuild/plugin-type-check": "1.0.1-beta.13",
44
+ "@rsbuild/plugin-typed-css-modules": "1.0.2",
45
45
  "@rsbuild/plugin-yaml": "1.0.2",
46
- "@rsbuild/webpack": "1.0.1-beta.10",
46
+ "@rsbuild/webpack": "1.0.1-beta.13",
47
47
  "@swc/helpers": "0.5.3",
48
48
  "autoprefixer": "10.4.19",
49
49
  "babel-loader": "9.1.3",
@@ -53,9 +53,10 @@
53
53
  "browserslist": "4.23.1",
54
54
  "cssnano": "6.0.1",
55
55
  "glob": "^9.3.5",
56
- "html-webpack-plugin": "5.5.3",
57
56
  "html-minifier-terser": "^7.2.0",
57
+ "html-webpack-plugin": "5.5.3",
58
58
  "lodash": "^4.17.21",
59
+ "picocolors": "^1.0.1",
59
60
  "postcss": "^8.4.35",
60
61
  "postcss-custom-properties": "13.1.5",
61
62
  "postcss-flexbugs-fixes": "5.0.2",
@@ -64,7 +65,6 @@
64
65
  "postcss-media-minmax": "5.0.0",
65
66
  "postcss-nesting": "12.0.1",
66
67
  "postcss-page-break": "3.0.4",
67
- "picocolors": "^1.0.1",
68
68
  "react-refresh": "^0.14.0",
69
69
  "rspack-manifest-plugin": "5.0.0",
70
70
  "terser-webpack-plugin": "5.3.10",
@@ -72,19 +72,19 @@
72
72
  "ts-loader": "9.4.4",
73
73
  "webpack": "^5.93.0",
74
74
  "webpack-subresource-integrity": "5.1.0",
75
- "@modern-js/utils": "0.0.0-nightly-20240813170712",
76
- "@modern-js/babel-preset": "0.0.0-nightly-20240813170712"
75
+ "@modern-js/babel-preset": "0.0.0-nightly-20240814170652",
76
+ "@modern-js/utils": "0.0.0-nightly-20240814170652"
77
77
  },
78
78
  "devDependencies": {
79
- "@rsbuild/plugin-swc": "1.0.1-beta.10",
79
+ "@rsbuild/plugin-swc": "1.0.1-beta.13",
80
80
  "@types/html-minifier-terser": "^7.0.2",
81
81
  "@types/lodash": "^4.14.202",
82
82
  "react": "^18.2.0",
83
83
  "react-dom": "^18.2.0",
84
84
  "terser": "^5.31.1",
85
85
  "typescript": "^5.3.0",
86
- "@scripts/build": "0.0.0-nightly-20240813170712",
87
- "@scripts/vitest-config": "0.0.0-nightly-20240813170712"
86
+ "@scripts/build": "0.0.0-nightly-20240814170652",
87
+ "@scripts/vitest-config": "0.0.0-nightly-20240814170652"
88
88
  },
89
89
  "publishConfig": {
90
90
  "access": "public",