remove redundant files (#1099)
This commit is contained in:
committed by
GitHub
parent
3c36ee6cd5
commit
e160571f67
1
-
1
-
Submodule - deleted from 04e18f892c
@@ -1,23 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
# ─ load up your Rust/Cargo from ~/.cargo/env ─
|
||||
if [ -f "$HOME/.cargo/env" ]; then
|
||||
# this is where `cargo` typically lives
|
||||
source "$HOME/.cargo/env"
|
||||
fi
|
||||
|
||||
# now run both checks
|
||||
cargo check --workspace --message-format=json "$@"
|
||||
cargo check --workspace --message-format=json --features cloud "$@"
|
||||
|
||||
# Add this to .vscode/settings.json to lint both cloud and non-cloud
|
||||
# {
|
||||
# // rust-analyzer will still do its usual code‑lens, inlay, etc. based
|
||||
# // on whatever "cargo.features" you pick here (can be [] for no-features,
|
||||
# // or ["foo"] for a specific feature).
|
||||
# "rust-analyzer.cargo.features": "all",
|
||||
# // overrideCommand must emit JSON diagnostics. We're just calling our
|
||||
# // script which in turn calls cargo twice.
|
||||
# "rust-analyzer.check.overrideCommand": [
|
||||
# "${workspaceFolder}/check-both.sh"
|
||||
# ]
|
||||
# }
|
||||
@@ -1,42 +0,0 @@
|
||||
#!/bin/bash
|
||||
# test-npm-package.sh
|
||||
|
||||
set -e
|
||||
|
||||
echo "🧪 Testing NPM package locally..."
|
||||
|
||||
# Build the package first
|
||||
./build-npm-package.sh
|
||||
|
||||
cd npx-cli
|
||||
|
||||
echo "📋 Checking files to be included..."
|
||||
npm pack --dry-run
|
||||
|
||||
echo "📦 Creating package tarball..."
|
||||
npm pack
|
||||
|
||||
TARBALL=$(pwd)/$(ls vibe-kanban-*.tgz | head -n1)
|
||||
|
||||
echo "🧪 Testing main command..."
|
||||
npx -y --package=$TARBALL vibe-kanban &
|
||||
MAIN_PID=$!
|
||||
sleep 3
|
||||
kill $MAIN_PID 2>/dev/null || true
|
||||
wait $MAIN_PID 2>/dev/null || true
|
||||
echo "✅ Main app started successfully"
|
||||
|
||||
echo "🧪 Testing MCP command with complete handshake..."
|
||||
|
||||
node ../scripts/mcp_test.js $TARBALL
|
||||
|
||||
echo "🧹 Cleaning up..."
|
||||
rm "$TARBALL"
|
||||
|
||||
echo "✅ NPM package test completed successfully!"
|
||||
echo ""
|
||||
echo "🎉 Your MCP server is working correctly!"
|
||||
echo "📋 Next steps:"
|
||||
echo " 1. cd npx-cli"
|
||||
echo " 2. npm publish"
|
||||
echo " 3. Users can then use: npx vibe-kanban --mcp with Claude Desktop"
|
||||
Reference in New Issue
Block a user