@gravity-ui/app-builder 0.5.1 → 0.5.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.5.2](https://github.com/gravity-ui/app-builder/compare/v0.5.1...v0.5.2) (2023-06-28)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * add missing entries typings to lazy compilation feature ([#34](https://github.com/gravity-ui/app-builder/issues/34)) ([5c49611](https://github.com/gravity-ui/app-builder/commit/5c49611769f496f79ab1e810a366672908cfc29b))
9
+
3
10
  ## [0.5.1](https://github.com/gravity-ui/app-builder/compare/v0.5.0...v0.5.1) (2023-06-26)
4
11
 
5
12
 
@@ -44,6 +44,14 @@ export interface LibraryConfig {
44
44
  };
45
45
  verbose?: boolean;
46
46
  }
47
+ interface LazyCompilationConfig {
48
+ port?: number;
49
+ /**
50
+ * @default true
51
+ * disable lazy compilation for entries
52
+ */
53
+ entries?: boolean;
54
+ }
47
55
  export interface ClientConfig {
48
56
  modules?: string[];
49
57
  /**
@@ -131,9 +139,7 @@ export interface ClientConfig {
131
139
  newJsxTransform?: boolean;
132
140
  disableForkTsChecker?: boolean;
133
141
  disableSourceMapGeneration?: boolean;
134
- lazyCompilation?: boolean | {
135
- port?: number;
136
- };
142
+ lazyCompilation?: boolean | LazyCompilationConfig;
137
143
  polyfill?: {
138
144
  process?: boolean;
139
145
  };
@@ -182,14 +188,7 @@ export type NormalizedClientConfig = Omit<ClientConfig, 'publicPathPrefix' | 'hi
182
188
  publicPathPrefix: string;
183
189
  hiddenSourceMap: boolean;
184
190
  svgr: NonNullable<ClientConfig['svgr']>;
185
- lazyCompilation?: {
186
- port?: number;
187
- /**
188
- * @default true
189
- * disable lazy compilation for entries
190
- */
191
- entries?: boolean;
192
- };
191
+ lazyCompilation?: LazyCompilationConfig;
193
192
  devServer: Omit<DevServerConfig, 'port' | 'type' | 'options'> & {
194
193
  port?: number;
195
194
  server: ServerConfiguration;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/app-builder",
3
- "version": "0.5.1",
3
+ "version": "0.5.2",
4
4
  "description": "Develop and build your React client-server projects, powered by typescript and webpack",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",