@modern-js/plugin-server 1.1.10 → 1.1.11
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 +9 -0
- package/dist/js/treeshaking/cli.js +5 -5
- package/package.json +9 -8
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
+
import _regeneratorRuntime from "@babel/runtime/helpers/esm/regeneratorRuntime";
|
1
2
|
import _asyncToGenerator from "@babel/runtime/helpers/esm/asyncToGenerator";
|
2
|
-
import _regeneratorRuntime from "@babel/runtime/regenerator";
|
3
3
|
import fs from 'fs';
|
4
4
|
import path from 'path';
|
5
5
|
import { compiler } from '@modern-js/babel-compiler';
|
@@ -9,9 +9,9 @@ var TS_CONFIG_FILENAME = 'tsconfig.json';
|
|
9
9
|
var FILE_EXTENSIONS = ['.js', '.ts', '.mjs', '.ejs'];
|
10
10
|
|
11
11
|
var compile = /*#__PURE__*/function () {
|
12
|
-
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee(appDirectory, modernConfig, compileOptions) {
|
12
|
+
var _ref = _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee(appDirectory, modernConfig, compileOptions) {
|
13
13
|
var patterns, results;
|
14
|
-
return _regeneratorRuntime.wrap(function _callee$(_context) {
|
14
|
+
return _regeneratorRuntime().wrap(function _callee$(_context) {
|
15
15
|
while (1) {
|
16
16
|
switch (_context.prev = _context.next) {
|
17
17
|
case 0:
|
@@ -64,10 +64,10 @@ export default (function () {
|
|
64
64
|
return {};
|
65
65
|
},
|
66
66
|
afterBuild: function afterBuild() {
|
67
|
-
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
|
67
|
+
return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee2() {
|
68
68
|
var _api$useAppContext, appDirectory, distDirectory, modernConfig, distDir, serverDir, sharedDir, tsconfigPath, patterns;
|
69
69
|
|
70
|
-
return _regeneratorRuntime.wrap(function _callee2$(_context2) {
|
70
|
+
return _regeneratorRuntime().wrap(function _callee2$(_context2) {
|
71
71
|
while (1) {
|
72
72
|
switch (_context2.prev = _context2.next) {
|
73
73
|
case 0:
|
package/package.json
CHANGED
@@ -11,7 +11,7 @@
|
|
11
11
|
"modern",
|
12
12
|
"modern.js"
|
13
13
|
],
|
14
|
-
"version": "1.1.
|
14
|
+
"version": "1.1.11",
|
15
15
|
"types": "./dist/types/server.d.ts",
|
16
16
|
"jsnext:source": "./src/server.ts",
|
17
17
|
"main": "./dist/js/node/server.js",
|
@@ -47,16 +47,16 @@
|
|
47
47
|
}
|
48
48
|
},
|
49
49
|
"dependencies": {
|
50
|
-
"@babel/runtime": "^7",
|
51
|
-
"@modern-js/babel-compiler": "^1.2.
|
52
|
-
"@modern-js/server-utils": "^1.2.
|
53
|
-
"@modern-js/utils": "^1.7.
|
50
|
+
"@babel/runtime": "^7.18.0",
|
51
|
+
"@modern-js/babel-compiler": "^1.2.6",
|
52
|
+
"@modern-js/server-utils": "^1.2.10",
|
53
|
+
"@modern-js/utils": "^1.7.6"
|
54
54
|
},
|
55
55
|
"devDependencies": {
|
56
56
|
"@modern-js/server-core": "1.3.5",
|
57
|
-
"@modern-js/core": "1.
|
57
|
+
"@modern-js/core": "1.11.2",
|
58
58
|
"@scripts/build": "0.0.0",
|
59
|
-
"@modern-js/types": "1.5.
|
59
|
+
"@modern-js/types": "1.5.4",
|
60
60
|
"typescript": "^4",
|
61
61
|
"@types/jest": "^27",
|
62
62
|
"@types/node": "^14",
|
@@ -90,7 +90,8 @@
|
|
90
90
|
"files": [
|
91
91
|
"src/**/*",
|
92
92
|
"tsconfig.json",
|
93
|
-
"package.json"
|
93
|
+
"package.json",
|
94
|
+
"tests/**/*"
|
94
95
|
],
|
95
96
|
"output": []
|
96
97
|
}
|