Socket
Socket
Sign inDemoInstall

@corva/fe-dev-helper-cli

Package Overview
Dependencies
74
Maintainers
16
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @corva/fe-dev-helper-cli

Shared components/utils for Corva ui projects


Version published
Weekly downloads
6
increased by500%
Maintainers
16
Created
Weekly downloads
 

Readme

Source

corva-fe-dev-helper-cli

This is a simple CLI that helps with

  • info about latest active branches
  • release/hot fixes
  • releases

Its current goal is to unify our processes. It is very opinionated and supports a single variant workflow.

Requirements to use

Repository should use our auto release config

name: Auto release
on:
  push:
    branches:
      - develop
      - release/[0-9]+.[0-9]+
      - stable/[0-9]+.[0-9]+
  workflow_dispatch:
    inputs:
      release-as:
        description: 'Manually specify new release version'
        required: false

concurrency:
  group: auto-bump-${{ github.ref }}
  cancel-in-progress: true

jobs:
  auto-release:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout source code
        uses: actions/checkout@v4

      - name: Auto release
        uses: corva-ai/gh-actions/core/auto-release@feat/auto-bump-action
        with:
          pr-approver-github-token: ${{ secrets.GH_ACTIONS_AUTOMATION }}
          release-as: ${{ github.event.inputs.release-as }}

Repository should follow our 3envs branching strategy

develop -> create release/X.X -> create stable/X.X repeat

Usage

npx @corva/fe-dev-helper-cli@latest

Contributing

  • checkout from develop (e.g.: git checkout -b feat/TKT-15-my-feature)
  • commit your changes following conventional commits rules
  • create a PR (the name also should follow the same rules)
  • once it's merged - auto version-bump release PR will be created / or existing updated
  • merge the release PR - the new version will be published to NPM

TODO

  • Refactor spaghetti parts, lol
  • Update confirm steps for release assist flow to describe exactly what CLI is going to do, not just release/X.Y - exact versions
  • Add a final confirm step "Open created PRs" that opens all the created PRs, to not have to click on the links
  • Add check that verifies that github actions were actually triggered during the release commands
  • Add tests

Keywords

FAQs

Last updated on 07 Feb 2024

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc