@flatjs/evolve 1.8.1-next.20 → 1.8.1-next.24

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,40 @@
1
1
  # @flatjs/evolve
2
2
 
3
+ ## 1.8.1-next.24
4
+
5
+ ### Patch Changes
6
+
7
+ - a8129b0: exports entryMap
8
+
9
+ ## 1.8.1-next.23
10
+
11
+ ### Patch Changes
12
+
13
+ - 14cb244: bump version
14
+ - Updated dependencies [14cb244]
15
+ - @flatjs/forge-postcss-plugin-pixel@1.8.1-next.13
16
+ - @flatjs/evolve-preset-babel@1.8.1-next.6
17
+ - @flatjs/common@1.8.1-next.13
18
+ - @flatjs/mock@1.8.1-next.23
19
+
20
+ ## 1.8.1-next.22
21
+
22
+ ### Patch Changes
23
+
24
+ - @flatjs/mock@1.8.1-next.22
25
+
26
+ ## 1.8.1-next.21
27
+
28
+ ### Patch Changes
29
+
30
+ - 4c7d73d: Move typings to type-fest
31
+ - Updated dependencies [4c7d73d]
32
+ - Updated dependencies [4c7d73d]
33
+ - @flatjs/common@1.8.1-next.12
34
+ - @flatjs/mock@1.8.1-next.21
35
+ - @flatjs/evolve-preset-babel@1.8.1-next.5
36
+ - @flatjs/forge-postcss-plugin-pixel@1.8.1-next.12
37
+
3
38
  ## 1.8.1-next.20
4
39
 
5
40
  ### Patch Changes
@@ -1,6 +1,7 @@
1
- import { type DeepPartial, type UserConfigExport, type ConfigEnvBase } from '@flatjs/common';
1
+ import { type UserConfigExport, type ConfigEnvBase } from '@flatjs/common';
2
+ import { type PartialDeep } from 'type-fest';
2
3
  import { type FlatEvolveOptions } from '../types/types-options.js';
3
4
  export interface EvolveConfigBase extends ConfigEnvBase {
4
5
  command: 'build' | 'serve' | 'static';
5
6
  }
6
- export declare const defineConfig: (userConfig: UserConfigExport<DeepPartial<FlatEvolveOptions>, EvolveConfigBase>) => UserConfigExport<DeepPartial<FlatEvolveOptions>, EvolveConfigBase>;
7
+ export declare const defineConfig: (userConfig: UserConfigExport<PartialDeep<FlatEvolveOptions>, EvolveConfigBase>) => UserConfigExport<import("type-fest/source/partial-deep.js").PartialObjectDeep<FlatEvolveOptions, {}>, EvolveConfigBase>;
package/dist/index.d.ts CHANGED
@@ -2,3 +2,4 @@ export * from './define-config/index.js';
2
2
  export * from './load-config/index.js';
3
3
  export * from './main/index.js';
4
4
  export * from './types/types-options.js';
5
+ export * from './types/types-entry-map.js';
package/dist/index.js CHANGED
@@ -1 +1 @@
1
- export*from"./define-config/index.js";export*from"./load-config/index.js";export*from"./main/index.js";export*from"./types/types-options.js";
1
+ export*from"./define-config/index.js";export*from"./load-config/index.js";export*from"./main/index.js";export*from"./types/types-options.js";export*from"./types/types-entry-map.js";
@@ -1,4 +1,4 @@
1
- import { type DeepPartial } from '@flatjs/common';
1
+ import { type PartialDeep } from 'type-fest';
2
2
  import { type EvolveConfigBase } from '../define-config/define-config.js';
3
3
  import { type FlatEvolveOptions } from '../types/types-options.js';
4
4
  export type ConfigLoaderOptions = {
@@ -7,4 +7,4 @@ export type ConfigLoaderOptions = {
7
7
  externals: string[];
8
8
  };
9
9
  };
10
- export declare const loadEvolveConfig: (configEnv: EvolveConfigBase, projectCwd: string, overrideOptions?: DeepPartial<FlatEvolveOptions>, configLoaderOptions?: ConfigLoaderOptions) => Promise<FlatEvolveOptions>;
10
+ export declare const loadEvolveConfig: (configEnv: EvolveConfigBase, projectCwd: string, overrideOptions?: PartialDeep<FlatEvolveOptions>, configLoaderOptions?: ConfigLoaderOptions) => Promise<FlatEvolveOptions>;
@@ -1,4 +1,4 @@
1
- import { type DeepPartial } from '@flatjs/common';
1
+ import { type PartialDeep } from 'type-fest';
2
2
  import { type ConfigLoaderOptions } from '../load-config/load-evolve-config.js';
3
3
  import { type EvolveEntryMap } from '../types/types-entry-map.js';
4
4
  import { type FlatEvolveOptions } from '../types/types-options.js';
@@ -10,4 +10,4 @@ import { type EvolveBuildResult } from './prepare-build.js';
10
10
  * @param evolveOptions FlatEvolveOptions
11
11
  * @param clearCache The value indicates if we need to clear webpack cache resources.
12
12
  */
