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: Use blank index to make sure 'public/files/' folder exists in npm package #1377

Merged
merged 3 commits into from
Sep 2, 2024

Conversation

acalcutt
Copy link
Collaborator

@acalcutt acalcutt commented Sep 2, 2024

.gitignore gets ignored when the npm package gets published. This causes the default 'public/files' folder added in #1326 to not exist, which is problem when using the npm package directly as a global install.

This PR changes the placeholder file to a blank index file, which makes the folder get included in the npm package.

This should fix this error in v4.13.2, which looks like this
image

@acalcutt acalcutt changed the title Fix: Use blank index to make sure folder exists in npm package Fix: Use blank index to make sure public/files folder exists in npm package Sep 2, 2024
@acalcutt acalcutt changed the title Fix: Use blank index to make sure public/files folder exists in npm package Fix: Use blank index to make sure 'public/files/' folder exists in npm package Sep 2, 2024
@acalcutt acalcutt merged commit d272e17 into maptiler:master Sep 2, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant