Skip to content

Provides devcontainer features: GitTools/GitVersion , nektos/act, gitutils (opiniated semver git/gitflow aliases), githooks (opinated semver git hooks), pecl support (pecl.php.net)

License

Notifications You must be signed in to change notification settings

tomgrv/devcontainer-features

Repository files navigation

Dev Container Features

This repository contains a collection of features that can be used to enhance the development experience in a Visual Studio Code Dev Container.

The features are organized in separate folders and can be used individually in a devcontainer.json file

Installation

Installation script can be run locally and/or in devcontainer environnement

When run locally:

  • features are installed in local environment.
  • a devcontainer.json file is eventually created for remote development experience.
npx tomgrv/devcontainer-features -- --h

To install only stubs

npx tomgrv/devcontainer-features -- --s

To install a specific devcontainer feature(s)

npx tomgrv/devcontainer-features -- gitutils

To setup a full dev environnement with

npx tomgrv/devcontainer-features -- --a

Features Overview

GitUtils

The GitUtils feature installs a collection of Git utilities in the dev container. The utilities are useful for automating Git workflows.

GitHooks

Configure developpement environnement in one step in conjunction with following packages:

  • @commitlint/cli
  • @commitlint/config-conventional
  • @commitlint/core
  • @commitlint/cz-commitlint
  • commitizen
  • conventional-changelog-cli
  • devmoji
  • git-precommit-checks
  • lint-staged
  • prettier
  • sort-package-json

GitVersion

The GitVersion feature installs GitVersion in the dev container. GitVersion is a tool that calculates a version number based on the Git history. The version number is written to a file that can be used in the build process.

Act

The Act feature installs the [nektos/act] tool in the dev container. Act is a tool that allows you to run GitHub Actions locally.

More information about Act can be found on the Act GitHub page.

PECL

The PECL feature installs the PHP Extension Community Library (PECL) in the dev container. PECL is a repository for PHP extensions.

More information about PECL can be found on the PECL website.

Contributing

If you have a feature that you would like to add to this repository, please open an issue or submit a pull request.

License

This repository is licensed under the MIT License.

About

Provides devcontainer features: GitTools/GitVersion , nektos/act, gitutils (opiniated semver git/gitflow aliases), githooks (opinated semver git hooks), pecl support (pecl.php.net)

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Languages