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

feat: add @remix-run/azure-functions package #2521

Closed
wants to merge 68 commits into from

Commits on Aug 20, 2022

  1. test(express): add basic test for createRemixRequest

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    bf83669 View commit details
    Browse the repository at this point in the history
  2. test(architect): add tests for headers

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    010d5c4 View commit details
    Browse the repository at this point in the history
  3. test(vercel): extract headers conversion function, start adding tests…

    … around it
    
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    f1f10ba View commit details
    Browse the repository at this point in the history
  4. test(vercel): shutdown server after running test

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    5e64fd3 View commit details
    Browse the repository at this point in the history
  5. chore: remove Object.fromEntries(responseHeaders) spreading

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    70bc39f View commit details
    Browse the repository at this point in the history
  6. test(vercel): add more tests

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    6f8d02b View commit details
    Browse the repository at this point in the history
  7. test(vercel): add test for createRequestHandler

    vercel requests are regular http IncomingMessages but with various methods on it to make it more like express, so we'll just treat it like express..
    
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    10f1b11 View commit details
    Browse the repository at this point in the history
  8. test(vercel): use supertest for better header testing

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    e19177b View commit details
    Browse the repository at this point in the history
  9. fix(express): read port from request app settings

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    5c94bd3 View commit details
    Browse the repository at this point in the history
  10. fix(express): req.get("host") returns the port

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    cabc7ac View commit details
    Browse the repository at this point in the history
  11. test(express): update request mocking

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    df40493 View commit details
    Browse the repository at this point in the history
  12. feat: initial azure adapter

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    b36f60d View commit details
    Browse the repository at this point in the history
  13. test(azure): add test for createRemixRequest

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    b7c613d View commit details
    Browse the repository at this point in the history
  14. test(azure): add initial test for createRequestHandler

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    22e2292 View commit details
    Browse the repository at this point in the history
  15. chore: update remix-node version

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    b40a51f View commit details
    Browse the repository at this point in the history
  16. chore: update notes

    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    389719c View commit details
    Browse the repository at this point in the history
  17. chore(azure): use return instead of context.res = {}

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    7e50834 View commit details
    Browse the repository at this point in the history
  18. chore: input headers are just a string

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    9206f3d View commit details
    Browse the repository at this point in the history
  19. feat: add initial azure template

    TODO:
    - [ ] README
    - [ ] decide if we should include the github action
    
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    4983217 View commit details
    Browse the repository at this point in the history
  20. chore(azure): update template readme, add tweaked github action that …

    …azure provides during setup
    
    also updates the cli to copy a `github-action` directory to `.github/workflows`
    
    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    d7406f2 View commit details
    Browse the repository at this point in the history
  21. chore(azure): use generic secret name in github action

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    265521d View commit details
    Browse the repository at this point in the history
  22. chore(azure): remove erroneous 'a'

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    6835d4c View commit details
    Browse the repository at this point in the history
  23. Add space after comma

    mjackson authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    d6d4ba4 View commit details
    Browse the repository at this point in the history
  24. feat(getDocumentHeaders): re-add support for multiple set-cookie headers

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    a39c439 View commit details
    Browse the repository at this point in the history
  25. chore(azure): update adapter to use update request/response/headers

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    6b3f71b View commit details
    Browse the repository at this point in the history
  26. chore: rename azure action

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    505647b View commit details
    Browse the repository at this point in the history
  27. chore(init/azure): update handler

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    b18919c View commit details
    Browse the repository at this point in the history
  28. chore(init/azure): add rewrites and required index.html file

    Signed-off-by: Logan McAnsh <logan@mcan.sh>
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    f82b0e7 View commit details
    Browse the repository at this point in the history
  29. feat(azure): add support for dev

    for whatever reason in development, the `@azure/static-web-apps-cli` cli doesn't remove the original path from the rewrite, so we have to manually remove the `/api/azure` part. with that in mind, our azure function has to be named azure...
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    fca6d0a View commit details
    Browse the repository at this point in the history
  30. Revert "feat(azure): add support for dev"

    This reverts commit 82f4115.
    mcansh authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    fc6bcdb View commit details
    Browse the repository at this point in the history
  31. chore(CLA)

    aaronpowell authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    36070e9 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    0bdbe0c View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    369ee57 View commit details
    Browse the repository at this point in the history
  34. renamed the template

    aaronpowell authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    e37e686 View commit details
    Browse the repository at this point in the history
  35. tweaking the deps and adding ts

    aaronpowell authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    32bb27f View commit details
    Browse the repository at this point in the history
  36. fix: forgot typescript dep

    aaronpowell authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    19a1f6d View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    27df6b1 View commit details
    Browse the repository at this point in the history
  38. Configuration menu
    Copy the full SHA
    7f152ff View commit details
    Browse the repository at this point in the history
  39. fix: bad merge on styling doc

    aaronpowell authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    49e463c View commit details
    Browse the repository at this point in the history
  40. Apply suggestions from code review

    Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
    aaronpowell and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    bc19122 View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    0bac793 View commit details
    Browse the repository at this point in the history
  42. fix: linting mistakes

    aaronpowell authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    74d77b6 View commit details
    Browse the repository at this point in the history
  43. Configuration menu
    Copy the full SHA
    c9a21ed View commit details
    Browse the repository at this point in the history
  44. Configuration menu
    Copy the full SHA
    4c150dd View commit details
    Browse the repository at this point in the history
  45. Update packages/remix-azure-functions/package.json

    Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
    aaronpowell and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    cc6a1b8 View commit details
    Browse the repository at this point in the history
  46. Update templates/azure-functions/.eslintrc

    Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
    aaronpowell and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    97766bd View commit details
    Browse the repository at this point in the history
  47. fix: using the correct packages

    aaronpowell authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    b5204bb View commit details
    Browse the repository at this point in the history
  48. fix: azure template works

    Missed the remix scaffolding step and wasn't pointing to the package properly
    aaronpowell authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    292e671 View commit details
    Browse the repository at this point in the history
  49. chore: linting fixes

    aaronpowell authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    a81bcb1 View commit details
    Browse the repository at this point in the history
  50. Configuration menu
    Copy the full SHA
    bf336fa View commit details
    Browse the repository at this point in the history
  51. Apply suggestions from code review

    Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
    aaronpowell and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    6e43ff1 View commit details
    Browse the repository at this point in the history
  52. Configuration menu
    Copy the full SHA
    49f4245 View commit details
    Browse the repository at this point in the history
  53. chore: should be a devDep

    aaronpowell authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    bbfc8f8 View commit details
    Browse the repository at this point in the history
  54. Configuration menu
    Copy the full SHA
    3e6103b View commit details
    Browse the repository at this point in the history
  55. Configuration menu
    Copy the full SHA
    4fa2072 View commit details
    Browse the repository at this point in the history
  56. test: adding missing tests

    aaronpowell authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    ee10de7 View commit details
    Browse the repository at this point in the history
  57. Apply suggestions from code review

    Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
    aaronpowell and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    adb6781 View commit details
    Browse the repository at this point in the history
  58. Configuration menu
    Copy the full SHA
    266d4b2 View commit details
    Browse the repository at this point in the history
  59. chore: alphabetising the order

    aaronpowell authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    8373aab View commit details
    Browse the repository at this point in the history
  60. fix: missing jest setup

    aaronpowell authored and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    86edd6b View commit details
    Browse the repository at this point in the history
  61. chore: update yarn.lock

    MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    408cdea View commit details
    Browse the repository at this point in the history
  62. Apply suggestions from code review

    Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
    aaronpowell and MichaelDeBoey committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    cb539af View commit details
    Browse the repository at this point in the history
  63. Configuration menu
    Copy the full SHA
    58be825 View commit details
    Browse the repository at this point in the history
  64. Configuration menu
    Copy the full SHA
    63783db View commit details
    Browse the repository at this point in the history
  65. Configuration menu
    Copy the full SHA
    a2ffdf0 View commit details
    Browse the repository at this point in the history
  66. Apply suggestions from code review

    Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
    Co-authored-by: Christian Köberl <derkoe@users.noreply.github.com>
    3 people committed Aug 20, 2022
    Configuration menu
    Copy the full SHA
    8e94a44 View commit details
    Browse the repository at this point in the history

Commits on Sep 29, 2022

  1. Configuration menu
    Copy the full SHA
    ecaaeef View commit details
    Browse the repository at this point in the history

Commits on Sep 30, 2022

  1. Apply suggestions from code review

    Co-authored-by: Michaël De Boey <info@michaeldeboey.be>
    aaronpowell and MichaelDeBoey authored Sep 30, 2022
    Configuration menu
    Copy the full SHA
    f9b65ff View commit details
    Browse the repository at this point in the history