@modern-js/plugin-server-build 1.0.0 → 1.1.2-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,5 +1,49 @@
1
1
  # @modern-js/plugin-server-build
2
2
 
3
+ ## 1.1.2-rc.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [d927bc83]
8
+ - Updated dependencies [d73ff455]
9
+ - Updated dependencies [9c1ab865]
10
+ - Updated dependencies [d73ff455]
11
+ - Updated dependencies [d73ff455]
12
+ - Updated dependencies [d73ff455]
13
+ - Updated dependencies [d73ff455]
14
+ - @modern-js/utils@1.1.4-rc.0
15
+ - @modern-js/core@1.1.4-rc.0
16
+ - @modern-js/server-utils@1.1.3-rc.0
17
+ - @modern-js/babel-compiler@1.1.3-rc.0
18
+
19
+ ## 1.1.1
20
+
21
+ ### Patch Changes
22
+
23
+ - 0fa83663: support more .env files
24
+ - Updated dependencies [6f7fe574]
25
+ - Updated dependencies [b011e0c5]
26
+ - Updated dependencies [0fa83663]
27
+ - Updated dependencies [f594fbc8]
28
+ - @modern-js/core@1.1.2
29
+ - @modern-js/server-utils@1.1.1
30
+ - @modern-js/babel-compiler@1.1.2
31
+ - @modern-js/utils@1.1.2
32
+
33
+ ## 1.1.0
34
+
35
+ ### Minor Changes
36
+
37
+ - 96119db2: Relese v1.1.0
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [96119db2]
42
+ - @modern-js/core@1.1.0
43
+ - @modern-js/server-utils@1.1.0
44
+ - @modern-js/babel-compiler@1.1.0
45
+ - @modern-js/utils@1.1.0
46
+
3
47
  ## 1.0.0
4
48
 
5
49
  ### Patch Changes
package/README.md CHANGED
@@ -17,10 +17,7 @@
17
17
 
18
18
  > 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.
19
19
 
20
- - 介绍 Modern.js (即将上线)
21
- - [迈入现代 Web 开发](https://zhuanlan.zhihu.com/p/386607009)
22
- - [现代 Web 开发者问卷调查报告](https://zhuanlan.zhihu.com/p/403206195)
23
- - [字节跳动是如何落地微前端的](https://mp.weixin.qq.com/s/L9wbfNG5fTXF5bx7dcgj4Q)
20
+ - [Modern.js: Hello, World!](https://zhuanlan.zhihu.com/p/426707646)
24
21
 
25
22
  ## Getting Started
26
23
 
@@ -1,5 +1,5 @@
1
1
  import fs from 'fs';
2
- import { path } from '@modern-js/utils';
2
+ import path from 'path';
3
3
  import { createPlugin, useAppContext, useResolvedConfigContext } from '@modern-js/core';
4
4
  import { compiler } from '@modern-js/babel-compiler';
5
5
  import { resolveBabelConfig } from '@modern-js/server-utils';
@@ -7,7 +7,7 @@ exports.default = void 0;
7
7
 
8
8
  var _fs = _interopRequireDefault(require("fs"));
9
9
 
10
- var _utils = require("@modern-js/utils");
10
+ var _path = _interopRequireDefault(require("path"));
11
11
 
12
12
  var _core = require("@modern-js/core");
13
13
 
@@ -65,13 +65,13 @@ var _default = (0, _core.createPlugin)(() => ({
65
65
 
66
66
  const modernConfig = (0, _core.useResolvedConfigContext)();
67
67
 
68
- const distDir = _utils.path.resolve(distDirectory);
68
+ const distDir = _path.default.resolve(distDirectory);
69
69
 
70
- const serverDir = _utils.path.resolve(appDirectory, SERVER_DIR);
70
+ const serverDir = _path.default.resolve(appDirectory, SERVER_DIR);
71
71
 
72
- const sharedDir = _utils.path.resolve(appDirectory, SHARED_DIR);
72
+ const sharedDir = _path.default.resolve(appDirectory, SHARED_DIR);
73
73
 
74
- const tsconfigPath = _utils.path.resolve(appDirectory, TS_CONFIG_FILENAME);
74
+ const tsconfigPath = _path.default.resolve(appDirectory, TS_CONFIG_FILENAME);
75
75
 
76
76
  const patterns = [];
77
77
 
package/package.json CHANGED
@@ -11,7 +11,7 @@
11
11
  "modern",
12
12
  "modern.js"
13
13
  ],
14
- "version": "1.0.0",
14
+ "version": "1.1.2-rc.0",
15
15
  "jsnext:source": "./src/index.ts",
16
16
  "types": "./dist/types/index.d.ts",
17
17
  "main": "./dist/js/node/index.js",
@@ -28,25 +28,25 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@babel/runtime": "^7",
31
- "@modern-js/babel-compiler": "^1.0.0",
32
- "@modern-js/server-utils": "^1.0.0",
33
- "@modern-js/utils": "^1.0.0",
31
+ "@modern-js/babel-compiler": "^1.1.3-rc.0",
32
+ "@modern-js/server-utils": "^1.1.3-rc.0",
33
+ "@modern-js/utils": "^1.1.4-rc.0",
34
34
  "globby": "^12.0.2",
35
35
  "json5": "^2.2.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@modern-js/plugin-analyze": "^1.0.0",
38
+ "@modern-js/plugin-analyze": "^1.1.2-rc.0",
39
39
  "@types/babel__core": "^7.1.15",
40
40
  "@types/jest": "^26",
41
41
  "@types/node": "^14",
42
42
  "ts-jest": "^27.0.5",
43
43
  "typescript": "^4",
44
- "@modern-js/core": "^1.0.0",
45
- "@modern-js/plugin-testing": "^1.0.0",
46
- "@modern-js/module-tools": "^1.0.0"
44
+ "@modern-js/core": "^1.1.4-rc.0",
45
+ "@modern-js/plugin-testing": "^1.1.1",
46
+ "@modern-js/module-tools": "^1.1.1"
47
47
  },
48
48
  "peerDependencies": {
49
- "@modern-js/core": "^1.0.0"
49
+ "@modern-js/core": "^1.1.4-rc.0"
50
50
  },
51
51
  "sideEffects": false,
52
52
  "modernConfig": {
@@ -63,5 +63,6 @@
63
63
  "build": "modern build",
64
64
  "dev": "modern build --watch",
65
65
  "test": "modern test --passWithNoTests"
66
- }
66
+ },
67
+ "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"
67
68
  }
package/src/index.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import fs from 'fs';
2
- import { path } from '@modern-js/utils';
2
+ import path from 'path';
3
3
  import {
4
4
  createPlugin,
5
5
  useAppContext,