@modern-js/monorepo-tools 2.0.0-beta.7 → 2.0.1

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,47 @@
1
1
  # @modern-js/monorepo-tools
2
2
 
3
+ ## 2.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - @modern-js/core@2.0.1
8
+ - @modern-js/plugin-changeset@2.0.1
9
+ - @modern-js/plugin-i18n@2.0.1
10
+ - @modern-js/plugin-lint@2.0.1
11
+ - @modern-js/new-action@2.0.1
12
+ - @modern-js/plugin@2.0.1
13
+ - @modern-js/upgrade@2.0.1
14
+ - @modern-js/utils@2.0.1
15
+
16
+ ## 2.0.0
17
+
18
+ ### Major Changes
19
+
20
+ - dda38c9c3e: chore: v2
21
+
22
+ ### Patch Changes
23
+
24
+ - d4a456659b: chore: rename plugin-jarvis to plugin-lint
25
+
26
+ chore: 重命名 plugin-jarvis 为 plugin-lint
27
+
28
+ - Updated dependencies [c9e800d39a]
29
+ - Updated dependencies [edd1cfb1af]
30
+ - Updated dependencies [d4a456659b]
31
+ - Updated dependencies [f680410886]
32
+ - Updated dependencies [dda38c9c3e]
33
+ - Updated dependencies [8b8e1bb571]
34
+ - Updated dependencies [ffb2ed4]
35
+ - Updated dependencies [bbe4c4ab64]
36
+ - @modern-js/core@2.0.0
37
+ - @modern-js/utils@2.0.0
38
+ - @modern-js/plugin-lint@2.0.0
39
+ - @modern-js/plugin-changeset@2.0.0
40
+ - @modern-js/plugin-i18n@2.0.0
41
+ - @modern-js/new-action@2.0.0
42
+ - @modern-js/plugin@2.0.0
43
+ - @modern-js/upgrade@2.0.0
44
+
3
45
  ## 2.0.0-beta.7
4
46
 
5
47
  ### Major Changes
@@ -1,5 +1,5 @@
1
1
  import { IProjectNode } from '../projects/get-projects';
2
- export declare type Task = (currentProject: IProjectNode, currentProjectPreviousProjects: IProjectNode[], earlyFinishFun: () => void) => Promise<void>;
2
+ export type Task = (currentProject: IProjectNode, currentProjectPreviousProjects: IProjectNode[], earlyFinishFun: () => void) => Promise<void>;
3
3
  export interface ITraverseConfig {
4
4
  withSelf?: boolean;
5
5
  runTaskConcurrency?: number;
@@ -3,7 +3,7 @@ import { EventEmitter } from 'events';
3
3
  export interface ITaskRunnerConfig {
4
4
  concurrency?: number;
5
5
  }
6
- export declare type TaskFunType<T = undefined> = (stopTask?: () => void) => Promise<T>;
6
+ export type TaskFunType<T = undefined> = (stopTask?: () => void) => Promise<T>;
7
7
  export declare class TaskRunner<S> extends EventEmitter {
8
8
  static DefaultConcurrency: number;
9
9
  static TASK_FINISH: string;
@@ -1,3 +1,3 @@
1
1
  import { IProjectNode } from '../../projects/get-projects';
2
- export declare type BuildWatchCmdsType = [string] | [string, string] | [string, (project: IProjectNode) => string[]];
2
+ export type BuildWatchCmdsType = [string] | [string, string] | [string, (project: IProjectNode) => string[]];
3
3
  export declare const defaultBuildWatchCmds: BuildWatchCmdsType;
@@ -1,6 +1,6 @@
1
1
  export declare const findMonorepoRoot: (starFindPath: string) => string | undefined;
2
2
  export declare const getWorkspaceFile: (startFindPath: string) => string;
3
- export declare type PackageManagerType = 'pnpm' | 'yarn' | 'npm';
3
+ export type PackageManagerType = 'pnpm' | 'yarn' | 'npm';
4
4
  export declare const packageManagerFlag: {
5
5
  pnpm: string[];
6
6
  yarn: (string | ((monorepoRootPath: string) => boolean))[];
@@ -26,6 +26,6 @@ export interface IProjectNode {
26
26
  circlePath: string[];
27
27
  criticalPathLength?: number;
28
28
  }
29
- export declare type IMonorepoSubProject = IProjectNode;
29
+ export type IMonorepoSubProject = IProjectNode;
30
30
  export declare const getProjects: (config: IFindSubProjectConfig, currentDir?: string) => Promise<IMonorepoSubProject[]>;
31
31
  export declare const syncGetProjects: (config: IFindSubProjectConfig, currentDir?: string) => IMonorepoSubProject[];
@@ -7,6 +7,6 @@ export interface ICommandConfig {
7
7
  rootPath: string;
8
8
  packageManager: PackageManagerType;
9
9
  }
10
- export declare type MonorepoTools = {
10
+ export type MonorepoTools = {
11
11
  hooks: typeof hooks;
12
12
  };
@@ -1 +1 @@
1
- export declare type Argu<F extends (input: any) => any> = F extends (input: infer A) => any ? A : never;
1
+ export type Argu<F extends (input: any) => any> = F extends (input: infer A) => any ? A : never;
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "2.0.0-beta.7",
14
+ "version": "2.0.1",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -39,14 +39,14 @@
39
39
  "anymatch": "^3.1.2",
40
40
  "md5": "^2.3.0",
41
41
  "p-map": "^4.0.0",
42
- "@modern-js/core": "2.0.0-beta.7",
43
- "@modern-js/new-action": "2.0.0-beta.7",
44
- "@modern-js/upgrade": "2.0.0-beta.7",
45
- "@modern-js/plugin": "2.0.0-beta.7",
46
- "@modern-js/plugin-changeset": "2.0.0-beta.7",
47
- "@modern-js/plugin-i18n": "2.0.0-beta.7",
48
- "@modern-js/plugin-lint": "2.0.0-beta.7",
49
- "@modern-js/utils": "2.0.0-beta.7"
42
+ "@modern-js/core": "2.0.1",
43
+ "@modern-js/new-action": "2.0.1",
44
+ "@modern-js/upgrade": "2.0.1",
45
+ "@modern-js/plugin": "2.0.1",
46
+ "@modern-js/plugin-changeset": "2.0.1",
47
+ "@modern-js/plugin-i18n": "2.0.1",
48
+ "@modern-js/plugin-lint": "2.0.1",
49
+ "@modern-js/utils": "2.0.1"
50
50
  },
51
51
  "devDependencies": {
52
52
  "@types/jest": "^27",
@@ -54,8 +54,8 @@
54
54
  "@types/node": "^14",
55
55
  "jest": "^27",
56
56
  "typescript": "^4",
57
- "@scripts/build": "2.0.0-beta.7",
58
- "@scripts/jest-config": "2.0.0-beta.7"
57
+ "@scripts/build": "2.0.1",
58
+ "@scripts/jest-config": "2.0.1"
59
59
  },
60
60
  "sideEffects": false,
61
61
  "publishConfig": {