mirror of
https://github.com/usual2970/certimate.git
synced 2025-06-08 05:29:51 +00:00
chore(deps): upgrade npm denpendencies
This commit is contained in:
parent
3bc708b910
commit
f6c338b50e
@ -123,7 +123,7 @@ func (n *applyNode) checkCanSkip(ctx context.Context, lastOutput *domain.Workflo
|
||||
renewalInterval := time.Duration(currentNodeConfig.SkipBeforeExpiryDays) * time.Hour * 24
|
||||
expirationTime := time.Until(lastCertificate.ExpireAt)
|
||||
if expirationTime > renewalInterval {
|
||||
return true, fmt.Sprintf("已申请过证书,且证书尚未临近过期(尚余 %d 天过期,不足 %d 天时续期)", int(expirationTime.Hours()/24), currentNodeConfig.SkipBeforeExpiryDays)
|
||||
return true, fmt.Sprintf("已申请过证书,且证书尚未临近过期(尚余 %d 天过期,不足 %d 天时续期),跳过此次申请", int(expirationTime.Hours()/24), currentNodeConfig.SkipBeforeExpiryDays)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -107,7 +107,7 @@ func (n *deployNode) checkCanSkip(ctx context.Context, lastOutput *domain.Workfl
|
||||
}
|
||||
|
||||
if currentNodeConfig.SkipOnLastSucceeded {
|
||||
return true, "已部署过证书"
|
||||
return true, "已部署过证书,跳过此次部署"
|
||||
}
|
||||
}
|
||||
|
||||
|
760
ui/package-lock.json
generated
760
ui/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -10,28 +10,28 @@
|
||||
"preview": "vite preview"
|
||||
},
|
||||
"dependencies": {
|
||||
"@ant-design/icons": "^5.5.2",
|
||||
"@ant-design/pro-components": "^2.8.4",
|
||||
"@ant-design/icons": "^5.6.1",
|
||||
"@ant-design/pro-components": "^2.8.5",
|
||||
"ahooks": "^3.8.4",
|
||||
"antd": "^5.23.1",
|
||||
"antd": "^5.24.0",
|
||||
"antd-zod": "^6.0.1",
|
||||
"clsx": "^2.1.1",
|
||||
"cron-parser": "^4.9.0",
|
||||
"file-saver": "^2.0.5",
|
||||
"i18next": "^24.2.1",
|
||||
"i18next": "^24.2.2",
|
||||
"i18next-browser-languagedetector": "^8.0.2",
|
||||
"immer": "^10.1.1",
|
||||
"lucide-react": "^0.473.0",
|
||||
"lucide-react": "^0.475.0",
|
||||
"nanoid": "^5.0.9",
|
||||
"pocketbase": "^0.25.0",
|
||||
"pocketbase": "^0.25.1",
|
||||
"radash": "^12.1.0",
|
||||
"react": "^18.3.1",
|
||||
"react-copy-to-clipboard": "^5.1.0",
|
||||
"react-dom": "^18.3.1",
|
||||
"react-i18next": "^15.4.0",
|
||||
"react-router-dom": "^7.1.3",
|
||||
"react-router-dom": "^7.1.5",
|
||||
"tailwind-merge": "^2.6.0",
|
||||
"zod": "^3.24.1",
|
||||
"zod": "^3.24.2",
|
||||
"zustand": "^5.0.3"
|
||||
},
|
||||
"devDependencies": {
|
||||
@ -41,25 +41,25 @@
|
||||
"@types/react": "^18.3.12",
|
||||
"@types/react-copy-to-clipboard": "^5.0.7",
|
||||
"@types/react-dom": "^18.3.1",
|
||||
"@typescript-eslint/eslint-plugin": "^8.20.0",
|
||||
"@typescript-eslint/parser": "^8.20.0",
|
||||
"@vitejs/plugin-legacy": "^6.0.0",
|
||||
"@typescript-eslint/eslint-plugin": "^8.24.0",
|
||||
"@typescript-eslint/parser": "^8.24.0",
|
||||
"@vitejs/plugin-legacy": "^6.0.1",
|
||||
"@vitejs/plugin-react": "^4.3.4",
|
||||
"autoprefixer": "^10.4.20",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-config-prettier": "^10.0.1",
|
||||
"eslint-import-resolver-typescript": "^3.7.0",
|
||||
"eslint-plugin-import": "^2.31.0",
|
||||
"eslint-plugin-prettier": "^5.2.2",
|
||||
"eslint-plugin-prettier": "^5.2.3",
|
||||
"eslint-plugin-react-hooks": "^5.1.0",
|
||||
"eslint-plugin-react-refresh": "^0.4.18",
|
||||
"eslint-plugin-react-refresh": "^0.4.19",
|
||||
"eslint-plugin-tailwindcss": "^3.18.0",
|
||||
"fs-extra": "^11.3.0",
|
||||
"postcss": "^8.5.1",
|
||||
"prettier": "^3.4.2",
|
||||
"postcss": "^8.5.2",
|
||||
"prettier": "^3.5.0",
|
||||
"tailwindcss": "^3.4.17",
|
||||
"tailwindcss-animate": "^1.0.7",
|
||||
"typescript": "^5.7.3",
|
||||
"vite": "^6.0.7"
|
||||
"vite": "^6.1.0"
|
||||
}
|
||||
}
|
||||
|
@ -259,12 +259,12 @@ const MultipleInputItem = forwardRef<MultipleInputItemInstance, MultipleInputIte
|
||||
onChange={handleInputChange}
|
||||
/>
|
||||
</div>
|
||||
<Button.Group size={size}>
|
||||
<Space.Compact size={size}>
|
||||
{removeBtn}
|
||||
{upBtn}
|
||||
{downBtn}
|
||||
{addBtn}
|
||||
</Button.Group>
|
||||
</Space.Compact>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
@ -2,7 +2,7 @@ import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { SelectOutlined as SelectOutlinedIcon } from "@ant-design/icons";
|
||||
import { useRequest } from "ahooks";
|
||||
import { Alert, Button, Divider, Empty, Table, type TableProps, Tooltip, Typography, notification } from "antd";
|
||||
import { Alert, Button, Divider, Empty, Space, Table, type TableProps, Tooltip, Typography, notification } from "antd";
|
||||
import dayjs from "dayjs";
|
||||
import { ClientResponseError } from "pocketbase";
|
||||
|
||||
@ -101,7 +101,7 @@ const WorkflowRunArtifacts = ({ runId }: { runId: string }) => {
|
||||
align: "end",
|
||||
width: 120,
|
||||
render: (_, record) => (
|
||||
<Button.Group>
|
||||
<Space.Compact>
|
||||
<CertificateDetailDrawer
|
||||
data={record}
|
||||
trigger={
|
||||
@ -110,7 +110,7 @@ const WorkflowRunArtifacts = ({ runId }: { runId: string }) => {
|
||||
</Tooltip>
|
||||
}
|
||||
/>
|
||||
</Button.Group>
|
||||
</Space.Compact>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
@ -11,7 +11,7 @@ import {
|
||||
SyncOutlined as SyncOutlinedIcon,
|
||||
} from "@ant-design/icons";
|
||||
import { useRequest } from "ahooks";
|
||||
import { Button, Empty, Modal, Table, type TableProps, Tag, Tooltip, notification } from "antd";
|
||||
import { Button, Empty, Modal, Space, Table, type TableProps, Tag, Tooltip, notification } from "antd";
|
||||
import dayjs from "dayjs";
|
||||
import { ClientResponseError } from "pocketbase";
|
||||
|
||||
@ -140,7 +140,7 @@ const WorkflowRuns = ({ className, style, workflowId }: WorkflowRunsProps) => {
|
||||
record.status === WORKFLOW_RUN_STATUSES.CANCELED;
|
||||
|
||||
return (
|
||||
<Button.Group>
|
||||
<Space.Compact>
|
||||
<WorkflowRunDetailDrawer
|
||||
data={record}
|
||||
trigger={
|
||||
@ -174,7 +174,7 @@ const WorkflowRuns = ({ className, style, workflowId }: WorkflowRunsProps) => {
|
||||
}}
|
||||
/>
|
||||
</Tooltip>
|
||||
</Button.Group>
|
||||
</Space.Compact>
|
||||
);
|
||||
},
|
||||
},
|
||||
|
@ -78,7 +78,7 @@ const AccessList = () => {
|
||||
fixed: "right",
|
||||
width: 120,
|
||||
render: (_, record) => (
|
||||
<Button.Group>
|
||||
<Space.Compact>
|
||||
<AccessEditModal
|
||||
data={record}
|
||||
preset="edit"
|
||||
@ -109,7 +109,7 @@ const AccessList = () => {
|
||||
}}
|
||||
/>
|
||||
</Tooltip>
|
||||
</Button.Group>
|
||||
</Space.Compact>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
@ -169,7 +169,7 @@ const CertificateList = () => {
|
||||
fixed: "right",
|
||||
width: 120,
|
||||
render: (_, record) => (
|
||||
<Button.Group>
|
||||
<Space.Compact>
|
||||
<CertificateDetailDrawer
|
||||
data={record}
|
||||
trigger={
|
||||
@ -182,7 +182,7 @@ const CertificateList = () => {
|
||||
<Tooltip title={t("certificate.action.delete")}>
|
||||
<Button color="danger" icon={<DeleteOutlinedIcon />} variant="text" onClick={() => handleDeleteClick(record)} />
|
||||
</Tooltip>
|
||||
</Button.Group>
|
||||
</Space.Compact>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
@ -165,9 +165,9 @@ const Dashboard = () => {
|
||||
align: "end",
|
||||
width: 120,
|
||||
render: (_, record) => (
|
||||
<Button.Group>
|
||||
<Space.Compact>
|
||||
<WorkflowRunDetailDrawer data={record} trigger={<Button color="primary" icon={<SelectOutlinedIcon />} variant="text" />} />
|
||||
</Button.Group>
|
||||
</Space.Compact>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
@ -282,7 +282,7 @@ const WorkflowDetail = () => {
|
||||
{t("workflow.detail.orchestration.action.run")}
|
||||
</Button>
|
||||
|
||||
<Button.Group>
|
||||
<Space.Compact>
|
||||
<Button color="primary" disabled={!allowRelease} variant="outlined" onClick={handleReleaseClick}>
|
||||
{t("workflow.detail.orchestration.action.release")}
|
||||
</Button>
|
||||
@ -303,7 +303,7 @@ const WorkflowDetail = () => {
|
||||
>
|
||||
<Button color="primary" disabled={!allowDiscard} icon={<EllipsisOutlinedIcon />} variant="outlined" />
|
||||
</Dropdown>
|
||||
</Button.Group>
|
||||
</Space.Compact>
|
||||
</Space>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -203,7 +203,7 @@ const WorkflowList = () => {
|
||||
fixed: "right",
|
||||
width: 120,
|
||||
render: (_, record) => (
|
||||
<Button.Group>
|
||||
<Space.Compact>
|
||||
<Tooltip title={t("workflow.action.edit")}>
|
||||
<Button
|
||||
color="primary"
|
||||
@ -226,7 +226,7 @@ const WorkflowList = () => {
|
||||
}}
|
||||
/>
|
||||
</Tooltip>
|
||||
</Button.Group>
|
||||
</Space.Compact>
|
||||
),
|
||||
},
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user