Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sindresorhus/meow
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9a5c90af79fb8f5f29c97e6b92b63f41e2df4f34
Choose a base ref
...
head repository: sindresorhus/meow
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 6052e692e4561b157d3a251d0ba045fe34303399
Choose a head ref

Commits on Dec 16, 2015

  1. Copy the full SHA
    1662881 View commit details

Commits on Jan 4, 2016

  1. Copy the full SHA
    86e574a View commit details

Commits on Feb 28, 2016

  1. Give help a margin below, too

    Currently `meow('HALP')` will print out a line of margin above:
    
    ```
    > meowified --help
    
      HALP
    >
    ```
    
    I'd like to push for even margin all around the message so that it's a bit easier to scan:
    
    ```
    > meowified --help
    
      HALP
    
    >
    ```
    nevir committed Feb 28, 2016
    Copy the full SHA
    8601cf5 View commit details
  2. Merge pull request #34 from nevir/patch-1

    Give help a margin below, too
    sindresorhus committed Feb 28, 2016
    Copy the full SHA
    3aa9a5e View commit details

Commits on Mar 10, 2016

  1. Copy the full SHA
    1997883 View commit details

Commits on Mar 11, 2016

  1. Merge pull request #36 from callumlocke/patch-2

    Fix "rainbow-cake" command in usage example
    sindresorhus committed Mar 11, 2016
    Copy the full SHA
    d6d3921 View commit details

Commits on Apr 7, 2016

  1. upgrade to latest AVA

    sindresorhus committed Apr 7, 2016
    Copy the full SHA
    94a36b8 View commit details

