From c600385fab6d90cc1458b88e0ccdb7270e96b4ea Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 22 Apr 2024 19:33:07 +0100 Subject: [PATCH 01/13] v2.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a7d155a..03dd8fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "random-bunny", - "version": "2.1.6", + "version": "2.2.0", "description": "Get a random subreddit image url", "license": "MIT", "author": "Vylpes", From ab718d9486a7de88aafbaa42f3e35f73d467e924 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 22 Apr 2024 19:36:08 +0100 Subject: [PATCH 02/13] Revert "v2.2.0" This reverts commit c600385fab6d90cc1458b88e0ccdb7270e96b4ea. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 03dd8fd..a7d155a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "random-bunny", - "version": "2.2.0", + "version": "2.1.6", "description": "Get a random subreddit image url", "license": "MIT", "author": "Vylpes", From ed613b4dc28254ce02e13dbf45877a3b6050f434 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 22 Apr 2024 19:36:39 +0100 Subject: [PATCH 03/13] Update woodpecker to allow publish on main --- .woodpecker.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index c25343c..0b3eea7 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -35,7 +35,7 @@ steps: - export PATH=/opt/ldid:$PATH - yarn package when: - event: tag + event: push branch: main rsync_prod: image: alpine @@ -46,7 +46,7 @@ steps: - echo "$SSH_KEY" | tr -d '\r' | ssh-add - - rsync -e "ssh -o StrictHostKeyChecking=no" -r ./bin vylpes@192.168.1.115:/home/vylpes/apps/random-bunny/random-bunny_prod when: - event: tag + event: push branch: main # Package stage build From 5ada905a4d33db17b8d63f06a48b1fbbd05f59ee Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 22 Apr 2024 19:37:19 +0100 Subject: [PATCH 04/13] v2.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a7d155a..03dd8fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "random-bunny", - "version": "2.1.6", + "version": "2.2.0", "description": "Get a random subreddit image url", "license": "MIT", "author": "Vylpes", From 001a173d2e04e13004bcc2ef42486d8a2fa0df95 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 22 Apr 2024 19:41:35 +0100 Subject: [PATCH 05/13] Revert "v2.2.0" This reverts commit 5ada905a4d33db17b8d63f06a48b1fbbd05f59ee. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 03dd8fd..a7d155a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "random-bunny", - "version": "2.2.0", + "version": "2.1.6", "description": "Get a random subreddit image url", "license": "MIT", "author": "Vylpes", From a4ae8f32c7ffab89256016ed3701d259f92e4823 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 22 Apr 2024 19:41:46 +0100 Subject: [PATCH 06/13] Update to use master branch --- .woodpecker.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 0b3eea7..f4a8edb 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -7,21 +7,21 @@ steps: - yarn build when: event: [ push, pull_request ] - branch: [ hotfix/*, feature/*, renovate/*, develop, main ] + branch: [ hotfix/*, feature/*, renovate/*, develop, master ] lint: image: node commands: - yarn lint when: event: [ push, pull_request ] - branch: [ hotfix/*, feature/*, renovate/*, develop, main ] + branch: [ hotfix/*, feature/*, renovate/*, develop, master ] test: image: node commands: - yarn test when: event: [ push, pull_request ] - branch: [ hotfix/*, feature/*, renovate/*, develop, main ] + branch: [ hotfix/*, feature/*, renovate/*, develop, master ] # Package production build package_prod: @@ -36,7 +36,7 @@ steps: - yarn package when: event: push - branch: main + branch: master rsync_prod: image: alpine secrets: [ ssh_key ] @@ -47,7 +47,7 @@ steps: - rsync -e "ssh -o StrictHostKeyChecking=no" -r ./bin vylpes@192.168.1.115:/home/vylpes/apps/random-bunny/random-bunny_prod when: event: push - branch: main + branch: master # Package stage build package_stage: @@ -88,5 +88,5 @@ steps: api_key: from_secret: NPM_TOKEN when: - event: tag - branch: main + event: push + branch: master From a60b331d99100f5f69c3296c9b9fc41f8371e5b9 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 22 Apr 2024 19:42:24 +0100 Subject: [PATCH 07/13] v2.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a7d155a..03dd8fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "random-bunny", - "version": "2.1.6", + "version": "2.2.0", "description": "Get a random subreddit image url", "license": "MIT", "author": "Vylpes", From e5e19b5f3db4b233d8494159a1ce4ed7a3697d2c Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 22 Apr 2024 19:46:10 +0100 Subject: [PATCH 08/13] Revert "v2.2.0" This reverts commit a60b331d99100f5f69c3296c9b9fc41f8371e5b9. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 03dd8fd..a7d155a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "random-bunny", - "version": "2.2.0", + "version": "2.1.6", "description": "Get a random subreddit image url", "license": "MIT", "author": "Vylpes", From f6b0d265817d1b53303012a8d17c2121faa836db Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 22 Apr 2024 19:46:18 +0100 Subject: [PATCH 09/13] Use token --- .woodpecker.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index f4a8edb..ad0383e 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -85,7 +85,7 @@ steps: from_secret: NPM_EMAIL password: from_secret: NPM_PASSWORD - api_key: + token: from_secret: NPM_TOKEN when: event: push From 41195de16ab6588bacf44da506aa59ddf7c576f1 Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Mon, 22 Apr 2024 19:46:56 +0100 Subject: [PATCH 10/13] v2.2.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index a7d155a..03dd8fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "random-bunny", - "version": "2.1.6", + "version": "2.2.0", "description": "Get a random subreddit image url", "license": "MIT", "author": "Vylpes", From 8186341292e8b11c2e449f292cf1cf00a4a61beb Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Wed, 7 Aug 2024 17:12:10 +0100 Subject: [PATCH 11/13] Update pkg version to 2.3 --- src/cli.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.ts b/src/cli.ts index 8b1eced..496c5e9 100644 --- a/src/cli.ts +++ b/src/cli.ts @@ -9,7 +9,7 @@ const program = new Command(); program .name('random-bunny') .description('Get a random image url from a subreddit of your choosing') - .version('2.2') + .version('2.3') .option('-s, --subreddit ', 'The subreddit to search', 'rabbits') .option('-j, --json', 'Output as JSON') .option('-q, --query-metadata', 'Include query metadata in result') From 045ce9518636e75c84e063cf63317622cfb4b82d Mon Sep 17 00:00:00 2001 From: Ethan Lane Date: Wed, 7 Aug 2024 17:13:56 +0100 Subject: [PATCH 12/13] v2.3.0 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 8ff4386..c040098 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "random-bunny", - "version": "2.2.0", + "version": "2.3.0", "description": "Get a random subreddit image url", "license": "MIT", "author": "Vylpes", From 536f7a789715b0660b0fbd184a147e75366eccdd Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Sun, 11 Aug 2024 23:02:09 +0000 Subject: [PATCH 13/13] Update dependency @types/node to v20.14.15 --- yarn.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/yarn.lock b/yarn.lock index 6e1127a..0daa2b6 100644 --- a/yarn.lock +++ b/yarn.lock @@ -981,9 +981,9 @@ undici-types "~6.11.1" "@types/node@^20.0.0": - version "20.14.11" - resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.11.tgz#09b300423343460455043ddd4d0ded6ac579b74b" - integrity sha512-kprQpL8MMeszbz6ojB5/tU8PLN4kesnN8Gjzw349rDlNgsSzg90lAVj3llK99Dh7JON+t9AuscPPFW6mPbTnSA== + version "20.14.15" + resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.15.tgz#e59477ab7bc7db1f80c85540bfd192a0becc588b" + integrity sha512-Fz1xDMCF/B00/tYSVMlmK7hVeLh7jE5f3B7X1/hmV0MJBwE27KlS7EvD/Yp+z1lm8mVhwV5w+n8jOZG8AfTlKw== dependencies: undici-types "~5.26.4"