Skip to content

Commit

Permalink
Merge pull request #4 from balena-io-modules/replace-yarn-npm
Browse files Browse the repository at this point in the history
Update dependencies and replace yarn with npm
  • Loading branch information
pdcastro authored May 13, 2020
2 parents fd688b6 + 28d44e5 commit 41f80f9
Show file tree
Hide file tree
Showing 8 changed files with 7,716 additions and 3,608 deletions.
11 changes: 10 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
{
"presets": ["es2015"]
"presets": [
[
"@babel/preset-env",
{
"targets": {
"node": "8"
}
}
]
]
}
8 changes: 0 additions & 8 deletions .dockerignore

This file was deleted.

7 changes: 3 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,12 @@ and [fileutils.go](https://github.com/moby/moby/blob/v19.03.8/pkg/fileutils/file
### Compatibility

`dockerignore` works with Node.js version 8 and above, on Linux, macOS and Windows.
The code is compiled with [Babel](https://babeljs.io/docs/en/), currently targeting
[ES2015](https://en.wikipedia.org/wiki/ECMAScript).
The code is compiled with [Babel](https://babeljs.io/docs/en/).

## Install

```bash
npm install --save @balena/dockerignore # or yarn add @balena/dockerignore
npm install --save @balena/dockerignore
```

## Usage
Expand Down Expand Up @@ -243,7 +242,7 @@ Returns `function(path)` the filter function.
Contributions are always welcome!

1. Fork this repository to your own GitHub account and then clone it to your local device.
2. Install the dependencies: `yarn` or `npm install`
2. Install the dependencies: `npm install`
3. Add a test case (if applicable) and ensure it currently fails
4. Add code to pass the test
5. Make a pull request (additional tests will run on CI to ensure that your test case agrees with an actual `docker build`)
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ environment:
install:
- cmd: powershell Install-Product node $env:nodejs_version
- sh: nvm install $nodejs_version
- yarn --version
- yarn install
- npm --version
- npm install

test_script:
- node --version
Expand Down
Loading

0 comments on commit 41f80f9

Please sign in to comment.