Files
ruflo/docker-test/test-pr228.dockerfile
T
rUvandClaude 01fe4a6557 feat: implement hive-mind resume functionality (#245)
* fix: update hooks format for Claude Code 1.0.51+ compatibility

- Changed hooks from object format to array format (PreToolUse, PostToolUse, Stop)
- Added migration script for existing users
- Updated settings.json template in init command
- Removed unsupported fields (mcpServers, features, performance)
- Added @alpha tag to npx commands in hooks

Fixes #235

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>

* feat: implement hive-mind resume functionality (alpha.50)

- Add HiveMindSessionManager for session persistence
- Implement auto-save middleware with 30-second intervals
- Add 'hive-mind resume <session-id>' command
- Add 'hive-mind sessions' command to list sessions
- Integrate session tracking into spawn workflow
- Add comprehensive test suite (80+ tests)
- Update documentation and fix README
- Bump version to 2.0.0-alpha.50

Fixes #232

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>

* chore: bump version to 2.0.0-alpha.51

- Update version strings in all CLI files
- Prepare for npm publication

🤖 Generated with Claude Code
Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
2025-07-14 10:56:09 -04:00

52 lines
1.2 KiB
Docker

# Multi-stage Dockerfile for testing PR #228 migration across Node.js versions
ARG NODE_VERSION=20
FROM node:${NODE_VERSION}-alpine
LABEL description="Test environment for PR #228 - Test Suite Migration from Deno to Jest"
LABEL pr_number="228"
LABEL test_scope="jest-migration"
# Install system dependencies
RUN apk add --no-cache \
git \
bash \
python3 \
make \
g++ \
sqlite \
curl
# Set working directory
WORKDIR /app
# Copy package files first for better Docker layer caching
COPY package*.json ./
COPY jest.config.js ./
COPY jest.setup.js ./
COPY tsconfig.json ./
# Install dependencies
RUN npm ci --no-audit --no-fund
# Copy source code and tests
COPY src/ ./src/
COPY tests/ ./tests/
COPY .claude/ ./.claude/
# Copy other necessary files
COPY *.md ./
COPY *.json ./
# Create test directories
RUN mkdir -p /app/test-results /app/coverage
# Health check script
RUN echo '#!/bin/bash\nnode --version\nnpm --version\nnpm list jest ts-jest typescript --depth=0\necho "Container ready for testing"' > /app/healthcheck.sh && chmod +x /app/healthcheck.sh
# Set environment variables for testing
ENV NODE_ENV=test
ENV CI=true
ENV JEST_WORKERS=2
# Default command to run tests
CMD ["npm", "test"]