1
1
mirror of https://github.com/theoludwig/react-component-form.git synced 2024-07-06 18:40:13 +02:00

fix: update dependencies to latest

This commit is contained in:
Théo LUDWIG 2023-12-26 22:24:32 +01:00
parent a49e844c70
commit 8168a18ede
Signed by: theoludwig
GPG Key ID: ADFE5A563D718F3B
14 changed files with 2925 additions and 3389 deletions

View File

@ -1,5 +0,0 @@
node_modules
build
dist
example
tsup.config.js

View File

@ -1,5 +1,6 @@
{
"extends": ["conventions", "prettier"],
"ignorePatterns": ["tsup.config.js", "example"],
"plugins": ["prettier", "import", "unicorn"],
"parser": "@typescript-eslint/parser",
"parserOptions": {

View File

@ -10,10 +10,10 @@ jobs:
build:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3.5.3"
- uses: "actions/checkout@v4.1.1"
- name: "Setup Node.js"
uses: "actions/setup-node@v3.6.0"
uses: "actions/setup-node@v4.0.1"
with:
node-version: "lts/*"
cache: "npm"

View File

@ -10,10 +10,10 @@ jobs:
lint:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3.5.3"
- uses: "actions/checkout@v4.1.1"
- name: "Setup Node.js"
uses: "actions/setup-node@v3.6.0"
uses: "actions/setup-node@v4.0.1"
with:
node-version: "lts/*"
cache: "npm"

View File

@ -13,10 +13,10 @@ jobs:
pull-requests: "write"
id-token: "write"
steps:
- uses: "actions/checkout@v3.5.3"
- uses: "actions/checkout@v4.1.1"
- name: "Setup Node.js"
uses: "actions/setup-node@v3.6.0"
uses: "actions/setup-node@v4.0.1"
with:
node-version: "lts/*"
cache: "npm"

View File

@ -10,10 +10,10 @@ jobs:
test:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3.5.3"
- uses: "actions/checkout@v4.1.1"
- name: "Setup Node.js"
uses: "actions/setup-node@v3.6.0"
uses: "actions/setup-node@v4.0.1"
with:
node-version: "lts/*"
cache: "npm"
@ -27,10 +27,10 @@ jobs:
test-e2e:
runs-on: "ubuntu-latest"
steps:
- uses: "actions/checkout@v3.5.3"
- uses: "actions/checkout@v4.1.1"
- name: "Setup Node.js"
uses: "actions/setup-node@v3.6.0"
uses: "actions/setup-node@v4.0.1"
with:
node-version: "lts/*"
cache: "npm"

View File

@ -1,4 +1,4 @@
MIT License
# MIT License
Copyright (c) Théo LUDWIG

View File

@ -5,13 +5,13 @@
</p>
<p align="center">
<a href="./CONTRIBUTING.md"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat" /></a>
<a href="./CONTRIBUTING.md"><img src="https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat" alt="CONTRIBUTING /></a>
<a href="./LICENSE"><img src="https://img.shields.io/badge/licence-MIT-blue.svg" alt="Licence MIT"/></a>
<a href="./CODE_OF_CONDUCT.md"><img src="https://img.shields.io/badge/Contributor%20Covenant-v2.0%20adopted-ff69b4.svg" alt="Contributor Covenant" /></a>
<br />
<a href="https://github.com/theoludwig/react-component-form/actions/workflows/build.yml"><img src="https://github.com/theoludwig/react-component-form/actions/workflows/build.yml/badge.svg?branch=master" /></a>
<a href="https://github.com/theoludwig/react-component-form/actions/workflows/lint.yml"><img src="https://github.com/theoludwig/react-component-form/actions/workflows/lint.yml/badge.svg?branch=master" /></a>
<a href="https://github.com/theoludwig/react-component-form/actions/workflows/test.yml"><img src="https://github.com/theoludwig/react-component-form/actions/workflows/test.yml/badge.svg?branch=master" /></a>
<a href="https://github.com/theoludwig/react-component-form/actions/workflows/build.yml"><img src="https://github.com/theoludwig/react-component-form/actions/workflows/build.yml/badge.svg?branch=master" alt="Build" /></a>
<a href="https://github.com/theoludwig/react-component-form/actions/workflows/lint.yml"><img src="https://github.com/theoludwig/react-component-form/actions/workflows/lint.yml/badge.svg?branch=master" alt="Lint" /></a>
<a href="https://github.com/theoludwig/react-component-form/actions/workflows/test.yml"><img src="https://github.com/theoludwig/react-component-form/actions/workflows/test.yml/badge.svg?branch=master" alt="Test" /></a>
<br />
<a href="https://conventionalcommits.org"><img src="https://img.shields.io/badge/Conventional%20Commits-1.0.0-yellow.svg" alt="Conventional Commits" /></a>
<a href="https://github.com/semantic-release/semantic-release"><img src="https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg" alt="semantic-release" /></a>

View File

@ -7,10 +7,10 @@ export interface LoaderProps {
}
export const Loader: React.FC<LoaderProps> = (props) => {
const { width = 50, height = 50 } = props
const { width = 50, height = 50, className } = props
return (
<div className={props.className}>
<div className={className}>
<div
data-cy="progress-spinner"
className="relative my-0 mx-auto before:content-none before:block before:pt-[100%]"

File diff suppressed because it is too large Load Diff

View File

@ -11,7 +11,7 @@
"test:dev": "start-server-and-test \"dev\" \"http://127.0.0.1:3000\" \"cypress open\""
},
"dependencies": {
"@sinclair/typebox": "0.31.18",
"@sinclair/typebox": "0.32.3",
"clsx": "2.0.0",
"next": "13.2.4",
"next-themes": "0.2.1",
@ -22,17 +22,17 @@
},
"devDependencies": {
"@tsconfig/strictest": "2.0.2",
"@types/node": "20.8.7",
"@types/react": "18.2.31",
"@types/react-dom": "18.2.14",
"@types/node": "20.10.5",
"@types/react": "18.2.45",
"@types/react-dom": "18.2.18",
"autoprefixer": "10.4.16",
"cypress": "13.3.2",
"eslint": "8.52.0",
"cypress": "13.6.2",
"eslint": "8.56.0",
"eslint-config-next": "13.2.4",
"next-translate-plugin": "2.0.5",
"postcss": "8.4.31",
"start-server-and-test": "2.0.1",
"tailwindcss": "3.3.3",
"typescript": "5.2.2"
"postcss": "8.4.32",
"start-server-and-test": "2.0.3",
"tailwindcss": "3.4.0",
"typescript": "5.3.3"
}
}

View File

@ -5,6 +5,7 @@
"module": "ESNext",
"lib": ["dom", "dom.iterable", "ESNext"],
"allowJs": true,
"baseUrl": ".",
"types": ["cypress"],
"noEmit": true,
"moduleResolution": "node",

5404
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -33,47 +33,47 @@
"lint:commit": "commitlint",
"lint:editorconfig": "editorconfig-checker",
"lint:markdown": "markdownlint-cli2",
"lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives",
"lint:prettier": "prettier . --check --ignore-path .gitignore",
"lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives --ignore-path .gitignore",
"lint:prettier": "prettier . --check",
"release": "semantic-release"
},
"peerDependencies": {
"react": ">=18.2.0"
},
"dependencies": {
"@sinclair/typebox": "0.31.18",
"@sinclair/typebox": "0.32.3",
"ajv": "8.12.0",
"ajv-formats": "2.1.1"
},
"devDependencies": {
"@commitlint/cli": "18.0.0",
"@commitlint/config-conventional": "18.0.0",
"@testing-library/react": "14.0.0",
"@commitlint/cli": "18.4.3",
"@commitlint/config-conventional": "18.4.3",
"@testing-library/react": "14.1.2",
"@tsconfig/strictest": "2.0.2",
"@types/jest": "29.5.6",
"@types/react": "18.2.31",
"@types/react-dom": "18.2.14",
"@typescript-eslint/eslint-plugin": "6.9.0",
"@typescript-eslint/parser": "6.9.0",
"editorconfig-checker": "5.1.1",
"esbuild": "0.19.5",
"@types/jest": "29.5.11",
"@types/react": "18.2.45",
"@types/react-dom": "18.2.18",
"@typescript-eslint/eslint-plugin": "6.16.0",
"@typescript-eslint/parser": "6.16.0",
"editorconfig-checker": "5.1.2",
"esbuild": "0.19.10",
"esbuild-jest": "0.5.0",
"eslint": "8.52.0",
"eslint-config-conventions": "12.0.0",
"eslint-config-prettier": "9.0.0",
"eslint-plugin-import": "2.29.0",
"eslint-plugin-prettier": "5.0.1",
"eslint": "8.56.0",
"eslint-config-conventions": "13.1.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-import": "2.29.1",
"eslint-plugin-prettier": "5.1.2",
"eslint-plugin-promise": "6.1.1",
"eslint-plugin-unicorn": "48.0.1",
"eslint-plugin-unicorn": "50.0.1",
"jest": "29.7.0",
"jest-environment-jsdom": "29.7.0",
"markdownlint-cli2": "0.10.0",
"markdownlint-rule-relative-links": "2.1.0",
"prettier": "3.0.3",
"markdownlint-cli2": "0.11.0",
"markdownlint-rule-relative-links": "2.1.2",
"prettier": "3.1.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"semantic-release": "22.0.5",
"tsup": "7.2.0",
"typescript": "5.2.2"
"semantic-release": "22.0.12",
"tsup": "8.0.1",
"typescript": "5.3.3"
}
}