Conversation
🦋 Changeset detectedLatest commit: f3d1b28 The changes in this PR will be included in the next version bump. This PR includes changesets to release 21 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
We just decided that we won't use (for now) existent libs for JWT, so i'll remove the latest changes from the JWT Package and create one from scratch |
04a767d to
d4fe3ff
Compare
There was a problem hiding this comment.
Pull Request Overview
This pull request introduces the @palmares/auth package along with the first password-based authentication adapter, and updates the base web server configuration and supporting scripts.
- Introduces a new authentication package and adapter.
- Sets up new database, core, and CLI components for authentication.
- Updates ESLint and Drizzle configurations, and includes changesets for versioning.
Reviewed Changes
Copilot reviewed 48 out of 54 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| examples/with-auth/src/db/schemas/index.ts | Exports user schema. |
| examples/with-auth/src/db/repositories/users.ts | Implements repository functions for user data handling. |
| examples/with-auth/src/db/index.ts | Configures the database and engine for Postgres. |
| examples/with-auth/src/core/index.ts | Defines core functionalities including auth routes and migrations. |
| examples/with-auth/src/core/auth.ts | Initializes auth; import path appears inconsistent with new package naming. |
| examples/with-auth/manage.ts | Provides CLI command handling for the authentication example. |
| examples/with-auth/manage.drizzle.ts | Provides CLI command handling for Drizzle. |
| examples/with-auth/eslint.config.js | Updates ESLint configuration to disable the ts/no-namespace rule. |
| examples/with-auth/drizzle.config.ts | Configures Drizzle migration settings. |
| examples/with-auth/docker-compose.yml | Sets up docker-compose for the auth example environment. |
| examples/server-express-only/src/settings.ts | Contains unresolved merge conflict markers. |
| eslint.config.js | Updates main ESLint configuration. |
| .changeset/slow-hairs-mate.md | Documents changes to @palmares/server. |
| .changeset/dull-hoops-punch.md | Documents changes to @palmares/express-adapter and @palmares/server. |
Files not reviewed (6)
- examples/with-auth/drizzle/migrations/0000_initial_db_structure.sql: Language not supported
- examples/with-auth/drizzle/migrations/meta/0000_snapshot.json: Language not supported
- examples/with-auth/drizzle/migrations/meta/_journal.json: Language not supported
- examples/with-auth/drizzle/schemas: Language not supported
- examples/with-auth/package.json: Language not supported
- examples/with-auth/priv/init-db.sh: Language not supported
| <<<<<<< HEAD | ||
| }, | ||
| }) | ||
| }, | ||
| }, | ||
| ======= |
There was a problem hiding this comment.
Unresolved merge conflict markers detected. Please resolve the conflict and remove all merge conflict markers.
| <<<<<<< HEAD | |
| }, | |
| }) | |
| }, | |
| }, | |
| ======= |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This PR introduces the
@palmares/authpackage, providing a foundation for authentication within Palmares. It also includes the first authentication adapter,password-auth, for password-based authentication.Key changes include:
@palmares/authPackage:libs/password-authPackage:examples/with-authBase WebServer with Auth adapter:General Updates:
ts/no-namespacerule in the maineslint.config.js.package.json.THIS PR IS STILL IN DRAFT CUZ IT STILL IN DEVELOPMENT