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: nebrelbug/npm-to-yarn
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.3.0
Choose a base ref
...
head repository: nebrelbug/npm-to-yarn
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.0.0
Choose a head ref
  • 20 commits
  • 24 files changed
  • 2 contributors

Commits on Feb 12, 2023

  1. Copy the full SHA
    fab83c2 View commit details
  2. Copy the full SHA
    7b54605 View commit details
  3. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    bcef280 View commit details
  4. fix: remove exports

    armano2 committed Feb 12, 2023

    Verified

    This commit was signed with the committer’s verified signature.
    targos Michaël Zasso
    Copy the full SHA
    58e39ca View commit details
  5. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    danielleadams Danielle Adams
    Copy the full SHA
    9171a85 View commit details
  6. Verified

    This commit was signed with the committer’s verified signature. The key has expired.
    danielleadams Danielle Adams
    Copy the full SHA
    fe3a782 View commit details
  7. Copy the full SHA
    3c3e6e7 View commit details
  8. fix: add missing build

    armano2 committed Feb 12, 2023
    Copy the full SHA
    dfa7239 View commit details
  9. Copy the full SHA
    920d81b View commit details
  10. Copy the full SHA
    9c3b360 View commit details
  11. Copy the full SHA
    08c746a View commit details

Commits on Feb 15, 2023

  1. Copy the full SHA
    043cf08 View commit details

Commits on Feb 19, 2023

  1. Copy the full SHA
    6d1b43e View commit details
  2. feat: add npm to pnpm

    armano2 committed Feb 19, 2023
    Copy the full SHA
    d8602a7 View commit details
  3. Copy the full SHA
    5929271 View commit details
  4. Copy the full SHA
    4304218 View commit details
  5. Copy the full SHA
    ca64dce View commit details

Commits on Feb 20, 2023

  1. Copy the full SHA
    57a9cd9 View commit details
  2. chore: rebuild and format

    nebrelbug committed Feb 20, 2023
    Copy the full SHA
    e14a3d0 View commit details
  3. 2.0.0

    nebrelbug committed Feb 20, 2023
    Copy the full SHA
    a1303cc View commit details
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
dist
build
coverage
.rpt2_cache
node_modules
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@

![GitHub package.json version (master)](https://img.shields.io/github/package-json/v/nebrelbug/npm-to-yarn/master?label=current%20version)
[![Travis](https://img.shields.io/travis/com/nebrelbug/npm-to-yarn/master.svg)](https://travis-ci.com/nebrelbug/npm-to-yarn)
[![All Contributors][logo]](#contributors-)
[![All Contributors][logo]](#contributors)
[![Coveralls](https://img.shields.io/coveralls/nebrelbug/npm-to-yarn.svg)](https://coveralls.io/github/nebrelbug/npm-to-yarn)

[![styled with prettier](https://img.shields.io/badge/styled_with-prettier-ff69b4.svg)](https://github.com/prettier/prettier)
@@ -40,7 +40,12 @@ convert('npm install squirrelly', 'yarn')

### API

`convert(command: string, to: 'yarn' | 'npm') -> string`
```ts
/**
* Converts between npm and yarn command
*/
export default function convert (str: string, to: 'npm' | 'yarn' | 'pnpm'): string
```

## ✔️ Tests

@@ -53,6 +58,7 @@ To be added
## Projects using `npm-to-yarn`

- [Dynamoose](https://dynamoosejs.com)
- [Docusaurus](https://docusaurus.io)

## Contributors

Loading