chore: enable again html-w3c-validator
This commit is contained in:
parent
177676e180
commit
d8cedd7b77
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@ -41,6 +41,9 @@ jobs:
|
|||||||
- name: 'Build'
|
- name: 'Build'
|
||||||
run: 'npm run build'
|
run: 'npm run build'
|
||||||
|
|
||||||
|
- name: 'html-w3c-validator'
|
||||||
|
run: 'npm run test:html-w3c-validator'
|
||||||
|
|
||||||
- name: 'Lighthouse'
|
- name: 'Lighthouse'
|
||||||
run: 'npm run test:lighthouse'
|
run: 'npm run test:lighthouse'
|
||||||
env:
|
env:
|
||||||
|
9
.html-w3c-validatorrc.json
Normal file
9
.html-w3c-validatorrc.json
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
{
|
||||||
|
"urls": [
|
||||||
|
"http://localhost:3000/",
|
||||||
|
"http://localhost:3000/authentication/forgot-password",
|
||||||
|
"http://localhost:3000/authentication/reset-password",
|
||||||
|
"http://localhost:3000/authentication/signin",
|
||||||
|
"http://localhost:3000/authentication/signup"
|
||||||
|
]
|
||||||
|
}
|
@ -1,15 +1,15 @@
|
|||||||
FROM node:16.15.0 AS dependencies
|
FROM node:16.16.0 AS dependencies
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY ./package*.json ./
|
COPY ./package*.json ./
|
||||||
RUN npm install
|
RUN npm install
|
||||||
|
|
||||||
FROM node:16.15.0 AS builder
|
FROM node:16.16.0 AS builder
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
COPY ./ ./
|
COPY ./ ./
|
||||||
COPY --from=dependencies /usr/src/app/node_modules ./node_modules
|
COPY --from=dependencies /usr/src/app/node_modules ./node_modules
|
||||||
RUN npm run build
|
RUN npm run build
|
||||||
|
|
||||||
FROM node:16.15.0 AS runner
|
FROM node:16.16.0 AS runner
|
||||||
WORKDIR /usr/src/app
|
WORKDIR /usr/src/app
|
||||||
ENV NODE_ENV=production
|
ENV NODE_ENV=production
|
||||||
COPY --from=builder /usr/src/app/next.config.js ./next.config.js
|
COPY --from=builder /usr/src/app/next.config.js ./next.config.js
|
||||||
|
4489
package-lock.json
generated
4489
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
38
package.json
38
package.json
@ -23,6 +23,7 @@
|
|||||||
"lint:prettier": "prettier \".\" --check",
|
"lint:prettier": "prettier \".\" --check",
|
||||||
"lint:staged": "lint-staged",
|
"lint:staged": "lint-staged",
|
||||||
"test:unit": "jest",
|
"test:unit": "jest",
|
||||||
|
"test:html-w3c-validator": "start-server-and-test \"start\" \"http://localhost:3000\" \"html-w3c-validator\"",
|
||||||
"test:lighthouse": "lhci autorun",
|
"test:lighthouse": "lhci autorun",
|
||||||
"test:e2e": "start-server-and-test \"start\" \"http://localhost:3000\" \"cypress run\"",
|
"test:e2e": "start-server-and-test \"start\" \"http://localhost:3000\" \"cypress run\"",
|
||||||
"test:e2e:dev": "start-server-and-test \"dev\" \"http://localhost:3000\" \"cypress open\"",
|
"test:e2e:dev": "start-server-and-test \"dev\" \"http://localhost:3000\" \"cypress open\"",
|
||||||
@ -34,7 +35,7 @@
|
|||||||
"@fontsource/montserrat": "4.5.11",
|
"@fontsource/montserrat": "4.5.11",
|
||||||
"@fontsource/roboto": "4.5.7",
|
"@fontsource/roboto": "4.5.7",
|
||||||
"@heroicons/react": "1.0.6",
|
"@heroicons/react": "1.0.6",
|
||||||
"@sinclair/typebox": "0.23.5",
|
"@sinclair/typebox": "0.24.18",
|
||||||
"ajv": "8.11.0",
|
"ajv": "8.11.0",
|
||||||
"ajv-formats": "2.1.1",
|
"ajv-formats": "2.1.1",
|
||||||
"axios": "0.26.1",
|
"axios": "0.26.1",
|
||||||
@ -42,10 +43,10 @@
|
|||||||
"date-and-time": "2.4.0",
|
"date-and-time": "2.4.0",
|
||||||
"emoji-mart": "3.0.1",
|
"emoji-mart": "3.0.1",
|
||||||
"katex": "0.16.0",
|
"katex": "0.16.0",
|
||||||
"next": "12.2.0",
|
"next": "12.2.2",
|
||||||
"next-pwa": "5.5.4",
|
"next-pwa": "5.5.4",
|
||||||
"next-themes": "0.2.0",
|
"next-themes": "0.2.0",
|
||||||
"next-translate": "1.4.0",
|
"next-translate": "1.5.0",
|
||||||
"pretty-bytes": "6.0.0",
|
"pretty-bytes": "6.0.0",
|
||||||
"react": "18.2.0",
|
"react": "18.2.0",
|
||||||
"react-component-form": "3.0.1",
|
"react-component-form": "3.0.1",
|
||||||
@ -77,26 +78,27 @@
|
|||||||
"@testing-library/react": "13.3.0",
|
"@testing-library/react": "13.3.0",
|
||||||
"@types/emoji-mart": "3.0.9",
|
"@types/emoji-mart": "3.0.9",
|
||||||
"@types/hast": "2.3.4",
|
"@types/hast": "2.3.4",
|
||||||
"@types/jest": "27.5.1",
|
"@types/jest": "28.1.4",
|
||||||
"@types/katex": "0.14.0",
|
"@types/katex": "0.14.0",
|
||||||
"@types/node": "18.0.0",
|
"@types/node": "18.0.3",
|
||||||
"@types/react": "18.0.14",
|
"@types/react": "18.0.15",
|
||||||
"@types/react-responsive": "8.0.5",
|
"@types/react-responsive": "8.0.5",
|
||||||
"@types/react-syntax-highlighter": "15.5.2",
|
"@types/react-syntax-highlighter": "15.5.3",
|
||||||
"@types/unist": "2.0.6",
|
"@types/unist": "2.0.6",
|
||||||
"@typescript-eslint/eslint-plugin": "5.30.0",
|
"@typescript-eslint/eslint-plugin": "5.30.6",
|
||||||
"@typescript-eslint/parser": "5.30.0",
|
"@typescript-eslint/parser": "5.30.6",
|
||||||
"autoprefixer": "10.4.7",
|
"autoprefixer": "10.4.7",
|
||||||
"cypress": "9.6.1",
|
"cypress": "9.6.1",
|
||||||
"editorconfig-checker": "4.0.2",
|
"editorconfig-checker": "4.0.2",
|
||||||
"eslint": "8.18.0",
|
"eslint": "8.19.0",
|
||||||
"eslint-config-conventions": "2.0.0",
|
"eslint-config-conventions": "3.0.0",
|
||||||
"eslint-config-next": "12.2.0",
|
"eslint-config-next": "12.2.2",
|
||||||
"eslint-config-prettier": "8.5.0",
|
"eslint-config-prettier": "8.5.0",
|
||||||
"eslint-plugin-import": "2.26.0",
|
"eslint-plugin-import": "2.26.0",
|
||||||
"eslint-plugin-prettier": "4.1.0",
|
"eslint-plugin-prettier": "4.2.1",
|
||||||
"eslint-plugin-promise": "6.0.0",
|
"eslint-plugin-promise": "6.0.0",
|
||||||
"eslint-plugin-unicorn": "42.0.0",
|
"eslint-plugin-unicorn": "43.0.1",
|
||||||
|
"html-w3c-validator": "1.2.0",
|
||||||
"husky": "8.0.1",
|
"husky": "8.0.1",
|
||||||
"jest": "27.5.1",
|
"jest": "27.5.1",
|
||||||
"lint-staged": "13.0.3",
|
"lint-staged": "13.0.3",
|
||||||
@ -106,12 +108,12 @@
|
|||||||
"plop": "3.1.1",
|
"plop": "3.1.1",
|
||||||
"postcss": "8.4.14",
|
"postcss": "8.4.14",
|
||||||
"prettier": "2.7.1",
|
"prettier": "2.7.1",
|
||||||
"prettier-plugin-tailwindcss": "0.1.11",
|
"prettier-plugin-tailwindcss": "0.1.12",
|
||||||
"semantic-release": "19.0.3",
|
"semantic-release": "19.0.3",
|
||||||
"serve": "13.0.2",
|
"serve": "14.0.0",
|
||||||
"start-server-and-test": "1.14.0",
|
"start-server-and-test": "1.14.0",
|
||||||
"tailwindcss": "3.1.4",
|
"tailwindcss": "3.1.6",
|
||||||
"typescript": "4.7.4",
|
"typescript": "4.7.4",
|
||||||
"vercel": "25.2.1"
|
"vercel": "27.0.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user