Skip to content

v1.0.1

Choose a tag to compare

@github-actions github-actions released this 05 Oct 21:59
· 5 commits to main since this release

jpm 1.0.1: fixes from running jpm on more real projects, and Debian and Ubuntu packages.

curl -fsSL https://getjpm.sh | sh                  # macOS and Linux
irm https://getjpm.sh/install.ps1 | iex              # Windows

New

  • apt. Each glibc build ships as a .deb, and releases are published to a signed apt
    repository at getjpm.sh/apt (install).
  • The installers put jpm on the PATH, bash's .bashrc included, unless
    JPM_NO_MODIFY_PATH says not to.

Fixes

  • pnpm projects get pnpm's layout. A project with pnpm-lock.yaml, pnpm-workspace.yaml or
    packageManager: pnpm@… builds its packages in the project, not in the global store: pnpm
    keeps every package within reach from inside the project, and its projects come to import
    what they do not declare (n8n's tsc found no eslint from the store). global-store=true
    turns the store back on.
  • A pnpm project with electron stays isolated, as pnpm links it, unless nodeLinker says
    hoisted. One workspace's electron no longer changes the layout of all the others.
  • Scripts get the .npmrc settings as npm_config_*, as npm passes them.
  • Install scripts find npm's node-gyp on Windows.
  • The hoisted layout keeps what stands when nothing is recorded, as npm and bun do.
  • --ignore-scripts no longer says install scripts were not run and that jpm approve
    runs them: approving runs nothing there.

Full changes: v1.0.0...v1.0.1