Skip to content

Commit

Permalink
chore: synchronize workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Jan 9, 2025
1 parent 75989f9 commit 561e7ad
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 11 deletions.
4 changes: 2 additions & 2 deletions examples/nextjs-spa/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Ory Elements

> [!CAUTION] This example uses an outdated version of Ory Elements. Please
> use example [`nextjs-spa`](../nextjs-spa/README.md) instead.
> [!CAUTION] This example uses an outdated version of Ory Elements. Please use
> example [`nextjs-spa`](../nextjs-spa/README.md) instead.
Ory Elements is a component library that makes building login, registration and
account pages for Ory a breeze.
Expand Down
4 changes: 2 additions & 2 deletions examples/preact-spa/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Ory Elements

> [!CAUTION] This example uses an outdated version of Ory Elements. Please
> use example [`nextjs-spa`](../nextjs-spa/README.md) instead.
> [!CAUTION] This example uses an outdated version of Ory Elements. Please use
> example [`nextjs-spa`](../nextjs-spa/README.md) instead.
Ory Elements is a component library that makes building login, registration and
account pages for Ory a breeze.
Expand Down
4 changes: 2 additions & 2 deletions examples/react-spa/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Ory Elements

> [!CAUTION] This example uses an outdated version of Ory Elements. Please
> use example [`nextjs-spa`](../nextjs-spa/README.md) instead.
> [!CAUTION] This example uses an outdated version of Ory Elements. Please use
> example [`nextjs-spa`](../nextjs-spa/README.md) instead.
Ory Elements is a component library that makes building login, registration and
account pages for Ory a breeze.
Expand Down
27 changes: 22 additions & 5 deletions packages/nextjs/README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,34 @@
# nextjs
# `@ory/nextjs`

This library was generated with [Nx](https://nx.dev).
This package contains the Next.js SDK for Ory. It provides a set of React
components, server-side components, and hooks to interact with the Ory
ecosystem.

## Building
Supports both app and page routers.

## Installation

Run `npm install @ory/nextjs` or `yarn add @ory/nextjs` to install the package.

## Examples

See the [examples](../../examples) directory for examples on how to use the
package.

## Development

This package is built using Nx.

### Building

Run `nx build @ory/nextjs` to build the library.

## Developing
### Developing

Run `nx dev @ory/nextjs` to watch the source code for changes and continuously
build the library.

## Running unit tests
### Running unit tests

Run `nx test @ory/nextjs` to execute the unit tests via
[Jest](https://jestjs.io).

0 comments on commit 561e7ad

Please sign in to comment.