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 name: Sync to CNB
on: [push] # on: [push]
on:
push:
branches:
# - main
- 'releases/**'
workflow_dispatch:
jobs: jobs:
sync: sync:

View File

@ -19,7 +19,11 @@
"@astrojs/mdx": "^4.2.5", "@astrojs/mdx": "^4.2.5",
"@astrojs/react": "^4.2.6", "@astrojs/react": "^4.2.6",
"@astrojs/sitemap": "^3.3.1", "@astrojs/sitemap": "^3.3.1",
"@emotion/react": "^11.14.0",
"@emotion/styled": "^11.14.0",
"@kevisual/query": "^0.0.17", "@kevisual/query": "^0.0.17",
"@kevisual/query-login": "^0.0.4",
"@mui/material": "^7.0.2",
"@tailwindcss/vite": "^4.1.4", "@tailwindcss/vite": "^4.1.4",
"astro": "^5.7.9", "astro": "^5.7.9",
"clsx": "^2.1.1", "clsx": "^2.1.1",
@ -30,12 +34,14 @@
"react": "^19.1.0", "react": "^19.1.0",
"react-dom": "^19.1.0", "react-dom": "^19.1.0",
"react-toastify": "^11.0.5", "react-toastify": "^11.0.5",
"tailwind-merge": "^3.2.0",
"zustand": "^5.0.3" "zustand": "^5.0.3"
}, },
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
}, },
"devDependencies": { "devDependencies": {
"@kevisual/components": "workspace:*",
"@kevisual/types": "^0.0.9", "@kevisual/types": "^0.0.9",
"@types/react": "^19.1.2", "@types/react": "^19.1.2",
"@types/react-dom": "^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'); console.log('Hello from index.astro');
import { Test } from '@/components/Test.tsx'; import { Test } from '@/components/Test.tsx';
import '../styles/global.css'; import '../styles/global.css';
// import { Button } from '@kevisual/components/button/index.tsx';
import { Button } from '@mui/material'
--- ---
<html lang='en'> <html lang='en'>
<head> <head>
<title>My Homepage</title> <title>My Homepage</title>
</head> </head>e
<body> <body>
<h1>Welcome to my website!</h1> <h1>Welcome to my website!</h1>
<div class='bg-amber-50 w-20 h-20 rounded-full'></div> <div class='bg-amber-50 w-20 h-20 rounded-full'></div>
<div id='root'></div> <div id='root'></div>
<Test client:only /> <Test client:only />
<Button client:only="react">sdf sdf</Button>
<script type='importmap' data-vite-ignore is:inline> <script type='importmap' data-vite-ignore is:inline>
{ {
"imports": { "imports": {