chore: maintenance

This commit is contained in:
Divlo 2022-02-19 17:18:13 +01:00
parent 079d3f9d50
commit ec4929d7d8
No known key found for this signature in database
GPG Key ID: 8F9478F220CE65E9
10 changed files with 9085 additions and 34324 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text=auto eol=lf

View File

@ -13,17 +13,16 @@ jobs:
- uses: 'actions/checkout@v2'
- name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5'
uses: 'actions/setup-node@v2.5.1'
with:
node-version: '14.x'
- run: 'npm install --global npm@7'
node-version: 'lts/*'
cache: 'npm'
- name: 'Install'
run: 'npm ci'
run: 'npm install'
- name: 'Build Package'
run: 'npm run build'
- name: 'Build Example'
run: 'cd example && npm ci && npm run build'
run: 'cd example && npm install && npm run build'

View File

@ -13,14 +13,13 @@ jobs:
- uses: 'actions/checkout@v2'
- name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5'
uses: 'actions/setup-node@v2.5.1'
with:
node-version: '14.x'
- run: 'npm install --global npm@7'
node-version: 'lts/*'
cache: 'npm'
- name: 'Install'
run: 'npm ci'
run: 'npm install'
- run: 'npm run lint:commit -- --to "${{ github.sha }}"'
- run: 'npm run lint:editorconfig'

View File

@ -11,20 +11,19 @@ jobs:
- uses: 'actions/checkout@v2'
- name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5'
uses: 'actions/setup-node@v2.5.1'
with:
node-version: '14.x'
- run: 'npm install --global npm@7'
node-version: 'lts/*'
cache: 'npm'
- name: 'Install'
run: 'npm ci'
run: 'npm install'
- name: 'Build Package'
run: 'npm run build'
- name: 'Build Example'
run: 'cd example && npm ci && npm run build'
run: 'cd example && npm install && npm run build'
- name: 'Deploy Example'
uses: 'JamesIves/github-pages-deploy-action@4.1.4'

View File

@ -13,14 +13,13 @@ jobs:
- uses: 'actions/checkout@v2'
- name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5'
uses: 'actions/setup-node@v2.5.1'
with:
node-version: '14.x'
- run: 'npm install --global npm@7'
node-version: 'lts/*'
cache: 'npm'
- name: 'Install'
run: 'npm ci'
run: 'npm install'
- name: 'Test'
run: 'npm run test'

View File

@ -4,11 +4,11 @@
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<link rel="shortcut icon" href="./github.jpg" type="image/jpg">
<link rel="shortcut icon" href="./github.jpg" type="image/jpg" />
<title>react-component-form</title>
</head>
<body>
<div id="root"></div>
<script src="./index.tsx"></script>
<script type="module" src="./index.tsx"></script>
</body>
</html>

26644
example/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,17 +4,17 @@
"license": "MIT",
"scripts": {
"start": "parcel index.html",
"build": "parcel build index.html --public-url '/react-component-form/'"
"build": "parcel build index.html --public-url \"/react-component-form/\""
},
"dependencies": {
"react": "file:../node_modules/react",
"react-dom": "file:../node_modules/react-dom"
},
"devDependencies": {
"@parcel/transformer-image": "2.0.0-beta.2",
"@types/react": "17.0.11",
"@types/react-dom": "17.0.7",
"parcel": "2.0.0-beta.2",
"typescript": "4.3.3"
"@parcel/transformer-image": "2.3.2",
"@types/react": "17.0.39",
"@types/react-dom": "17.0.11",
"parcel": "2.3.2",
"typescript": "4.5.5"
}
}

16685
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +1,13 @@
{
"name": "react-component-form",
"version": "0.0.0-development",
"public": true,
"description": "Manage React Forms with ease.",
"author": "Divlo <contact@divlo.fr>",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/Divlo/react-component-form.git"
"url": "https://github.com/Divlo/react-component-form.git"
},
"keywords": [
"react-form",
@ -31,7 +32,7 @@
"test": "tsdx test --passWithNoTests",
"lint:commit": "commitlint",
"lint:editorconfig": "editorconfig-checker",
"lint:markdown": "markdownlint '**/*.md' --dot --ignore node_modules",
"lint:markdown": "markdownlint \"**/*.md\" --dot --ignore-path \".gitignore\"",
"lint:typescript": "tsdx lint",
"release": "semantic-release"
},
@ -39,17 +40,17 @@
"react": ">=16"
},
"devDependencies": {
"@commitlint/cli": "12.1.4",
"@commitlint/config-conventional": "12.1.4",
"@testing-library/react": "11.2.7",
"@types/react": "17.0.11",
"@types/react-dom": "17.0.7",
"@commitlint/cli": "16.2.1",
"@commitlint/config-conventional": "16.2.1",
"@testing-library/react": "12.1.3",
"@types/react": "17.0.39",
"@types/react-dom": "17.0.11",
"editorconfig-checker": "4.0.2",
"markdownlint-cli": "0.27.1",
"markdownlint-cli": "0.31.1",
"react": "17.0.2",
"react-dom": "17.0.2",
"semantic-release": "17.4.4",
"semantic-release": "19.0.2",
"tsdx": "0.14.1",
"typescript": "4.3.3"
"typescript": "4.5.5"
}
}