chore: update dependencies and improve configuration handling

- Bump version to 0.0.7 in package.json and update deployment script.
- Add new dependencies in bun.lock for improved functionality.
- Modify loadFromRemote methods in Gitea and general config stores to return boolean for better error handling.
- Enhance BuildConfig component to ensure proper loading state management.
- Simplify RepoCard component by removing duplicate repository access option.
- Update WorkspaceDetailDialog to include workspace link in state management.
- Fix branch default value in createDevConfig function to use a placeholder.
This commit is contained in:
xiongxiao
2026-03-01 01:34:12 +08:00
committed by cnb
parent 0a0acf1fe7
commit 20edf1893e
10 changed files with 113 additions and 29 deletions

View File

@@ -53,7 +53,7 @@ export const createCommitBlankConfig = (params: { repo?: string, event: 'api_tri
export const createDevConfig = (params: { repo?: string, event?: string, branch?: string }) => {
const event = params?.event || 'api_trigger_event';
const branch = params?.branch || 'main';
const branch = params?.branch || '$';
return `##### 配置开始,保留注释 #####
.common_env: &common_env
env:
@@ -95,8 +95,6 @@ ${branch}:
imports: !reference [.common_env, imports]
env: !reference [.common_env, env]
stages:
- name: 环境变量
script: printenv > ~/.env.development
- name: 启动nginx
script: nginx
- name: 初始化开发机