Skip to content

Commit

Permalink
Release 2.12.0 #337
Browse files Browse the repository at this point in the history
  • Loading branch information
tung2744 authored Jan 14, 2025
2 parents b6b010c + f73afbf commit 8ba84ec
Show file tree
Hide file tree
Showing 9 changed files with 22 additions and 30 deletions.
9 changes: 2 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,8 @@ $ (cd website && yarn install --frozen-lockfile)

## Releasing

First, ensure these tools are installed:
- `yarn`
- [`github-release`](https://github.com/github-release/github-release)
- [`git-chglog`](https://github.com/git-chglog/git-chglog)

Also, Git should be configured to be able to sign using GPG keys,
and npm should be logged in as appropriate user.
- Ensure you have `node`, `npm`, and `yarn` in your `PATH`.
- Sign in as appropriate user in npm.

```sh
# VERSION should be in format like "0.1.0"
Expand Down
8 changes: 4 additions & 4 deletions example/capacitor/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions example/reactweb/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/authgear-capacitor/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@authgear/capacitor",
"version": "2.11.0",
"version": "2.12.0",
"license": "Apache-2.0",
"main": "dist/plugin.cjs.js",
"module": "dist/plugin.module.js",
Expand All @@ -20,7 +20,7 @@
"build": "tsc && rollup -c rollup.config.js"
},
"devDependencies": {
"@authgear/core": "2.11.0",
"@authgear/core": "2.12.0",
"@capacitor/android": "^5.0.0",
"@capacitor/core": "^5.0.0",
"@capacitor/ios": "^5.0.0"
Expand Down
2 changes: 1 addition & 1 deletion packages/authgear-core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"private": true,
"name": "@authgear/core",
"version": "2.11.0",
"version": "2.12.0",
"license": "Apache-2.0",
"main": "src/index.ts",
"devDependencies": {
Expand Down
4 changes: 2 additions & 2 deletions packages/authgear-react-native/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@authgear/react-native",
"version": "2.11.0",
"version": "2.12.0",
"license": "Apache-2.0",
"main": "dist/authgear-react-native.js",
"files": [
Expand All @@ -11,7 +11,7 @@
"android"
],
"devDependencies": {
"@authgear/core": "2.11.0",
"@authgear/core": "2.12.0",
"@types/react-native": "0.69.1",
"core-js-pure": "^3.37.0"
},
Expand Down
4 changes: 2 additions & 2 deletions packages/authgear-web/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@authgear/web",
"version": "2.11.0",
"version": "2.12.0",
"license": "Apache-2.0",
"main": "dist/authgear-web.cjs.js",
"module": "dist/authgear-web.module.js",
Expand All @@ -11,7 +11,7 @@
"dist/authgear-web.iife.js"
],
"devDependencies": {
"@authgear/core": "2.11.0",
"@authgear/core": "2.12.0",
"core-js-pure": "^3.37.0"
},
"keywords": [
Expand Down
14 changes: 7 additions & 7 deletions packages/authgear-web/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export interface ReauthenticateOptions {
*/
state?: string;
/**
* Custom state. Use this parameter to provide parameters from the client application to Custom UI. The string in xState can be accessed by the Custom UI.
*
* Custom state. Use this parameter to provide parameters from the client application to Custom UI. The string in xState can be accessed by the Custom UI.
*
* Ignore this parameter if default AuthUI is used.
*/
xState?: string;
Expand Down Expand Up @@ -78,8 +78,8 @@ export interface AuthenticateOptions {
*/
state?: string;
/**
* Custom state. Use this parameter to provide parameters from the client application to Custom UI. The string in xState can be accessed by the Custom UI.
*
* Custom state. Use this parameter to provide parameters from the client application to Custom UI. The string in xState can be accessed by the Custom UI.
*
* Ignore this parameter if default AuthUI is used.
*/
xState?: string;
Expand Down Expand Up @@ -170,7 +170,7 @@ export interface SettingsActionOptions {
state?: string;
/**
* Custom state. Use this parameter to provide parameters from the client application to Custom UI. The string in xState can be accessed by the Custom UI.
*
*
* Ignore this parameter if default AuthUI is used.
*/
xState?: string;
Expand Down Expand Up @@ -202,8 +202,8 @@ export interface PromoteOptions {
*/
state?: string;
/**
* Custom state. Use this parameter to provide parameters from the client application to Custom UI. The string in xState can be accessed by the Custom UI.
*
* Custom state. Use this parameter to provide parameters from the client application to Custom UI. The string in xState can be accessed by the Custom UI.
*
* Ignore this parameter if default AuthUI is used.
*/
xState?: string;
Expand Down
3 changes: 0 additions & 3 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,9 +37,6 @@ VERSION="$VERSION" npm run build
(cd example/reactnative && yarn install)
(cd example/capacitor && npm install)

git-chglog --next-tag v"$VERSION" -o CHANGELOG.md
git add CHANGELOG.md 'packages/' 'example/'
git commit -m "Update CHANGELOG for v$VERSION"
git tag -a v"$VERSION" -s -m "Release v$VERSION"
# The main branch is now protected. We cannot push to it directly.
# git push [email protected]:authgear/authgear-sdk-js.git "$GIT_BRANCH"
Expand Down

0 comments on commit 8ba84ec

Please sign in to comment.