Skip to content

Commit

Permalink
fix available / not available versions (#1120)
Browse files Browse the repository at this point in the history
* fix available / not available versions

* small updates to node docs

---------

Co-authored-by: Jake Cooper <[email protected]>
  • Loading branch information
brody192 and JakeCooper authored Jul 6, 2024
1 parent d927e08 commit 57a9ed3
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
8 changes: 4 additions & 4 deletions docs/pages/docs/providers/node.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ The Node provider sets the following environment variables:

The following major versions are available

- `14`
- `16`
- `18` (Default)
- `20`
- `22`

The version can be overridden by

- Setting the `NIXPACKS_NODE_VERSION` environment variable
- Specifying the `engines.node` field in `package.json`

Only a major version can be specified. For example, `14.x` or `14`.
Only a major version can be specified. For example, `18.x` or `20`.

**Node Canvas**

Expand Down Expand Up @@ -91,11 +91,11 @@ You can specify `cacheDirectories` in `package.json`. Each directory that is pro

Nixpacks has first class support for [Corepack](https://nodejs.org/api/corepack.html), an experimental tool that enables installing specific versions of Node based package managers.

For example, To install a specific version of PNPM, add a `packageManager` key to your `package.json` file
For example, To install the latest version of PNPM, add a `packageManager` key to your `package.json` file

```json
{
"packageManager": "pnpm@7.7.0"
"packageManager": "pnpm@latest"
}
```

Expand Down
1 change: 0 additions & 1 deletion docs/pages/docs/providers/php.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ If a `NIXPACKS_PHP_FALLBACK_PATH` variable is passed, that will be used as a fal

The following PHP versions are available

- `8.0`
- `8.1`
- `8.2` (Default)
- `8.3`
Expand Down
10 changes: 5 additions & 5 deletions docs/pages/docs/providers/python.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ Python is detected if any of the following files are found

The following Python versions are available

- `3.11`
- `3.10`
- `3.9`
- `3.8` (Default)
- `3.7`
- `2.7`
- `3.8`
- `3.9`
- `3.10`
- `3.11` (Default)
- `3.12`

The version can be overridden by

Expand Down

0 comments on commit 57a9ed3

Please sign in to comment.