Bump version to 1.0 and update README.#8787
Conversation
🦋 Changeset detectedLatest commit: d9c8f09d190ab2ea0d758b9cdb4c9d9e15c0b0c9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
|
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/14266521444/npm-package-wrangler-8787You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/prs/8787/npm-package-wrangler-8787Or you can use npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14266521444/npm-package-wrangler-8787 dev path/to/script.jsAdditional artifacts:cloudflare-workers-bindings-extension: wget https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14266521444/npm-package-cloudflare-workers-bindings-extension-8787 -O ./cloudflare-workers-bindings-extension.0.0.0-v09a9c429e.vsix && code --install-extension ./cloudflare-workers-bindings-extension.0.0.0-v09a9c429e.vsixcreate-cloudflare: npx https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14266521444/npm-package-create-cloudflare-8787 --no-auto-update@cloudflare/kv-asset-handler: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14266521444/npm-package-cloudflare-kv-asset-handler-8787miniflare: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14266521444/npm-package-miniflare-8787@cloudflare/pages-shared: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14266521444/npm-package-cloudflare-pages-shared-8787@cloudflare/unenv-preset: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14266521444/npm-package-cloudflare-unenv-preset-8787@cloudflare/vite-plugin: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14266521444/npm-package-cloudflare-vite-plugin-8787@cloudflare/vitest-pool-workers: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14266521444/npm-package-cloudflare-vitest-pool-workers-8787@cloudflare/workers-editor-shared: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14266521444/npm-package-cloudflare-workers-editor-shared-8787@cloudflare/workers-shared: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14266521444/npm-package-cloudflare-workers-shared-8787@cloudflare/workflows-shared: npm install https://prerelease-registry.devprod.cloudflare.dev/workers-sdk/runs/14266521444/npm-package-cloudflare-workflows-shared-8787Note that these links will no longer work once the GitHub Actions artifact expires.
Please ensure constraints are pinned, and |
| - Leverages Vite's hot module replacement for consistently fast updates | ||
| - Supports `vite preview` for previewing your build output in the Workers runtime prior to deployment | ||
|
|
||
| ## Quick start |
There was a problem hiding this comment.
I feel like it might be kinda nice to keep a simple quick start here?
There was a problem hiding this comment.
I could copy over the 'Get started' guide - https://developers.cloudflare.com/workers/vite-plugin/get-started/. What do you think?
There was a problem hiding this comment.
I would avoid adding much. Perhaps just what the config looks like:
import { defineConfig } from "vite";
import { cloudflare } from "@cloudflare/vite-plugin";
export default defineConfig({
plugins: [cloudflare()],
});
There was a problem hiding this comment.
Yeah, it's a tricky balance. The Vite config on its own isn't sufficient for doing anything but if we add much more then we end up duplicating a chunk of the docs and having to keep them in sync.
There was a problem hiding this comment.
Yeah, I don't think the idea is that anything here would be useful in it own right. Instead it is like an illustration of what they the package does, so they know if it what they were looking for and whether to then go look at the docs.
| - Leverages Vite's hot module replacement for consistently fast updates | ||
| - Supports `vite preview` for previewing your build output in the Workers runtime prior to deployment | ||
|
|
||
| ## Quick start |
There was a problem hiding this comment.
I would avoid adding much. Perhaps just what the config looks like:
import { defineConfig } from "vite";
import { cloudflare } from "@cloudflare/vite-plugin";
export default defineConfig({
plugins: [cloudflare()],
});
d9c8f09 to
26d698b
Compare
Fixes #000.
Bump version to 1.0 and update README.