VisCommandsvis init

vis init

Initialize vis.config.ts with best-practice security defaults

vis init

Initialize a vis.config.ts configuration file with best-practice security defaults. In interactive mode, guides you through setting up Socket.dev, build script approval, git hooks, and PM config sync.

Usage

vis init [options]

Examples

# Interactive setup wizard
vis init

# Create minimal config without prompts
vis init --no-interactive

# Overwrite existing config
vis init --force

# Also sync to native PM config files
vis init --sync-native

Options

OptionDefaultDescription
--forcefalseOverwrite existing config file
--no-interactivefalseSkip interactive prompts
--sync-nativefalseSync settings to native PM config files

Interactive Wizard

The wizard walks through:

  1. Socket.dev — Enable supply-chain security scanning
  2. Build scripts — Scan and approve packages with build scripts
  3. Git hooks — Set up pre-commit hooks with lint-staged
  4. PM sync — Sync security settings to pnpm/npm/yarn config
Support

Contribute to our work and keep us going

Community is the heart of open source. The success of our packages wouldn't be possible without the incredible contributions of users, testers, and developers who collaborate with us every day.Want to get involved? Here are some tips on how you can make a meaningful impact on our open source projects.

Ready to help us out?

Be sure to check out the package's contribution guidelines first. They'll walk you through the process on how to properly submit an issue or pull request to our repositories.

Submit a pull request

Found something to improve? Fork the repo, make your changes, and open a PR. We review every contribution and provide feedback to help you get merged.

Good first issues

Simple issues suited for people new to open source development, and often a good place to start working on a package.
View good first issues