Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lint, build, changelog, publish site when releasing #16

Merged
merged 4 commits into from
Oct 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ node_js:
- "6"
- "8"
- "9"

script: "npm run-script travis"
41 changes: 41 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
### v2.0.0 (2018-08-11)

- [#15](https://github.com/unexpectedjs/unexpected-check/pull/15) Updated for compatibility with the new major version of chance-generators (Major) ([Sune Simonsen](mailto:sune@we-knowhow.dk))

### v1.19.0 (2018-08-11)

- [#14](https://github.com/unexpectedjs/unexpected-check/pull/14) Use proximity as a feedback loop ([Sune Simonsen](mailto:sune@we-knowhow.dk))

### v1.18.0 (2018-01-13)

- [#13](https://github.com/unexpectedjs/unexpected-check/pull/13) Use of conditional proximity ([Andreas Lind](mailto:andreas.lind@peakon.com), [Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Sune Simonsen](mailto:sune@we-knowhow.dk))

### v1.17.0 (2018-01-08)

- [#12](https://github.com/unexpectedjs/unexpected-check/pull/12) I found that is yields better to results to start using the feedback quicker ([Sune Simonsen](mailto:sune@we-knowhow.dk))

### v1.16.0 (2018-01-08)

- [#11](https://github.com/unexpectedjs/unexpected-check/pull/11) Report when the first error was found. ([Sune Simonsen](mailto:sune@we-knowhow.dk))

### v1.15.0 (2018-01-06)

- [#10](https://github.com/unexpectedjs/unexpected-check/pull/10) Increase the maxError default ([Sune Simonsen](mailto:sune@we-knowhow.dk))

### v1.14.0 (2017-12-13)

- [#9](https://github.com/unexpectedjs/unexpected-check/pull/9) Property based whitebox testing ([Andreas Lind](mailto:andreaslindpetersen@gmail.com), [Sune Simonsen](mailto:sune@we-knowhow.dk))

### v1.10.0 (2016-08-04)

- [#4](https://github.com/unexpectedjs/unexpected-check/pull/4) Add 'when fuzzed by' helper assertion. ([Andreas Lind](mailto:andreas@one.com), [Sune Simonsen](mailto:sune@we-knowhow.dk))
- [#6](https://github.com/unexpectedjs/unexpected-check/pull/6) Added 'repository' url in package.json ([Priyank Parashar](mailto:paras20xx@users.noreply.github.com))

### v1.9.0 (2016-07-17)

- [#5](https://github.com/unexpectedjs/unexpected-check/pull/5) Print out the generators that was used to generated the failing input ([Sune Simonsen](mailto:sune@we-knowhow.dk))

### v1.8.0 (2016-07-17)

- [#3](https://github.com/unexpectedjs/unexpected-check/pull/3) Support specifying the default max number of iterations ([Andreas Lind](mailto:andreas@one.com))

2 changes: 1 addition & 1 deletion documentation/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ expect((arr) => {
}, 'to be valid for all', numbers);
```

But that assumption as actually not true as the build-in sort functions is based
But that assumption is actually not true as the build-in sort functions is based
on converting items to strings and comparing them. So you will get the following error:

```output
Expand Down
9 changes: 7 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,15 @@
"version": "2.0.0",
"main": "lib/unexpected-check.js",
"scripts": {
"changelog": "offline-github-changelog > CHANGELOG.md",
"generate-site": "generate-site --require ./bootstrap-unexpected-markdown.js",
"lint": "eslint .",
"lint-staged": "lint-staged",
"test": "npm run lint && mocha test/**/*.spec.js documentation/**/*.md",
"update-examples": "generate-site --require ./bootstrap-unexpected-markdown.js --update-examples"
"test": "mocha test/**/*.spec.js documentation/**/*.md",
"travis": "npm run lint && npm test",
"update-examples": "generate-site --require ./bootstrap-unexpected-markdown.js --update-examples",
"preversion": "npm run lint && npm run test && npm run build && git add unexpected-dom.*",
"postversion": "npm run changelog && git add CHANGELOG.md && git commit --allow-empty -m 'Update changelog' && deploy-site.sh"
},
"dependencies": {
"escodegen": "^1.9.0",
Expand All @@ -35,6 +39,7 @@
"lodash.escape": "3.1.0",
"lodash.unescape": "3.1.0",
"mocha": "2.3.4",
"offline-github-changelog": "1.2.0",
"pre-commit": "1.2.2",
"prettier": "1.10.1",
"prettier-package-json": "1.4.0",
Expand Down