Skip to content

Conversation

@pull
Copy link

@pull pull bot commented Mar 1, 2022

See Commits and Changes for more details.


Created by pull[bot]

Can you help keep this open source service alive? 💖 Please sponsor : )

@pull pull bot added the ⤵️ pull label Mar 1, 2022
renovate bot and others added 29 commits September 15, 2022 16:16
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* update playwright

* downgrade playwright

* disable matrix

* simplify

* remove check

* remove @replayio/cypress

* fixes

* patch args

* add upload action

* HACK: coerce types

* simplify

* temporary: suppress repo test

* yarn cleanup

* add line reporter

* Update ci.yml

* add test metrics

* remove type coercion

* revert playwright downgrade and rebuild yarn.lock

* Update .github/workflows/ci.yml

Co-authored-by: Ryan Duffy <[email protected]>

Co-authored-by: Jason Laster <[email protected]>
Co-authored-by: Ryan Duffy <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* fix(deps): update dependency msw to v0.44.2

* fix: correct type imports, handle new field prop

* chore: upgrade to 0.45.0

* upgrade to v0.47

* chore: dedupe yarn.lock

* fix bin proxy

* fix: don't import subpath

* upgrade to v0.47.3

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dominic Saadi <[email protected]>
* chore(deps): update dependency cypress to v10

* chore: run automated migration script

* wip changes

* chore: rename spec files, adhering to new convention

