Skip to content

Conversation

@IbenTesara
Copy link
Contributor

@IbenTesara IbenTesara commented Jan 29, 2025

Description
Sets up a library with shared authentication types that we can later use in shared authentication frontend packages

Requirements

  • Correct label have been assigned
  • Project has been assigned
  • Milestone has been (created/)assigned

@IbenTesara IbenTesara added setup These tickets are related to the setup of the monorepo js-types-auth @studiohyperdrive/types-auth labels Jan 29, 2025
@IbenTesara IbenTesara added this to the js-types-auth:v1.0.0 milestone Jan 29, 2025
@IbenTesara IbenTesara self-assigned this Jan 29, 2025
@IbenTesara IbenTesara force-pushed the feat/javascript/types/auth/setup branch from 2f1b6dd to 999a383 Compare January 29, 2025 12:32
@WHeirstrate WHeirstrate requested a review from jsprds January 29, 2025 12:34
@jsprds
Copy link
Member

jsprds commented Jan 29, 2025

@IbenTesara can you give more information about the Verdaccio setup? 🙏

@IbenTesara
Copy link
Contributor Author

@IbenTesara can you give more information about the Verdaccio setup? 🙏

It's something that was auto-generated by Nx, we used it in the previous repos as well but I don't have that much more insight in it I'm afraid 😅

@IbenTesara IbenTesara force-pushed the feat/javascript/types/auth/setup branch from 999a383 to 81c5830 Compare January 29, 2025 12:44
Copy link
Contributor

@WHeirstrate WHeirstrate left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you illustrate what purpose this authentication package serves? I assume this is part 1 of many to create a plug-and-play authentication service that communicates between a node backend and a frontend? Will this be framework agnostic, or catered to Angular?

"@studiohyperdrive/env": "1.0.4",
"@studiohyperdrive/utils": "^2.0.0",
"@studiohyperdrive/ngx-core": "19.1.0",
"@studiohyperdrive/utils": "^2.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why don't we use a fixed versioning here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn't part of the scope of this PR nor was it added by me; but I see nothing wrong with this not being a fixed version.

We're responsible for that package, ergo we should take responsibility to ensure that we can keep working with this approach instead of setting it on a fixed version and updating it with every minor release we do for the utils package. 🤷

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed the fact that you moved this line down. I though you had added this, my bad.

@IbenTesara
Copy link
Contributor Author

IbenTesara commented Jan 29, 2025

Could you illustrate what purpose this authentication package serves? I assume this is part 1 of many to create a plug-and-play authentication service that communicates between a node backend and a frontend? Will this be framework agnostic, or catered to Angular?

Honestly I don't see how much more information I can give than the one in the docs 😅

This is indeed a framework agnostic types package, so both the frontend packages and the backend packages or backends that want to link with the frontend packages can use these types.

The end goal is to have a frontend package for each framework, making it so that we can easily handle permissions, feature flags, and user authentication in a consistent way :)

@IbenTesara IbenTesara force-pushed the feat/javascript/types/auth/setup branch from 81c5830 to 1d173bf Compare January 29, 2025 13:00
"@studiohyperdrive/env": "1.0.4",
"@studiohyperdrive/utils": "^2.0.0",
"@studiohyperdrive/ngx-core": "19.1.0",
"@studiohyperdrive/utils": "^2.0.0",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I missed the fact that you moved this line down. I though you had added this, my bad.

@IbenTesara IbenTesara merged commit 0b46e80 into master Jan 29, 2025
@IbenTesara IbenTesara deleted the feat/javascript/types/auth/setup branch January 29, 2025 13:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

js-types-auth @studiohyperdrive/types-auth setup These tickets are related to the setup of the monorepo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants