Tag: jenkins

  • jq Cheatsheet

    jq Cheatsheet

    jq is a powerful command-line JSON processor that makes it easy to extract, transform, and query structured data. Below is a compact cheatsheet using a sample vehicle dataset to demonstrate some of its most useful features. Sample JSON: vehicles.json jq Commands Pretty Print Select a Field Returns each vehicle make. Filter by Condition Filters vehicles…

  • Understanding How Yarn Traverses Parent Directories for .npmrc Files

    Understanding How Yarn Traverses Parent Directories for .npmrc Files

    When working with Yarn, it’s essential to understand how it handles .npmrc files, especially when dealing with multiple configurations across different environments. A common issue can arise when a missing .npmrc file in a package causes discrepancies between local and CI/CD environments like Jenkins. How Yarn Handles .npmrc Files Yarn, by design, traverses the directory…