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

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' - uses: 'actions/checkout@v2'
- name: 'Use Node.js' - name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5' uses: 'actions/setup-node@v2.5.1'
with: with:
node-version: '14.x' node-version: 'lts/*'
cache: 'npm'
- run: 'npm install --global npm@7'
- name: 'Install' - name: 'Install'
run: 'npm ci' run: 'npm install'
- name: 'Build Package' - name: 'Build Package'
run: 'npm run build' run: 'npm run build'
- name: 'Build Example' - 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' - uses: 'actions/checkout@v2'
- name: 'Use Node.js' - name: 'Use Node.js'
uses: 'actions/setup-node@v2.1.5' uses: 'actions/setup-node@v2.5.1'
with: with:
node-version: '14.x' node-version: 'lts/*'
cache: 'npm'
- run: 'npm install --global npm@7'
- name: 'Install' - name: 'Install'
run: 'npm ci' run: 'npm install'
- run: 'npm run lint:commit -- --to "${{ github.sha }}"' - run: 'npm run lint:commit -- --to "${{ github.sha }}"'
- run: 'npm run lint:editorconfig' - run: 'npm run lint:editorconfig'

View File

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

View File

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

View File

@ -4,11 +4,11 @@
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" /> <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> <title>react-component-form</title>
</head> </head>
<body> <body>
<div id="root"></div> <div id="root"></div>
<script src="./index.tsx"></script> <script type="module" src="./index.tsx"></script>
</body> </body>
</html> </html>

26624
example/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -4,17 +4,17 @@
"license": "MIT", "license": "MIT",
"scripts": { "scripts": {
"start": "parcel index.html", "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": { "dependencies": {
"react": "file:../node_modules/react", "react": "file:../node_modules/react",
"react-dom": "file:../node_modules/react-dom" "react-dom": "file:../node_modules/react-dom"
}, },
"devDependencies": { "devDependencies": {
"@parcel/transformer-image": "2.0.0-beta.2", "@parcel/transformer-image": "2.3.2",
"@types/react": "17.0.11", "@types/react": "17.0.39",
"@types/react-dom": "17.0.7", "@types/react-dom": "17.0.11",
"parcel": "2.0.0-beta.2", "parcel": "2.3.2",
"typescript": "4.3.3" "typescript": "4.5.5"
} }
} }

16707
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

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