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

Vite Environment API - Cloudflare environment support #12637

Draft
wants to merge 42 commits into
base: main
Choose a base branch
from

Commits on Aug 6, 2024

  1. Created vite-node-vm-environment playground

    James Opstad committed Aug 6, 2024
    Configuration menu
    Copy the full SHA
    9a8587f View commit details
    Browse the repository at this point in the history

Commits on Aug 20, 2024

  1. Created vite-workerd-environment playground

    James Opstad committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    8edc12a View commit details
    Browse the repository at this point in the history
  2. Returned response from workerd environment

    James Opstad committed Aug 20, 2024
    Configuration menu
    Copy the full SHA
    558f42b View commit details
    Browse the repository at this point in the history

Commits on Aug 22, 2024

  1. Added node module runner and entrypoint

    James Opstad committed Aug 22, 2024
    Configuration menu
    Copy the full SHA
    aa1679e View commit details
    Browse the repository at this point in the history

Commits on Aug 23, 2024

  1. Initial POC for running inside module runner

    James Opstad committed Aug 23, 2024
    Configuration menu
    Copy the full SHA
    dde5922 View commit details
    Browse the repository at this point in the history

Commits on Aug 27, 2024

  1. Revised manifest routes

    James Opstad committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    87b7f9f View commit details
    Browse the repository at this point in the history
  2. Revised manifest nodes

    James Opstad committed Aug 27, 2024
    Configuration menu
    Copy the full SHA
    e9e61e1 View commit details
    Browse the repository at this point in the history

Commits on Aug 28, 2024

  1. Used pathe for path resolution

    James Opstad committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    5889410 View commit details
    Browse the repository at this point in the history
  2. Fixed support for endpoints

    James Opstad committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    0e61853 View commit details
    Browse the repository at this point in the history
  3. Added links to playground example

    James Opstad committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    6313516 View commit details
    Browse the repository at this point in the history
  4. Removed commented code

    James Opstad committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    04efeec View commit details
    Browse the repository at this point in the history
  5. Used Cloudflare plugin to run in workerd environment

    James Opstad committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    47d0379 View commit details
    Browse the repository at this point in the history
  6. Added Cloudflare platform context

    James Opstad committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    7dd8ced View commit details
    Browse the repository at this point in the history
  7. Added cloudflare properties route to workerd playground

    James Opstad committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    483d137 View commit details
    Browse the repository at this point in the history
  8. Added KV example

    James Opstad committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    97489b2 View commit details
    Browse the repository at this point in the history
  9. Added matchers example to workerd playground

    James Opstad committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    e50f543 View commit details
    Browse the repository at this point in the history

Commits on Aug 29, 2024

  1. Added layout and improved playground example

    James Opstad committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    c7484d0 View commit details
    Browse the repository at this point in the history
  2. Commented out unused code and added invalidation for environment_cont…

    …ext virtual module
    James Opstad committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    a356404 View commit details
    Browse the repository at this point in the history
  3. Added cloudflare types

    James Opstad committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    63c51f3 View commit details
    Browse the repository at this point in the history
  4. Added additional types

    James Opstad committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    ceb2a09 View commit details
    Browse the repository at this point in the history
  5. Added kit.ssrEnvironment property to svelte config and created defaul…

    …t node environment as fallback
    James Opstad committed Aug 29, 2024
    Configuration menu
    Copy the full SHA
    8bca02f View commit details
    Browse the repository at this point in the history

Commits on Aug 30, 2024

  1. Used runtime_base to resolve import in virtual module

    James Opstad committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    665fb76 View commit details
    Browse the repository at this point in the history
  2. Simplified Cloudflare type imports

    James Opstad committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    2ebda30 View commit details
    Browse the repository at this point in the history
  3. Merge upstream main

    James Opstad committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    954ad1b View commit details
    Browse the repository at this point in the history
  4. Resolved typescript errors

    James Opstad committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    b7b36e1 View commit details
    Browse the repository at this point in the history
  5. Asserted platform types in playground

    James Opstad committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    d00737b View commit details
    Browse the repository at this point in the history
  6. Updated vite to alpha.23

    James Opstad committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    c0a478c View commit details
    Browse the repository at this point in the history
  7. Changed to environments option in svelte config

    James Opstad committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    2438651 View commit details
    Browse the repository at this point in the history
  8. Started adding original implementation back in

    James Opstad committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    ece5364 View commit details
    Browse the repository at this point in the history
  9. Fixed error and improved node playground

    James Opstad committed Aug 30, 2024
    Configuration menu
    Copy the full SHA
    113418a View commit details
    Browse the repository at this point in the history

Commits on Aug 31, 2024

  1. Updated config test

    James Opstad committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    0c5c6c3 View commit details
    Browse the repository at this point in the history
  2. Export Server class to use in entrypoint

    James Opstad committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    699aa8b View commit details
    Browse the repository at this point in the history
  3. Tidied up virtual module code

    James Opstad committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    d087bbf View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    afdbcdc View commit details
    Browse the repository at this point in the history
  5. Reverted exporting Server

    James Opstad committed Aug 31, 2024
    Configuration menu
    Copy the full SHA
    b5a6c00 View commit details
    Browse the repository at this point in the history

Commits on Sep 1, 2024

  1. Added comments

    James Opstad committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    be9d6a0 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. Replaced cloudflare environment provider dependency

    James Opstad committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    5f66708 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a1b19cb View commit details
    Browse the repository at this point in the history
  3. Changed playgrounds for TS to JS

    James Opstad committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    71145cb View commit details
    Browse the repository at this point in the history

Commits on Sep 20, 2024

  1. merge main

    Rich-Harris committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    9fa12bf View commit details
    Browse the repository at this point in the history
  2. Add missing return

    jamesopstad authored Sep 20, 2024
    Configuration menu
    Copy the full SHA
    7d011ca View commit details
    Browse the repository at this point in the history
  3. merge main

    Rich-Harris committed Sep 20, 2024
    Configuration menu
    Copy the full SHA
    bbe7b42 View commit details
    Browse the repository at this point in the history