Skip to content

Add package information in vendored package file#227

Merged
dhh merged 1 commit intorails:mainfrom
faqndo97:add_package_information_in_downloaded_package_file
Jan 23, 2024
Merged

Add package information in vendored package file#227
dhh merged 1 commit intorails:mainfrom
faqndo97:add_package_information_in_downloaded_package_file

Conversation

@faqndo97
Copy link
Copy Markdown
Contributor

@faqndo97 faqndo97 commented Jan 5, 2024

Description

Now that the packages are downloaded by default, apart from the output of the pin command we lose the track of the version and from where the package was downloaded. To track the version the solution was use a comment in bin/importmap next to the package version but nothing for the package origin so the proposal is add a comment in the first line of the downloaded package displaying the package name, version and from where it was downloaded.

Screenshot 2024-01-05 at 14 46 38

Now that the packages are downloaded by default, apart from the output of the `pin` command we lose the track of the version and from where the package was downloaded. To track the version the solution was use a comment in bin/importmap next to the package version but nothing for the package origin so the proposal is add a comment in the first line of the downloaded package displaying the package name, version and from where it was downloaded.
@dhh
Copy link
Copy Markdown
Member

dhh commented Jan 23, 2024

Clever! I like it.

@dhh dhh merged commit 699a9bb into rails:main Jan 23, 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.

2 participants