Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/four-dogs-fold09.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@nicepkg/vsync": patch
---

release first version 09
2 changes: 1 addition & 1 deletion .github/workflows/preview-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
matrix:
package:
# When you add a new package, add a new line here
- name: "vsync"
- name: "@nicepkg/vsync"
dir: "cli"
display: "vsync (CLI)"
# - name: "core"
Expand Down
13 changes: 0 additions & 13 deletions .vibe-sync.json

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ flowchart TD

```bash
# Option 1: Run directly with npx (no installation needed)
npx vsync
npx @nicepkg/vsync

# Option 2: Install globally with npm
npm install -g vsync
npm install -g @nicepkg/vsync

# Verify installation
vsync --version
Expand Down
4 changes: 2 additions & 2 deletions README_cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,10 +117,10 @@ flowchart TD

```bash
# 方式 1: 使用 npx 直接运行 (无需安装)
npx vsync
npx @nicepkg/vsync

# 方式 2: 使用 npm 全局安装
npm install -g vsync
npm install -g @nicepkg/vsync

# 验证安装
vsync --version
Expand Down
12 changes: 0 additions & 12 deletions cli/.vibe-sync.json

This file was deleted.

2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "vsync",
"name": "@nicepkg/vsync",
"version": "1.0.5",
"description": "CLI for vsync - AI coding tool config synchronizer",
"type": "module",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"build:website": "pnpm --filter website build",
"start:website": "pnpm --filter website start",
"start:static-website": "pnpm --filter website start:static",
"dev:cli": "pnpm --filter vsync dev",
"build:cli": "pnpm --filter vsync build",
"dev:cli": "pnpm --filter @nicepkg/vsync dev",
"build:cli": "pnpm --filter @nicepkg/vsync build",
"test": "pnpm -r run test",
"test:coverage": "pnpm -r run test:coverage",
"lint": "pnpm -r run lint",
Expand Down
2 changes: 1 addition & 1 deletion scripts/release-publish.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
set -euo pipefail

pnpm --filter vsync run build
pnpm --filter @nicepkg/vsync run build
pnpm ci:publish
pnpm changeset tag
2 changes: 1 addition & 1 deletion website/content/en/_meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default {
},
changelog: {
title: "Changelog",
href: "https://github.com/nicepkg/vsync/blob/main/CHANGELOG.md",
href: "https://github.com/nicepkg/vsync/blob/main/cli/CHANGELOG.md",
},
release: {
title: "Release",
Expand Down
4 changes: 2 additions & 2 deletions website/content/en/docs/advanced-features.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ jobs:
node-version: '18'

- name: Sync configs
run: npx vsync sync --yes
run: npx @nicepkg/vsync sync --yes
env:
# Add any required environment variables
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -349,7 +349,7 @@ Automatically sync before commits:
# Check if .vsync.json exists
if [ -f .vsync.json ]; then
echo "Running vsync..."
npx vsync sync --yes
npx @nicepkg/vsync sync --yes

# Add synced files to commit
git add .cursor/ .opencode/ .codex/
Expand Down
4 changes: 2 additions & 2 deletions website/content/en/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ vsync can be used without installation via `npx`, or installed globally for conv
No installation needed—just run:

```bash
npx vsync
npx @nicepkg/vsync
```

### Option 2: Global Installation

```bash
npm install -g vsync
npm install -g @nicepkg/vsync
```

Verify the installation:
Expand Down
2 changes: 1 addition & 1 deletion website/content/en/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ Native support for English and Chinese (中文).

```bash
# Install
npm install -g vsync
npm install -g @nicepkg/vsync

# Initialize
vsync init
Expand Down
2 changes: 1 addition & 1 deletion website/content/en/docs/quick-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ vsync sync
```bash
# GitHub Actions
- name: Sync configs
run: npx vsync sync --yes
run: npx @nicepkg/vsync sync --yes
```

**[Learn more →](../advanced-features#cicd-integration)**
Expand Down
2 changes: 1 addition & 1 deletion website/content/zh/_meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export default {
},
changelog: {
title: "更新日志",
href: "https://github.com/nicepkg/vsync/blob/main/CHANGELOG.md",
href: "https://github.com/nicepkg/vsync/blob/main/cli/CHANGELOG.md",
},
release: {
title: "发布",
Expand Down
4 changes: 2 additions & 2 deletions website/content/zh/docs/advanced-features.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ jobs:
node-version: '18'

- name: Sync configs
run: npx vsync sync --yes
run: npx @nicepkg/vsync sync --yes
env:
# 添加任何所需的环境变量
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -349,7 +349,7 @@ jobs:
# 检查 .vsync.json 是否存在
if [ -f .vsync.json ]; then
echo "Running vsync..."
npx vsync sync --yes
npx @nicepkg/vsync sync --yes

# 将同步的文件添加到提交
git add .cursor/ .opencode/ .codex/
Expand Down
4 changes: 2 additions & 2 deletions website/content/zh/docs/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ vsync 可以通过 `npx` 直接使用无需安装,也可以全局安装以便
无需安装——直接运行:

```bash
npx vsync
npx @nicepkg/vsync
```

### 方式 2:全局安装

```bash
npm install -g vsync
npm install -g @nicepkg/vsync
```

验证安装:
Expand Down
2 changes: 1 addition & 1 deletion website/content/zh/docs/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ vsync 管理以下配置类型:

```bash
# 安装
npm install -g vsync
npm install -g @nicepkg/vsync

# 初始化
vsync init
Expand Down
2 changes: 1 addition & 1 deletion website/content/zh/docs/quick-reference.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ vsync sync
```bash
# GitHub Actions
- name: Sync configs
run: npx vsync sync --yes
run: npx @nicepkg/vsync sync --yes
```

**[了解更多 →](../advanced-features#cicd-integration)**
Expand Down
2 changes: 1 addition & 1 deletion website/src/components/home/landing-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ export function LandingPage({ lang }: { lang: "en" | "zh" }) {
<div className="bg-card/80 border-primary/10 rounded-xl border p-6 shadow-2xl backdrop-blur-md">
<div className="flex items-center overflow-x-auto text-left font-mono text-sm whitespace-nowrap md:text-base">
<span className="text-primary mr-3 select-none">$</span>
<span className="text-foreground">npx vsync sync</span>
<span className="text-foreground">npx @nicepkg/vsync sync</span>
</div>
</div>
</div>
Expand Down
Loading