Skip to content

Commit ccfeb8b

Browse files
authored
build(elements): Release 0.2.0 (clerk#3301)
* build(elements): Release 0.2.0 * fix(elements): Update return type of SignIn.Strategy
1 parent 8df9008 commit ccfeb8b

4 files changed

Lines changed: 12 additions & 6 deletions

File tree

.changeset/three-flies-mix.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@clerk/elements': minor
3+
---
4+
5+
Bump version to 0.2.0
6+
Fix return type of `<SignIn.Strategy>` to be `JSX.Element | null`

.github/workflows/ci.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,10 @@ jobs:
5353
run: npm run format:check
5454

5555
- name: Build Packages
56-
run: npx turbo build $TURBO_ARGS --filter=!elements --only
56+
run: npx turbo build $TURBO_ARGS --only
5757

5858
- name: Lint packages using publint
59-
run: npx turbo lint:publint $TURBO_ARGS --filter=!elements --only
59+
run: npx turbo lint:publint $TURBO_ARGS --only
6060

6161
- name: Lint types using attw
6262
run: npx turbo lint:attw $TURBO_ARGS --filter=!nextjs --filter=!elements --filter=!backend --only
@@ -66,7 +66,7 @@ jobs:
6666
continue-on-error: true # TODO: Remove this when all related errors are fixed
6767

6868
- name: Run lint
69-
run: npx turbo lint $TURBO_ARGS --filter=!elements --only -- --quiet
69+
run: npx turbo lint $TURBO_ARGS --only -- --quiet
7070

7171
- name: Upload Turbo Summary
7272
uses: actions/upload-artifact@v3
@@ -108,7 +108,7 @@ jobs:
108108
turbo-token: ${{ secrets.TURBO_TOKEN }}
109109

110110
- name: Run tests
111-
run: npx turbo test $TURBO_ARGS --filter=!elements
111+
run: npx turbo test $TURBO_ARGS
112112
env:
113113
NODE_VERSION: ${{ matrix.node-version }}
114114

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
playwright-enabled: true # Must be present to enable caching on branched workflows
5050

5151
- name: Build release
52-
run: npx turbo build $TURBO_ARGS --filter=!elements --force
52+
run: npx turbo build $TURBO_ARGS --force
5353

5454
- name: Create Release PR
5555
id: changesets

packages/elements/src/react/sign-in/verifications.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export function SignInStrategy({ children, name }: SignInStrategyProps) {
8080
};
8181
}, [factorCtx, name]);
8282

83-
return active ? children : null;
83+
return active ? <>{children}</> : null;
8484
}
8585

8686
/**

0 commit comments

Comments
 (0)