@modern-js/plugin-server 2.17.1 → 2.18.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,12 @@
1
1
  # @modern-js/plugin-server
2
2
 
3
+ ## 2.18.0
4
+
5
+ ### Patch Changes
6
+
7
+ - @modern-js/server-utils@2.18.0
8
+ - @modern-js/utils@2.18.0
9
+
3
10
  ## 2.17.1
4
11
 
5
12
  ### Patch Changes
package/dist/esm/cli.js CHANGED
@@ -172,13 +172,13 @@ export default function() {
172
172
  return [
173
173
  4,
174
174
  compile(appDirectory, {
175
- server,
176
- alias,
175
+ server: server,
176
+ alias: alias,
177
177
  babelConfig: babel
178
178
  }, {
179
- sourceDirs,
180
- distDir,
181
- tsconfigPath
179
+ sourceDirs: sourceDirs,
180
+ distDir: distDir,
181
+ tsconfigPath: tsconfigPath
182
182
  })
183
183
  ];
184
184
  case 1:
@@ -198,7 +198,7 @@ export default function() {
198
198
  "@modern-js/plugin-server": "@modern-js/plugin-server/server"
199
199
  });
200
200
  return {
201
- plugins
201
+ plugins: plugins
202
202
  };
203
203
  }
204
204
  };
@@ -23,7 +23,7 @@ function _create_class(Constructor, protoProps, staticProps) {
23
23
  function _define_property(obj, key, value) {
24
24
  if (key in obj) {
25
25
  Object.defineProperty(obj, key, {
26
- value,
26
+ value: value,
27
27
  enumerable: true,
28
28
  configurable: true,
29
29
  writable: true
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.17.1",
18
+ "version": "2.18.0",
19
19
  "types": "./dist/types/cli.d.ts",
20
20
  "jsnext:source": "./src/cli",
21
21
  "main": "./dist/cjs/cli.js",
@@ -51,20 +51,20 @@
51
51
  },
52
52
  "dependencies": {
53
53
  "@babel/runtime": "^7.18.0",
54
- "@modern-js/server-utils": "2.17.1",
55
- "@modern-js/utils": "2.17.1"
54
+ "@modern-js/server-utils": "2.18.0",
55
+ "@modern-js/utils": "2.18.0"
56
56
  },
57
57
  "devDependencies": {
58
58
  "typescript": "^4",
59
59
  "@types/jest": "^29",
60
60
  "@types/node": "^14",
61
61
  "jest": "^29",
62
- "@modern-js/server-core": "2.17.1",
63
- "@modern-js/app-tools": "2.17.1",
64
- "@modern-js/core": "2.17.1",
65
- "@scripts/build": "2.17.1",
66
- "@modern-js/types": "2.17.1",
67
- "@scripts/jest-config": "2.17.1"
62
+ "@modern-js/server-core": "2.18.0",
63
+ "@modern-js/app-tools": "2.18.0",
64
+ "@modern-js/core": "2.18.0",
65
+ "@scripts/build": "2.18.0",
66
+ "@modern-js/types": "2.18.0",
67
+ "@scripts/jest-config": "2.18.0"
68
68
  },
69
69
  "sideEffects": [
70
70
  "*.css",