cargonode

Crates.iocargonode
lib.rscargonode
version
sourcesrc
created_at2024-11-27 16:57:48.330644
updated_at2024-12-02 14:45:41.8791
descriptionUnified tooling for Node.js.
homepage
repositoryhttps://github.com/xosnrdev/cargonode
max_upload_size
id1463353
Cargo.toml error:TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include`
size0
Success Kingsley (xosnrdev)

documentation

README

Unified tooling for Node.js, integrating BiomeJS, Tsup, Vitest, and Release-It.

Features

  • Rust-powered performance
  • Tool-agnostic architecture
  • Command customization
  • Project templates
  • Inherited CLI arguments
  • Cross-platform support

Requirements

System

  • Node.js >= 20.11.0
  • Rust >= 1.80

Platforms

  • macOS (x64, ARM)
  • Linux (x64, ARM)
  • Windows (x64, ARM)

Installation

macOS:

brew install xosnrdev/cargonode/cargonode

Rust:

cargo install cargonode

Additional package managers planned.

Usage

# Project
cargonode new my-project
cargonode init

# Operations
cargonode build  # default: tsup
cargonode test   # default: vitest
cargonode fmt    # default: biome
cargonode check  # default: biome
cargonode release # default: release-it

# Help
cargonode --help
cargonode build --help  # displays tsup help
cargonode test run     # runs vitest run
cargonode check --fix  # runs biome check --fix

Configuration

Customize tools via cargonode.toml:

[commands.format]
command = "eslint"  # replace biome
args = ["--fix"]

[commands.release]
prechecks = ["test", "build"]

Template Reference

Precedence

  1. CLI Arguments
  2. Project Configuration
  3. Defaults

Support

GitHub Issues

License

MIT OR Apache-2.0

Commit count: 133

cargo fmt