Skip to content

pnpm 11 breaks generation of libraries #144

Description

@NullVoxPopuli
[ERR_PNPM_IGNORED_BUILDS] Ignored build scripts: esbuild@0.27.7

Run "pnpm approve-builds" to pick which dependencies should be allowed to run scripts.


Stack Trace and Error Report: /var/folders/10/zxdh8z29751gj2wsbd1rrxk80000gp/T/error.dump.1096e5a0992bc76895a13370c4b14b34.log

we need to configure builds for pnpm (as in set them to false, pnpm just wants "an" answer here)

all we need is this:

❯ cat pnpm-workspace.yaml
─────┬─────────────────────────────────────────────────────────────────────────────────────────────────
     │ File: pnpm-workspace.yaml
─────┼─────────────────────────────────────────────────────────────────────────────────────────────────
   1 │ allowBuilds:
   2 │   esbuild: set this to true or false
   3 │
   4 │ # Docs: https://pnpm.io/settings
   5 │ # https://github.com/emberjs/rfcs/pull/907
   6 │
   7 │ # we don't want addons to be bad citizens of the ecosystem
   8 │ autoInstallPeers: false
   9 │
  10 │ # we want true isolation,
  11 │ # if a dependency is not declared, we want an error
  12 │ resolvePeersFromWorkspaceRoot: false
─────┴─────────────────────────────────────────────────────────────────────────────────────────────────

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions