@modern-js/monorepo-tools 2.0.0-beta.1 → 2.0.0-beta.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,43 @@
|
|
|
1
1
|
# @modern-js/monorepo-tools
|
|
2
2
|
|
|
3
|
+
## 2.0.0-beta.2
|
|
4
|
+
|
|
5
|
+
### Major Changes
|
|
6
|
+
|
|
7
|
+
- dda38c9c3e: chore: v2
|
|
8
|
+
|
|
9
|
+
### Patch Changes
|
|
10
|
+
|
|
11
|
+
- d4a4566: chore: rename plugin-jarvis to plugin-lint
|
|
12
|
+
|
|
13
|
+
chore: 重命名 plugin-jarvis 为 plugin-lint
|
|
14
|
+
|
|
15
|
+
- Updated dependencies [c9e800d39a]
|
|
16
|
+
- Updated dependencies [85edee888c]
|
|
17
|
+
- Updated dependencies [92f0ead]
|
|
18
|
+
- Updated dependencies [edd1cfb1af]
|
|
19
|
+
- Updated dependencies [cc971eabfc]
|
|
20
|
+
- Updated dependencies [5b9049f2e9]
|
|
21
|
+
- Updated dependencies [d4a4566]
|
|
22
|
+
- Updated dependencies [92004d1]
|
|
23
|
+
- Updated dependencies [b8bbe036c7]
|
|
24
|
+
- Updated dependencies [d5a31df781]
|
|
25
|
+
- Updated dependencies [dda38c9c3e]
|
|
26
|
+
- Updated dependencies [8b8e1bb571]
|
|
27
|
+
- Updated dependencies [3bbea92b2a]
|
|
28
|
+
- Updated dependencies [f179749]
|
|
29
|
+
- Updated dependencies [abf3421a75]
|
|
30
|
+
- Updated dependencies [543be9558e]
|
|
31
|
+
- Updated dependencies [14b712da84]
|
|
32
|
+
- @modern-js/core@2.0.0-beta.2
|
|
33
|
+
- @modern-js/utils@2.0.0-beta.2
|
|
34
|
+
- @modern-js/plugin-lint@2.0.0-beta.2
|
|
35
|
+
- @modern-js/plugin@2.0.0-beta.2
|
|
36
|
+
- @modern-js/plugin-changeset@2.0.0-beta.2
|
|
37
|
+
- @modern-js/plugin-i18n@2.0.0-beta.2
|
|
38
|
+
- @modern-js/new-action@2.0.0-beta.2
|
|
39
|
+
- @modern-js/upgrade@2.0.0-beta.2
|
|
40
|
+
|
|
3
41
|
## 2.0.0-beta.1
|
|
4
42
|
|
|
5
43
|
### Major Changes
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { Command } from '@modern-js/utils';
|
|
2
2
|
import type { PluginAPI } from '@modern-js/core';
|
|
3
|
-
|
|
3
|
+
import { MonorepoTools } from '../type';
|
|
4
|
+
export declare const clearCli: (program: Command, api: PluginAPI<MonorepoTools>) => void;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { Command } from '@modern-js/utils';
|
|
2
2
|
import type { PluginAPI } from '@modern-js/core';
|
|
3
|
-
|
|
3
|
+
import type { MonorepoTools } from '../type';
|
|
4
|
+
export declare const deployCli: (program: Command, api: PluginAPI<MonorepoTools>) => void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PluginAPI } from '@modern-js/core';
|
|
2
|
+
import type { MonorepoTools } from '../type';
|
|
2
3
|
export interface IClearCommandOption {
|
|
3
4
|
removeDirs?: string[];
|
|
4
5
|
}
|
|
5
|
-
export declare const clear: (projectNames: string[], option: IClearCommandOption, api: PluginAPI) => Promise<void>;
|
|
6
|
+
export declare const clear: (projectNames: string[], option: IClearCommandOption, api: PluginAPI<MonorepoTools>) => Promise<void>;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { PluginAPI } from '@modern-js/core';
|
|
2
|
+
import { MonorepoTools } from '../type';
|
|
2
3
|
export interface IDeployCommandOption {
|
|
3
4
|
deployPath?: string;
|
|
4
5
|
}
|
|
5
|
-
export declare const deploy: (api: PluginAPI
|
|
6
|
+
export declare const deploy: (api: PluginAPI<MonorepoTools>, deployProjectNames: string[], option: IDeployCommandOption, ignoreMatchs?: string[]) => Promise<void>;
|
package/dist/types/index.d.ts
CHANGED
package/dist/types/type.d.ts
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
import { PackageManagerType } from './parse-config';
|
|
2
|
+
import { hooks } from './hooks';
|
|
2
3
|
export interface IPnpmWorkSpace {
|
|
3
4
|
packages: string[];
|
|
4
5
|
}
|
|
5
6
|
export interface ICommandConfig {
|
|
6
7
|
rootPath: string;
|
|
7
8
|
packageManager: PackageManagerType;
|
|
8
|
-
}
|
|
9
|
+
}
|
|
10
|
+
export declare type MonorepoTools = {
|
|
11
|
+
hooks: typeof hooks;
|
|
12
|
+
};
|
package/package.json
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"modern",
|
|
12
12
|
"modern.js"
|
|
13
13
|
],
|
|
14
|
-
"version": "2.0.0-beta.
|
|
14
|
+
"version": "2.0.0-beta.2",
|
|
15
15
|
"jsnext:source": "./src/index.ts",
|
|
16
16
|
"types": "./dist/types/index.d.ts",
|
|
17
17
|
"main": "./dist/js/node/index.js",
|
|
@@ -41,14 +41,14 @@
|
|
|
41
41
|
"anymatch": "^3.1.2",
|
|
42
42
|
"md5": "^2.3.0",
|
|
43
43
|
"p-map": "^4.0.0",
|
|
44
|
-
"@modern-js/core": "2.0.0-beta.
|
|
45
|
-
"@modern-js/new-action": "2.0.0-beta.
|
|
46
|
-
"@modern-js/upgrade": "2.0.0-beta.
|
|
47
|
-
"@modern-js/plugin": "2.0.0-beta.
|
|
48
|
-
"@modern-js/plugin-changeset": "2.0.0-beta.
|
|
49
|
-
"@modern-js/plugin-i18n": "2.0.0-beta.
|
|
50
|
-
"@modern-js/plugin-lint": "2.0.0-beta.
|
|
51
|
-
"@modern-js/utils": "2.0.0-beta.
|
|
44
|
+
"@modern-js/core": "2.0.0-beta.2",
|
|
45
|
+
"@modern-js/new-action": "2.0.0-beta.2",
|
|
46
|
+
"@modern-js/upgrade": "2.0.0-beta.2",
|
|
47
|
+
"@modern-js/plugin": "2.0.0-beta.2",
|
|
48
|
+
"@modern-js/plugin-changeset": "2.0.0-beta.2",
|
|
49
|
+
"@modern-js/plugin-i18n": "2.0.0-beta.2",
|
|
50
|
+
"@modern-js/plugin-lint": "2.0.0-beta.2",
|
|
51
|
+
"@modern-js/utils": "2.0.0-beta.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/jest": "^27",
|
|
@@ -56,8 +56,8 @@
|
|
|
56
56
|
"@types/node": "^14",
|
|
57
57
|
"jest": "^27",
|
|
58
58
|
"typescript": "^4",
|
|
59
|
-
"@scripts/build": "2.0.0-beta.
|
|
60
|
-
"@scripts/jest-config": "2.0.0-beta.
|
|
59
|
+
"@scripts/build": "2.0.0-beta.2",
|
|
60
|
+
"@scripts/jest-config": "2.0.0-beta.2"
|
|
61
61
|
},
|
|
62
62
|
"sideEffects": false,
|
|
63
63
|
"modernConfig": {
|
|
@@ -70,8 +70,8 @@
|
|
|
70
70
|
"access": "public"
|
|
71
71
|
},
|
|
72
72
|
"scripts": {
|
|
73
|
-
"new": "modern new",
|
|
74
|
-
"build": "modern build",
|
|
73
|
+
"new": "modern-lib new",
|
|
74
|
+
"build": "modern-lib build",
|
|
75
75
|
"test": "jest --passWithNoTests"
|
|
76
76
|
}
|
|
77
77
|
}
|