From 5dad9855c92755f8242d0a604f5e94318ed8dfbb Mon Sep 17 00:00:00 2001 From: Pionxzh Date: Tue, 10 Jan 2023 22:48:36 +0800 Subject: [PATCH 1/2] chore: remove invalid workspace `examples/*` --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 109e4df6..0c27fedb 100644 --- a/package.json +++ b/package.json @@ -120,7 +120,6 @@ }, "packageManager": "yarn@3.2.4", "workspaces": [ - "examples/*", "docs" ] } From 438263fe8f31c79d70040dd4f6defcbe67764287 Mon Sep 17 00:00:00 2001 From: Pionxzh Date: Tue, 10 Jan 2023 22:50:17 +0800 Subject: [PATCH 2/2] fix: remove `workspaces` in `package.json` before release --- .github/workflows/release-please.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index f2561579..f93cfc48 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -47,6 +47,8 @@ jobs: run: npm run build - name: Delete Scripts run: npm pkg delete scripts + - name: Delete Workspaces + run: npm pkg delete workspaces - uses: JS-DevTools/npm-publish@v1 name: Publish to npm with: