github cloudflare/workers-sdk @cloudflare/autoconfig@0.8.2

latest releases: @cloudflare/runtime-types@0.1.18, @cloudflare/vitest-plugin@1.4.10, @cloudflare/containers-shared@0.23.4...
3 hours ago

Patch Changes

  • #16546 dd31809 Thanks @edmundhung! - Include the types generated by cf workers types in tsconfig.json when configuring for cf

    cf workers types writes the Worker's types to .cloudflare/types. Patterns in the include array of tsconfig.json, such as **/*, skip folders whose names start with a dot, so type checking couldn't find Env after autoconfig. Autoconfig now adds .cloudflare/types to that include array for cf projects with a Worker, as cf init does for new projects. When tsconfig.json has no include array, autoconfig asks you to add the entry yourself.

  • Updated dependencies [a95d647]:

    • @cloudflare/config@0.29.0
    • @cloudflare/workers-utils@0.50.0
    • @cloudflare/cli-shared-helpers@0.2.10

Don't miss a new workers-sdk release

NewReleases is sending notifications on new releases.