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: add a missing experimental template to C3 for asset-only Worker #6760

Merged
merged 1 commit into from
Sep 23, 2024

Conversation

petebacondarwin
Copy link
Contributor

What this PR solves / how to test

Fixes N/A

Author has addressed the following

  • Tests
    • TODO (before merge)
    • Tests included
    • Tests not necessary because: experimental C3 template
  • E2E Tests CI Job required? (Use "e2e" label or ask maintainer to run separately)
    • I don't know
    • Required
    • Not required because: experimental C3 template
  • Changeset (Changeset guidelines)
    • TODO (before merge)
    • Changeset included
    • Changeset not necessary because:
  • Public documentation
    • TODO (before merge)
    • Cloudflare docs PR(s):
    • Documentation not necessary because: experimental C3 template

Copy link

changeset-bot bot commented Sep 19, 2024

🦋 Changeset detected

Latest commit: 5668097

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

This PR includes changesets to release 1 package
Name Type
create-cloudflare 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

Copy link
Contributor

github-actions bot commented Sep 19, 2024

A wrangler prerelease is available for testing. You can install this latest build in your project with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10992412370/npm-package-wrangler-6760

You can reference the automatically updated head of this PR with:

npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/6760/npm-package-wrangler-6760

Or you can use npx with this latest build directly:

npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10992412370/npm-package-wrangler-6760 dev path/to/script.js
Additional artifacts:
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10992412370/npm-package-create-cloudflare-6760 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10992412370/npm-package-cloudflare-kv-asset-handler-6760
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10992412370/npm-package-miniflare-6760
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10992412370/npm-package-cloudflare-pages-shared-6760
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10992412370/npm-package-cloudflare-vitest-pool-workers-6760
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10992412370/npm-package-cloudflare-workers-editor-shared-6760
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/10992412370/npm-package-cloudflare-workers-shared-6760

Note that these links will no longer work once the GitHub Actions artifact expires.


[email protected] includes the following runtime dependencies:

Package Constraint Resolved
miniflare workspace:* 3.20240909.4
workerd 1.20240909.0 1.20240909.0
workerd --version 1.20240909.0 2024-09-09

Please ensure constraints are pinned, and miniflare/workerd minor versions match.

@petebacondarwin petebacondarwin merged commit ba4ac82 into main Sep 23, 2024
27 checks passed
@petebacondarwin petebacondarwin deleted the add-static-only-c3-template branch September 23, 2024 10:57
Comment on lines +13 to +21
/**
* Welcome to Cloudflare Workers! This is your first worker.
*
* - Run `npm run dev` in your terminal to start a development server
* - Open a browser tab at http://localhost:8787/ to see your worker in action
* - Run `npm run deploy` to publish your worker
*
* Learn more at https://developers.cloudflare.com/workers/
*/
Copy link
Member

Choose a reason for hiding this comment

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

Looks like a duplicate of the message above?

Comment on lines +1 to +10
# Logs

logs
_.log
npm-debug.log_
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*

Copy link
Member

Choose a reason for hiding this comment

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

I just notice that these __dot_gitignore file should be ignored. There is already an entry to ignore all of these on templates so you probably need to add one more for the templates-experimental:

# Already in .gitignore
templates/**/__dot__gitignore
# I think we should add this
templates-experimental/**/__dot__gitignore

We might have it added with other experimental templates too. So it would be great if you can remove them as well. 👍🏼

@petebacondarwin
Copy link
Contributor Author

Oops sorry @edmundhung - I merged it before I saw your review. I'll follow up now with another PR.

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.

3 participants