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

fix: lockfile was sometimes getting corrupt when changing config deps #22359

Merged

Conversation

dsherret
Copy link
Member

@dsherret dsherret commented Feb 8, 2024

Tests are in the deno_lockfile repo.

Closes #22250

@dsherret dsherret requested review from mmastrac and removed request for mmastrac February 8, 2024 23:59
@dsherret dsherret marked this pull request as draft February 9, 2024 00:35
@dsherret dsherret marked this pull request as ready for review February 9, 2024 18:31
@@ -1051,6 +1051,9 @@ fn lock_deno_json_package_json_deps() {
"jsr:@denotest/module_graph@1.4": "jsr:@denotest/module_graph@1.4.0",
"npm:@denotest/esm-basic": "npm:@denotest/esm-basic@1.0.0"
},
"jsr": {
"@denotest/module_graph@1.4.0": {}
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We always insert these as part of the fix because in the future we'll have an integrity value here.

@dsherret dsherret requested a review from mmastrac February 9, 2024 18:45
Copy link
Contributor

@mmastrac mmastrac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@dsherret dsherret merged commit f232c36 into denoland:main Feb 9, 2024
18 of 20 checks passed
@dsherret dsherret deleted the fix_corrupt_lockfile_changing_import_map_deps branch February 9, 2024 23:03
littledivy pushed a commit that referenced this pull request Feb 15, 2024
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.

Lockfile becomes corrupt removing tailwind from deno.json in a new fresh template project
2 participants