Commits on Apr 11, 2016

  1. Skip camelcasing -- option (#37)

    * Skip camelcasing `--` option
    
    Fixes #33.
    
    * Fix duplicate test name
    kevva authored and sindresorhus committed Apr 11, 2016
    Copy the full SHA
    757515b View commit details

Commits on Apr 22, 2016

  1. Copy the full SHA
    7ffc20d View commit details

Commits on May 3, 2016

  1. disable the xo/no-process-exit rule for sanity (#39)

    Florian Breisch authored and sindresorhus committed May 3, 2016
    Copy the full SHA
    eed3693 View commit details

Commits on May 10, 2016

  1. bump camelcase-keys

    sindresorhus committed May 10, 2016
    Copy the full SHA
    6969b81 View commit details

Commits on Jun 16, 2016

  1. fix XO lint issues

    sindresorhus committed Jun 16, 2016
    Copy the full SHA
    bf66f3a View commit details

Commits on Jul 7, 2016

  1. Fix type for cli.help (#45)

    jamiebuilds authored and sindresorhus committed Jul 7, 2016
    Copy the full SHA
    0fc44ad View commit details

Commits on Jul 10, 2016

  1. Copy the full SHA
    578733e View commit details
  2. drop support for using an array in the help option

    Just use a template literal instead.
    sindresorhus committed Jul 10, 2016
    Copy the full SHA
    c80321d View commit details
  3. drop support for pkg option accepting a string

    You can just `require('./package.json')` instead.
    sindresorhus committed Jul 10, 2016
    Copy the full SHA
    2d4d890 View commit details

Commits on Sep 5, 2016

  1. Copy the full SHA
    6a32bbc View commit details

Commits on Nov 3, 2016

  1. Update dependencies (#52)

    SimenB authored and sindresorhus committed Nov 3, 2016
    Copy the full SHA
    edcdff8 View commit details

Commits on May 9, 2017

  1. Minor tweaks

    sindresorhus committed May 9, 2017
    Copy the full SHA
    a5fbc8c View commit details

Commits on May 31, 2017

  1. Code style tweaks

    sindresorhus committed May 31, 2017
    Copy the full SHA
    b561b55 View commit details

Commits on Sep 23, 2017

  1. Rewrite flags input (#63)

    Vadim Demedes authored and sindresorhus committed Sep 23, 2017
    Copy the full SHA
    43401c3 View commit details

Commits on Sep 29, 2017

  1. Meta tweaks

    sindresorhus committed Sep 29, 2017
    Copy the full SHA
    7f54d4b View commit details
  2. Document #63

    sindresorhus committed Sep 29, 2017
    Copy the full SHA
    554119b View commit details

Commits on Nov 5, 2017

  1. Copy the full SHA
    4f7ded3 View commit details

Commits on Nov 26, 2017

  1. Copy the full SHA
    59dda7a View commit details
  2. 4.0.0

    sindresorhus committed Nov 26, 2017
    Copy the full SHA
    8c82a18 View commit details

Commits on Apr 25, 2018

  1. Add test to check boolean flag type enforcement (#75)

    Resolves #74
    macklinu authored and sindresorhus committed Apr 25, 2018
    Copy the full SHA
    51ce745 View commit details
  2. Copy the full SHA
    8ff7973 View commit details
  3. 4.0.1

    sindresorhus committed Apr 25, 2018
    Copy the full SHA
    e9ff0fb View commit details
  4. Do not define unset boolean args (#77)

    pvdlg authored and sindresorhus committed Apr 25, 2018
    Copy the full SHA
    09f7ef0 View commit details
  5. Require Node.js 6

    sindresorhus committed Apr 25, 2018
    Copy the full SHA
    4ab22b1 View commit details
  6. 5.0.0

    sindresorhus committed Apr 25, 2018
    Copy the full SHA
    e047605 View commit details

Commits on May 22, 2018

  1. Document the --no- prefix (#87)

    zeakd authored and sindresorhus committed May 22, 2018
    Copy the full SHA
    258659a View commit details

Commits on Sep 20, 2018

  1. Fix readme example (#99)

    chinanf-boy authored and sindresorhus committed Sep 20, 2018
    Copy the full SHA
    59773ee View commit details

Commits on Nov 5, 2018

  1. Copy the full SHA
    d2e0e1e View commit details
  2. Minor code tweaks

    sindresorhus committed Nov 5, 2018
    Copy the full SHA
    89f8983 View commit details
  3. Switch from loud-rejection to hard-rejection

    The difference is that now it will crash the process right away on unhandled promises instead of waiting until the process exits.
    
    Fixes #93
    sindresorhus committed Nov 5, 2018
    Copy the full SHA
    f60c26e View commit details
  4. Add hardRejection option

    Fixes #94
    sindresorhus committed Nov 5, 2018
    Copy the full SHA
    2bcfee7 View commit details
  5. Require Node.js 8

    sindresorhus committed Nov 5, 2018
    Copy the full SHA
    cd635d4 View commit details
  6. Copy the full SHA
    439ac9b View commit details
  7. Fix Travis

    sindresorhus committed Nov 5, 2018
    Copy the full SHA
    646f30b View commit details

Commits on Feb 20, 2019

  1. Copy the full SHA
    f36715c View commit details

Commits on Mar 19, 2019

  1. Copy the full SHA
    f1036df View commit details
  2. Update dependencies

    sindresorhus committed Mar 19, 2019
    Copy the full SHA
    fd537b8 View commit details

Commits on Mar 31, 2019

  1. Copy the full SHA
    167d1ec View commit details

Commits on Apr 27, 2019

  1. Copy the full SHA
    927e6e8 View commit details

Commits on May 28, 2019

  1. Create funding.yml

    sindresorhus authored May 28, 2019
    Copy the full SHA
    47fe20f View commit details

Commits on May 31, 2019

  1. Tidelift tasks

    sindresorhus committed May 31, 2019
    Copy the full SHA
    54e1f22 View commit details

Commits on Jun 12, 2019

  1. Only consider enabling autoHelp/autoVersion in case there is only one…

    … argument in `process.argv` (#114)
    
    Co-Authored-By: Sindre Sorhus <sindresorhus@gmail.com>
    LitoMore and sindresorhus committed Jun 12, 2019
    Copy the full SHA
    cd29865 View commit details

Commits on Jun 13, 2019

  1. Fix typo (#121)

    LitoMore authored and sindresorhus committed Jun 13, 2019
    Copy the full SHA
    8e5248e View commit details
5 changes: 1 addition & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -7,9 +7,6 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[{package.json,*.yml}]
[*.yml]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* text=auto
* text=auto eol=lf
4 changes: 4 additions & 0 deletions .github/funding.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
github: sindresorhus
open_collective: sindresorhus
tidelift: npm/meow
custom: https://sindresorhus.com/donate
3 changes: 3 additions & 0 deletions .github/security.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Security Policy

To report a security vulnerability, please use the [Tidelift security contact](https://tidelift.com/security). Tidelift will coordinate the fix and disclosure.
22 changes: 22 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: CI
on:
- push
- pull_request
jobs:
test:
name: Node.js ${{ matrix.node-version }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version:
- 16
- 14
- 12
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
node_modules
yarn.lock
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
6 changes: 0 additions & 6 deletions .travis.yml

This file was deleted.

24 changes: 24 additions & 0 deletions estest/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
import meow from '../index.js';

meow(
`
Usage
$ estest <input>
Options
--rainbow, -r Include a rainbow
Examples
$ estest unicorns --rainbow
🌈 unicorns 🌈
`,
{
importMeta: import.meta,
flags: {
rainbow: {
type: 'boolean',
alias: 'r'
}
}
}
);
5 changes: 5 additions & 0 deletions estest/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"name": "estest",
"type": "module",
"version": "1.2.3"
}
18 changes: 0 additions & 18 deletions fixture.js

This file was deleted.

Loading