修复构建问题
This commit is contained in:
@@ -1,11 +1,11 @@
|
|||||||
{
|
{
|
||||||
"name": "lanhu-admin",
|
"name": "lanhu-admin",
|
||||||
"version": "1.0.2",
|
"version": "1.1.0",
|
||||||
"private": true,
|
"private": true,
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "next dev -H 0.0.0.0 --turbopack",
|
"dev": "next dev -H 0.0.0.0 --turbopack",
|
||||||
"build": "next build --turbopack",
|
"build": "next build --turbopack",
|
||||||
"lint": "eslint --fix"
|
"lint": "biome check --write"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@hookform/resolvers": "^4.1.3",
|
"@hookform/resolvers": "^4.1.3",
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ if ($confrim -ne "y") {
|
|||||||
exit 0
|
exit 0
|
||||||
}
|
}
|
||||||
|
|
||||||
docker build -t 43.226.58.254:53000/lanhu/admin:latest .
|
docker build -t repo.lanhuip.com:8554/lanhu/admin:latest .
|
||||||
docker build -t 43.226.58.254:53000/lanhu/admin:$($args[0]) .
|
docker build -t repo.lanhuip.com:8554/lanhu/admin:$($args[0]) .
|
||||||
|
|
||||||
docker push 43.226.58.254:53000/lanhu/admin:latest
|
docker push repo.lanhuip.com:8554/lanhu/admin:latest
|
||||||
docker push 43.226.58.254:53000/lanhu/admin:$($args[0])
|
docker push repo.lanhuip.com:8554/lanhu/admin:$($args[0])
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
export type ProxySourcesPageProps = {}
|
|
||||||
|
|
||||||
export default function ProxySourcesPage(props: ProxySourcesPageProps) {
|
|
||||||
return <div></div>
|
|
||||||
}
|
|
||||||
@@ -1,4 +1,5 @@
|
|||||||
import {
|
import {
|
||||||
|
type AccessorKeyColumnDef,
|
||||||
type Column,
|
type Column,
|
||||||
type ColumnDef,
|
type ColumnDef,
|
||||||
flexRender,
|
flexRender,
|
||||||
@@ -50,18 +51,18 @@ export function DataTable<T extends Record<string, unknown>>(
|
|||||||
columnPinning: {
|
columnPinning: {
|
||||||
left: props.columns
|
left: props.columns
|
||||||
.map(column =>
|
.map(column =>
|
||||||
column.meta?.pin === "left"
|
(column.meta as Record<string, unknown>)?.pin === "left"
|
||||||
? column.id || column.accessorKey
|
? column.id || (column as AccessorKeyColumnDef<T>).accessorKey
|
||||||
: undefined,
|
: undefined,
|
||||||
)
|
)
|
||||||
.filter(Boolean),
|
.filter(Boolean) as string[],
|
||||||
right: props.columns
|
right: props.columns
|
||||||
.map(column =>
|
.map(column =>
|
||||||
column.meta?.pin === "right"
|
(column.meta as Record<string, unknown>)?.pin === "right"
|
||||||
? column.id || column.accessorKey
|
? column.id || (column as AccessorKeyColumnDef<T>).accessorKey
|
||||||
: undefined,
|
: undefined,
|
||||||
)
|
)
|
||||||
.filter(Boolean),
|
.filter(Boolean) as string[],
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user