Skip to content

Commit

Permalink
Merge pull request #489 from OpenFn/pnpm-tool-versions
Browse files Browse the repository at this point in the history
asdf instructions
  • Loading branch information
josephjclark authored Mar 19, 2024
2 parents ba1eff5 + 3d79f39 commit 568a2ec
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 5 deletions.
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
nodejs 18.17.1
pnpm 8.6.12
15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,18 @@ adaptors, see [OpenFn Lightning](https://github.com/OpenFn/lightning).

## Getting Started

_Note: This repo requires [pnpm](https://pnpm.io/installation) and
[asdf](https://github.com/asdf-vm/asdf) to be installed globally on your
machine._
_Note: [asdf](https://github.com/asdf-vm/asdf) to be installed globally on your
machine. Add the nodejs and pnpm plugin once asdf is installed globally._

A few first time repo steps:

```
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
asdf plugin-add pnpm
```

Then:

```
asdf install # Install tool versions
pnpm install
Expand Down Expand Up @@ -77,8 +83,7 @@ please make one and assign yourself.
repo into `/repo/openfn/adaptors`, then in your `.bashrc` file, add
`export OPENFN_ADAPTORS_REPO=/repo/openfn/adaptors`.

- Generate your own adaptor.
`pnpm generate youradaptorname`
- Generate your own adaptor. `pnpm generate youradaptorname`

- Install your dependencies `pnpm install`

Expand Down

0 comments on commit 568a2ec

Please sign in to comment.