Skip to content
Merged
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
10 changes: 10 additions & 0 deletions content/docs/terra/srpm.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -415,6 +415,8 @@ All macros calling the package managers also call NPM environment variables beca
#### NPM
Macros for using [NPM](https://www.npmjs.com).

For building webapps with NPM, see [%npm_build](#npm_build).

##### %__npm_log_level
Macro that sets the logging level for NPM. Defaults to `error` because NPM logs can fill the terminal quickly.

Expand Down Expand Up @@ -480,6 +482,8 @@ Expands to: `%{__npm} test{:rpmspec}`
#### Bun
Macros for using [Bun](https://bun.com).

For building webapps with Bun, see [%bun_build](#bun_build).

##### %bun_common_envvars
Sets the `$BUN_HOME{:bash}` for future use and sets the cache dir.

Expand Down Expand Up @@ -527,6 +531,8 @@ Expands to: `%{__bun} test{:rpmspec}`
#### Deno
Macros for using [Deno](https://deno.com).

For building webapps with Deno, see [%deno_build](#deno_build).

##### %deno_common_envvars
Sets the `$DENO_DIR{:bash}`, `$DENO_INSTALL_ROOT{:bash}`, limits `$DENO_JOBS{:bash}` to `${RPM_BUILD_NCPUS}{:bash}`, disables update notifications, and forces color.

Expand Down Expand Up @@ -569,6 +575,8 @@ Expands to: `%{__deno} test --parallel{:rpmspec}`
#### PNPM
Macros for using [PNPM](https://pnpm.io).

For building webapps with PNPM, see [%pnpm_build](#pnpm_build).

##### %pnpm_common_envvars
Sets the NPM environment variables and the PNPM home directory.

Expand Down Expand Up @@ -630,6 +638,8 @@ Macros for using [Yarn (Yarn Classic/Yarn v1)](https://classic.yarnpkg.com) and

You SHOULD use `yarnpkg` (Yarn Classic) unless you need `yarnpkg-berry` (Yarn Berry) specifically.

For building webapps with Yarn, see [%yarn_build](#yarn_build).

##### %yarn_common_envvars
Sets the NPM evironment variables and Yarn's cache folder.

Expand Down