temp
This commit is contained in:
		
							
								
								
									
										35
									
								
								.cnb.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								.cnb.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,35 @@
 | 
			
		||||
# .cnb.yml
 | 
			
		||||
$:
 | 
			
		||||
  vscode:
 | 
			
		||||
    - docker:
 | 
			
		||||
        image: docker.cnb.cool/kevisual/dev-env:latest
 | 
			
		||||
      services:
 | 
			
		||||
        - vscode
 | 
			
		||||
        - docker
 | 
			
		||||
      imports: https://cnb.cool/kevisual/env/-/blob/main/env.yml
 | 
			
		||||
      # 开发环境启动后会执行的任务
 | 
			
		||||
      stages:
 | 
			
		||||
        - name: pnpm install
 | 
			
		||||
          script: pnpm install
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
main:
 | 
			
		||||
  web_trigger_sync_to_gitea:
 | 
			
		||||
  - services:
 | 
			
		||||
      - docker
 | 
			
		||||
    imports:
 | 
			
		||||
      # 这里修改为自己的env仓库地址
 | 
			
		||||
      - https://cnb.cool/kevisual/env/-/blob/main/env.yml
 | 
			
		||||
    stages:
 | 
			
		||||
      - name: sync to gitea
 | 
			
		||||
        image: tencentcom/git-sync
 | 
			
		||||
        settings:
 | 
			
		||||
          # 修改为你的gitea仓库地址
 | 
			
		||||
          target_url: https://git.xiongxiao.me/kevisual/ai-images.git
 | 
			
		||||
          auth_type: https
 | 
			
		||||
          username: "oauth2"
 | 
			
		||||
          password:  ${GITEA_TOKEN}
 | 
			
		||||
          git_user: "abearxiong"
 | 
			
		||||
          git_email: "xiongxiao@xiongxiao.me"
 | 
			
		||||
          sync_mode: rebase
 | 
			
		||||
          branch: main
 | 
			
		||||
							
								
								
									
										8
									
								
								.cnb/web_trigger.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								.cnb/web_trigger.yml
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
# .cnb/web_trigger.yml
 | 
			
		||||
branch:
 | 
			
		||||
  # 如下按钮在分支名以 main 开头的分支详情页面显示
 | 
			
		||||
  - reg: "^main"
 | 
			
		||||
    buttons:
 | 
			
		||||
      - name: 同步代码到gitea
 | 
			
		||||
        desc: 同步代码到gitea
 | 
			
		||||
        event: web_trigger_sync_to_gitea
 | 
			
		||||
							
								
								
									
										68
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										68
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,68 @@
 | 
			
		||||
node_modules
 | 
			
		||||
 | 
			
		||||
# mac
 | 
			
		||||
.DS_Store
 | 
			
		||||
 | 
			
		||||
.env*
 | 
			
		||||
!.env*example
 | 
			
		||||
 | 
			
		||||
dist
 | 
			
		||||
build
 | 
			
		||||
logs
 | 
			
		||||
 | 
			
		||||
.turbo
 | 
			
		||||
 | 
			
		||||
pack-dist
 | 
			
		||||
 | 
			
		||||
# astro
 | 
			
		||||
.astro
 | 
			
		||||
 | 
			
		||||
# next
 | 
			
		||||
.next
 | 
			
		||||
 | 
			
		||||
# nuxt
 | 
			
		||||
.nuxt
 | 
			
		||||
 | 
			
		||||
# vercel
 | 
			
		||||
.vercel
 | 
			
		||||
 | 
			
		||||
# vuepress
 | 
			
		||||
.vuepress/dist
 | 
			
		||||
 | 
			
		||||
# coverage
 | 
			
		||||
coverage/
 | 
			
		||||
 | 
			
		||||
# typescript
 | 
			
		||||
*.tsbuildinfo
 | 
			
		||||
 | 
			
		||||
# debug logs
 | 
			
		||||
*.log
 | 
			
		||||
