mirror of
https://github.com/jimeh/dotfiles.git
synced 2026-02-19 10:26:42 +00:00
18 lines
378 B
Bash
Executable File
18 lines
378 B
Bash
Executable File
#
|
|
# Node.js environment setup.
|
|
#
|
|
|
|
# ==============================================================================
|
|
# global node packages
|
|
# ==============================================================================
|
|
|
|
install_node_global_packages() {
|
|
local npm_packages=(
|
|
)
|
|
|
|
npm install -g "${npm_packages[@]}"
|
|
|
|
# Ensure yarn and pnpm are enabled.
|
|
corepack enable
|
|
}
|