@flatjs/evolve 1.8.1-next.19 → 1.8.1-next.23

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,44 @@
1
1
  # @flatjs/evolve
2
2
 
3
+ ## 1.8.1-next.23
4
+
5
+ ### Patch Changes
6
+
7
+ - 14cb244: bump version
8
+ - Updated dependencies [14cb244]
9
+ - @flatjs/forge-postcss-plugin-pixel@1.8.1-next.13
10
+ - @flatjs/evolve-preset-babel@1.8.1-next.6
11
+ - @flatjs/common@1.8.1-next.13
12
+ - @flatjs/mock@1.8.1-next.23
13
+
14
+ ## 1.8.1-next.22
15
+
16
+ ### Patch Changes
17
+
18
+ - @flatjs/mock@1.8.1-next.22
19
+
20
+ ## 1.8.1-next.21
21
+
22
+ ### Patch Changes
23
+
24
+ - 4c7d73d: Move typings to type-fest
25
+ - Updated dependencies [4c7d73d]
26
+ - Updated dependencies [4c7d73d]
27
+ - @flatjs/common@1.8.1-next.12
28
+ - @flatjs/mock@1.8.1-next.21
29
+ - @flatjs/evolve-preset-babel@1.8.1-next.5
30
+ - @flatjs/forge-postcss-plugin-pixel@1.8.1-next.12
31
+
32
+ ## 1.8.1-next.20
33
+
34
+ ### Patch Changes
35
+
36
+ - Updated dependencies [a971bed]
37
+ - @flatjs/common@1.8.1-next.11
38
+ - @flatjs/mock@1.8.1-next.20
39
+ - @flatjs/forge-postcss-plugin-pixel@1.8.1-next.11
40
+ - @flatjs/evolve-preset-babel@1.8.1-next.5
41
+
3
42
  ## 1.8.1-next.19
4
43
 
5
44
  ### 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>;
@@ -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.19",
3
+ "version": "1.8.1-next.23",
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.10",
44
- "@flatjs/evolve-preset-babel": "1.8.1-next.5",
45
- "@flatjs/forge-postcss-plugin-pixel": "1.8.1-next.10",
46
- "@flatjs/mock": "1.8.1-next.19",
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.7",
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",