Skip to content

Commit

Permalink
Updaet publish scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
mayank1513 committed Jun 8, 2024
1 parent 69428fb commit 5579416
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/calm-foxes-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"react18-loaders": patch
---

Publish lite version
3 changes: 3 additions & 0 deletions scripts/manual-publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,3 +74,6 @@ execSync(`cd lib && pnpm build && npm publish --provenance --access public --tag
execSync(
`gh release create ${NEW_VERSION} --generate-notes${isLatestRelease ? " --latest" : ""} -n "$(sed '1,/^## /d;/^## /,$d' CHANGELOG.md)" --title "Release v${NEW_VERSION}"`,
);

execSync("node ./scripts/lite.js");
execSync(`cd lib && pnpm build && npm publish --provenance --access public --tag ${tag}`);
3 changes: 3 additions & 0 deletions scripts/publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ execSync("cd lib && pnpm build && npm publish --provenance --access public");
execSync(
`gh release create ${VERSION} --generate-notes --latest -n "$(sed '1,/^## /d;/^## /,$d' CHANGELOG.md)" --title "Release v${VERSION}"`,
);

execSync("node ./scripts/lite.js");
execSync("cd lib && pnpm build && npm publish --provenance --access public");

0 comments on commit 5579416

Please sign in to comment.