* chore: update yarn.lock

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dominic Saadi <[email protected]>
this will copy commits from main to the "next" branch. this is one of two actions I found. we may not go with either cause they don't handle release labels, but want to see if it works
…rs | Add type tests (#6364)

Co-authored-by: Tom Mrazauskas <[email protected]>
Co-authored-by: Tobbe Lundberg <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Dominic Saadi <[email protected]>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
jtoar and others added 29 commits October 12, 2022 11:35
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
* apollo index: Fix messed up comment

* dbAuth template fixes
* AuthProvider: Don't type cast createAuthClient args

* AuthProvider: Get rid of unused AuthContext init params

* Provide types for web auth methods

* Minor updates after writing PR description

* AuthProvider: 'type' from authImpl

* Auth: Custom getCurrentUser

* Update more auth providers implementations

* Export auth fatory methods

* Create wrapper methods to help TS with types

* SuperTokens authImplementation

* Okta authImplementation

* GoTrue authImplementation

* MagicLink authImplementation

* Firebase authImplementation

* Auth0 authImplementation

* Ethereum and AzureActiveDirectory authImplementation

* Get rid of authClients

* Export auth factories

* useAuth all over the place

* Update yarn.lock

* useNoAuth

* Relative imports

* update test-project fixture

* Make all Auth tests pass

* Fix router tests

* Better solution for tests

* No global useAuth

* Simplify types

* setup types for netlify-identity

* useListenForUpdates and clerk updates

* Update clerk integration

* auth setup: print correct ts/js file ext

* Pass through client to useAuth. Enable WebAuthn for dbAuth

* Fix ethereum authImplementation

* web side auth.ts templates

* auth setup

* More auth setup tests

* Code review fixes

* Update useNoAuth so router unit tests pass

* auth setup: Warn if we can't find RedwoodApolloProvider

* Auth handler tests

* Update README.md

* lib templates: Use currentUserRoles everywhere for better TS experience

* Clean up provider specific config that has moved to separate files

* Custom auth setup command

* Fix import order in auth templates

* netlify auth: fix package lis

* auth-providers and mocked useAuth

* auth setup: Update RedwoodApolloProvider warning message

* auth setup: Use @redwoodjs/auth-providers

* dbAuth test login

* dbAuth test logout

* Test customProviderHooks in AuthProvider

* Update test snapshots

* Updated test-project fixture

* Fix bad merge

* Update dbAuth page templates

* Update test-project codemods

* internal fixture: Update useAuth import

* Clean up MockProviders

* update test-project fixture

* Use path.sep cuz Windows

* Handle windows paths

* One more test to fix

* Mock useAuth for StoryBook

* Tweak SB config

* Smarter hasRole mock

* rbacChecks: Make it less flakey

* auth0 tests

* AzureActiveDirectory tests

* Clerk tests

* Updated yarn.lock

* Test GoTrue and Netlify

* yarn constraints fix

* Move auth api templates into api folder

* authFiles: More accurate comment

* Auth setup: Group tempalates by provider

* Support arbritary files/templates

* Supertokens auth setup

* setup auth: fix api output path

* Handle existing files + ts and js projects

* fix yarn constraints

* Better support for multiple auth providers on the api side

* Start moving setup commands into provider specific folders

* Update supertokens templates

* Auth specific setup scripts

* authFiles, authTasks: Switch to TS

* Start moving setup scripts to the auth-providers package

* Tighten up Telemetry types

* rw/cli tsconfig

* @redwoodjs/cli-helpers

* Keep moving setup scripts to the auth-provider package

* Moved all auth provider setup scripts to the auth-provider package

* Update auth-helper exports. Move helper function to cli-helpers

* Re-add setup auth command

* Use cli-helpers methods in the cli package

* Setup commands happy-path working

* Use unique filenames to avoid overwriting existing files

* Restructure netlify auth

* Restructure auth-provider package

* Revert "Use cli-helpers methods in the cli package"

This reverts commit 8704d6b.

* CLI keeps its methods

* cli: clean up package config

* graphql-server: fix tests and improve typing

* authFiles: Rename files -> apiSideFiles

* cli-helpers: Add test for auth setup helpers

* Start adding authDecoder to some auth setup commands

* cli project.js: Add back missing method

* Fix broken merge in cli scripts

* Make it build

* Update test project fixture

* auth-providers-setup package

* auth-providers-setup: Remove web and api folders

* auth-providers-setup: restructure package

* Try adding types to telemetry

* auth-providers-web

* auth-providers-web: Remove non-web files

* auth-providers-web: restructure

* auth setup: Fix template imports

* auth-providers: Only export api stuff

* auth-providers-web: correct package name

* auth-providers -> auth-providers-api

* Update yarn.lock

* Update auth-providers import

* Make all tests pass

* Update test project fixture

* Fix package imports

* Fix imports and update test-project fixture

* Pass auth-provider type to auth decoders

* auth decoders: Use Decoder type

* Netlify setup: Temporarily disable rw auth package installation

* strict mode

* Fix broken merge

* Fix package deps

* Tweak regexps to fix code scanning issues

* Atomic group regex

* One more atomic group regex

* yarn constraints fix

* Revert "yarn constraints fix"

This reverts commit 7d463a2.

* manual yarn constraints fix

* More manual version updates

* Don't use carret versions

* update lockfile

* Fix lint warnings

* Remove DMMF import

* Update snapshots

* Use node14 compatible syntax

* Fix api side auth imports

* Fix yarn.lock

* Update regex

* Tweak regex

* Avoid red squiggles in generated code

* Updated test fixture

* Export Decoded

* dbAuth template types

* Update test-project fixture

* Add jsonwebtoken to auth-providers-api deps

* auth-providers-api: Update jest config

* auth-providers-api: Add azureAD tests

* Update azureAD test and decoder

* auth-providers-api: test clerk

* auth-providers-api ethereum tests

* auth-providers-api: firebase tests

* use default req in tests

* auth-providers-api: goTrue tests

* auth-providers-api: netlify tests

* Test magicLink

* Test nhost decoder

* test okta decoder

* okta tests: Better types

* test supabase decode

* supertokens decoder tests

* Duplicate mock req to make tests standalone

* auth-providers-web: ethereum and firebase tests

* fix: resolve firebase/auth and deps to commonjs

* Fix firebase tests

* Type-tweak to firebase test

* test magicLink

* auth-providers-web: test nhost

* okta tests

* Test supabase and supertokens

* Add usage warning and prompt to auth setup

* Fix merge resolutions

* Fix package versions

* Allow bypassing auth setup prompt (for CI)

* auth docs: custom auth

* Temporary fix for dbauth webauthn

* Update packages/cli/src/commands/__tests__/test.test.js

Co-authored-by: Dominic Saadi <[email protected]>

* Review comment fixes. Biggest one is switching to listr2 in cli-helpers

* Revert unneeded change

* Add changes from #6372

* Fix clerk auth build error

* Fix #6372 implementation

* Add missign auth decoder exports

* Update auth imports

* Add firebase anon auth

* cli-helpers: listr2 dep, and test fixes

* auth2

* dbAuth passwordValidation

* Minimize changes to packages/api

* Minimize changes to packages/auth

* Fix bad merge

* Move to @rwjs/auth instead of auth2

* Fix cli-helpers test

* auth2 -> auth fixes

Co-authored-by: Dominic Saadi <[email protected]>
* fix: add required packages

* fix: pass webAuthn param to task

* chore: update test project fixture
* feat: publish 2nd canary (@next) from release branch

* fix: use diff env var, write valid bash

* fix: renamed release branch to next
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…6688)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Found this while going through the tutorial :)
@jacebenson jacebenson merged commit 89215b8 into jacebenson:main Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.