@modern-js/plugin-server-build 0.0.0-windows-2021101123127 → 0.0.0-windows-20211056953

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,15 +1,15 @@
1
1
  # @modern-js/plugin-server-build
2
2
 
3
- ## 0.0.0-windows-2021101123127
3
+ ## 0.0.0-windows-20211056953
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - test windows
8
8
  - Updated dependencies [undefined]
9
- - @modern-js/core@0.0.0-windows-2021101123127
10
- - @modern-js/utils@0.0.0-windows-2021101123127
11
- - @modern-js/server-utils@0.0.0-windows-2021101123127
12
- - @modern-js/babel-compiler@0.0.0-windows-2021101123127
9
+ - @modern-js/core@0.0.0-windows-20211056953
10
+ - @modern-js/server-utils@0.0.0-windows-20211056953
11
+ - @modern-js/babel-compiler@0.0.0-windows-20211056953
12
+ - @modern-js/utils@0.0.0-windows-20211056953
13
13
 
14
14
  ## 1.0.0
15
15
 
@@ -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": "0.0.0-windows-2021101123127",
14
+ "version": "0.0.0-windows-20211056953",
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": "^0.0.0-windows-2021101123127",
32
- "@modern-js/server-utils": "^0.0.0-windows-2021101123127",
33
- "@modern-js/utils": "^0.0.0-windows-2021101123127",
31
+ "@modern-js/babel-compiler": "^0.0.0-windows-20211056953",
32
+ "@modern-js/server-utils": "^0.0.0-windows-20211056953",
33
+ "@modern-js/utils": "^0.0.0-windows-20211056953",
34
34
  "globby": "^12.0.2",
35
35
  "json5": "^2.2.0"
36
36
  },
37
37
  "devDependencies": {
38
- "@modern-js/plugin-analyze": "^0.0.0-windows-2021101123127",
38
+ "@modern-js/plugin-analyze": "^0.0.0-windows-20211056953",
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": "^0.0.0-windows-2021101123127",
45
- "@modern-js/plugin-testing": "^0.0.0-windows-2021101123127",
46
- "@modern-js/module-tools": "^0.0.0-windows-2021101123127"
44
+ "@modern-js/core": "^0.0.0-windows-20211056953",
45
+ "@modern-js/plugin-testing": "^0.0.0-windows-20211056953",
46
+ "@modern-js/module-tools": "^0.0.0-windows-20211056953"
47
47
  },
48
48
  "peerDependencies": {
49
- "@modern-js/core": "^0.0.0-windows-2021101123127"
49
+ "@modern-js/core": "^0.0.0-windows-20211056953"
50
50
  },
51
51
  "sideEffects": false,
52
52
  "modernConfig": {
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,