From 84cc0ae034660983d102e8075fc0629d40cf6db7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kevin=20Beli=C3=ABn?= <60871283+KevinBelien@users.noreply.github.com> Date: Wed, 4 Sep 2024 21:48:03 +0200 Subject: [PATCH] chore: changes made to publish npm (#3) --- .github/workflows/ci.yml | 2 +- package.json | 2 +- projects/emoji-picker-lib/package.json | 7 ++++++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5a843a..0305ebb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,7 +49,7 @@ jobs: node-version: 20 cache: 'npm' - run: npm ci - - run: npm run build + - run: npm run build-prod - name: release run: cd dist/ngx-emoji-picker && npx semantic-release env: diff --git a/package.json b/package.json index be68764..3cc515b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ngx-emoji-picker", - "version": "0.0.0", + "version": "18.0.0", "scripts": { "ng": "ng", "start": "ng build emoji-picker-lib && ng serve --port 4229 ", diff --git a/projects/emoji-picker-lib/package.json b/projects/emoji-picker-lib/package.json index 7f0cd8d..ece0c50 100644 --- a/projects/emoji-picker-lib/package.json +++ b/projects/emoji-picker-lib/package.json @@ -8,7 +8,12 @@ "private": false, "repository": { "type": "git", - "url": "https://github.com/KevinBelien/ngx-emoji-picker.git" + "url": "git+https://github.com/KevinBelien/ngx-emoji-picker.git" + }, + "release": { + "branches": [ + "master" + ] }, "exports": { "./styles": {