Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 version #179

Merged
merged 32 commits into from
May 20, 2020
Merged

V2 version #179

merged 32 commits into from
May 20, 2020

Conversation

mattallty
Copy link
Owner

V2 rewrite

@github-actions
Copy link

🚀 Caporal website preview available at: https://v2-version.caporal.run

@github-actions
Copy link

Code coverage

Filename Statements Branches Functions Lines
src/command/index.ts 97.89% 92.31% 96.77% 97.89%
src/command/validate-call.ts 100% 100% 100% 100%
src/argument/validate.ts 100% 100% 100% 100%
src/error/index.ts 100% 100% 100% 100%
src/error/action.ts 100% 100% 100% 100%
src/error/base.ts 100% 100% 100% 100%
src/error/fatal.ts 100% 100% 100% 100%
src/logger/index.ts 98% 100% 85.71% 98%
src/error/invalid-validator.ts 100% 100% 100% 100%
src/error/missing-argument.ts 100% 100% 100% 100%
src/error/missing-flag.ts 100% 100% 100% 100%
src/error/multi-validation.ts 100% 100% 100% 100%
src/utils/colorize.ts 100% 100% 100% 100%
src/error/no-action.ts 100% 100% 100% 100%
src/error/option-synopsis-syntax.ts 100% 100% 100% 100%
src/error/unknown-option.ts 100% 100% 100% 100%
src/option/utils.ts 100% 100% 100% 100%
src/types.ts 100% 100% 100% 100%
src/option/index.ts 97.56% 100% 90% 97.53%
src/validator/utils.ts 100% 100% 100% 100%
src/help/index.ts 100% 100% 100% 100%
src/help/utils.ts 100% 96% 100% 100%
src/help/templates/index.ts 100% 100% 100% 100%
src/help/templates/command.ts 100% 100% 100% 100%
src/help/templates/header.ts 100% 100% 100% 100%
src/help/templates/program.ts 100% 100% 100% 100%
src/help/templates/usage.ts 100% 100% 100% 100%
src/help/templates/custom.ts 92.31% 70% 100% 92.31%
src/autocomplete/index.ts 83.13% 72.22% 82.61% 84.42%
src/parser/index.ts 100% 100% 100% 100%
src/command/find.ts 100% 100% 100% 100%
src/command/import.ts 100% 100% 100% 100%
src/utils/suggest.ts 100% 100% 100% 100%
src/utils/levenshtein.ts 100% 100% 100% 100%
src/error/unknown-command.ts 100% 100% 100% 100%
src/error/validation.ts 100% 100% 100% 100%
src/error/too-many-arguments.ts 100% 100% 100% 100%
src/validator/validate.ts 100% 100% 100% 100%
src/validator/regexp.ts 100% 100% 100% 100%
src/validator/array.ts 100% 100% 100% 100%
src/validator/function.ts 100% 100% 100% 100%
src/validator/caporal.ts 100% 100% 100% 100%
src/argument/find.ts 100% 100% 100% 100%
src/option/validate.ts 100% 100% 100% 100%
src/option/find.ts 100% 100% 100% 100%
src/argument/index.ts 100% 100% 100% 100%
src/argument/synopsis.ts 100% 100% 100% 100%
src/option/mapping.ts 100% 100% 100% 100%
src/config/index.ts 66.67% 100% 60% 66.67%
src/index.ts 100% 100% 100% 100%
src/program/index.ts 93.5% 88.64% 94.74% 94.26%
src/command/scan.ts 100% 100% 100% 100%
src/utils/fs.ts 100% 100% 100% 100%
src/utils/version.ts 100% 100% 100% 100%

@mattallty mattallty merged commit 5e3eb2f into beta May 20, 2020
github-actions bot pushed a commit that referenced this pull request May 20, 2020
# [2.0.0-beta.1](v1.4.0...v2.0.0-beta.1) (2020-05-20)

### Features

* Caporal v2 ([#179](#179)) 5e3eb2f

### BREAKING CHANGES

* Caporal v2 is not backward compatible with 1.x.
v2 is a full rewrite with Typescript which brings a lot of features and fixes to v1.
github-actions bot pushed a commit that referenced this pull request Jun 13, 2020
# [2.0.0](v1.4.0...v2.0.0) (2020-06-13)

### Bug Fixes

* use process.exitCode instead of process.exit(1) 19f862c

### Features

* Caporal v2 ([#179](#179)) 5e3eb2f

### BREAKING CHANGES

* Caporal v2 is not backward compatible with 1.x.
v2 is a full rewrite with Typescript which brings a lot of features and fixes to v1.
github-actions bot pushed a commit that referenced this pull request Jun 13, 2020
# [2.0.0](v1.4.0...v2.0.0) (2020-06-13)

### Bug Fixes

* use process.exitCode instead of process.exit(1) 19f862c

### Features

* Caporal v2 ([#179](#179)) 5e3eb2f

### BREAKING CHANGES

* Caporal v2 is not backward compatible with 1.x.
v2 is a full rewrite with Typescript which brings a lot of features and fixes to v1.
@github-actions
Copy link

🎉 This PR is included in version 2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant