hot-updater 0.12.4 → 0.12.5
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/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -79527,8 +79527,8 @@ export default HotUpdater.wrap({
|
|
|
79527
79527
|
cwd
|
|
79528
79528
|
]
|
|
79529
79529
|
});
|
|
79530
|
-
const
|
|
79531
|
-
const { tmpDir, removeTmpDir } = await (0, plugin_core_namespaceObject.copyDirToTmp)(
|
|
79530
|
+
const wranglerTemplateDir = external_path_default().dirname(workerPath);
|
|
79531
|
+
const { tmpDir, removeTmpDir } = await (0, plugin_core_namespaceObject.copyDirToTmp)(wranglerTemplateDir);
|
|
79532
79532
|
try {
|
|
79533
79533
|
const { createWrangler } = await Promise.resolve().then(__webpack_require__.bind(__webpack_require__, "@hot-updater/cloudflare/utils"));
|
|
79534
79534
|
const wranglerConfig = JSON.parse(await promises_default().readFile(external_path_default().join(tmpDir, "wrangler.json"), "utf-8"));
|
package/dist/index.js
CHANGED
|
@@ -79185,8 +79185,8 @@ const deployWorker = async (oauth_token, accountId, { d1DatabaseId, d1DatabaseNa
|
|
|
79185
79185
|
cwd
|
|
79186
79186
|
]
|
|
79187
79187
|
});
|
|
79188
|
-
const
|
|
79189
|
-
const { tmpDir, removeTmpDir } = await (0, __WEBPACK_EXTERNAL_MODULE__hot_updater_plugin_core_40c1c502__.copyDirToTmp)(
|
|
79188
|
+
const wranglerTemplateDir = external_path_["default"].dirname(workerPath);
|
|
79189
|
+
const { tmpDir, removeTmpDir } = await (0, __WEBPACK_EXTERNAL_MODULE__hot_updater_plugin_core_40c1c502__.copyDirToTmp)(wranglerTemplateDir);
|
|
79190
79190
|
try {
|
|
79191
79191
|
const { createWrangler } = await import("@hot-updater/cloudflare/utils");
|
|
79192
79192
|
const wranglerConfig = JSON.parse(await __WEBPACK_EXTERNAL_MODULE_fs_promises_400951f8__["default"].readFile(external_path_["default"].join(tmpDir, "wrangler.json"), "utf-8"));
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hot-updater",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.12.
|
|
4
|
+
"version": "0.12.5",
|
|
5
5
|
"bin": {
|
|
6
6
|
"hot-updater": "./dist/index.js"
|
|
7
7
|
},
|
|
@@ -49,9 +49,9 @@
|
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"@clack/prompts": "^0.9.0",
|
|
52
|
-
"@hot-updater/console": "0.12.
|
|
53
|
-
"@hot-updater/core": "0.12.
|
|
54
|
-
"@hot-updater/plugin-core": "0.12.
|
|
52
|
+
"@hot-updater/console": "0.12.5",
|
|
53
|
+
"@hot-updater/core": "0.12.5",
|
|
54
|
+
"@hot-updater/plugin-core": "0.12.5",
|
|
55
55
|
"commander": "^11.1.0",
|
|
56
56
|
"cosmiconfig": "^9.0.0",
|
|
57
57
|
"cosmiconfig-typescript-loader": "^5.0.0"
|