create-claude-workspace 1.1.105 → 1.1.106

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,6 +14,7 @@ services:
14
14
  - NPM_REGISTRY
15
15
  - GH_TOKEN
16
16
  - GITLAB_TOKEN
17
+ - FONTAWESOME_TOKEN
17
18
  - CLAUDE_DOCKER=1
18
19
 
19
20
  volumes:
@@ -41,6 +41,22 @@ if [[ -n "${GITLAB_TOKEN:-}" ]]; then
41
41
  gosu claude glab auth login --hostname gitlab.com --token "$GITLAB_TOKEN" 2>/dev/null || true
42
42
  fi
43
43
 
44
+ # Bun scoped registries — propagate project .bunfig.toml or create from env var
45
+ # Bun reads ~/.bunfig.toml (global) and $PWD/bunfig.toml (project). Docker volume
46
+ # mounts can break project-level discovery, so we always copy to home as fallback.
47
+ if [[ -f /project/.bunfig.toml ]]; then
48
+ cp /project/.bunfig.toml /home/claude/.bunfig.toml
49
+ chown claude:claude /home/claude/.bunfig.toml
50
+ echo "Copied project .bunfig.toml to claude home."
51
+ elif [[ -n "${FONTAWESOME_TOKEN:-}" ]]; then
52
+ cat > /home/claude/.bunfig.toml <<BUNEOF
53
+ [install.scopes]
54
+ "@fortawesome" = { token = "${FONTAWESOME_TOKEN}", url = "https://npm.fontawesome.com/" }
55
+ BUNEOF
56
+ chown claude:claude /home/claude/.bunfig.toml
57
+ echo "Created .bunfig.toml from FONTAWESOME_TOKEN."
58
+ fi
59
+
44
60
  # Auth pre-check — fail fast if no credentials available
45
61
  if [[ -z "${ANTHROPIC_API_KEY:-}" ]]; then
46
62
  creds="/home/claude/.claude/.credentials.json"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-claude-workspace",
3
- "version": "1.1.105",
3
+ "version": "1.1.106",
4
4
  "description": "Scaffold a project with Claude Code agents for autonomous AI-driven development",
5
5
  "type": "module",
6
6
  "bin": {