mirror of
https://github.com/affaan-m/everything-claude-code.git
synced 2026-03-31 06:03:29 +08:00
* Add install.ps1 PowerShell wrapper and tests Add a Windows-native PowerShell wrapper (install.ps1) that resolves symlinks and delegates to the Node-based installer runtime. Update README with PowerShell usage examples and cross-platform npx entrypoint guidance. Point the ecc-install bin to the Node installer (scripts/install-apply.js) in package.json (and refresh package-lock), include install.ps1 in package files, and add tests: a new install-ps1.test.js and a tweak to install-sh.test.js to skip on Windows. These changes provide native Windows installer support while keeping npm-compatible cross-platform invocation. * Improve tests for Windows HOME/USERPROFILE Make tests more cross-platform by ensuring HOME and USERPROFILE are kept in sync and by normalizing test file paths for display. - tests/lib/session-adapters.test.js: set USERPROFILE when temporarily setting HOME and restore previous USERPROFILE on teardown. - tests/run-all.js: use a normalized displayPath (forward-slash separated) for logging and error messages so output is consistent across platforms. - tests/scripts/ecc.test.js & tests/scripts/session-inspect.test.js: build envOverrides from options.env and add HOME <-> USERPROFILE fallbacks so spawned child processes receive both variables when only one is provided. These changes prevent test failures and inconsistent logs on Windows where USERPROFILE is used instead of HOME. * Fix Windows paths and test flakiness Improve cross-platform behavior and test stability. - Remove unused createLegacyInstallPlan import from install-lifecycle.js. - Change resolveInstallConfigPath to use path.normalize(path.join(cwd, configPath)) to produce normalized relative paths. - Tests: add toBashPath and normalizedRelativePath helpers to normalize Windows paths for bash and comparisons. - Make cleanupTestDir retry rmSync on transient Windows errors (EPERM/EBUSY/ENOTEMPTY) with short backoff using sleepMs. - Ensure spawned test processes receive USERPROFILE and convert repo/detect paths to bash format when invoking bash. These changes reduce Windows-specific failures and flakiness in the test suite and tidy up a small unused import.
125 lines
3.7 KiB
JSON
125 lines
3.7 KiB
JSON
{
|
|
"name": "ecc-universal",
|
|
"version": "1.8.0",
|
|
"description": "Complete collection of battle-tested Claude Code configs — agents, skills, hooks, commands, and rules evolved over 10+ months of intensive daily use by an Anthropic hackathon winner",
|
|
"keywords": [
|
|
"claude-code",
|
|
"ai",
|
|
"agents",
|
|
"skills",
|
|
"hooks",
|
|
"mcp",
|
|
"rules",
|
|
"claude",
|
|
"anthropic",
|
|
"tdd",
|
|
"code-review",
|
|
"security",
|
|
"automation",
|
|
"best-practices",
|
|
"cursor",
|
|
"cursor-ide",
|
|
"opencode",
|
|
"codex",
|
|
"presentations",
|
|
"slides"
|
|
],
|
|
"author": {
|
|
"name": "Affaan Mustafa",
|
|
"url": "https://x.com/affaanmustafa"
|
|
},
|
|
"license": "MIT",
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/affaan-m/everything-claude-code.git"
|
|
},
|
|
"homepage": "https://github.com/affaan-m/everything-claude-code#readme",
|
|
"bugs": {
|
|
"url": "https://github.com/affaan-m/everything-claude-code/issues"
|
|
},
|
|
"files": [
|
|
".agents/",
|
|
".codex/",
|
|
".cursor/",
|
|
".opencode/commands/",
|
|
".opencode/instructions/",
|
|
".opencode/plugins/",
|
|
".opencode/prompts/",
|
|
".opencode/tools/",
|
|
".opencode/index.ts",
|
|
".opencode/opencode.json",
|
|
".opencode/package.json",
|
|
".opencode/tsconfig.json",
|
|
".opencode/MIGRATION.md",
|
|
".opencode/README.md",
|
|
"agents/",
|
|
"commands/",
|
|
"contexts/",
|
|
"examples/CLAUDE.md",
|
|
"examples/user-CLAUDE.md",
|
|
"examples/statusline.json",
|
|
"hooks/",
|
|
"manifests/",
|
|
"mcp-configs/",
|
|
"plugins/",
|
|
"rules/",
|
|
"schemas/",
|
|
"scripts/ci/",
|
|
"scripts/ecc.js",
|
|
"scripts/hooks/",
|
|
"scripts/lib/",
|
|
"scripts/claw.js",
|
|
"scripts/doctor.js",
|
|
"scripts/status.js",
|
|
"scripts/sessions-cli.js",
|
|
"scripts/install-apply.js",
|
|
"scripts/install-plan.js",
|
|
"scripts/list-installed.js",
|
|
"scripts/orchestration-status.js",
|
|
"scripts/orchestrate-codex-worker.sh",
|
|
"scripts/orchestrate-worktrees.js",
|
|
"scripts/setup-package-manager.js",
|
|
"scripts/skill-create-output.js",
|
|
"scripts/repair.js",
|
|
"scripts/harness-audit.js",
|
|
"scripts/session-inspect.js",
|
|
"scripts/uninstall.js",
|
|
"skills/",
|
|
"AGENTS.md",
|
|
".claude-plugin/plugin.json",
|
|
".claude-plugin/README.md",
|
|
"install.sh",
|
|
"install.ps1",
|
|
"llms.txt"
|
|
],
|
|
"bin": {
|
|
"ecc": "scripts/ecc.js",
|
|
"ecc-install": "scripts/install-apply.js"
|
|
},
|
|
"scripts": {
|
|
"postinstall": "echo '\\n ecc-universal installed!\\n Run: npx ecc typescript\\n Compat: npx ecc-install typescript\\n Docs: https://github.com/affaan-m/everything-claude-code\\n'",
|
|
"lint": "eslint . && markdownlint '**/*.md' --ignore node_modules",
|
|
"harness:audit": "node scripts/harness-audit.js",
|
|
"claw": "node scripts/claw.js",
|
|
"orchestrate:status": "node scripts/orchestration-status.js",
|
|
"orchestrate:worker": "bash scripts/orchestrate-codex-worker.sh",
|
|
"orchestrate:tmux": "node scripts/orchestrate-worktrees.js",
|
|
"test": "node scripts/ci/validate-agents.js && node scripts/ci/validate-commands.js && node scripts/ci/validate-rules.js && node scripts/ci/validate-skills.js && node scripts/ci/validate-hooks.js && node scripts/ci/validate-install-manifests.js && node scripts/ci/validate-no-personal-paths.js && node tests/run-all.js",
|
|
"coverage": "c8 --all --include=\"scripts/**/*.js\" --check-coverage --lines 80 --functions 80 --branches 80 --statements 80 --reporter=text --reporter=lcov node tests/run-all.js"
|
|
},
|
|
"dependencies": {
|
|
"sql.js": "^1.14.1"
|
|
},
|
|
"devDependencies": {
|
|
"@eslint/js": "^9.39.2",
|
|
"ajv": "^8.18.0",
|
|
"c8": "^10.1.2",
|
|
"eslint": "^9.39.2",
|
|
"globals": "^17.1.0",
|
|
"markdownlint-cli": "^0.47.0"
|
|
},
|
|
"engines": {
|
|
"node": ">=18"
|
|
}
|
|
}
|