*.tmp
 | 
			
		||||
 | 
			
		||||
# vscode
 | 
			
		||||
.vscode/*
 | 
			
		||||
!.vscode/settings.json
 | 
			
		||||
!.vscode/tasks.json
 | 
			
		||||
!.vscode/launch.json
 | 
			
		||||
!.vscode/extensions.json
 | 
			
		||||
 | 
			
		||||
# idea
 | 
			
		||||
.idea
 | 
			
		||||
 | 
			
		||||
# system
 | 
			
		||||
Thumbs.db
 | 
			
		||||
ehthumbs.db
 | 
			
		||||
Desktop.ini
 | 
			
		||||
 | 
			
		||||
# temp files
 | 
			
		||||
*.tmp
 | 
			
		||||
*.temp
 | 
			
		||||
 | 
			
		||||
# local development
 | 
			
		||||
*.local
 | 
			
		||||
 | 
			
		||||
public/r
 | 
			
		||||
 | 
			
		||||
.pnpm-store
 | 
			
		||||
 | 
			
		||||
storage/
 | 
			
		||||
							
								
								
									
										17
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								package.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,17 @@
 | 
			
		||||
{
 | 
			
		||||
  "name": "@kevisual/ai-images",
 | 
			
		||||
  "version": "0.0.1",
 | 
			
		||||
  "description": "",
 | 
			
		||||
  "main": "index.js",
 | 
			
		||||
  "scripts": {
 | 
			
		||||
    "dev": "echo \"Error: no test specified\" && exit 1"
 | 
			
		||||
  },
 | 
			
		||||
  "keywords": [],
 | 
			
		||||
  "author": "abearxiong <xiongxiao@xiongxiao.me> (https://www.xiongxiao.me)",
 | 
			
		||||
  "license": "MIT",
 | 
			
		||||
  "packageManager": "pnpm@10.16.1",
 | 
			
		||||
  "type": "module",
 | 
			
		||||
  "devDependencies": {
 | 
			
		||||
    "@types/node": "^24.4.0"
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										29
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
										Normal file
									
								
							
							
						
						
									
										29
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
										Normal file
									
								
							@@ -0,0 +1,29 @@
 | 
			
		||||
lockfileVersion: '9.0'
 | 
			
		||||
 | 
			
		||||
settings:
 | 
			
		||||
  autoInstallPeers: true
 | 
			
		||||
  excludeLinksFromLockfile: false
 | 
			
		||||
 | 
			
		||||
importers:
 | 
			
		||||
 | 
			
		||||
  .:
 | 
			
		||||
    devDependencies:
 | 
			
		||||
      '@types/node':
 | 
			
		||||
        specifier: ^24.4.0
 | 
			
		||||
        version: 24.4.0
 | 
			
		||||
 | 
			
		||||
packages:
 | 
			
		||||
 | 
			
		||||
  '@types/node@24.4.0':
 | 
			
		||||
    resolution: {integrity: sha512-gUuVEAK4/u6F9wRLznPUU4WGUacSEBDPoC2TrBkw3GAnOLHBL45QdfHOXp1kJ4ypBGLxTOB+t7NJLpKoC3gznQ==}
 | 
			
		||||
 | 
			
		||||
  undici-types@7.11.0:
 | 
			
		||||
    resolution: {integrity: sha512-kt1ZriHTi7MU+Z/r9DOdAI3ONdaR3M3csEaRc6ewa4f4dTvX4cQCbJ4NkEn0ohE4hHtq85+PhPSTY+pO/1PwgA==}
 | 
			
		||||
 | 
			
		||||
snapshots:
 | 
			
		||||
 | 
			
		||||
  '@types/node@24.4.0':
 | 
			
		||||
    dependencies:
 | 
			
		||||
      undici-types: 7.11.0
 | 
			
		||||
 | 
			
		||||
  undici-types@7.11.0: {}
 | 
			
		||||
		Reference in New Issue
	
	Block a user