From d2ee6d27fe4c9a5753e1d01255a872c5ac49f2c7 Mon Sep 17 00:00:00 2001 From: Sam Marks Date: Sun, 28 Aug 2022 14:53:21 -0400 Subject: [PATCH] fix: pnpm filter command changed in v7 --- .github/workflows/release.yaml | 2 +- package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 3b180204..0e9a4d1c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -46,7 +46,7 @@ jobs: continue-on-error: true env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} - - run: pnpm -r publish --filter ./packages --access public + - run: pnpm -r publish --filter './packages/**' --access public continue-on-error: true env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index c4322552..0a56b347 100644 --- a/package.json +++ b/package.json @@ -12,7 +12,7 @@ "lint:fix": "npm run lint -- --fix", "build": "node ./bin/build.js", "prepublish-all": "node ./bin/prepublish.js", - "dist": "pnpm m --filter ./packages run dist" + "dist": "pnpm -r --filter './packages/**' run dist" }, "repository": { "type": "git", @@ -46,4 +46,4 @@ "@types/react": "^17.0.29" } } -} \ No newline at end of file +}