Closed tristdrum closed 3 months ago
@tristdrum
You are right. The first time the data.js file is not there. Try running npm run yaml
before npm run build
that's it.
Will take care on a PR which solves this.
@commenthol thank you for the help, and the tireless contributions!
I appreciate you!
Hello
date-holidays
maintainers,I hope you're doing well. I've recently attempted to contribute to the
date-holidays
project by following the instructions outlined in theCONTRIBUTING.md
file. However, I encountered a build issue due to a missingdata.js
file that seems to be referenced in the project.Issue Description:
During the build process, after running
npm run build
, Rollup throws an error indicating it could not resolve "./data.js" from "src/Holidays.js". Upon further inspection, I realized there is no mention of thedata.js
file in the contributing guidelines, nor does such a file exist in the repository.Error Message:
Expected Behavior:
The build process completes without errors, allowing contributors to test their changes locally before submitting a pull request.
Suggested Actions:
CONTRIBUTING.md
: If thedata.js
file is generated during an earlier step or needs to be created manually, could this process be detailed in the contributing guidelines?data.js
is a file that should exist within the repository but is inadvertently omitted, it would be helpful to include it or provide the necessary steps to generate it.I believe that addressing this issue will make the contributing process smoother for future contributors. Thank you for your attention to this matter and for maintaining such a valuable project. I look forward to your guidance on how to proceed.
Best regards, @tristdrum