-
Notifications
You must be signed in to change notification settings - Fork 938
feat(create-cloudflare): add template for analog with cloudflare workers #8979
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
base: main
Are you sure you want to change the base?
Conversation
|
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/15145504380/npm-package-wrangler-8979 Prereleases for other packages:
wget https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15145504380/npm-package-cloudflare-workers-bindings-extension-8979 -O ./cloudflare-workers-bindings-extension.0.0.0-v33e3dc4ce.vsix && code --install-extension ./cloudflare-workers-bindings-extension.0.0.0-v33e3dc4ce.vsix
npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15145504380/npm-package-create-cloudflare-8979 --no-auto-update
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15145504380/npm-package-cloudflare-kv-asset-handler-8979
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15145504380/npm-package-miniflare-8979
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15145504380/npm-package-cloudflare-pages-shared-8979
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15145504380/npm-package-cloudflare-unenv-preset-8979
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15145504380/npm-package-cloudflare-vite-plugin-8979
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15145504380/npm-package-cloudflare-vitest-pool-workers-8979
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15145504380/npm-package-cloudflare-workers-editor-shared-8979
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15145504380/npm-package-cloudflare-workers-shared-8979
npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/15145504380/npm-package-cloudflare-workflows-shared-8979 Note that these links will no longer work once the GitHub Actions artifact expires. |
69ff15d
to
5e07947
Compare
Hi @brandonroberts, I am trying to fix the analog template on create-cloudflare. It is working fine locally with the pre-release build but crashes in the CI which seems to be related to the built files being empty ( Just wonder if you have idea why and if there is anyway to debug the |
Hey @edmundhung. I think the issue is in how the working directory is resolved for dependencies when creating the template application inside a pnpm workspace. So it doesn't find any dependencies when looking at the |
Thanks Brandon! I will give it another look next week. |
9a17230
to
46d0aa3
Compare
e770603
to
2d84cbc
Compare
32c1039
to
d3d1ece
Compare
d3d1ece
to
87e4454
Compare
Fixes #[insert GH or internal issue link(s)].
Pages template: https://1beb99a6.ancient-truth-85ba.pages.dev/
Workers template: https://lively-river-b5c4.devprod-playground.workers.dev/