@modern-js/types 1.0.1 → 1.1.3-rc.0

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,12 +1,42 @@
1
1
  # @modern-js/types
2
2
 
3
- ## 1.0.1
3
+ ## 1.1.3-rc.0
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - release 1.0.1
8
- - Updated dependencies [undefined]
9
- - @modern-js/plugin@1.0.1
7
+ - d73ff455: support multi process product
8
+ - d73ff455: support multi process product
9
+ - d73ff455: support multi process product
10
+ - d73ff455: support multi process product
11
+ - d73ff455: support multi process product
12
+ - @modern-js/plugin@1.1.2
13
+
14
+ ## 1.1.2
15
+
16
+ ### Patch Changes
17
+
18
+ - 0fa83663: support more .env files
19
+ - Updated dependencies [0fa83663]
20
+ - @modern-js/plugin@1.1.2
21
+
22
+ ## 1.1.1
23
+
24
+ ### Patch Changes
25
+
26
+ - c0fc0700: feat: support deploy plugin
27
+ - Updated dependencies [6ffd1a50]
28
+ - @modern-js/plugin@1.1.1
29
+
30
+ ## 1.1.0
31
+
32
+ ### Minor Changes
33
+
34
+ - 96119db2: Relese v1.1.0
35
+
36
+ ### Patch Changes
37
+
38
+ - Updated dependencies [96119db2]
39
+ - @modern-js/plugin@1.1.0
10
40
 
11
41
  ## 1.0.0
12
42
 
package/cli/index.d.ts CHANGED
@@ -69,7 +69,9 @@ export interface IAppContext {
69
69
  internalDirectory: string;
70
70
  plugins: {
71
71
  cli?: any;
72
+ cliPath?: any;
72
73
  server?: any;
74
+ serverPath?: any;
73
75
  }[];
74
76
  entrypoints: Entrypoint[];
75
77
  serverRoutes: ServerRoute[];
@@ -102,6 +104,8 @@ export interface Hooks {
102
104
  unknown
103
105
  >;
104
106
  afterBuild: AsyncWorkflow<void, unknown>;
107
+ beforeDeploy: AsyncWorkflow<Record<string, any>, unknown>;
108
+ afterDeploy: AsyncWorkflow<Record<string, any>, unknown>;
105
109
  modifyEntryExport: AsyncWaterfall<{
106
110
  entrypoint: Entrypoint;
107
111
  exportStatement: string;
package/package.json CHANGED
@@ -11,11 +11,11 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.0.1",
14
+ "version": "1.1.3-rc.0",
15
15
  "main": "",
16
16
  "types": "./index.d.ts",
17
17
  "dependencies": {
18
- "@modern-js/plugin": "^1.0.1",
18
+ "@modern-js/plugin": "^1.1.2",
19
19
  "webpack": "^5.54.0"
20
20
  },
21
21
  "exports": {
@@ -27,12 +27,13 @@
27
27
  "@types/node": "^14",
28
28
  "@types/react": "^17",
29
29
  "@types/react-dom": "^17",
30
- "@modern-js/plugin-testing": "^1.0.2",
31
- "@modern-js/module-tools": "^1.0.2"
30
+ "@modern-js/plugin-testing": "^1.1.1",
31
+ "@modern-js/module-tools": "^1.1.1"
32
32
  },
33
33
  "sideEffects": false,
34
34
  "publishConfig": {
35
35
  "registry": "https://registry.npmjs.org/",
36
36
  "access": "public"
37
- }
37
+ },
38
+ "readme": "\n<p align=\"center\">\n <a href=\"https://modernjs.dev\" target=\"blank\"><img src=\"https://lf3-static.bytednsdoc.com/obj/eden-cn/ylaelkeh7nuhfnuhf/modernjs-cover.png\" width=\"300\" alt=\"Modern.js Logo\" /></a>\n</p>\n<p align=\"center\">\n现代 Web 工程体系\n <br/>\n <a href=\"https://modernjs.dev\" target=\"blank\">\n modernjs.dev\n </a>\n</p>\n<p align=\"center\">\n The meta-framework suite designed from scratch for frontend-focused modern web development\n</p>\n\n# Introduction\n\n> The doc site ([modernjs.dev](https://modernjs.dev)) and articles are only available in Chinese for now, we are planning to add English versions soon.\n\n- [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)\n\n## Getting Started\n\n- [Quick Start](https://modernjs.dev/docs/start)\n- [Guides](https://modernjs.dev/docs/guides)\n- [API References](https://modernjs.dev/docs/apis)\n\n## Contributing\n\n- [Contributing Guide](https://github.com/modern-js-dev/modern.js/blob/main/CONTRIBUTING.md)\n"
38
39
  }