From d69dff26a4f8b906e2e5e55035253de0f35a142e Mon Sep 17 00:00:00 2001 From: Vitaly Budovski Date: Fri, 1 Dec 2023 14:22:35 +1100 Subject: [PATCH] fix: Broken package --- .changeset/silent-bulldogs-fold.md | 5 +++++ .github/workflows/release.yml | 2 +- package.json | 7 ++++++- 3 files changed, 12 insertions(+), 2 deletions(-) create mode 100644 .changeset/silent-bulldogs-fold.md diff --git a/.changeset/silent-bulldogs-fold.md b/.changeset/silent-bulldogs-fold.md new file mode 100644 index 0000000..92b16e9 --- /dev/null +++ b/.changeset/silent-bulldogs-fold.md @@ -0,0 +1,5 @@ +--- +'@vbudovski/google-maps': patch +--- + +Fix broken package diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7287c26..fd953eb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -60,7 +60,7 @@ jobs: id: changesets uses: changesets/action@v1 with: - publish: pnpm publish + publish: pnpm release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} diff --git a/package.json b/package.json index c050d08..10d453d 100644 --- a/package.json +++ b/package.json @@ -11,6 +11,10 @@ "publishConfig": { "registry": "https://npm.pkg.github.com" }, + "files": [ + "dist/*", + "CHANGELOG.md" + ], "repository": "https://github.com/vbudovski/google-maps.git", "devDependencies": { "@changesets/cli": "^2.27.1", @@ -39,7 +43,8 @@ "format": "prettier --write \"**/*.{ts,tsx,md,json,yaml}\"", "check-types": "tsc -b", "lint": "eslint src", - "prepare": "husky install" + "prepare": "husky install", + "release": "pnpm build && pnpm changeset publish" }, "packageManager": "pnpm@8.7.4" }