1.1.7 • Published 8 days ago

@ou-imdt/create v1.1.7

Weekly downloads
-
License
MIT
Repository
bitbucket
Last release
8 days ago

Create

Create is a command line interface tool that assists in the creation of new widgets intended for distribution to the VLE.

The intention of the tool is to automate the creation of boilerplate code required by the VLE and provide a streamlined, modern, consistent and efficient development experience.

For the detailed boilerplate features, check the boilerplate README file.

Features

  • Creates a new widget with the boilerplate code, with two optional templates (Vanilla JS or VUE).
  • Populates the README file, index.html and package.json with dynamic templating.
  • Checks Node.js version and notifies if Long Term Support (LTS) version is not used.
  • History to maintain the last input data like author email.

Compatibility Note: Requires Node.js LTS version.

Install

npm install -g @ou-imdt/create 

Update to the latest version

npm update -g @ou-imdt/create

Usage

Run the create using:

create

Then answer the following questions to generate a boilerplate.

Template? (Vanilla Javascript/VUE.js)
Widget name?
Widget description?
Widget developer name? **
Widget developer email? **
Install deps? (yes/no)

** These will be fetched from git config, if they do not exist you will be prompted to enter them.

Commands

help  Prints help info

Options

-c, --clear    Clear the console Default: true
-v, --version  Print CLI version Default: false

Changelog

❯ Read the changelog here →](changelog.md)

1.1.7

8 days ago

1.1.6

10 days ago

1.1.5

23 days ago

1.1.4

25 days ago

1.1.3

29 days ago

1.1.1

30 days ago

1.1.2

30 days ago

1.1.0

1 month ago

1.0.4

2 months ago

1.0.3

3 months ago

1.0.2

4 months ago

1.0.1

4 months ago

1.0.0

4 months ago