Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix available / not available versions #1120

Merged
merged 3 commits into from
Jul 6, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading