@hot-updater/console 0.29.8 → 0.30.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/.output/nitro.json +1 -1
- package/.output/public/assets/{main-D3Zs0SgM.js → main-l1zcdavI.js} +1 -1
- package/.output/public/assets/{routes-BfmmZvan.js → routes-BlHtyRHx.js} +2 -2
- package/.output/server/_ssr/{router-Bh38omGo.mjs → router-DjaryVgW.mjs} +2 -2
- package/.output/server/_ssr/{routes-X9PMA9HV.mjs → routes-_o5eQ953.mjs} +23 -4
- package/.output/server/_ssr/ssr.mjs +2 -2
- package/.output/server/{_tanstack-start-manifest_v-B8BW3bbi.mjs → _tanstack-start-manifest_v-DlKQbuiB.mjs} +4 -4
- package/.output/server/index.mjs +30 -30
- package/package.json +6 -6
|
@@ -8,7 +8,7 @@ import { t as QueryClient } from "../_libs/tanstack__query-core.mjs";
|
|
|
8
8
|
import { r as QueryClientProvider } from "../_libs/tanstack__react-query.mjs";
|
|
9
9
|
import { t as z } from "../_libs/next-themes.mjs";
|
|
10
10
|
import { t as Toaster } from "../_libs/sonner.mjs";
|
|
11
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/router-
|
|
11
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/router-DjaryVgW.js
|
|
12
12
|
var import_jsx_runtime = require_jsx_runtime();
|
|
13
13
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
14
14
|
function HotUpdaterLogo({ className }) {
|
|
@@ -227,7 +227,7 @@ function RootLayout() {
|
|
|
227
227
|
(0, import_react.useEffect)(() => {}, []);
|
|
228
228
|
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(SidebarProvider, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(AppSidebar, {}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SidebarInset, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Outlet, {}) })] });
|
|
229
229
|
}
|
|
230
|
-
var $$splitComponentImporter = () => import("./routes-
|
|
230
|
+
var $$splitComponentImporter = () => import("./routes-_o5eQ953.mjs");
|
|
231
231
|
var rootRouteChildren = { IndexRoute: createFileRoute("/")({
|
|
232
232
|
component: lazyRouteComponent($$splitComponentImporter, "component"),
|
|
233
233
|
validateSearch: (search) => {
|
|
@@ -17,7 +17,7 @@ import { n as toast } from "../_libs/sonner.mjs";
|
|
|
17
17
|
import { t as require_semver } from "../_libs/semver.mjs";
|
|
18
18
|
import { i as getCoreRowModel, n as useReactTable, r as createColumnHelper, t as flexRender } from "../_libs/@tanstack/react-table+[...].mjs";
|
|
19
19
|
import { n as require_dayjs_min, t as require_relativeTime } from "../_libs/dayjs.mjs";
|
|
20
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/routes-
|
|
20
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/routes-_o5eQ953.js
|
|
21
21
|
var import_jsx_runtime = require_jsx_runtime();
|
|
22
22
|
var import_react = /* @__PURE__ */ __toESM(require_react());
|
|
23
23
|
var import_semver = /* @__PURE__ */ __toESM(require_semver());
|
|
@@ -943,8 +943,9 @@ function CardContent({ className, ...props }) {
|
|
|
943
943
|
}
|
|
944
944
|
function RolloutCohortsDialog({ bundleId, rolloutCohortCount, targetCohorts, triggerLabel = "View Cohorts", triggerVariant = "outline", triggerSize = "sm", triggerClassName }) {
|
|
945
945
|
const normalizedRolloutCount = normalizeRolloutCohortCount(rolloutCohortCount);
|
|
946
|
-
const
|
|
947
|
-
|
|
946
|
+
const normalizedTargetCohorts = targetCohorts ?? [];
|
|
947
|
+
const hasTargetCohorts = normalizedTargetCohorts.length > 0;
|
|
948
|
+
if (!(normalizedRolloutCount > 0 && normalizedRolloutCount < 1e3)) return null;
|
|
948
949
|
const rolloutCohorts = Array.from({ length: NUMERIC_COHORT_SIZE }, (_, index) => index + 1).filter((cohortValue) => getNumericCohortRolloutPosition(bundleId, cohortValue) < normalizedRolloutCount);
|
|
949
950
|
const rolloutPercentage = (normalizedRolloutCount / 10).toFixed(1);
|
|
950
951
|
const excludedCount = NUMERIC_COHORT_SIZE - rolloutCohorts.length;
|
|
@@ -968,7 +969,8 @@ function RolloutCohortsDialog({ bundleId, rolloutCohortCount, targetCohorts, tri
|
|
|
968
969
|
rolloutCohorts.length,
|
|
969
970
|
" of ",
|
|
970
971
|
NUMERIC_COHORT_SIZE,
|
|
971
|
-
" numeric cohorts. The selected set stays stable for this bundle as you expand or shrink rollout."
|
|
972
|
+
" numeric cohorts. The selected set stays stable for this bundle as you expand or shrink rollout.",
|
|
973
|
+
hasTargetCohorts ? " Target Cohorts are added on top of this numeric rollout." : ""
|
|
972
974
|
] })] }),
|
|
973
975
|
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
|
|
974
976
|
className: "grid gap-3 sm:grid-cols-3",
|
|
@@ -1016,6 +1018,23 @@ function RolloutCohortsDialog({ bundleId, rolloutCohortCount, targetCohorts, tri
|
|
|
1016
1018
|
})
|
|
1017
1019
|
})
|
|
1018
1020
|
})] }),
|
|
1021
|
+
hasTargetCohorts ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Card, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(CardHeader, {
|
|
1022
|
+
className: "p-4 pb-3",
|
|
1023
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardTitle, {
|
|
1024
|
+
className: "text-sm",
|
|
1025
|
+
children: "Target Cohorts"
|
|
1026
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardDescription, { children: "These cohorts are also included, even if they are outside the numeric rollout." })]
|
|
1027
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CardContent, {
|
|
1028
|
+
className: "p-4 pt-0",
|
|
1029
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
|
|
1030
|
+
className: "flex flex-wrap gap-2 rounded-lg border bg-muted/20 p-3",
|
|
1031
|
+
children: normalizedTargetCohorts.map((cohort) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Badge, {
|
|
1032
|
+
variant: "secondary",
|
|
1033
|
+
className: "font-mono",
|
|
1034
|
+
children: cohort
|
|
1035
|
+
}, cohort))
|
|
1036
|
+
})
|
|
1037
|
+
})] }) : null,
|
|
1019
1038
|
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DialogFooter, { showCloseButton: true })
|
|
1020
1039
|
]
|
|
1021
1040
|
})] });
|
|
@@ -4269,7 +4269,7 @@ function getResponse() {
|
|
|
4269
4269
|
return getH3Event().res;
|
|
4270
4270
|
}
|
|
4271
4271
|
async function getStartManifest(matchedRoutes) {
|
|
4272
|
-
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-
|
|
4272
|
+
const { tsrStartManifest } = await import("../_tanstack-start-manifest_v-DlKQbuiB.mjs");
|
|
4273
4273
|
const startManifest = tsrStartManifest();
|
|
4274
4274
|
const rootRoute = startManifest.routes[rootRouteId] = startManifest.routes["__root__"] || {};
|
|
4275
4275
|
rootRoute.assets = rootRoute.assets || [];
|
|
@@ -4747,7 +4747,7 @@ var entriesPromise;
|
|
|
4747
4747
|
var baseManifestPromise;
|
|
4748
4748
|
var cachedFinalManifestPromise;
|
|
4749
4749
|
async function loadEntries() {
|
|
4750
|
-
const routerEntry = await import("./router-
|
|
4750
|
+
const routerEntry = await import("./router-DjaryVgW.mjs");
|
|
4751
4751
|
return {
|
|
4752
4752
|
startEntry: await import("./start-DQK0r85G.mjs"),
|
|
4753
4753
|
routerEntry
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
//#region node_modules/.nitro/vite/services/ssr/assets/_tanstack-start-manifest_v-
|
|
1
|
+
//#region node_modules/.nitro/vite/services/ssr/assets/_tanstack-start-manifest_v-DlKQbuiB.js
|
|
2
2
|
var tsrStartManifest = () => ({
|
|
3
3
|
"routes": {
|
|
4
4
|
"__root__": {
|
|
5
5
|
"filePath": "/home/runner/work/hot-updater/hot-updater/packages/console/src/routes/__root.tsx",
|
|
6
6
|
"children": ["/"],
|
|
7
|
-
"preloads": ["/assets/main-
|
|
7
|
+
"preloads": ["/assets/main-l1zcdavI.js"]
|
|
8
8
|
},
|
|
9
9
|
"/": {
|
|
10
10
|
"filePath": "/home/runner/work/hot-updater/hot-updater/packages/console/src/routes/index.tsx",
|
|
11
|
-
"preloads": ["/assets/routes-
|
|
11
|
+
"preloads": ["/assets/routes-BlHtyRHx.js"]
|
|
12
12
|
}
|
|
13
13
|
},
|
|
14
|
-
"clientEntry": "/assets/main-
|
|
14
|
+
"clientEntry": "/assets/main-l1zcdavI.js"
|
|
15
15
|
});
|
|
16
16
|
//#endregion
|
|
17
17
|
export { tsrStartManifest };
|
package/.output/server/index.mjs
CHANGED
|
@@ -74,119 +74,119 @@ var public_assets_data_default = {
|
|
|
74
74
|
"/apple-touch-icon.png": {
|
|
75
75
|
"type": "image/png",
|
|
76
76
|
"etag": "\"329e-uyxOmLQHjRnOIdaE3FE7O/uZ9l4\"",
|
|
77
|
-
"mtime": "2026-04-
|
|
77
|
+
"mtime": "2026-04-15T15:16:56.640Z",
|
|
78
78
|
"size": 12958,
|
|
79
79
|
"path": "../public/apple-touch-icon.png"
|
|
80
80
|
},
|
|
81
81
|
"/favicon-16x16.png": {
|
|
82
82
|
"type": "image/png",
|
|
83
83
|
"etag": "\"240-h6ktCVLfjIcsDJuLwUXP4nCJxlI\"",
|
|
84
|
-
"mtime": "2026-04-
|
|
84
|
+
"mtime": "2026-04-15T15:16:56.640Z",
|
|
85
85
|
"size": 576,
|
|
86
86
|
"path": "../public/favicon-16x16.png"
|
|
87
87
|
},
|
|
88
88
|
"/favicon-32x32.png": {
|
|
89
89
|
"type": "image/png",
|
|
90
90
|
"etag": "\"4f0-0qQrV3Eq3PzIigrp+8htf8vFCYA\"",
|
|
91
|
-
"mtime": "2026-04-
|
|
91
|
+
"mtime": "2026-04-15T15:16:56.640Z",
|
|
92
92
|
"size": 1264,
|
|
93
93
|
"path": "../public/favicon-32x32.png"
|
|
94
94
|
},
|
|
95
95
|
"/favicon.ico": {
|
|
96
96
|
"type": "image/vnd.microsoft.icon",
|
|
97
97
|
"etag": "\"3c2e-eMwmbJNNg6G+Uu+rqWtuvtI2Om4\"",
|
|
98
|
-
"mtime": "2026-04-
|
|
98
|
+
"mtime": "2026-04-15T15:16:56.640Z",
|
|
99
99
|
"size": 15406,
|
|
100
100
|
"path": "../public/favicon.ico"
|
|
101
101
|
},
|
|
102
102
|
"/logo.svg": {
|
|
103
103
|
"type": "image/svg+xml",
|
|
104
104
|
"etag": "\"478-zKvD9Jp5dDLCBmng0McewYMBxfs\"",
|
|
105
|
-
"mtime": "2026-04-
|
|
105
|
+
"mtime": "2026-04-15T15:16:56.640Z",
|
|
106
106
|
"size": 1144,
|
|
107
107
|
"path": "../public/logo.svg"
|
|
108
108
|
},
|
|
109
109
|
"/manifest.json": {
|
|
110
110
|
"type": "application/json",
|
|
111
111
|
"etag": "\"258-CQdbkGDhbZhU+yrcSXanXKWFEpw\"",
|
|
112
|
-
"mtime": "2026-04-
|
|
112
|
+
"mtime": "2026-04-15T15:16:56.640Z",
|
|
113
113
|
"size": 600,
|
|
114
114
|
"path": "../public/manifest.json"
|
|
115
115
|
},
|
|
116
116
|
"/robots.txt": {
|
|
117
117
|
"type": "text/plain; charset=utf-8",
|
|
118
118
|
"etag": "\"43-BEzmj4PuhUNHX+oW9uOnPSihxtU\"",
|
|
119
|
-
"mtime": "2026-04-
|
|
119
|
+
"mtime": "2026-04-15T15:16:56.640Z",
|
|
120
120
|
"size": 67,
|
|
121
121
|
"path": "../public/robots.txt"
|
|
122
122
|
},
|
|
123
123
|
"/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2": {
|
|
124
124
|
"type": "font/woff2",
|
|
125
125
|
"etag": "\"6568-cF1iUGbboMFZ8TfnP5HiMgl9II0\"",
|
|
126
|
-
"mtime": "2026-04-
|
|
126
|
+
"mtime": "2026-04-15T15:16:55.918Z",
|
|
127
127
|
"size": 25960,
|
|
128
128
|
"path": "../public/assets/inter-cyrillic-ext-wght-normal-BOeWTOD4.woff2"
|
|
129
129
|
},
|
|
130
130
|
"/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2": {
|
|
131
131
|
"type": "font/woff2",
|
|
132
132
|
"etag": "\"493c-n3Oy9D6jvzfMjpClqox+Zo7ERQQ\"",
|
|
133
|
-
"mtime": "2026-04-
|
|
133
|
+
"mtime": "2026-04-15T15:16:55.918Z",
|
|
134
134
|
"size": 18748,
|
|
135
135
|
"path": "../public/assets/inter-cyrillic-wght-normal-DqGufNeO.woff2"
|
|
136
136
|
},
|
|
137
137
|
"/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2": {
|
|
138
138
|
"type": "font/woff2",
|
|
139
139
|
"etag": "\"2be0-BP5iTzJeB8nLqYAgKpWNi5o1Zm8\"",
|
|
140
|
-
"mtime": "2026-04-
|
|
140
|
+
"mtime": "2026-04-15T15:16:55.918Z",
|
|
141
141
|
"size": 11232,
|
|
142
142
|
"path": "../public/assets/inter-greek-ext-wght-normal-DlzME5K_.woff2"
|
|
143
143
|
},
|
|
144
144
|
"/assets/inter-greek-wght-normal-CkhJZR-_.woff2": {
|
|
145
145
|
"type": "font/woff2",
|
|
146
146
|
"etag": "\"4a34-xor/hj4YNqI52zFecXnUbzQ4Xs4\"",
|
|
147
|
-
"mtime": "2026-04-
|
|
147
|
+
"mtime": "2026-04-15T15:16:55.918Z",
|
|
148
148
|
"size": 18996,
|
|
149
149
|
"path": "../public/assets/inter-greek-wght-normal-CkhJZR-_.woff2"
|
|
150
150
|
},
|
|
151
151
|
"/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2": {
|
|
152
152
|
"type": "font/woff2",
|
|
153
153
|
"etag": "\"14c4c-zz61D7IQFMB9QxHvTAOk/Vh4ibQ\"",
|
|
154
|
-
"mtime": "2026-04-
|
|
154
|
+
"mtime": "2026-04-15T15:16:55.918Z",
|
|
155
155
|
"size": 85068,
|
|
156
156
|
"path": "../public/assets/inter-latin-ext-wght-normal-DO1Apj_S.woff2"
|
|
157
157
|
},
|
|
158
|
-
"/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2": {
|
|
159
|
-
"type": "font/woff2",
|
|
160
|
-
"etag": "\"280c-nBythjoDQ0+5wVAendJ6wU7Xz2M\"",
|
|
161
|
-
"mtime": "2026-04-11T16:03:09.895Z",
|
|
162
|
-
"size": 10252,
|
|
163
|
-
"path": "../public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2"
|
|
164
|
-
},
|
|
165
158
|
"/assets/inter-latin-wght-normal-Dx4kXJAl.woff2": {
|
|
166
159
|
"type": "font/woff2",
|
|
167
160
|
"etag": "\"bc80-8R1ym7Ck2DUNLqPQ/AYs9u8tUpg\"",
|
|
168
|
-
"mtime": "2026-04-
|
|
161
|
+
"mtime": "2026-04-15T15:16:55.918Z",
|
|
169
162
|
"size": 48256,
|
|
170
163
|
"path": "../public/assets/inter-latin-wght-normal-Dx4kXJAl.woff2"
|
|
171
164
|
},
|
|
172
|
-
"/assets/
|
|
165
|
+
"/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2": {
|
|
166
|
+
"type": "font/woff2",
|
|
167
|
+
"etag": "\"280c-nBythjoDQ0+5wVAendJ6wU7Xz2M\"",
|
|
168
|
+
"mtime": "2026-04-15T15:16:55.918Z",
|
|
169
|
+
"size": 10252,
|
|
170
|
+
"path": "../public/assets/inter-vietnamese-wght-normal-CBcvBZtf.woff2"
|
|
171
|
+
},
|
|
172
|
+
"/assets/main-l1zcdavI.js": {
|
|
173
173
|
"type": "text/javascript; charset=utf-8",
|
|
174
|
-
"etag": "\"788a3-
|
|
175
|
-
"mtime": "2026-04-
|
|
174
|
+
"etag": "\"788a3-nS5Az7jnqwognwB5X1t6WcPqoCI\"",
|
|
175
|
+
"mtime": "2026-04-15T15:16:55.916Z",
|
|
176
176
|
"size": 493731,
|
|
177
|
-
"path": "../public/assets/main-
|
|
177
|
+
"path": "../public/assets/main-l1zcdavI.js"
|
|
178
178
|
},
|
|
179
|
-
"/assets/routes-
|
|
179
|
+
"/assets/routes-BlHtyRHx.js": {
|
|
180
180
|
"type": "text/javascript; charset=utf-8",
|
|
181
|
-
"etag": "\"
|
|
182
|
-
"mtime": "2026-04-
|
|
183
|
-
"size":
|
|
184
|
-
"path": "../public/assets/routes-
|
|
181
|
+
"etag": "\"33bc3-8MkvWYHW6dbSUp0WYDS9mxwVulA\"",
|
|
182
|
+
"mtime": "2026-04-15T15:16:55.917Z",
|
|
183
|
+
"size": 211907,
|
|
184
|
+
"path": "../public/assets/routes-BlHtyRHx.js"
|
|
185
185
|
},
|
|
186
186
|
"/assets/styles-Bfxg4M1x.css": {
|
|
187
187
|
"type": "text/css; charset=utf-8",
|
|
188
188
|
"etag": "\"16bc6-p7C0HAFVLco8kaVMGNcx6RYBlpk\"",
|
|
189
|
-
"mtime": "2026-04-
|
|
189
|
+
"mtime": "2026-04-15T15:16:55.918Z",
|
|
190
190
|
"size": 93126,
|
|
191
191
|
"path": "../public/assets/styles-Bfxg4M1x.css"
|
|
192
192
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/console",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.30.0",
|
|
5
5
|
"files": [
|
|
6
6
|
".output",
|
|
7
7
|
"package.json"
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"./package.json": "./package.json"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@hot-updater/cli-tools": "0.
|
|
13
|
+
"@hot-updater/cli-tools": "0.30.0"
|
|
14
14
|
},
|
|
15
15
|
"devDependencies": {
|
|
16
16
|
"@base-ui/react": "^1.3.0",
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
"vite-tsconfig-paths": "^6.1.1",
|
|
59
59
|
"vitest": "4.1.0",
|
|
60
60
|
"web-vitals": "^5.1.0",
|
|
61
|
-
"@hot-updater/
|
|
62
|
-
"@hot-updater/
|
|
63
|
-
"@hot-updater/mock": "0.
|
|
64
|
-
"@hot-updater/plugin-core": "0.
|
|
61
|
+
"@hot-updater/core": "0.30.0",
|
|
62
|
+
"@hot-updater/cli-tools": "0.30.0",
|
|
63
|
+
"@hot-updater/mock": "0.30.0",
|
|
64
|
+
"@hot-updater/plugin-core": "0.30.0"
|
|
65
65
|
},
|
|
66
66
|
"description": "React Native OTA solution for self-hosted",
|
|
67
67
|
"license": "MIT",
|