chore: scripts for easy release

This commit is contained in:
Supan Adit Pratama 2024-10-30 20:25:59 +07:00
parent aaa3e29ef3
commit 7d2789640d
2 changed files with 12 additions and 1 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@aditama-labs/nest-autocrud",
"version": "0.0.19",
"version": "0.0.21",
"description": "NestJS Auto CRUD Library",
"author": "Supan Adit Pratama",
"license": "MIT",

11
scripts/unix/release.sh Normal file
View File

@ -0,0 +1,11 @@
npm run build:libs
# Copy package.json to plugins
cp package.json ./plugins
cp README.md ./plugins
# Change working directory to plugins
cd plugins
# Publish
npm publish