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: 3c23328fb014e775e3aaf82342f177fef3f00f8b
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 May 3, 2020

  1. Fix Travis

    sindresorhus committed May 3, 2020
    Copy the full SHA
    43e9f39 View commit details
  2. Document ES Modules usage (#147)

    jimthedev authored and sindresorhus committed May 3, 2020
    Copy the full SHA
    d9d42a2 View commit details

Commits on May 5, 2020

  1. Add isMultiple option for flags (#143)

    Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
    ulken and sindresorhus authored May 5, 2020
    Copy the full SHA
    c4c5ee2 View commit details

Commits on May 7, 2020

  1. Add isRequired flag option (#141)

    Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
    sbencoding and sindresorhus authored May 7, 2020
    Copy the full SHA
    1eede6a View commit details
  2. Require Node.js 10

    sindresorhus committed May 7, 2020
    Copy the full SHA
    ea3fd99 View commit details
  3. 7.0.0

    sindresorhus committed May 7, 2020
    Copy the full SHA
    e3301ed View commit details

Commits on May 11, 2020

  1. Copy the full SHA
    e08eb4d View commit details
  2. 7.0.1

    sindresorhus committed May 11, 2020
    Copy the full SHA
    1f265e4 View commit details

Commits on May 12, 2020

  1. Rename camelcase to camelCase (#151)

    * Rename `camelcase` to `camelCase`
    
    * Remove meaningless comments
    ulken authored May 12, 2020
    Copy the full SHA
    20f6e85 View commit details
  2. Rename yargs to parseArguments (#149)

    ulken authored May 12, 2020
    Copy the full SHA
    1c251e8 View commit details

Commits on May 17, 2020

  1. Copy the full SHA
    629af48 View commit details

Commits on Jul 6, 2020

  1. Fix typo

    Closes #153
    sindresorhus committed Jul 6, 2020
    Copy the full SHA
    fa2a374 View commit details

Commits on Aug 10, 2020

  1. Improve flags types to acknowledge isMultiple and isRequired opti…

    …ons (#154)
    
    Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
    voxpelli and sindresorhus authored Aug 10, 2020
    Copy the full SHA
    e38789f View commit details
  2. 7.1.0

    sindresorhus committed Aug 10, 2020
    Copy the full SHA
    ebe00a1 View commit details

Commits on Aug 29, 2020

  1. Copy the full SHA
    71d640e View commit details
  2. 7.1.1

    sindresorhus committed Aug 29, 2020
    Copy the full SHA
    dc7dae4 View commit details

Commits on Oct 19, 2020

  1. Default isMultiple to empty array (#163)

    Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
    ulken and sindresorhus authored Oct 19, 2020
    Copy the full SHA
    14924de View commit details

Commits on Oct 28, 2020

  1. Make isMultiple non-greedy (#162)

    Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
    ulken and sindresorhus authored Oct 28, 2020
    Copy the full SHA
    49ce74d View commit details
  2. Gracefully handle package.json not being found (#167)

    Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
    ryanrhee and sindresorhus authored Oct 28, 2020
    Copy the full SHA
    ef7ae5d View commit details
  3. Upgrade dependencies

    sindresorhus committed Oct 28, 2020
    Copy the full SHA
    1b3d9ee View commit details
  4. 8.0.0

    sindresorhus committed Oct 28, 2020
    Copy the full SHA
    a1f5f0f View commit details

Commits on Nov 28, 2020

  1. Move to GitHub Actions (#170)

    Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
    dopecodez and sindresorhus authored Nov 28, 2020
    Copy the full SHA
    c725b57 View commit details

Commits on Dec 22, 2020

  1. Add type test

    sindresorhus committed Dec 22, 2020
    Copy the full SHA
    a0ce744 View commit details

Commits on Dec 25, 2020

  1. Add allowUnknownFlags options (#169)

    Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
    weareoutman and sindresorhus authored Dec 25, 2020
    Copy the full SHA
    a27ff12 View commit details
  2. 8.1.0

    sindresorhus committed Dec 25, 2020
    Copy the full SHA
    1d1b6ab View commit details

Commits on Jan 7, 2021

  1. Fix reporting missing required flags (#168)

    Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
    alexmcmanus and sindresorhus authored Jan 7, 2021
    Copy the full SHA
    1609709 View commit details
  2. 9.0.0

    sindresorhus committed Jan 7, 2021
    Copy the full SHA
    569def4 View commit details

Commits on Jan 16, 2021

  1. Copy the full SHA
    5400b66 View commit details

Commits on Apr 27, 2021

  1. Require Node.js 12 and move to ESM (#181)

    Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
    LitoMore and sindresorhus authored Apr 27, 2021
    Copy the full SHA
    05320ac View commit details
  2. Upgrade dependencies

    sindresorhus committed Apr 27, 2021
    Copy the full SHA
    8c12b2d View commit details

Commits on May 5, 2021

  1. Allow user to pass in package URL for package reading (#182)

    Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
    LitoMore and sindresorhus authored May 5, 2021
    Copy the full SHA
    0c11c39 View commit details
  2. Meta tweaks

    sindresorhus committed May 5, 2021
    Copy the full SHA
    e61af45 View commit details
  3. 10.0.0

    sindresorhus committed May 5, 2021
    Copy the full SHA
    6052e69 View commit details
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
5 changes: 0 additions & 5 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"
}
Loading