clear
This commit is contained in:
		
							
								
								
									
										13
									
								
								.cnb.yml
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								.cnb.yml
									
									
									
									
									
								
							| @@ -1,13 +0,0 @@ | ||||
| # .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 | ||||
							
								
								
									
										28
									
								
								.github/workflows/git-sync.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										28
									
								
								.github/workflows/git-sync.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,28 +0,0 @@ | ||||
| name: Sync to CNB | ||||
| # on: [push] | ||||
| on: | ||||
|   push: | ||||
|     branches: | ||||
|       # - main | ||||
|       - 'releases/**' | ||||
|   workflow_dispatch: | ||||
|  | ||||
| jobs: | ||||
|   sync: | ||||
|     runs-on: ubuntu-latest | ||||
|     steps: | ||||
|       - uses: actions/checkout@v4 | ||||
|         with: | ||||
|           fetch-depth: 0 | ||||
|        | ||||
|       - name: Sync to CNB Repository | ||||
|         run: | | ||||
|           docker run --rm \ | ||||
|             -v ${{ github.workspace }}:${{ github.workspace }} \ | ||||
|             -w ${{ github.workspace }} \ | ||||
|             -e PLUGIN_TARGET_URL="https://cnb.cool/kevisual/astro-template.git" \ | ||||
|             -e PLUGIN_AUTH_TYPE="https" \ | ||||
|             -e PLUGIN_USERNAME="cnb" \ | ||||
|             -e PLUGIN_PASSWORD=${{ secrets.GIT_PASSWORD }} \ | ||||
|             -e PLUGIN_SYNC_MODE="rebase" \ | ||||
|             tencentcom/git-sync | ||||
							
								
								
									
										0
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										0
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
								
								
									
										3
									
								
								.npmrc
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								.npmrc
									
									
									
									
									
								
							| @@ -1,3 +0,0 @@ | ||||
| //npm.xiongxiao.me/:_authToken=${ME_NPM_TOKEN} | ||||
| //registry.npmjs.org/:_authToken=${NPM_TOKEN} | ||||
| ignore-workspace-root-check=true | ||||
							
								
								
									
										6
									
								
								.vscode/extensions.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										6
									
								
								.vscode/extensions.json
									
									
									
									
										vendored
									
									
								
							| @@ -1,6 +0,0 @@ | ||||
| { | ||||
|   "recommendations": [ | ||||
|     "astro-build.astro-vscode", | ||||
|     "bradlc.vscode-tailwindcss" | ||||
|   ] | ||||
| } | ||||
							
								
								
									
										3
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								.vscode/settings.json
									
									
									
									
										vendored
									
									
								
							| @@ -1,3 +0,0 @@ | ||||
| { | ||||
|    | ||||
| } | ||||
| @@ -8,10 +8,6 @@ import basicSsl from '@vitejs/plugin-basic-ssl'; | ||||
|  | ||||
| const isDev = process.env.NODE_ENV === 'development'; | ||||
| const plugins = [tailwindcss()]; | ||||
| const isCNB = process.env.CNB === 'true'; | ||||
| if (isDev && !isCNB) { | ||||
|   plugins.push(basicSsl()); | ||||
| } | ||||
| let target = process.env.VITE_API_URL || 'https://localhost:51015'; | ||||
| const apiProxy = { target: target, changeOrigin: true, ws: true, rewriteWsOrigin: true, secure: false, cookieDomainRewrite: 'localhost' }; | ||||
| let proxy = { | ||||
|   | ||||
							
								
								
									
										45
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										45
									
								
								package.json
									
									
									
									
									
								
							| @@ -17,40 +17,37 @@ | ||||
|   "license": "MIT", | ||||
|   "type": "module", | ||||
|   "dependencies": { | ||||
|     "@astrojs/mdx": "^4.2.6", | ||||
|     "@astrojs/react": "^4.2.7", | ||||
|     "@astrojs/sitemap": "^3.4.0", | ||||
|     "@kevisual/query": "^0.0.18", | ||||
|     "@kevisual/query-login": "^0.0.5", | ||||
|     "@astrojs/mdx": "^4.3.7", | ||||
|     "@astrojs/react": "^4.4.0", | ||||
|     "@astrojs/sitemap": "^3.6.0", | ||||
|     "@kevisual/query": "^0.0.29", | ||||
|     "@kevisual/query-login": "^0.0.6", | ||||
|     "@kevisual/registry": "^0.0.1", | ||||
|     "@tailwindcss/vite": "^4.1.7", | ||||
|     "astro": "^5.7.13", | ||||
|     "@tailwindcss/vite": "^4.1.14", | ||||
|     "astro": "^5.14.4", | ||||
|     "class-variance-authority": "^0.7.1", | ||||
|     "clsx": "^2.1.1", | ||||
|     "dayjs": "^1.11.13", | ||||
|     "dayjs": "^1.11.18", | ||||
|     "lodash-es": "^4.17.21", | ||||
|     "lucide-react": "^0.511.0", | ||||
|     "nanoid": "^5.1.5", | ||||
|     "react": "^19.1.0", | ||||
|     "react-dom": "^19.1.0", | ||||
|     "lucide-react": "^0.545.0", | ||||
|     "nanoid": "^5.1.6", | ||||
|     "react": "^19.2.0", | ||||
|     "react-dom": "^19.2.0", | ||||
|     "react-toastify": "^11.0.5", | ||||
|     "tailwind-merge": "^3.3.0", | ||||
|     "zustand": "^5.0.4" | ||||
|     "tailwind-merge": "^3.3.1", | ||||
|     "zustand": "^5.0.8" | ||||
|   }, | ||||
|   "publishConfig": { | ||||
|     "access": "public" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|     "@kevisual/query-awesome": "^0.0.2", | ||||
|     "@kevisual/types": "^0.0.10", | ||||
|     "@types/react": "^19.1.4", | ||||
|     "@types/react-dom": "^19.1.5", | ||||
|     "@vitejs/plugin-basic-ssl": "^2.0.0", | ||||
|     "commander": "^14.0.0", | ||||
|     "dotenv": "^16.5.0", | ||||
|     "inquire": "^0.4.8", | ||||
|     "tailwindcss": "^4.1.7", | ||||
|     "tw-animate-css": "^1.3.0" | ||||
|     "@types/react": "^19.2.2", | ||||
|     "@types/react-dom": "^19.2.2", | ||||
|     "@vitejs/plugin-basic-ssl": "^2.1.0", | ||||
|     "dotenv": "^17.2.3", | ||||
|     "tailwindcss": "^4.1.14", | ||||
|     "tw-animate-css": "^1.4.0" | ||||
|   }, | ||||
|   "packageManager": "pnpm@10.11.0" | ||||
|   "packageManager": "pnpm@10.18.3" | ||||
| } | ||||
 Submodule packages/components deleted from bdf6243bd9
									
								
							
							
								
								
									
										1753
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										1753
									
								
								pnpm-lock.yaml
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @@ -1,4 +0,0 @@ | ||||
| packages: | ||||
|   - packages/* | ||||
|   - apps/* | ||||
|   - submodules/* | ||||
		Reference in New Issue
	
	Block a user