diff --git a/.circleci/publish.sh b/.circleci/publish.sh index e46774199..8d20a18d5 100755 --- a/.circleci/publish.sh +++ b/.circleci/publish.sh @@ -12,7 +12,8 @@ if [[ `echo $isLatest | jq .isLatest` == "true" ]] then cd .. npm publish --tag latest - npx -y chromatic + npm i || exit $? + npx -y chromatic --auto-accept-changes master else cd .. npm publish --tag version-$version diff --git a/CHANGELOG.md b/CHANGELOG.md index 848666d08..19d940483 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [unreleased] +## [0.42.2] - 2024-05-29 + +### Changes + +- Updating publish script to update to the lib on chromatic + ## [0.42.1] - 2024-05-29 ### Changes diff --git a/lib/build/genericComponentOverrideContext.js b/lib/build/genericComponentOverrideContext.js index aa0916a7e..8cb5d736f 100644 --- a/lib/build/genericComponentOverrideContext.js +++ b/lib/build/genericComponentOverrideContext.js @@ -265,7 +265,7 @@ var SSR_ERROR = * License for the specific language governing permissions and limitations * under the License. */ -var package_version = "0.42.1"; +var package_version = "0.42.2"; /* Copyright (c) 2021, VRAI Labs and/or its affiliates. All rights reserved. * diff --git a/lib/build/version.d.ts b/lib/build/version.d.ts index cd32bfd48..c763119b6 100644 --- a/lib/build/version.d.ts +++ b/lib/build/version.d.ts @@ -1 +1 @@ -export declare const package_version = "0.42.1"; +export declare const package_version = "0.42.2"; diff --git a/lib/ts/version.ts b/lib/ts/version.ts index d6018fd14..0225d5395 100644 --- a/lib/ts/version.ts +++ b/lib/ts/version.ts @@ -12,4 +12,4 @@ * License for the specific language governing permissions and limitations * under the License. */ -export const package_version = "0.42.1"; +export const package_version = "0.42.2"; diff --git a/package-lock.json b/package-lock.json index 984e0af56..9b58dc987 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "supertokens-auth-react", - "version": "0.42.1", + "version": "0.42.2", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "supertokens-auth-react", - "version": "0.42.1", + "version": "0.42.2", "license": "Apache-2.0", "dependencies": { "intl-tel-input": "^17.0.19", diff --git a/package.json b/package.json index 9f1b9d1ec..2520998f4 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "supertokens-auth-react", - "version": "0.42.1", + "version": "0.42.2", "description": "ReactJS SDK that provides login functionality with SuperTokens.", "main": "./index.js", "engines": {