2.0.0 • Published 9 months ago

create-redcap-module v2.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
9 months ago

create-redcap-module

A simple CLI tool to generate new REDCap external modules.

alt text

Requirements

  • Node.js (developed with v16.20.0, not tested on other versions)

How to use

Please check the documentation for detailed instructions.

Navigate into your redcap modules folder

   cd modules

Run the module generator directly over npx

   npx create-redcap-module

After completing the necessary input, a module folder will be available at /redcap/modules/.

Development

Feature and pull requests are welcome.

Running the CLI locally: 1. Clone the repo. 2. Run node ./path-to-module/bin/create-redcap-module (please ensure your node version is set to required version ,see .nvmrc)

Roadmap

  • Optimize template generation
  • Add more features to template(s) (BabelJS, phpunit, composer, ..)
  • Add more template variations (Action Tag, API Extension, ..)
  • Add help option/explanation to CLI (optionator)

  • Automatic npm publishing flow (@release)

Changelog

VersionDescription
v1.0.0Initial release.
v1.0.1Added first features.
v1.1.0Rewrite of most parts.
v1.1.1Update Readme(s).
v1.1.2Fix path building cross platform.
v1.2.0Add features through composer: Psalm, PHPUnit and varDump.
v1.3.1Upgrade REDCap Framework version, upgrade npm dependecies
v2.0.0Update package dependencies, REDCap Framework version, remove psalm task (covered by framework itself)
2.0.0

9 months ago

1.3.2

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.2.0

3 years ago

1.1.2

3 years ago

1.1.0

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago