0.10.2 • Published 3 years ago
@medly/create-module v0.10.2
Create Module
An application for generating either module or simple app. You can also choose between typescript
& javascript
language.
Getting started
Package Manager | Command |
---|---|
NPM | npm init @medly/module |
Yarn | yarn create @medly/module |
PNPM | pnpx @medly/create-module |
Then follow the prompts or you can run command yarn create @medly/module <project-name> [options]
with below options.
Options
Flags | Description | Choices | Default |
---|---|---|---|
-V, --version | output the version number | ||
-o, --org <org> | name of the organization | ||
-r, --registry <registry> | registry to publish the module | npm , github , none | none |
-p, --package-manager <package-manager> | package manager | npm , yarn , pnpm | yarn |
-a, --access <access> | access level of the module | public , restricted | public |
-l, --language <language> | language | typescript , javascript | typescript |
-i, --interactive | show interactive questionnaire | ||
-h, --help | display help for command |
Note: Add
NPM_TOKEN
as secret in github repo to publish the package.
Features
It sets up the following:
babel
totranspile
the code.jest
to writeunit tests
.rollup
tobundle
the code.commitizen
&commitlint
to optimize your commit message.prettier
to automaticallyformat
the code.eslint
to catch the error.github workflow
to automaticallypublish the package on PR merge
.semantic-release
to bump the version and update theCHANGELOG
.typescript
also, if you choosetypescript
as language option.
0.10.2
3 years ago
0.10.1
3 years ago
0.10.0
3 years ago
0.9.7
3 years ago
0.9.6
3 years ago
0.9.5
3 years ago
0.9.4
3 years ago
0.9.3
3 years ago
0.9.2
3 years ago
0.9.1
3 years ago
0.9.0
3 years ago
0.8.2
3 years ago
0.8.1
3 years ago
0.8.0
3 years ago
0.6.3
3 years ago
0.7.1
3 years ago
0.6.2
3 years ago
0.7.0
3 years ago
0.3.0
3 years ago
0.5.3
3 years ago
0.5.0
3 years ago
0.4.1
3 years ago
0.4.0
3 years ago
0.6.1
3 years ago
0.5.2
3 years ago
0.6.0
3 years ago
0.5.1
3 years ago
0.2.0
3 years ago
0.1.1
3 years ago
0.1.0
3 years ago