Skip to content

fix: skip unwanted files and directories when publishing site assets #280

Merged
petebacondarwin merged 1 commit intocloudflare:mainfrom
petebacondarwin:keep-well-known
Jan 24, 2022
Merged

fix: skip unwanted files and directories when publishing site assets #280
petebacondarwin merged 1 commit intocloudflare:mainfrom
petebacondarwin:keep-well-known

Conversation

@petebacondarwin
Copy link
Copy Markdown
Contributor

Sits on top of #277.


In keeping with Wrangler 1, we now skip node_modules and hidden files and directories.

An exception is made for .well-known. See https://datatracker.ietf.org/doc/html/rfc8615.

The tests also prove that the asset uploader will walk directories in general.

@petebacondarwin petebacondarwin added the blocked Blocked on other work label Jan 22, 2022
@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Jan 22, 2022

🦋 Changeset detected

Latest commit: 92d7f70

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
wrangler Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@petebacondarwin petebacondarwin mentioned this pull request Jan 22, 2022
4 tasks
Copy link
Copy Markdown
Contributor

@threepointone threepointone left a comment

Choose a reason for hiding this comment

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

I checked the last commit and it looked good to me.

In keeping with Wrangler 1, we now skip node_modules and hidden files and directories.

An exception is made for `.well-known`. See https://datatracker.ietf.org/doc/html/rfc8615.

The tests also prove that the asset uploader will walk directories in general.
@petebacondarwin petebacondarwin merged commit f19dde1 into cloudflare:main Jan 24, 2022
@petebacondarwin petebacondarwin deleted the keep-well-known branch January 24, 2022 15:15
@github-actions github-actions bot mentioned this pull request Jan 24, 2022
@github-project-automation github-project-automation bot moved this to Untriaged in workers-sdk Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

blocked Blocked on other work

Projects

Status: Untriaged

Development

Successfully merging this pull request may close these issues.

3 participants