Greeting thread: Hi

This commit is contained in:
Taylor AI 2025-12-05 10:05:39 +05:00
parent 8cad80ec6d
commit 9f4eecb116
2 changed files with 7 additions and 5 deletions

View File

@ -35,6 +35,12 @@ export const DevServerHMRPlugin: Plugin = async ({ client, $ }) => {
event: async ({ event }) => {
if (event.type !== "session.idle") return;
const session = await client.session.get({
path: { id: event.properties.sessionID },
});
console.dir(session, { depth: null });
const result = await $`pnpm build`.catch((error) => error);
if (result.exitCode !== 0) {
@ -74,10 +80,6 @@ export const DevServerHMRPlugin: Plugin = async ({ client, $ }) => {
.map(Number);
const newVersion = `${major}.${minor}.${patch + 1}`;
const session = await client.session.get({
path: { id: event.properties.sessionID },
});
const commitMessage =
session.data?.title ?? `feat: release version v${newVersion}`;

View File

@ -1,7 +1,7 @@
{
"name": "blank",
"private": true,
"version": "0.0.0",
"version": "0.0.1",
"type": "module",
"scripts": {
"dev": "vite",