Unverified Commit 2b289458 authored by Sefa Eyeoglu's avatar Sefa Eyeoglu Committed by GitHub
Browse files

pnpm_10: 10.15.1 -> 10.17.0 (#442505)

parents 048ead43 1f1a47e2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -49,7 +49,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {
  preInstall = ''
    # remove unnecessary files
    rm node_modules/.modules.yaml
    pnpm --ignore-scripts --prod prune
    CI=true pnpm --ignore-scripts --prod prune
    rm -r node_modules/.pnpm/@mixmark-io*/node_modules/@mixmark-io/domino/{test,.yarn}
    find -type f \( -name "*.ts" -o -name "*.map" \) -exec rm -rf {} +
    # https://github.com/pnpm/pnpm/issues/3645
+1 −1
Original line number Diff line number Diff line
@@ -40,7 +40,7 @@ stdenvNoCC.mkDerivation (finalAttrs: {

  # remove unnecessary and non-deterministic files
  preInstall = ''
    pnpm --ignore-scripts --prod prune
    CI=true pnpm --ignore-scripts --prod prune
    find -type f \( -name "*.ts" -o -name "*.map" \) -exec rm -rf {} +
    # https://github.com/pnpm/pnpm/issues/3645
    find node_modules -xtype l -delete
+1 −1
Original line number Diff line number Diff line
@@ -53,7 +53,7 @@ stdenv.mkDerivation (finalAttrs: {
  preInstall = ''
    # remove unnecessary files
    rm node_modules/.modules.yaml
    pnpm prune --prod --ignore-scripts
    CI=true pnpm prune --prod --ignore-scripts
    find -type f \( -name "*.d.ts" -o -name "*.map" \) -exec rm -rf {} +

    # remove non-deterministic files
+1 −1
Original line number Diff line number Diff line
@@ -82,7 +82,7 @@ stdenv.mkDerivation rec {
    cd ../..

    # Remove dev dependencies.
    pnpm --ignore-scripts prune --prod
    CI=true pnpm --ignore-scripts prune --prod
    # Clean up broken symlinks left behind by `pnpm prune`
    find node_modules/.bin -xtype l -delete

+1 −1
Original line number Diff line number Diff line
@@ -54,7 +54,7 @@ stdenv.mkDerivation (finalAttrs: {
    runHook preBuild

    pnpm build
    pnpm prune --prod --ignore-scripts
    CI=true pnpm prune --prod --ignore-scripts
    rm -rf .next/cache

    # Clean up broken symlinks left behind by `pnpm prune`
Loading