@modern-js/types 1.1.0 → 1.1.3

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,85 +1,36 @@
1
1
  # @modern-js/types
2
2
 
3
- ## 1.1.0
4
-
5
- ### Minor Changes
6
-
7
- - 96119db2: Relese v1.1.0
8
-
9
- 1. 全面支持 Windows 平台
10
-
11
- ISSUE:
12
-
13
- - [182](https://github.com/modern-js-dev/modern.js/issues/182)
14
- - [236](https://github.com/modern-js-dev/modern.js/issues/236)
15
-
16
- PR
17
-
18
- - [219](https://github.com/modern-js-dev/modern.js/pull/219)
19
- - [247](https://github.com/modern-js-dev/modern.js/pull/247)
20
- - [249](https://github.com/modern-js-dev/modern.js/pull/249)
21
- - [253](https://github.com/modern-js-dev/modern.js/pull/253)
22
- - [268](https://github.com/modern-js-dev/modern.js/pull/268)
23
- - [270](https://github.com/modern-js-dev/modern.js/pull/270)
24
- - [273](https://github.com/modern-js-dev/modern.js/pull/273)
25
- - [276](https://github.com/modern-js-dev/modern.js/pull/276)
26
-
27
- 2. 修复 Unbundled 模式启用问题
28
-
29
- ISSUE
30
-
31
- - [186](https://github.com/modern-js-dev/modern.js/issues/186)
32
- - [224](https://github.com/modern-js-dev/modern.js/issues/224)
33
- - [225](https://github.com/modern-js-dev/modern.js/issues/225)
34
- - [238](https://github.com/modern-js-dev/modern.js/issues/238)
35
-
36
- PR
37
-
38
- - [226](https://github.com/modern-js-dev/modern.js/pull/226)
39
- - [264](https://github.com/modern-js-dev/modern.js/pull/264)
40
- - [codesmith-12](https://github.com/modern-js-dev/codesmith/pull/12)
3
+ ## 1.1.3
41
4
 
42
- 3. 修复模块工程方案 .npmignore 文件初始化未生成
43
-
44
- ISSUE
45
-
46
- - [198](https://github.com/modern-js-dev/modern.js/issues/198)
47
-
48
- PR
49
-
50
- - [209](https://github.com/modern-js-dev/modern.js/pull/209)
51
-
52
- 4. 修复 Storybook 使用时浏览器打开页面报错
53
-
54
- ISSUE
55
-
56
- - [228](https://github.com/modern-js-dev/modern.js/issues/228)
57
-
58
- PR
59
-
60
- - [254](https://github.com/modern-js-dev/modern.js/pull/254)
5
+ ### Patch Changes
61
6
 
62
- 5. 修复 BFF 一体化开发不支持 unbundle 模式
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
63
12
 
64
- ISSUE
13
+ ## 1.1.2
65
14
 
66
- - [235](https://github.com/modern-js-dev/modern.js/issues/235)
67
- - [257](https://github.com/modern-js-dev/modern.js/issues/257)
15
+ ### Patch Changes
68
16
 
69
- PR
17
+ - 0fa83663: support more .env files
18
+ - Updated dependencies [0fa83663]
19
+ - @modern-js/plugin@1.1.2
70
20
 
71
- - [269](https://github.com/modern-js-dev/modern.js/pull/269)
72
- - [271](https://github.com/modern-js-dev/modern.js/pull/271)
21
+ ## 1.1.1
73
22
 
74
- 6. 修复 Node17 dev 命令报错问题
23
+ ### Patch Changes
75
24
 
76
- ISSUE
25
+ - c0fc0700: feat: support deploy plugin
26
+ - Updated dependencies [6ffd1a50]
27
+ - @modern-js/plugin@1.1.1
77
28
 
78
- - [180](https://github.com/modern-js-dev/modern.js/issues/180)
29
+ ## 1.1.0
79
30
 
80
- PR
31
+ ### Minor Changes
81
32
 
82
- - [214](https://github.com/modern-js-dev/modern.js/pull/214)
33
+ - 96119db2: Relese v1.1.0
83
34
 
84
35
  ### Patch Changes
85
36
 
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.1.0",
14
+ "version": "1.1.3",
15
15
  "main": "",
16
16
  "types": "./index.d.ts",
17
17
  "dependencies": {
18
- "@modern-js/plugin": "^1.1.0",
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
  }