Skip to content

Commit

Permalink
chore: synchronize workspaces
Browse files Browse the repository at this point in the history
  • Loading branch information
aeneasr committed Oct 18, 2024
1 parent 0193533 commit 42d4c52
Show file tree
Hide file tree
Showing 35 changed files with 188 additions and 899 deletions.
42 changes: 42 additions & 0 deletions .eslintrc.base.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"root": true,
"ignorePatterns": ["**/*"],
"plugins": ["@nx"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
"rules": {
"@nx/enforce-module-boundaries": [
"error",
{
"enforceBuildableLibDependency": true,
"allow": [],
"depConstraints": [
{
"sourceTag": "*",
"onlyDependOnLibsWithTags": ["*"]
}
]
}
]
}
},
{
"files": ["*.ts", "*.tsx"],
"extends": ["plugin:@nx/typescript"],
"rules": {}
},
{
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nx/javascript"],
"rules": {}
},
{
"files": ["*.spec.ts", "*.spec.tsx", "*.spec.js", "*.spec.jsx"],
"env": {
"jest": true
},
"rules": {}
}
]
}
4 changes: 2 additions & 2 deletions examples/nextjs-app-router/app/auth/login/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Login } from "@ory/elements-react/theme"
import { useOryConfig } from "@/nextjs"
import { getLoginFlow, OryPageParams } from "@/nextjs/app"
import { useOryConfig } from "@ory/nextjs"
import { getLoginFlow, OryPageParams } from "@ory/nextjs/app"

import config from "@/ory.config"
import CardHeader from "@/app/auth/login/card-header"
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs-app-router/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"use client"
import { useSession } from "@/nextjs/hooks"
import { useSession } from "@ory/nextjs/hooks"
import Link from "next/link"

export default function RootLayout() {
Expand Down
46 changes: 0 additions & 46 deletions examples/nextjs-app-router/nextjs/app/flow.ts

This file was deleted.

8 changes: 0 additions & 8 deletions examples/nextjs-app-router/nextjs/app/index.ts

This file was deleted.

12 changes: 0 additions & 12 deletions examples/nextjs-app-router/nextjs/app/layout.tsx

This file was deleted.

46 changes: 0 additions & 46 deletions examples/nextjs-app-router/nextjs/app/login.ts

This file was deleted.

47 changes: 0 additions & 47 deletions examples/nextjs-app-router/nextjs/app/registration.ts

This file was deleted.

32 changes: 0 additions & 32 deletions examples/nextjs-app-router/nextjs/app/utils.ts

This file was deleted.

27 changes: 0 additions & 27 deletions examples/nextjs-app-router/nextjs/config.ts

This file was deleted.

59 changes: 0 additions & 59 deletions examples/nextjs-app-router/nextjs/cookie.test.ts

This file was deleted.

25 changes: 0 additions & 25 deletions examples/nextjs-app-router/nextjs/cookie.ts

This file was deleted.

19 changes: 0 additions & 19 deletions examples/nextjs-app-router/nextjs/headers.ts

This file was deleted.

Loading

0 comments on commit 42d4c52

Please sign in to comment.