@modern-js/plugin-worker 2.39.1 → 2.40.0

Sign up to get free protection for your applications and to get access to all the features.
package/dist/cjs/index.js CHANGED
@@ -47,18 +47,6 @@ const workerPlugin = () => ({
47
47
  }
48
48
  };
49
49
  },
50
- validateSchema() {
51
- return [
52
- {
53
- target: "deploy.worker.ssr",
54
- schema: {
55
- type: [
56
- "boolean"
57
- ]
58
- }
59
- }
60
- ];
61
- },
62
50
  async afterDev() {
63
51
  var _configContext_deploy_worker;
64
52
  const { appDirectory, distDirectory } = ctx.useAppContext();
package/dist/esm/index.js CHANGED
@@ -13,18 +13,6 @@ const workerPlugin = () => ({
13
13
  }
14
14
  };
15
15
  },
16
- validateSchema() {
17
- return [
18
- {
19
- target: "deploy.worker.ssr",
20
- schema: {
21
- type: [
22
- "boolean"
23
- ]
24
- }
25
- }
26
- ];
27
- },
28
16
  async afterDev() {
29
17
  var _configContext_deploy_worker;
30
18
  const { appDirectory, distDirectory } = ctx.useAppContext();
package/package.json CHANGED
@@ -15,7 +15,7 @@
15
15
  "modern",
16
16
  "modern.js"
17
17
  ],
18
- "version": "2.39.1",
18
+ "version": "2.40.0",
19
19
  "types": "./dist/types/index.d.ts",
20
20
  "jsnext:source": "./src/index.ts",
21
21
  "main": "./dist/cjs/index.js",
@@ -43,20 +43,20 @@
43
43
  },
44
44
  "dependencies": {
45
45
  "@swc/helpers": "0.5.1",
46
- "@modern-js/utils": "2.39.1",
47
- "@modern-js/server-utils": "2.39.1",
48
- "@modern-js/prod-server": "2.39.1"
46
+ "@modern-js/server-utils": "2.40.0",
47
+ "@modern-js/utils": "2.40.0",
48
+ "@modern-js/prod-server": "2.40.0"
49
49
  },
50
50
  "devDependencies": {
51
51
  "typescript": "^5",
52
52
  "@types/jest": "^29",
53
53
  "@types/node": "^14",
54
54
  "jest": "^29",
55
- "@modern-js/app-tools": "2.39.1",
56
- "@modern-js/core": "2.39.1",
57
- "@scripts/build": "2.39.1",
58
- "@modern-js/types": "2.39.1",
59
- "@scripts/jest-config": "2.39.1"
55
+ "@modern-js/app-tools": "2.40.0",
56
+ "@modern-js/core": "2.40.0",
57
+ "@scripts/build": "2.40.0",
58
+ "@modern-js/types": "2.40.0",
59
+ "@scripts/jest-config": "2.40.0"
60
60
  },
61
61
  "sideEffects": [
62
62
  "*.css",