mirror of https://github.com/garrytan/gstack.git
Merge b83c61c176 into dedfe42ef0
This commit is contained in:
commit
94463bb138
|
|
@ -0,0 +1,8 @@
|
|||
FROM mcr.microsoft.com/devcontainers/typescript-node:1-22-bookworm
|
||||
|
||||
ENV BUN_INSTALL=/usr/local/bun
|
||||
|
||||
RUN set -eux; \
|
||||
curl -fsSL https://bun.sh/install | bash; \
|
||||
ln -sf /usr/local/bun/bin/bun /usr/local/bin/bun; \
|
||||
ln -sf /usr/local/bun/bin/bunx /usr/local/bin/bunx
|
||||
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
"name": "Node.js & TypeScript",
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile",
|
||||
"context": "."
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": ["oven.bun-vscode"]
|
||||
}
|
||||
},
|
||||
"postCreateCommand": "bun install --frozen-lockfile && bash ./.devcontainer/setup-gstack.sh",
|
||||
"remoteUser": "node"
|
||||
}
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
REPO_ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
||||
SKILL_DIR="$HOME/.claude/skills"
|
||||
|
||||
mkdir -p "$SKILL_DIR"
|
||||
|
||||
target="$SKILL_DIR"
|
||||
|
||||
# Copy repo contents into ~/.claude/skills without deleting existing files.
|
||||
cp -a "$REPO_ROOT"/. "$target"/
|
||||
|
||||
echo "Skill directory: $SKILL_DIR"
|
||||
echo "Copied project root into: $target"
|
||||
Loading…
Reference in New Issue