13
- export declare const startBuild: (projectCwd: string, buildEntries: EvolveEntryMap, overrideEvolveOptions?: DeepPartial<FlatEvolveOptions>, configLoaderOptions?: ConfigLoaderOptions) => Promise<EvolveBuildResult[]>;
13
+ export declare const startBuild: (projectCwd: string, buildEntries: EvolveEntryMap, overrideEvolveOptions?: PartialDeep<FlatEvolveOptions>, configLoaderOptions?: ConfigLoaderOptions) => Promise<EvolveBuildResult[]>;
@@ -1,4 +1,4 @@
1
- import { type DeepPartial } from '@flatjs/common';
1
+ import { type PartialDeep } from 'type-fest';
2
2
  import { type ConfigLoaderOptions } from '../load-config/load-evolve-config.js';
3
3
  import { type EvolveEntryMap } from '../types/types-entry-map.js';
4
4
  import { type FlatEvolveOptions } from '../types/types-options.js';
@@ -8,4 +8,4 @@ import { type FlatEvolveOptions } from '../types/types-options.js';
8
8
  * @param servedEntries All webpack entries we have served.
9
9
  * @param evolveOptions FlatEvolveOptions
10
10
  */
11
- export declare const startServe: (projectCwd: string, servedEntries: EvolveEntryMap, overrideEvolveOptions?: DeepPartial<FlatEvolveOptions>, configLoaderOptions?: ConfigLoaderOptions) => Promise<import("express-serve-static-core").Express>;
11
+ export declare const startServe: (projectCwd: string, servedEntries: EvolveEntryMap, overrideEvolveOptions?: PartialDeep<FlatEvolveOptions>, configLoaderOptions?: ConfigLoaderOptions) => Promise<import("express-serve-static-core").Express>;
@@ -1,4 +1,4 @@
1
- import { type DeepPartial } from '@flatjs/common';
1
+ import { type PartialDeep } from 'type-fest';
2
2
  import { type ConfigLoaderOptions } from '../load-config/load-evolve-config.js';
3
3
  import { type FlatEvolveOptions } from '../types/types-options.js';
4
4
  /**
@@ -7,4 +7,4 @@ import { type FlatEvolveOptions } from '../types/types-options.js';
7
7
  * @param evolveOptions FlatEvolveOptions
8
8
  * @param configLoaderOptions FlatMockOptions
9
9
  */
10
- export declare const startStatic: (projectCwd: string, overrideEvolveOptions?: DeepPartial<FlatEvolveOptions>, configLoaderOptions?: ConfigLoaderOptions) => Promise<import("express-serve-static-core").Express>;
10
+ export declare const startStatic: (projectCwd: string, overrideEvolveOptions?: PartialDeep<FlatEvolveOptions>, configLoaderOptions?: ConfigLoaderOptions) => Promise<import("express-serve-static-core").Express>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flatjs/evolve",
3
- "version": "1.8.1-next.20",
3
+ "version": "1.8.1-next.24",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "exports": {
@@ -37,13 +37,13 @@
37
37
  "typecheck": "tsc --project ./tsconfig.json --noEmit"
38
38
  },
39
39
  "dependencies": {
40
- "@armit/file-utility": "^0.0.18",
41
- "@armit/package": "^0.0.28",
40
+ "@armit/file-utility": "^0.0.19",
41
+ "@armit/package": "^0.0.29",
42
42
  "@babel/core": "7.21.8",
43
- "@flatjs/common": "1.8.1-next.11",
44
- "@flatjs/evolve-preset-babel": "1.8.1-next.5",
45
- "@flatjs/forge-postcss-plugin-pixel": "1.8.1-next.11",
46
- "@flatjs/mock": "1.8.1-next.20",
43
+ "@flatjs/common": "1.8.1-next.13",
44
+ "@flatjs/evolve-preset-babel": "1.8.1-next.6",
45
+ "@flatjs/forge-postcss-plugin-pixel": "1.8.1-next.13",
46
+ "@flatjs/mock": "1.8.1-next.23",
47
47
  "@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
48
48
  "@types/babel__core": "7.20.0",
49
49
  "babel-loader": "9.1.2",
@@ -67,20 +67,21 @@
67
67
  "react-refresh": "0.14.0",
68
68
  "svgo": "3.0.2",
69
69
  "terser-webpack-plugin": "5.3.9",
70
+ "type-fest": "^3.11.0",
70
71
  "webpack": "5.83.1",
71
72
  "webpack-bundle-analyzer": "4.8.0",
72
73
  "webpack-dev-server": "4.15.0",
73
74
  "webpack-sources": "3.2.3"
74
75
  },
75
76
  "devDependencies": {
76
- "@armit/eslint-config-bases": "^0.0.15",
77
- "@flatjs/testing": "1.8.1-next.8",
78
- "@swc/core": "1.3.58",
77
+ "@armit/eslint-config-bases": "^0.0.16",
78
+ "@flatjs/testing": "1.8.1-next.10",
79
+ "@swc/core": "1.3.59",
79
80
  "@types/express": "4.17.17",
80
- "@types/node": "20.2.1",
81
+ "@types/node": "20.2.3",
81
82
  "@vitest/coverage-istanbul": "0.31.1",
82
83
  "@vitest/ui": "0.31.1",
83
- "eslint": "8.40.0",
84
+ "eslint": "8.41.0",
84
85
  "imagemin-gifsicle": "7.0.0",
85
86
  "imagemin-jpegtran": "7.0.0",
86
87
  "imagemin-pngquant": "9.0.2",