@modern-js/plugin-worker 0.0.0-next-1686673235002 → 0.0.0-next-1686710299692
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 +8 -13
- package/dist/cjs/index.js +1 -10
- package/dist/esm/index.js +2 -11
- package/package.json +9 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,24 +1,19 @@
|
|
|
1
1
|
# @modern-js/plugin-worker
|
|
2
2
|
|
|
3
|
-
## 0.0.0-next-
|
|
3
|
+
## 0.0.0-next-1686710299692
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- 7e6fb5fc16: chore: publishConfig add provenance config
|
|
8
8
|
|
|
9
9
|
chore: publishConfig 增加 provenance 配置
|
|
10
10
|
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
-
|
|
16
|
-
-
|
|
17
|
-
- Updated dependencies [6dec7c2a1]
|
|
18
|
-
- Updated dependencies [c3216b5e0]
|
|
19
|
-
- @modern-js/prod-server@0.0.0-next-1686673235002
|
|
20
|
-
- @modern-js/utils@0.0.0-next-1686673235002
|
|
21
|
-
- @modern-js/server-utils@0.0.0-next-1686673235002
|
|
11
|
+
- Updated dependencies [7e6fb5fc16]
|
|
12
|
+
- Updated dependencies [a7a7ad7797]
|
|
13
|
+
- Updated dependencies [6dec7c2a1e]
|
|
14
|
+
- @modern-js/prod-server@0.0.0-next-1686710299692
|
|
15
|
+
- @modern-js/utils@0.0.0-next-1686710299692
|
|
16
|
+
- @modern-js/server-utils@0.0.0-next-1686710299692
|
|
22
17
|
|
|
23
18
|
## 2.22.1
|
|
24
19
|
|
package/dist/cjs/index.js
CHANGED
|
@@ -26,16 +26,7 @@ const _default = () => {
|
|
|
26
26
|
};
|
|
27
27
|
},
|
|
28
28
|
validateSchema() {
|
|
29
|
-
return [
|
|
30
|
-
{
|
|
31
|
-
target: "deploy.worker.ssr",
|
|
32
|
-
schema: {
|
|
33
|
-
type: [
|
|
34
|
-
"boolean"
|
|
35
|
-
]
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
];
|
|
29
|
+
return _utils.PLUGIN_SCHEMAS["@modern-js/plugin-worker"];
|
|
39
30
|
},
|
|
40
31
|
async afterDev() {
|
|
41
32
|
var _configContext_deploy_worker;
|
package/dist/esm/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import path from "path";
|
|
2
|
-
import { fs, isServiceWorker, ROUTE_SPEC_FILE, SERVER_DIR } from "@modern-js/utils";
|
|
2
|
+
import { fs, isServiceWorker, PLUGIN_SCHEMAS, ROUTE_SPEC_FILE, SERVER_DIR } from "@modern-js/utils";
|
|
3
3
|
import { MANIFEST_FILE, PKG_FILE, SERVER_HOOKS, WEB_APP_NAME, WORKER_SERVER, WORKER_SERVER_ENTRY, WRANGLER_FILE } from "./constants";
|
|
4
4
|
import { worker } from "./code";
|
|
5
5
|
export default () => {
|
|
@@ -15,16 +15,7 @@ export default () => {
|
|
|
15
15
|
};
|
|
16
16
|
},
|
|
17
17
|
validateSchema() {
|
|
18
|
-
return [
|
|
19
|
-
{
|
|
20
|
-
target: "deploy.worker.ssr",
|
|
21
|
-
schema: {
|
|
22
|
-
type: [
|
|
23
|
-
"boolean"
|
|
24
|
-
]
|
|
25
|
-
}
|
|
26
|
-
}
|
|
27
|
-
];
|
|
18
|
+
return PLUGIN_SCHEMAS["@modern-js/plugin-worker"];
|
|
28
19
|
},
|
|
29
20
|
async afterDev() {
|
|
30
21
|
var _configContext_deploy_worker;
|
package/package.json
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"modern",
|
|
16
16
|
"modern.js"
|
|
17
17
|
],
|
|
18
|
-
"version": "0.0.0-next-
|
|
18
|
+
"version": "0.0.0-next-1686710299692",
|
|
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/server-utils": "0.0.0-next-
|
|
47
|
-
"@modern-js/utils": "0.0.0-next-
|
|
48
|
-
"@modern-js/prod-server": "0.0.0-next-
|
|
46
|
+
"@modern-js/server-utils": "0.0.0-next-1686710299692",
|
|
47
|
+
"@modern-js/utils": "0.0.0-next-1686710299692",
|
|
48
|
+
"@modern-js/prod-server": "0.0.0-next-1686710299692"
|
|
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": "0.0.0-next-
|
|
56
|
-
"@
|
|
57
|
-
"@
|
|
58
|
-
"@
|
|
59
|
-
"@
|
|
55
|
+
"@modern-js/app-tools": "0.0.0-next-1686710299692",
|
|
56
|
+
"@modern-js/core": "0.0.0-next-1686710299692",
|
|
57
|
+
"@scripts/build": "0.0.0-next-1686710299692",
|
|
58
|
+
"@modern-js/types": "0.0.0-next-1686710299692",
|
|
59
|
+
"@scripts/jest-config": "0.0.0-next-1686710299692"
|
|
60
60
|
},
|
|
61
61
|
"sideEffects": [
|
|
62
62
|
"*.css",
|