-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b7ba5a3
commit 527fc2f
Showing
9 changed files
with
26 additions
and
55 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# refactor-bot | ||
|
||
## 0.0.0 | ||
|
||
### Patch Changes | ||
|
||
- [#6](https://github.com/zaripych/gpt-refactor-bot/pull/6) [`b7ba5a3`](https://github.com/zaripych/gpt-refactor-bot/commit/b7ba5a375fb62cae6ce95ef1f8848694688c9a84) Thanks [@zaripych](https://github.com/zaripych)! - feat: this one introduces a feature which allows refactor-bot to perform aggregation and other more advanced analytics in the codebase | ||
|
||
We ask the model to generate a script for us that can use `ts-morph` directly and execute map/reduce in the repository. The script is ran in a separate process for a bit of safety and can also be moved to a Docker container. | ||
|
||
- [#2](https://github.com/zaripych/gpt-refactor-bot/pull/2) [`2d7df8e`](https://github.com/zaripych/gpt-refactor-bot/commit/2d7df8e8d8aa66d3e3817e3865baee87556c2c70) Thanks [@zaripych](https://github.com/zaripych)! - fix: sanitised result of the functions to exclude user's repository path from the output of the functions | ||
|
||
- [#2](https://github.com/zaripych/gpt-refactor-bot/pull/2) [`b04ab6b`](https://github.com/zaripych/gpt-refactor-bot/commit/b04ab6bd8a6514ac41274b6eddfd54a34d61e5fb) Thanks [@zaripych](https://github.com/zaripych)! - fix: introduced a parameter which allows us to control how TypeScript projects are loaded in monorepo scenarios | ||
|
||
Ie if `useCombinedTsMorphProject` is `true` then the original strategy is used - where we load all TypeScript projects into a single ts-morph `Project`. This allows cross-project references to be easily found and traced. The disadvantage of this approach is that it might not just work if projects settings are different. | ||
|
||
- [#3](https://github.com/zaripych/gpt-refactor-bot/pull/3) [`401d3b5`](https://github.com/zaripych/gpt-refactor-bot/commit/401d3b5a7094d614386cfe8213df4bc03b913f45) Thanks [@zaripych](https://github.com/zaripych)! - fix: the package manager not being determined correctly if "packageManager" field is specified in the package.json | ||
|
||
- [#4](https://github.com/zaripych/gpt-refactor-bot/pull/4) [`ef77b8d`](https://github.com/zaripych/gpt-refactor-bot/commit/ef77b8dea6125709d6faea03c3225f8dcd6fbd90) Thanks [@zaripych](https://github.com/zaripych)! - fix: formatting going to infinite cycle if the values contain placeholders | ||
|
||
- [#2](https://github.com/zaripych/gpt-refactor-bot/pull/2) [`b65fe19`](https://github.com/zaripych/gpt-refactor-bot/commit/b65fe194762509efa23687bce46f086a5d5740ab) Thanks [@zaripych](https://github.com/zaripych)! - fix: module imports function is now smarter and doesn't include results from in-repo modules that import themselves | ||
|
||
This should ensure that when we _ are looking for imports of "package" where the "package" _ is one of the monorepo packages - we do not include itself importing its own internal files. | ||
|
||
- [#2](https://github.com/zaripych/gpt-refactor-bot/pull/2) [`b04ab6b`](https://github.com/zaripych/gpt-refactor-bot/commit/b04ab6bd8a6514ac41274b6eddfd54a34d61e5fb) Thanks [@zaripych](https://github.com/zaripych)! - fix: added new GPT4 models to the list of possible choices |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters