nextjs: somehow working

This commit is contained in:
Felix Dubrownik
2023-02-24 09:29:52 +01:00
parent 267531a150
commit a55e6ecd0f
7 changed files with 39 additions and 42916 deletions

File diff suppressed because it is too large Load Diff

View File

@ -2,10 +2,11 @@
"name": "example-nextjs", "name": "example-nextjs",
"private": true, "private": true,
"scripts": { "scripts": {
"start": "next dev -p 8888" "start": "next dev -p 8888",
"build": "next build"
}, },
"dependencies": { "dependencies": {
"@teamhanko/hanko-elements": "^0.1.2-alpha", "@teamhanko/hanko-elements": "^0.1.3-alpha",
"next": "12.3.0", "next": "12.3.0",
"react": "18.2.0", "react": "18.2.0",
"react-dom": "18.2.0" "react-dom": "18.2.0"

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{ {
"name": "@teamhanko/hanko-elements", "name": "@teamhanko/hanko-elements",
"version": "0.1.2-alpha", "version": "0.1.3-alpha",
"private": false, "private": false,
"publishConfig": { "publishConfig": {
"access": "public" "access": "public"
@ -18,15 +18,15 @@
"typesVersions": { "typesVersions": {
"*": { "*": {
"elements": [ "elements": [
"dist/ui/Elements.d.ts" "dist/Elements.d.ts"
] ]
} }
}, },
"exports": { "exports": {
".": { ".": {
"types": "./dist/index.d.ts",
"import": "./dist/elements.js", "import": "./dist/elements.js",
"require": "./dist/elements.js", "require": "./dist/elements.js"
"types": "./dist/index.d.ts"
} }
}, },
"scripts": { "scripts": {

File diff suppressed because it is too large Load Diff

18
package.json Normal file
View File

@ -0,0 +1,18 @@
{
"name": "hanko-monorepo",
"version": "1.0.0",
"description": "hanko-monorepo",
"private": true,
"workspaces": [
"frontend/frontend-sdk",
"frontend/elements",
"examples/*"
],
"scripts": {
"build": "turbo run build",
"lint": "turbo run lint"
},
"dependencies": {
"turbo": "^1.8.2"
}
}

14
turbo.json Normal file
View File

@ -0,0 +1,14 @@
{
"$schema": "https://turbo.build/schema.json",
"pipeline": {
"build": {
"dependsOn": ["^build"],
"outputs": ["dist/**"]
},
"test": {
"dependsOn": ["build"],
"inputs": ["src/**/*.tsx", "src/**/*.ts", "test/**/*.ts", "test/**/*.tsx"]
},
"lint": {}
}
}