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

refactor(betterer 🔧): rewrite pretty much everything v4.0.0 #543

Merged
merged 114 commits into from
Feb 27, 2021

Conversation

phenomnomnominal
Copy link
Owner

@phenomnomnominal phenomnomnominal commented Feb 27, 2021

Closes #497
Closes #488
Closes #420
Closes #232
Closes #208
Closes #150
Closes #144
Closes #5

Removes the `eslintBetterer` function from @betterer/eslint
Removes the `regexpBetterer` function from @betterer/regexp
Removes the `tsqueryBetterer` function from @betterer/tsquery
Removes the `typescriptBetterer` function from @betterer/typescript

BREAKING CHANGE: Changes to the public API
Renames `ConstraintResult` to `BettererConstraintResult`

BREAKING CHANGE: Changes to the public API
…ter (#233)

Mark private exports with Δ

BREAKING CHANGE: Changes to the public API
#234)

Mark private exports with Δ

BREAKING CHANGE: Changes to the public API
Mark private exports with Δ

BREAKING CHANGE: Changes to the public API
Make the `filePath` the first argument.

BREAKING CHANGE: Changes to the public API
…237)

Mark private exports with Δ

BREAKING CHANGE: Changes to the public API
* chore(betterer 🕸): add snapshot tests for public API
…rer (#238)

Mark private exports with Δ

BREAKING CHANGE: Changes to the public API
Rename betterer.single to betterer.file

BREAKING CHANGE: Changes to the public API
* remove context from BettererRun
* BettererSerialise/Deserialise no longer accept a BettererRun

BREAKING CHANGE: Changes to the public API
Move `name` from BettererTest to BettererRun

BREAKING CHANGE: Changes to the public API
* simplify BettererRun object
* better types for BettererDiffer

BREAKING CHANGE: Changes to the public API
* Added a new `betterer ci` command that throws when there is any change in the results file.
* This required quite a bit of refactoring, but it's for the better

BREAKING CHANGE: Changes to the public API
Remove BettererTestState as it was kind of unnecessary

BREAKING CHANGE: Changes to the public API
* feat(fixture ✨): add `@betterer/fixture` package

Generalising what is used in the CLI/API tests so that it can be used for E2E tests too

* feat(fixture ✨): fix for when `fixtures` directory doesn't exist yet
Make the whole BettererFileIssue thing much more simple

BREAKING CHANGE: Changes to the public API
More simplifying of the BettererFile API

BREAKING CHANGE: Changes to the public API
More simplifying of the BettererTest API

BREAKING CHANGE: Changes to the public API
@phenomnomnominal phenomnomnominal merged commit 48b85bd into master Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment