This commit is contained in:
熊潇 2025-04-30 19:32:58 +08:00
parent 86d0ab3d2d
commit bf61e21014
7 changed files with 874 additions and 10 deletions

View File

@ -1,5 +1,11 @@
name: Sync to CNB
on: [push]
# on: [push]
on:
push:
branches:
# - main
- 'releases/**'
workflow_dispatch:
jobs:
sync:

2
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "packages/components"]
path = packages/components
url = https://git.xiongxiao.me/kevisual/components.git
url = https://git.xiongxiao.me/kevisual/components.git

View File

@ -19,7 +19,11 @@
"@astrojs/mdx": "^4.2.5",
"@astrojs/react": "^4.2.6",
"@astrojs/sitemap": "^3.3.1",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@kevisual/query": "^0.0.17",
"@kevisual/query-login": "^0.0.4",
"@mui/material": "^7.0.2",
"@tailwindcss/vite": "^4.1.4",
"astro": "^5.7.9",
"clsx": "^2.1.1",
@ -30,12 +34,14 @@
"react": "^19.1.0",
"react-dom": "^19.1.0",
"react-toastify": "^11.0.5",
"tailwind-merge": "^3.2.0",
"zustand": "^5.0.3"
},
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@kevisual/components": "workspace:*",
"@kevisual/types": "^0.0.9",
"@types/react": "^19.1.2",
"@types/react-dom": "^19.1.2",

0
packages/.gitkeep Normal file
View File

1
packages/components Submodule

@ -0,0 +1 @@
Subproject commit bdf6243bd9d09174f37b883e4094e8e7f97ada37

862
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

View File

@ -3,17 +3,20 @@
console.log('Hello from index.astro');
import { Test } from '@/components/Test.tsx';
import '../styles/global.css';
// import { Button } from '@kevisual/components/button/index.tsx';
import { Button } from '@mui/material'
---
<html lang='en'>
<head>
<title>My Homepage</title>
</head>
</head>e
<body>
<h1>Welcome to my website!</h1>
<div class='bg-amber-50 w-20 h-20 rounded-full'></div>
<div id='root'></div>
<Test client:only />
<Button client:only="react">sdf sdf</Button>
<script type='importmap' data-vite-ignore is:inline>
{
"imports": {