react-recaptcha-x
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -0,1 +1,8 @@ | ||
## [1.0.8](https://github.com/antokara/react-recaptcha-x/compare/v1.0.7...v1.0.8) (2019-11-03) | ||
### Bug Fixes | ||
* **packages:** update npm packages ([ac7bdf3](https://github.com/antokara/react-recaptcha-x/commit/ac7bdf36e11e39fff153d696a9f63b5c43192082)) | ||
## [1.0.7](https://github.com/antokara/react-recaptcha-x/compare/v1.0.6...v1.0.7) (2019-10-25) | ||
@@ -2,0 +9,0 @@ |
{ | ||
"name": "react-recaptcha-x", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "a React component for Google's reCAPTCHA v3 and v2 (checkbox) component", | ||
@@ -48,17 +48,17 @@ "main": "./dist/index.js", | ||
"@commitlint/config-conventional": "^8.2.0", | ||
"@semantic-release/changelog": "^3.0.4", | ||
"@semantic-release/git": "^7.0.16", | ||
"@semantic-release/github": "^5.5.4", | ||
"@semantic-release/npm": "^5.2.0", | ||
"@testing-library/dom": "^6.8.1", | ||
"@testing-library/jest-dom": "^4.1.2", | ||
"@testing-library/react": "^9.3.0", | ||
"@types/jest": "^24.0.19", | ||
"@semantic-release/changelog": "^3.0.5", | ||
"@semantic-release/git": "^7.0.17", | ||
"@semantic-release/github": "^5.5.5", | ||
"@semantic-release/npm": "^5.3.3", | ||
"@testing-library/dom": "^6.10.0", | ||
"@testing-library/jest-dom": "^4.2.3", | ||
"@testing-library/react": "^9.3.1", | ||
"@types/jest": "^24.0.21", | ||
"coveralls": "^3.0.7", | ||
"jest": "^24.9.0", | ||
"prettier": "^1.18.2", | ||
"react-dom": "^16.10.2", | ||
"semantic-release": "^15.13.27", | ||
"react-dom": "^16.11.0", | ||
"semantic-release": "^15.13.30", | ||
"ts-jest": "^24.1.0", | ||
"ts-loader": "^6.2.0", | ||
"ts-loader": "^6.2.1", | ||
"tscpaths": "0.0.9", | ||
@@ -71,7 +71,7 @@ "tslint": "^5.20.0", | ||
"webpack": "^4.41.2", | ||
"webpack-cli": "^3.3.9" | ||
"webpack-cli": "^3.3.10" | ||
}, | ||
"dependencies": { | ||
"@types/react": "^16.9.9", | ||
"react": "^16.10.2" | ||
"@types/react": "^16.9.11", | ||
"react": "^16.11.0" | ||
}, | ||
@@ -78,0 +78,0 @@ "prettier": { |
102
README.md
@@ -233,104 +233,2 @@ # react-recaptcha-x | ||
## development environment _(to contribute)_ | ||
### development prerequisites | ||
1. [nodejs](https://nodejs.org/en/) 10.x.x LTS | ||
### development setup | ||
1. `$npm install` | ||
1. `$cd dev` | ||
1. `$npm install` | ||
1. create `.env` file with your reCAPTCHA key(s) using `.env.example` as a template | ||
1. `$npm start` | ||
1. open browser to `http://locahost:9000` | ||
### Code Quality / Linting | ||
#### Code Quality / Linting - Packages / References | ||
1. [Commitlint](https://commitlint.js.org/) | ||
1. [conventional changelog](https://github.com/conventional-changelog/commitlint#readme) | ||
1. [Prettier](https://prettier.io/) | ||
1. [TSLint](https://palantir.github.io/tslint/) | ||
1. [consistent codestyle](https://github.com/ajafff/tslint-consistent-codestyle#rules) | ||
1. [microsoft contrib](https://github.com/microsoft/tslint-microsoft-contrib#supported-rules) | ||
1. [tslint react](https://github.com/palantir/tslint-react#rules) | ||
#### Code Quality / Linting - Commands | ||
1. for Commitlint run `$npm run cl` | ||
1. for Prettier run `$npm run prettier` | ||
1. for TSLint run `$npm run lint` | ||
1. for Typescript compilation validation run `$npm run ts:validate` | ||
### Unit Testing | ||
#### Unit Testing - Packages / References | ||
1. [Jest](https://jestjs.io) | ||
1. [TS Jest](https://github.com/kulshekhar/ts-jest) | ||
1. [React Testing Library](https://testing-library.com/) | ||
1. [Jest DOM](https://github.com/testing-library/jest-dom) | ||
#### Unit Testing - Commands | ||
- for unit tests run `$npm test` | ||
- for unit tests plus code coverage report run `$npm run test:cov` | ||
#### Unit Testing - Reports | ||
- code coverage `/reports/coverage/lcov-report/index.html` | ||
### Build / Deployment / Release | ||
#### Build / Deployment / Release - Packages / References | ||
1. [Typescript compiler](http://www.typescriptlang.org/docs/handbook/compiler-options.html) | ||
1. [Webpack](https://webpack.js.org/) | ||
1. [ts loader](https://github.com/TypeStrong/ts-loader) | ||
1. [Semantic Release](https://semantic-release.gitbook.io/semantic-release/) | ||
1. [commit analyzer](https://github.com/semantic-release/commit-analyzer) | ||
1. [release notes generator](https://github.com/semantic-release/release-notes-generator) | ||
1. [changelog](https://github.com/semantic-release/changelog) | ||
1. [git](https://github.com/semantic-release/git) | ||
1. [github](https://github.com/semantic-release/github) | ||
1. [npm](https://github.com/semantic-release/npm) | ||
1. [Semantic Versioning](https://semver.org/) | ||
1. [Travis CI](https://docs.travis-ci.com/) | ||
1. [builds](https://travis-ci.org/antokara/react-recaptcha-x) | ||
#### Build / Deployment / Release - Commands | ||
For the complete build sequence run: | ||
- `$npm run build` | ||
Alternatively, if you want more control: | ||
- to clean the `dist/` directory, run `$npm run build:clean` | ||
- for _declaration files_ generation, run `$npm run build:types` | ||
- for _javascript files_ generation, run `$npm run build:js` | ||
- for _tsc paths_ resolution, run `$npm run build:tscpaths` | ||
Travis CI lints, tests and builds any GitHub branch and PR. | ||
Once the PR gets merged to **master**, Travis CI runs again | ||
and this time, additionally to lint, test and build, the **deploy** stage runs which executes the `semantic-release`. | ||
When Semantic Release runs, it analyzes the git commits and if applicable, it: | ||
1. generates the updated changelog | ||
1. creates a git (release) tag with the appropriate semantic release | ||
version | ||
1. updates the version in `package.json` | ||
1. commits the file changes and new tag, to the GitHub master branch | ||
1. publishes the new version, to the npm repository with the `latest` tag | ||
There's one final step that needs to be done manually, after we verify the published npm: | ||
- run `$npm dist-tag add react-recaptcha-x@{version} stable` | ||
this will add the `stable` distribution tag, marking the latest release, as the stable one. | ||
## other credits | ||
@@ -337,0 +235,0 @@ |
129331
38
260
Updated@types/react@^16.9.11
Updatedreact@^16.11.0