Skip to content

Commit 8ba84ec

Browse files
authored
Release 2.12.0 #337
#337
2 parents b6b010c + f73afbf commit 8ba84ec

File tree

9 files changed

+22
-30
lines changed

9 files changed

+22
-30
lines changed

README.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -70,13 +70,8 @@ $ (cd website && yarn install --frozen-lockfile)
7070

7171
## Releasing
7272

73-
First, ensure these tools are installed:
74-
- `yarn`
75-
- [`github-release`](https://github.com/github-release/github-release)
76-
- [`git-chglog`](https://github.com/git-chglog/git-chglog)
77-
78-
Also, Git should be configured to be able to sign using GPG keys,
79-
and npm should be logged in as appropriate user.
73+
- Ensure you have `node`, `npm`, and `yarn` in your `PATH`.
74+
- Sign in as appropriate user in npm.
8075

8176
```sh
8277
# VERSION should be in format like "0.1.0"

example/capacitor/package-lock.json

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/reactweb/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/authgear-capacitor/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@authgear/capacitor",
3-
"version": "2.11.0",
3+
"version": "2.12.0",
44
"license": "Apache-2.0",
55
"main": "dist/plugin.cjs.js",
66
"module": "dist/plugin.module.js",
@@ -20,7 +20,7 @@
2020
"build": "tsc && rollup -c rollup.config.js"
2121
},
2222
"devDependencies": {
23-
"@authgear/core": "2.11.0",
23+
"@authgear/core": "2.12.0",
2424
"@capacitor/android": "^5.0.0",
2525
"@capacitor/core": "^5.0.0",
2626
"@capacitor/ios": "^5.0.0"

packages/authgear-core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"private": true,
33
"name": "@authgear/core",
4-
"version": "2.11.0",
4+
"version": "2.12.0",
55
"license": "Apache-2.0",
66
"main": "src/index.ts",
77
"devDependencies": {

packages/authgear-react-native/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@authgear/react-native",
3-
"version": "2.11.0",
3+
"version": "2.12.0",
44
"license": "Apache-2.0",
55
"main": "dist/authgear-react-native.js",
66
"files": [
@@ -11,7 +11,7 @@
1111
"android"
1212
],
1313
"devDependencies": {
14-
"@authgear/core": "2.11.0",
14+
"@authgear/core": "2.12.0",
1515
"@types/react-native": "0.69.1",
1616
"core-js-pure": "^3.37.0"
1717
},

packages/authgear-web/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@authgear/web",
3-
"version": "2.11.0",
3+
"version": "2.12.0",
44
"license": "Apache-2.0",
55
"main": "dist/authgear-web.cjs.js",
66
"module": "dist/authgear-web.module.js",
@@ -11,7 +11,7 @@
1111
"dist/authgear-web.iife.js"
1212
],
1313
"devDependencies": {
14-
"@authgear/core": "2.11.0",
14+
"@authgear/core": "2.12.0",
1515
"core-js-pure": "^3.37.0"
1616
},
1717
"keywords": [

packages/authgear-web/src/types.ts

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export interface ReauthenticateOptions {
3838
*/
3939
state?: string;
4040
/**
41-
* 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.
42-
*
41+
* 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.
42+
*
4343
* Ignore this parameter if default AuthUI is used.
4444
*/
4545
xState?: string;
@@ -78,8 +78,8 @@ export interface AuthenticateOptions {
7878
*/
7979
state?: string;
8080
/**
81-
* 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.
82-
*
81+
* 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.
82+
*
8383
* Ignore this parameter if default AuthUI is used.
8484
*/
8585
xState?: string;
@@ -170,7 +170,7 @@ export interface SettingsActionOptions {
170170
state?: string;
171171
/**
172172
* 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.
173-
*
173+
*
174174
* Ignore this parameter if default AuthUI is used.
175175
*/
176176
xState?: string;
@@ -202,8 +202,8 @@ export interface PromoteOptions {
202202
*/
203203
state?: string;
204204
/**
205-
* 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.
206-
*
205+
* 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.
206+
*
207207
* Ignore this parameter if default AuthUI is used.
208208
*/
209209
xState?: string;

scripts/release.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,6 @@ VERSION="$VERSION" npm run build
3737
(cd example/reactnative && yarn install)
3838
(cd example/capacitor && npm install)
3939

40-
git-chglog --next-tag v"$VERSION" -o CHANGELOG.md
41-
git add CHANGELOG.md 'packages/' 'example/'
42-
git commit -m "Update CHANGELOG for v$VERSION"
4340
git tag -a v"$VERSION" -s -m "Release v$VERSION"
4441
# The main branch is now protected. We cannot push to it directly.
4542
# git push git@github.com:authgear/authgear-sdk-js.git "$GIT_BRANCH"

0 commit comments

Comments
 (0)