@modern-js/types 1.3.3 → 1.3.4

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
  # @modern-js/types
2
2
 
3
+ ## 1.3.4
4
+
5
+ ### Patch Changes
6
+
7
+ - 4499a674: feat: support to pass options to plugins
8
+ - e37ea5b2: feat: add afterMonorepoDeploy hook
9
+
3
10
  ## 1.3.3
4
11
 
5
12
  ### Patch Changes
package/cli/index.d.ts CHANGED
@@ -57,9 +57,9 @@ export interface IAppContext {
57
57
  internalDirectory: string;
58
58
  plugins: {
59
59
  cli?: any;
60
- cliPath?: any;
60
+ cliPkg?: any;
61
61
  server?: any;
62
- serverPath?: any;
62
+ serverPkg?: any;
63
63
  }[];
64
64
  entrypoints: Entrypoint[];
65
65
  checkedEntries: string[];
@@ -96,6 +96,10 @@ export interface Hooks {
96
96
  unknown
97
97
  >;
98
98
  afterBuild: AsyncWorkflow<void, unknown>;
99
+ afterMonorepoDeploy: AsyncWorkflow<
100
+ { operator: any; deployProjectNames: string[] },
101
+ void
102
+ >;
99
103
  beforeDeploy: AsyncWorkflow<Record<string, any>, unknown>;
100
104
  afterDeploy: AsyncWorkflow<Record<string, any>, unknown>;
101
105
  modifyEntryExport: AsyncWaterfall<{
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.3.3",
14
+ "version": "1.3.4",
15
15
  "types": "./index.d.ts",
16
16
  "dependencies": {
17
17
  "@modern-js/plugin": "^1.2.1",