From 8c73ec0b9aac90e5c04a2ba971572b623f504f72 Mon Sep 17 00:00:00 2001 From: jukerah Date: Tue, 30 Apr 2024 08:18:54 -0300 Subject: [PATCH] docs: add package publishing guide to npm --- Publishing-Guide.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 Publishing-Guide.md diff --git a/Publishing-Guide.md b/Publishing-Guide.md new file mode 100644 index 0000000..9b40f0d --- /dev/null +++ b/Publishing-Guide.md @@ -0,0 +1,27 @@ +# Publishing Guide + +> This is a guide to publishing the package to npm. + +#### Step 1: Change the version in **package.json**. + +#### Step 2: Change the **CHANGELOG.json** file with changes from the new version. + +#### Step 3: Generate the new package. + + ##### NPM + + ```bash + npm run build + ``` + + ##### YARN + + ```bash + yarn build + ``` + +#### Step 4: Publish the package to npm. + + ```bash + npm publish + ``` \ No newline at end of file