From 2e3f9ff181a292eea998818b53643a54a580ec07 Mon Sep 17 00:00:00 2001 From: Karl Cardenas Date: Thu, 5 Jan 2023 13:09:56 -0700 Subject: [PATCH] fix: fixed release issue --- .gitignore | 4 +++- .husky/commit-msg | 2 +- .husky/pre-commit | 2 +- README.md | 4 ++-- package-lock.json | 18 +++++++++--------- package.json | 28 ++++++++++++++-------------- 6 files changed, 30 insertions(+), 28 deletions(-) diff --git a/.gitignore b/.gitignore index d11472e..6d3647a 100644 --- a/.gitignore +++ b/.gitignore @@ -18,4 +18,6 @@ hello-universe-api # vendor/ .DS_STORE -node_modules/ \ No newline at end of file +node_modules/ + +.env* \ No newline at end of file diff --git a/.husky/commit-msg b/.husky/commit-msg index f4508a4..f2c2fed 100755 --- a/.husky/commit-msg +++ b/.husky/commit-msg @@ -1,3 +1,3 @@ #!/usr/bin/env sh . "$(dirname -- "$0")/_/husky.sh" -npx --no -- commitlint --edit "" \ No newline at end of file +npx --no -- commitlint --edit '' diff --git a/.husky/pre-commit b/.husky/pre-commit index 2b2afa7..1525982 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,2 +1,2 @@ #!/usr/bin/env sh -. "$(dirname -- "$0")/_/husky.sh" \ No newline at end of file +. "$(dirname -- "$0")/_/husky.sh" diff --git a/README.md b/README.md index 2000ed3..6c5aee9 100644 --- a/README.md +++ b/README.md @@ -16,8 +16,8 @@ The [Hello Universe](https://github.com/spectrocloud/hello-universe) app include The quickest method to start the API server locally is by using the Docker image. ```shell -docker pull ghcr.io/spectrocloud/hello-universe-api:1.0.1 -docker run -p 3000:3000 ghcr.io/spectrocloud/hello-universe-api:1.0.1 +docker pull ghcr.io/spectrocloud/hello-universe-api:1.0.2 +docker run -p 3000:3000 ghcr.io/spectrocloud/hello-universe-api:1.0.2 ``` To start the API server you must have connectivity to a postgres instance. Use [environment variables](#environment-variables) to customize the API server start parameters. diff --git a/package-lock.json b/package-lock.json index fff7c61..4601e5f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "hello-universe-api", - "version": "1.0.0", + "version": "1.0.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "hello-universe-api", - "version": "1.0.0", + "version": "1.0.1", "devDependencies": { "@commitlint/cli": "^17.1.2", "@commitlint/config-conventional": "^17.1.0", @@ -15,7 +15,7 @@ "@semantic-release/git": "latest", "@semantic-release/github": "latest", "@semantic-release/npm": "latest", - "husky": "^8.0.0", + "husky": "^8.0.3", "semantic-release": "^19.0.5", "standard-version": "^9.5.0" } @@ -2570,9 +2570,9 @@ } }, "node_modules/husky": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.2.tgz", - "integrity": "sha512-Tkv80jtvbnkK3mYWxPZePGFpQ/tT3HNSs/sasF9P2YfkMezDl3ON37YN6jUUI4eTg5LcyVynlb6r4eyvOmspvg==", + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", + "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", "dev": true, "bin": { "husky": "lib/bin.js" @@ -9550,9 +9550,9 @@ "dev": true }, "husky": { - "version": "8.0.2", - "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.2.tgz", - "integrity": "sha512-Tkv80jtvbnkK3mYWxPZePGFpQ/tT3HNSs/sasF9P2YfkMezDl3ON37YN6jUUI4eTg5LcyVynlb6r4eyvOmspvg==", + "version": "8.0.3", + "resolved": "https://registry.npmjs.org/husky/-/husky-8.0.3.tgz", + "integrity": "sha512-+dQSyqPh4x1hlO1swXBiNb2HzTDN1I2IGLQx1GrBuiqFJfoMrnZWwVmatvSiO+Iz8fBUnf+lekwNo4c2LlXItg==", "dev": true }, "ignore": { diff --git a/package.json b/package.json index 0fedae4..6fde087 100644 --- a/package.json +++ b/package.json @@ -1,21 +1,21 @@ { "name": "hello-universe-api", - "version": "1.0.0", + "version": "1.0.1", "private": false, "scripts": { - "prepare": "husky install", - "release": "standard-version" + "prepare": "husky install", + "release": "standard-version" }, "devDependencies": { - "semantic-release": "^19.0.5", - "standard-version": "^9.5.0", - "husky": "^8.0.0", - "@semantic-release/changelog": "^6.0.1", - "@semantic-release/exec": "^6.0.3", - "@commitlint/cli": "^17.1.2", - "@commitlint/config-conventional": "^17.1.0", - "@semantic-release/github": "latest", - "@semantic-release/git": "latest", - "@semantic-release/npm": "latest" + "semantic-release": "^19.0.5", + "standard-version": "^9.5.0", + "@semantic-release/changelog": "^6.0.1", + "husky": "^8.0.3", + "@semantic-release/exec": "^6.0.3", + "@commitlint/cli": "^17.1.2", + "@commitlint/config-conventional": "^17.1.0", + "@semantic-release/github": "latest", + "@semantic-release/git": "latest", + "@semantic-release/npm": "latest" } - } \ No newline at end of file +}