tooling: Opt-in shared tooling

PR-URL: https://github.com/hasura/graphql-engine-mono/pull/4753
GitOrigin-RevId: 3fc3324e584210e57e5acb9d8361d4e5b3caf26a
This commit is contained in:
Daniel Harvey 2022-06-16 18:10:59 +01:00 committed by hasura-bot
parent d769800086
commit 921ada70e9
3 changed files with 15 additions and 0 deletions

10
.envrc.local.example Normal file
View File

@ -0,0 +1,10 @@
#!/usr/bin/env bash
# This is an example .envrc.local file you can start with. Uncomment the parts
# you'd like to use, and copy this to `.envrc.local`
# Enable providing tooling with the Nix package manager
# use flake
# Enable providing NodeJS versions with `nvm`
# use_nvm

View File

@ -17,6 +17,7 @@
brew install libffi
brew install llvm@11
brew install microsoft/mssql-release/mssql-tools
brew install direnv
```
And add them to your environment:

View File

@ -20,6 +20,10 @@ Additionally, you will need a way to run a Postgres database server. The `dev.sh
- [PostgreSQL](https://www.postgresql.org) >= 9.5
- [postgis](https://postgis.net)
### Installing tooling with direnv
This project contains scripts for installing project dependencies automatically with [direnv](https://direnv.net/). For more information, see the `.envrc` file in the root.
### Upgrading npm
If your npm is too old (>= 5.7 required):