hot-updater 0.10.0 → 0.10.2
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 +4 -3
- package/dist/index.js +4 -3
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -22495,7 +22495,7 @@ import { defineConfig } from "hot-updater";
|
|
|
22495
22495
|
import "dotenv/config";
|
|
22496
22496
|
|
|
22497
22497
|
export default defineConfig({
|
|
22498
|
-
build: metro(),
|
|
22498
|
+
build: metro({ enableHermes: true }),
|
|
22499
22499
|
storage: r2Storage({
|
|
22500
22500
|
bucketName: process.env.HOT_UPDATER_CLOUDFLARE_R2_BUCKET_NAME!,
|
|
22501
22501
|
accountId: process.env.HOT_UPDATER_CLOUDFLARE_ACCOUNT_ID!,
|
|
@@ -22519,9 +22519,10 @@ export default HotUpdater.wrap({
|
|
|
22519
22519
|
source: "%%source%%",
|
|
22520
22520
|
})(App);`;
|
|
22521
22521
|
const deployWorker = async (oauth_token, accountId, { d1DatabaseId, d1DatabaseName })=>{
|
|
22522
|
+
const cwd = (0, plugin_core_namespaceObject.getCwd)();
|
|
22522
22523
|
const workerPath = require.resolve("@hot-updater/cloudflare/worker", {
|
|
22523
22524
|
paths: [
|
|
22524
|
-
|
|
22525
|
+
cwd
|
|
22525
22526
|
]
|
|
22526
22527
|
});
|
|
22527
22528
|
const workerDir = external_path_default().dirname(workerPath);
|
|
@@ -22763,7 +22764,7 @@ import { defineConfig } from "hot-updater";
|
|
|
22763
22764
|
import "dotenv/config";
|
|
22764
22765
|
|
|
22765
22766
|
export default defineConfig({
|
|
22766
|
-
build: metro(),
|
|
22767
|
+
build: metro({ enableHermes: true }),
|
|
22767
22768
|
storage: supabaseStorage({
|
|
22768
22769
|
supabaseUrl: process.env.HOT_UPDATER_SUPABASE_URL!,
|
|
22769
22770
|
supabaseAnonKey: process.env.HOT_UPDATER_SUPABASE_ANON_KEY!,
|
package/dist/index.js
CHANGED
|
@@ -22388,7 +22388,7 @@ import { defineConfig } from "hot-updater";
|
|
|
22388
22388
|
import "dotenv/config";
|
|
22389
22389
|
|
|
22390
22390
|
export default defineConfig({
|
|
22391
|
-
build: metro(),
|
|
22391
|
+
build: metro({ enableHermes: true }),
|
|
22392
22392
|
storage: r2Storage({
|
|
22393
22393
|
bucketName: process.env.HOT_UPDATER_CLOUDFLARE_R2_BUCKET_NAME!,
|
|
22394
22394
|
accountId: process.env.HOT_UPDATER_CLOUDFLARE_ACCOUNT_ID!,
|
|
@@ -22412,9 +22412,10 @@ export default HotUpdater.wrap({
|
|
|
22412
22412
|
source: "%%source%%",
|
|
22413
22413
|
})(App);`;
|
|
22414
22414
|
const deployWorker = async (oauth_token, accountId, { d1DatabaseId, d1DatabaseName })=>{
|
|
22415
|
+
const cwd = (0, __WEBPACK_EXTERNAL_MODULE__hot_updater_plugin_core_40c1c502__.getCwd)();
|
|
22415
22416
|
const workerPath = require.resolve("@hot-updater/cloudflare/worker", {
|
|
22416
22417
|
paths: [
|
|
22417
|
-
|
|
22418
|
+
cwd
|
|
22418
22419
|
]
|
|
22419
22420
|
});
|
|
22420
22421
|
const workerDir = external_path_["default"].dirname(workerPath);
|
|
@@ -22656,7 +22657,7 @@ import { defineConfig } from "hot-updater";
|
|
|
22656
22657
|
import "dotenv/config";
|
|
22657
22658
|
|
|
22658
22659
|
export default defineConfig({
|
|
22659
|
-
build: metro(),
|
|
22660
|
+
build: metro({ enableHermes: true }),
|
|
22660
22661
|
storage: supabaseStorage({
|
|
22661
22662
|
supabaseUrl: process.env.HOT_UPDATER_SUPABASE_URL!,
|
|
22662
22663
|
supabaseAnonKey: process.env.HOT_UPDATER_SUPABASE_ANON_KEY!,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "hot-updater",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.10.
|
|
4
|
+
"version": "0.10.2",
|
|
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.10.
|
|
53
|
-
"@hot-updater/core": "0.10.
|
|
54
|
-
"@hot-updater/plugin-core": "0.10.
|
|
52
|
+
"@hot-updater/console": "0.10.2",
|
|
53
|
+
"@hot-updater/core": "0.10.2",
|
|
54
|
+
"@hot-updater/plugin-core": "0.10.2",
|
|
55
55
|
"commander": "^11.1.0",
|
|
56
56
|
"cosmiconfig": "^9.0.0",
|
|
57
57
|
"cosmiconfig-typescript-loader": "^5.0.0"
|