This commit is contained in:
Jamie Curnow 2022-07-14 21:53:11 +10:00
parent ee4c6a3a8b
commit 3c0af95468
8 changed files with 2925 additions and 3074 deletions

View File

@ -25,7 +25,7 @@ RUN echo "fs.file-max = 65535" > /etc/sysctl.conf
RUN curl -fsSL https://deb.nodesource.com/setup_16.x | bash - \
&& apt-get update \
&& apt-get install -y --no-install-recommends nodejs vim dnsutils \
&& npm install -g yarn \
&& npm install --location=global yarn \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* \
&& go install github.com/xo/usql@master

View File

@ -3,63 +3,63 @@
"version": "3.0.0",
"private": true,
"dependencies": {
"@chakra-ui/react": "^2.1.0",
"@chakra-ui/react": "^2.2.4",
"@emotion/react": "^11",
"@emotion/styled": "^11.8.1",
"@emotion/styled": "^11.9.3",
"@testing-library/jest-dom": "5.16.4",
"@testing-library/react": "13.2.0",
"@types/humps": "^2.0.1",
"@types/jest": "27.5.1",
"@testing-library/react": "13.3.0",
"@types/humps": "^2.0.2",
"@types/jest": "28.1.5",
"@types/lodash": "4.14.182",
"@types/node": "17.0.35",
"@types/react": "18.0.9",
"@types/react-dom": "18.0.4",
"@types/node": "18.0.4",
"@types/react": "18.0.15",
"@types/react-dom": "18.0.6",
"@types/react-router-dom": "5.3.3",
"@types/react-table": "^7.7.12",
"@types/styled-components": "5.1.25",
"@typescript-eslint/eslint-plugin": "^5.25.0",
"@typescript-eslint/parser": "^5.25.0",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"babel-eslint": "^10.1.0",
"classnames": "^2.3.1",
"country-flag-icons": "^1.5.2",
"country-flag-icons": "^1.5.5",
"date-fns": "2.28.0",
"eslint": "^8.16.0",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"eslint-config-react-app": "^7.0.1",
"eslint-loader": "^4.0.2",
"eslint-plugin-flowtype": "^8.0.3",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"eslint-plugin-react-hooks": "^4.5.0",
"eslint-plugin-jsx-a11y": "^6.6.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.30.1",
"eslint-plugin-react-hooks": "^4.6.0",
"formik": "^2.2.9",
"framer-motion": "^6",
"humps": "^2.0.1",
"jest-date-mock": "1.0.8",
"jest-fetch-mock": "3.0.3",
"jest-junit": "^13.2.0",
"jest-junit": "^14.0.0",
"jest-localstorage-mock": "2.4.21",
"jest-runner-eslint": "1.0.1",
"lodash": "4.17.21",
"moment": "2.29.3",
"moment": "2.29.4",
"node-sass": "^7.0.1",
"prettier": "2.6.2",
"prettier": "2.7.1",
"query-string": "7.1.1",
"react": "^18.1.0",
"react": "^18.2.0",
"react-async": "10.0.1",
"react-dom": "18.1.0",
"react-dom": "18.2.0",
"react-focus-lock": "^2.9.1",
"react-icons": "^4.3.1",
"react-intl": "^6.0.1",
"react-icons": "^4.4.0",
"react-intl": "^6.0.5",
"react-markdown": "^8.0.3",
"react-query": "^3.39.0",
"react-query": "^3.39.1",
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.1",
"react-table": "^7.8.0",
"rooks": "5.11.2",
"react-table": "7.8.0",
"rooks": "5.11.8",
"tmp": "^0.2.1",
"typescript": "^4.6.4"
"typescript": "^4.7.4"
},
"scripts": {
"start": "react-scripts start",
@ -105,7 +105,7 @@
}
},
"devDependencies": {
"@formatjs/cli": "^5.0.1",
"@formatjs/cli": "^5.0.2",
"@types/country-flag-icons": "^1.2.0"
}
}

View File

@ -179,7 +179,7 @@ function DNSProviderEditModal({
)}
</Field>
{acmeshItem !== "" ? <hr /> : null}
{getAcmeshItem(acmeshItem)?.fields.map((f) => {
{getAcmeshItem(acmeshItem)?.fields.map((f: any) => {
const name = `meta[${f.metaKey}]`;
return (
<Field

View File

@ -2,7 +2,7 @@ export * from "./CertificateAuthorityCreateModal";
export * from "./CertificateAuthorityEditModal";
export * from "./ChangePasswordModal";
export * from "./DNSProviderCreateModal";
export * from "./DNSProviderEditModal";
// export * from "./DNSProviderEditModal.tsx.disabled";
export * from "./ProfileModal";
export * from "./SetPasswordModal";
export * from "./UserCreateModal";

View File

@ -31,7 +31,7 @@ function Table({
filters,
}: TableProps) {
const [columns, tableData] = useMemo(() => {
const columns = [
const columns: any = [
{
Header: intl.formatMessage({ id: "column.id" }),
accessor: "id",

View File

@ -41,7 +41,7 @@ function HostTemplatesTable({
filters,
}: HostTemplatesTableProps) {
const [columns, tableData] = useMemo(() => {
const columns = [
const columns: any[] = [
{
Header: intl.formatMessage({ id: "column.id" }),
accessor: "id",

View File

@ -44,7 +44,7 @@ function HostsTable({
filters,
}: HostsTableProps) {
const [columns, tableData] = useMemo(() => {
const columns = [
const columns: any[] = [
{
accessor: "user.gravatarUrl",
Cell: GravatarFormatter(),

File diff suppressed because it is too large Load Diff