chore: maintenance
This commit is contained in:
parent
079d3f9d50
commit
ec4929d7d8
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
* text=auto eol=lf
|
11
.github/workflows/build.yml
vendored
11
.github/workflows/build.yml
vendored
@ -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'
|
||||||
|
9
.github/workflows/lint.yml
vendored
9
.github/workflows/lint.yml
vendored
@ -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'
|
||||||
|
11
.github/workflows/release.yml
vendored
11
.github/workflows/release.yml
vendored
@ -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'
|
||||||
|
9
.github/workflows/test.yml
vendored
9
.github/workflows/test.yml
vendored
@ -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'
|
||||||
|
@ -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>
|
||||||
|
26644
example/package-lock.json
generated
26644
example/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
16685
package-lock.json
generated
16685
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
21
package.json
21
package.json
@ -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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user