fix(build): restore lint/test compatibility for agent module
This commit is contained in:
parent
f6a8f6ea41
commit
04fcc7212c
@ -11,7 +11,7 @@
|
||||
"build": "next build",
|
||||
"build:static": "npm run prebuild && next build",
|
||||
"start": "node ./scripts/start.js",
|
||||
"lint": "next lint",
|
||||
"lint": "eslint . --ext .js,.jsx,.ts,.tsx --no-eslintrc -c .eslintrc.json",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"format": "prettier --write .",
|
||||
"preview": "next build && next start",
|
||||
|
||||
@ -80,7 +80,7 @@ export default function TermsPage() {
|
||||
<>
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">1. Acceptance of Terms</h3>
|
||||
<p>By accessing or using the services provided by svc.plus (the "Service"), you agree to be bound by these terms. If you are using the Service on behalf of an entity, you represent that you have the legal authority to bind that entity to these terms.</p>
|
||||
<p>By accessing or using the services provided by svc.plus (the "Service"), you agree to be bound by these terms. If you are using the Service on behalf of an entity, you represent that you have the legal authority to bind that entity to these terms.</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
@ -114,7 +114,7 @@ export default function TermsPage() {
|
||||
|
||||
<section>
|
||||
<h3 className="text-xl font-semibold text-heading mb-3">6. Limitation of Liability</h3>
|
||||
<p>The Service is provided "as is" without warranties of any kind. To the maximum extent permitted by law, svc.plus shall not be liable for any indirect, incidental, or special damages (including loss of profits or data).</p>
|
||||
<p>The Service is provided "as is" without warranties of any kind. To the maximum extent permitted by law, svc.plus shall not be liable for any indirect, incidental, or special damages (including loss of profits or data).</p>
|
||||
</section>
|
||||
|
||||
<section>
|
||||
|
||||
@ -34,6 +34,13 @@ export const userCenterExtension: DashboardExtension = {
|
||||
guard: { requireLogin: true },
|
||||
redirect: { unauthenticated: '/login' },
|
||||
sidebar: { section: 'productivity', order: 10 },
|
||||
featureFlag: {
|
||||
id: 'user-center.agent',
|
||||
title: 'Agent 节点管理',
|
||||
description: '启用运行节点管理页面。',
|
||||
envVar: 'NEXT_PUBLIC_FEATURE_AGENT_MODULE',
|
||||
defaultEnabled: true,
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'apis',
|
||||
|
||||
@ -20,6 +20,7 @@ export default defineConfig({
|
||||
},
|
||||
resolve: {
|
||||
alias: {
|
||||
"@": path.resolve(__dirname, "..", "..", "src"),
|
||||
"@components": path.resolve(__dirname, "..", "..", "src", "components"),
|
||||
"@i18n": path.resolve(__dirname, "..", "..", "src", "i18n"),
|
||||
"@lib": path.resolve(__dirname, "..", "..", "src", "lib"),
|
||||
|
||||
Loading…
Reference in New Issue
Block a user