mirror of
https://github.com/AikidoSec/safe-chain.git
synced 2026-05-26 12:10:49 +00:00
- Add uv package manager implementation following pip pattern - Configure MITM proxy with CA bundle for PyPI packages - Add shell integration (bash/zsh/fish/PowerShell) - Conditional on --include-python flag - Add 33 comprehensive E2E tests covering: - uv pip install/sync/compile commands - uv add for project dependencies - uv tool install for global tools - uv run --with for ephemeral dependencies - uv sync for project syncing - Malware blocking verification for all methods - Update documentation and package.json - Install uv in Docker test environment
15 lines
512 B
JavaScript
Executable file
15 lines
512 B
JavaScript
Executable file
#!/usr/bin/env node
|
|
|
|
import { main } from "../src/main.js";
|
|
import { initializePackageManager } from "../src/packagemanager/currentPackageManager.js";
|
|
import { setEcoSystem, ECOSYSTEM_PY } from "../src/config/settings.js";
|
|
import { UV_PACKAGE_MANAGER } from "../src/packagemanager/uv/uvSettings.js";
|
|
|
|
// Set eco system
|
|
setEcoSystem(ECOSYSTEM_PY);
|
|
|
|
initializePackageManager(UV_PACKAGE_MANAGER);
|
|
|
|
// Pass through only user-supplied uv args
|
|
var exitCode = await main(process.argv.slice(2));
|
|
process.exit(exitCode);
|