-
Notifications
You must be signed in to change notification settings - Fork 756
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
check if both route
and routes
are specified in wrangler.toml
#628
Conversation
🦋 Changeset detectedLatest commit: 1eb8fe2 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 |
route
and routes
are specified in wrangler.toml
A wrangler prerelease is available for testing. You can install this latest build in your project with: npm install --save-dev https://prerelease-registry.developers.workers.dev/runs/2000172245/npm-package-wrangler-628 You can reference the automatically updated head of this PR with: npm install --save-dev https://prerelease-registry.developers.workers.dev/prs/628/npm-package-wrangler-628 Or you can use npx https://prerelease-registry.developers.workers.dev/runs/2000172245/npm-package-wrangler-628 dev path/to/script.js |
name: "ENV_NAME", | ||
account_id: "ENV_ACCOUNT_ID", | ||
compatibility_date: "2022-02-02", | ||
compatibility_flags: ["ENV_FLAG1", "ENV_FLAG2"], | ||
workers_dev: true, | ||
route: "ENV_ROUTE_1", | ||
routes: ["ENV_ROUTE_2", "ENV_ROUTE_3"], | ||
jsx_factory: "ENV_JSX_FACTORY", | ||
jsx_fragment: "ENV_JSX_FRAGMENT", | ||
triggers: { crons: ["ENV_CRON_1", "ENV_CRON_2"] }, | ||
usage_model: "unbound", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since in this test we only care about route and routes we could specify only those. I think the rest of the fields are options.
name: "ENV_NAME", | |
account_id: "ENV_ACCOUNT_ID", | |
compatibility_date: "2022-02-02", | |
compatibility_flags: ["ENV_FLAG1", "ENV_FLAG2"], | |
workers_dev: true, | |
route: "ENV_ROUTE_1", | |
routes: ["ENV_ROUTE_2", "ENV_ROUTE_3"], | |
jsx_factory: "ENV_JSX_FACTORY", | |
jsx_fragment: "ENV_JSX_FRAGMENT", | |
triggers: { crons: ["ENV_CRON_1", "ENV_CRON_2"] }, | |
usage_model: "unbound", | |
route: "ENV_ROUTE_1", | |
routes: ["ENV_ROUTE_2", "ENV_ROUTE_3"], |
Closes #629