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

Save on reversion #140

Merged
merged 2 commits into from
Jan 15, 2025
Merged

Save on reversion #140

merged 2 commits into from
Jan 15, 2025

Conversation

wraithgar
Copy link
Member

When a package.json is changed, saved, and then reverted back to what it was before, save was not running because this module was not updating its local copy of what the contents of the file was. This has been fixed.

This also updates the test fixture package names to be scoped.

References

Closes: #138

When a package.json is changed, saved, and then reverted back to what it was before, save was not running because this module was not updating its local copy of what the contents of the file was.  This has been fixed.
@wraithgar wraithgar requested a review from a team as a code owner January 15, 2025 17:33
@wraithgar wraithgar merged commit 2d320bc into main Jan 15, 2025
20 checks passed
@wraithgar wraithgar deleted the gar/save-update branch January 15, 2025 18:17
@github-actions github-actions bot mentioned this pull request Jan 15, 2025
wraithgar pushed a commit that referenced this pull request Jan 21, 2025
🤖 I have created a release *beep* *boop*
---


## [6.1.1](v6.1.0...v6.1.1)
(2025-01-21)
### Bug Fixes
*
[`526473b`](526473b)
[#139](#139) remove max-len
linting bypasses (@wraithgar)
*
[`2a7bbe5`](2a7bbe5)
[#139](#139) inline
normalize-package-data logic (@wraithgar)
*
[`2d320bc`](2d320bc)
[#140](#140) save when reverting
content (@wraithgar)
### Dependencies
*
[`6ea3a9d`](6ea3a9d)
[#139](#139) add
`[email protected]`
*
[`35152b6`](35152b6)
[#139](#139) remove
normalize-package-data
### Chores
*
[`0930f4e`](0930f4e)
[#139](#139)
`@npmcli/[email protected]` (@wraithgar)
*
[`1464adc`](1464adc)
[#140](#140) scope test fixture
package names (@wraithgar)
*
[`d722a1f`](d722a1f)
[#137](#137) bump
@npmcli/template-oss from 4.23.5 to 4.23.6 (#137) (@dependabot[bot],
@npm-cli-bot)

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] this.#rawContent is not updated on save
2 participants