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

Added command option to disable type-casting #268

Open
wants to merge 48 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
90aa0db
Support default values for options
jbrumwell Sep 23, 2016
8f3b815
Review fixes
jbrumwell Apr 12, 2017
d371f79
Merge branch 'dthree/master'
jbrumwell Apr 12, 2017
7ced49a
Rename variable from Vantage to Vorpal
Nathan-Schwartz May 5, 2017
a67d558
Merge pull request #229 from Nathan-Schwartz/rename-variable
milesj May 25, 2017
4fffccc
Updated deps and switched to Yarn.
milesj May 25, 2017
dea9394
Merge pull request #235 from dthree/yarn-dep-audit
milesj May 25, 2017
fd3abaf
Updated Inquirer and other prod deps.
milesj May 25, 2017
98973ed
Merge pull request #236 from dthree/dep-audit
milesj May 25, 2017
1eac690
Merge pull request #182 from jbrumwell/feature/options-default-values
milesj May 26, 2017
792764e
Remove dist folder.
milesj May 26, 2017
255cf6d
Merge pull request #237 from dthree/remove-dist
milesj May 26, 2017
401f9b7
Replaced Gulp with NPM scripts. Updated to use milesj/build-tool-conf…
milesj May 26, 2017
204fe38
Updated changelog.
milesj May 26, 2017
7c34fac
Merge pull request #238 from dthree/build-config
milesj May 26, 2017
5a22722
Updated changelog.
milesj May 26, 2017
c5dcf94
Removed Babel. Updating Node.js req to 6.10.
milesj May 27, 2017
410a403
Fix travis config.
milesj May 27, 2017
7bd99d0
Converted command-instance to ES2015.
milesj May 26, 2017
b1943cb
Updated to use require().
milesj May 28, 2017
0793eb6
Convert Command to ES2015.
milesj May 28, 2017
0d1bd6f
Merge pull request #239 from dthree/command-es6
milesj May 28, 2017
c68597a
Converted UI to ES2015.
milesj May 28, 2017
3b2a94f
Update lib/history.js to ES2015
Nathan-Schwartz May 27, 2017
1f86d64
Merge pull request #240 from Nathan-Schwartz/chore/history-es2015
milesj May 28, 2017
7845d49
Merge pull request #241 from dthree/ui-es6
milesj May 31, 2017
b9fc283
Fixed crash when persisted history cannot be parsed
laurent22 Jul 1, 2017
643a5fe
Merge pull request #261 from laurent22/master
milesj Jul 1, 2017
2d18ed6
Moving utils into files. Refactored to ES2015.
milesj May 31, 2017
e56d5b8
Porting more utils to functions.
milesj Jun 13, 2017
b6451b4
More debugging on why it doesnt work.
milesj Jun 20, 2017
6e42768
More work on getting it to render.
milesj Jun 22, 2017
b1501b8
Updated deps.
milesj Jun 22, 2017
e82e35a
Fix logging problem.
milesj Jun 23, 2017
dfe231d
Added flow. Reintegrated babel.
milesj Jun 28, 2017
ec34bf3
Ported more utils to flow.
milesj Jun 28, 2017
aed38a4
Added matchCommand.
milesj Jun 28, 2017
e2527b1
Fixed tests.
milesj Jun 28, 2017
4cd7527
Updated parseCommand.
milesj Jun 28, 2017
13c7456
Updated buildCommandArgs.
milesj Jun 28, 2017
4c6d913
Updated deps.
milesj Jul 6, 2017
c6560fe
Fixed flow issues. Finalized utils.
milesj Jul 7, 2017
6893907
Updated deps.
milesj Jul 13, 2017
d04777f
Updated flow defs.
milesj Jul 13, 2017
c9d2d7c
Merge pull request #244 from dthree/utils-es6
milesj Jul 13, 2017
387f64a
Converted Logger to ES2015.
milesj Jul 13, 2017
4d5a8ea
Converted history to flow.
milesj Jul 13, 2017
be6fc51
Added command option to disable type-casting
laurent22 Jul 13, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .babelrc

This file was deleted.

17 changes: 17 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[include]
./lib

[ignore]
.*/node_modules/.*
.*/tests/.*
.*\.test\.js

[libs]

[options]
emoji=true
esproposal.class_instance_fields=enable
esproposal.class_static_fields=enable
esproposal.export_star_as=enable
module.ignore_non_literal_requires=true
suppress_comment=\\(.\\|\n\\)*\\$FlowIgnore
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ pids
lib-cov
coverage
.grunt
dist/.local_storage*
dist/
build/Release
node_modules
test/util/playground.js
Expand Down
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
examples/
test/
.gitignore
.travis.yml
19 changes: 8 additions & 11 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
language: node_js
node_js:
- "0.12"
- "0.11"
- "0.10"
- "4.2.0"
- "iojs-v2"
sudo: false
branches:
only:
- master
language: node_js
node_js:
- "6.10"
- "7"
- "node"
sudo: false
notifications:
email: false
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 2.0.0 [IN PROGRESS]
#### 💥 Breaking
* Updated minimum Node.js requirement to v6.10 (oldest LTS).
* Updated Inquirer.js to v3.1 from v0.11.
* Removed `Command#autocompletion` method.

#### 🚀 New
* Added `Vorpal#title`, `Vorpal#version`, `Vorpal#description`, and `Vorpal#banner` descriptor methods.
* Renders in the header of help and menu screens.
* Added a new options object as the 3rd argument to `Vorpal#command`.
* Supports a new `default` option.
* Supports the old autocomplete functionality as a fallback.
* Added a new `vorpal_exit` event.

#### 🐞 Fixed
* Will now properly exit all scenarios if Ctrl + C is pressed.
* Now supports slashes in autocomplete list values.
* Improvements to variadic argument parsing.

#### 🛠 Internal
* Migrated to 100% ES2015 syntax.
* Migrated to Yarn from NPM.
* Migrated to Yarn scripts from Gulp.
* Updated to no longer require or build with Babel.
* Updated to the latest ESLint (based off Airbnb config).
* Removed the `dist` folder from the repository.
Loading