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: image preprocessor #10788

Merged
merged 117 commits into from
Nov 11, 2023
Merged

feat: image preprocessor #10788

merged 117 commits into from
Nov 11, 2023

Commits on Sep 27, 2023

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

Commits on Oct 9, 2023

  1. rename package

    benmccann committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    e806b97 View commit details
    Browse the repository at this point in the history
  2. merge master

    benmccann committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    538215a View commit details
    Browse the repository at this point in the history
  3. doc updates

    benmccann committed Oct 9, 2023
    Configuration menu
    Copy the full SHA
    ffeaf49 View commit details
    Browse the repository at this point in the history

Commits on Oct 11, 2023

  1. Configuration menu
    Copy the full SHA
    263bf73 View commit details
    Browse the repository at this point in the history
  2. minor doc updates

    benmccann committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    c539561 View commit details
    Browse the repository at this point in the history
  3. fix

    benmccann committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    5bc7d93 View commit details
    Browse the repository at this point in the history
  4. type fix

    benmccann committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    af02edf View commit details
    Browse the repository at this point in the history
  5. document directives

    benmccann committed Oct 11, 2023
    Configuration menu
    Copy the full SHA
    7d979cd View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2023

  1. start to implement sizes

    benmccann committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    a33aac9 View commit details
    Browse the repository at this point in the history
  2. doc updates

    benmccann committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    b526c61 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fc9c343 View commit details
    Browse the repository at this point in the history
  4. remove accidental import

    benmccann committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    8e6e902 View commit details
    Browse the repository at this point in the history
  5. fix missing alt tags

    benmccann committed Oct 12, 2023
    Configuration menu
    Copy the full SHA
    d33d221 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    10162b5 View commit details
    Browse the repository at this point in the history

Commits on Oct 13, 2023

  1. Configuration menu
    Copy the full SHA
    7e03972 View commit details
    Browse the repository at this point in the history
  2. sizes cleanup

    benmccann committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    f45593d View commit details
    Browse the repository at this point in the history
  3. fix join character

    benmccann committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    627b331 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    f79812d View commit details
    Browse the repository at this point in the history
  5. caching docs

    benmccann committed Oct 13, 2023
    Configuration menu
    Copy the full SHA
    0e8d7e6 View commit details
    Browse the repository at this point in the history

Commits on Oct 14, 2023

  1. pixel density descriptors

    benmccann committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    31e82ad View commit details
    Browse the repository at this point in the history
  2. merge master

    benmccann committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    805089b View commit details
    Browse the repository at this point in the history
  3. changeset

    benmccann committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    3d58fa1 View commit details
    Browse the repository at this point in the history
  4. reduce code

    benmccann committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    95aa3fa View commit details
    Browse the repository at this point in the history
  5. tweak

    benmccann committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    c9ccd24 View commit details
    Browse the repository at this point in the history
  6. reduce code some more

    benmccann committed Oct 14, 2023
    Configuration menu
    Copy the full SHA
    e41aa95 View commit details
    Browse the repository at this point in the history

Commits on Oct 16, 2023

  1. lint

    benmccann committed Oct 16, 2023
    Configuration menu
    Copy the full SHA
    89a49b5 View commit details
    Browse the repository at this point in the history

Commits on Oct 17, 2023

  1. docs update

    benmccann committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    bc7adda View commit details
    Browse the repository at this point in the history
  2. redirect

    benmccann committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    b5c7a94 View commit details
    Browse the repository at this point in the history
  3. imagetools 6

    benmccann committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    7fabe7b View commit details
    Browse the repository at this point in the history
  4. remove options

    benmccann committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    08aa49c View commit details
    Browse the repository at this point in the history
  5. update test output

    benmccann committed Oct 17, 2023
    Configuration menu
    Copy the full SHA
    1187cce View commit details
    Browse the repository at this point in the history

Commits on Oct 18, 2023

  1. fix typescript issue

    benmccann committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    882335a View commit details
    Browse the repository at this point in the history
  2. docs syntax

    benmccann committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    46341ce View commit details
    Browse the repository at this point in the history
  3. docs

    benmccann committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    5e1bf3b View commit details
    Browse the repository at this point in the history
  4. merge master

    benmccann committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    6046b59 View commit details
    Browse the repository at this point in the history
  5. merge master

    benmccann committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    61c4cc1 View commit details
    Browse the repository at this point in the history
  6. fix lockfile

    benmccann committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    39964dc View commit details
    Browse the repository at this point in the history
  7. remove ignore flag

    benmccann committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    1121742 View commit details
    Browse the repository at this point in the history
  8. delete test

    benmccann committed Oct 18, 2023
    Configuration menu
    Copy the full SHA
    816d289 View commit details
    Browse the repository at this point in the history

Commits on Oct 22, 2023

  1. update opt-in method

    benmccann committed Oct 22, 2023
    Configuration menu
    Copy the full SHA
    86fe774 View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2023

  1. rename

    benmccann committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    4277033 View commit details
    Browse the repository at this point in the history
  2. missed a spot

    benmccann committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    9da0de9 View commit details
    Browse the repository at this point in the history
  3. merge master

    benmccann committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    6e41c10 View commit details
    Browse the repository at this point in the history
  4. update test

    benmccann committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    1d33f6e View commit details
    Browse the repository at this point in the history
  5. typo

    benmccann committed Oct 25, 2023
    Configuration menu
    Copy the full SHA
    8b6d9b7 View commit details
    Browse the repository at this point in the history

Commits on Oct 26, 2023

  1. enhance hero image

    benmccann committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    4f55f35 View commit details
    Browse the repository at this point in the history
  2. require enhanced:img

    benmccann committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    e4fe826 View commit details
    Browse the repository at this point in the history
  3. fix link

    benmccann committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    3389cfb View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    503182c View commit details
    Browse the repository at this point in the history
  5. fix

    benmccann committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    e9c36fd View commit details
    Browse the repository at this point in the history
  6. cleanup

    benmccann committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    15c08cf View commit details
    Browse the repository at this point in the history
  7. disable in webcontainers

    benmccann committed Oct 26, 2023
    Configuration menu
    Copy the full SHA
    04c22d1 View commit details
    Browse the repository at this point in the history

Commits on Oct 28, 2023

  1. Update .changeset/eighty-timers-exist.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    32f69d5 View commit details
    Browse the repository at this point in the history
  2. Update sites/kit.svelte.dev/src/routes/home/Showcase.svelte

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    3d697b0 View commit details
    Browse the repository at this point in the history
  3. Update packages/enhanced-img/src/index.js

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    e0873d8 View commit details
    Browse the repository at this point in the history
  4. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    caaa0d8 View commit details
    Browse the repository at this point in the history
  5. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    50fc12a View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    148bfc9 View commit details
    Browse the repository at this point in the history
  7. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    cc4e12f View commit details
    Browse the repository at this point in the history
  8. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    4c89110 View commit details
    Browse the repository at this point in the history
  9. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    2ea4ab5 View commit details
    Browse the repository at this point in the history
  10. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    94a8528 View commit details
    Browse the repository at this point in the history
  11. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    432f01d View commit details
    Browse the repository at this point in the history
  12. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    e2413de View commit details
    Browse the repository at this point in the history
  13. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    7430b06 View commit details
    Browse the repository at this point in the history
  14. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    35bd155 View commit details
    Browse the repository at this point in the history
  15. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    e047856 View commit details
    Browse the repository at this point in the history
  16. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    3eab86c View commit details
    Browse the repository at this point in the history
  17. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    0c2f414 View commit details
    Browse the repository at this point in the history
  18. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    9bcfff6 View commit details
    Browse the repository at this point in the history
  19. Update packages/enhanced-img/src/preprocessor.js

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    72e2589 View commit details
    Browse the repository at this point in the history
  20. Update packages/enhanced-img/types/index.d.ts

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    20346be View commit details
    Browse the repository at this point in the history
  21. Update packages/enhanced-img/src/preprocessor.js

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    6051ffc View commit details
    Browse the repository at this point in the history
  22. Update packages/enhanced-img/src/preprocessor.js

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    24db03a View commit details
    Browse the repository at this point in the history
  23. Update packages/enhanced-img/src/preprocessor.js

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    ec882d5 View commit details
    Browse the repository at this point in the history
  24. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    4070aa4 View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    8ddd73a View commit details
    Browse the repository at this point in the history
  26. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    0c06bfa View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    20006d6 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    dd83a92 View commit details
    Browse the repository at this point in the history
  29. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    d0278dc View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    1a71b21 View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    8ab8b48 View commit details
    Browse the repository at this point in the history
  32. Configuration menu
    Copy the full SHA
    982319e View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    c1395cf View commit details
    Browse the repository at this point in the history
  34. Configuration menu
    Copy the full SHA
    b96c444 View commit details
    Browse the repository at this point in the history
  35. Update documentation/docs/30-advanced/60-images.md

    Co-authored-by: Rich Harris <richard.a.harris@gmail.com>
    benmccann and Rich-Harris committed Oct 28, 2023
    Configuration menu
    Copy the full SHA
    3de72b4 View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    3dbfbf8 View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    44426b0 View commit details
    Browse the repository at this point in the history

Commits on Oct 30, 2023

  1. merge master

    benmccann committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    9058a74 View commit details
    Browse the repository at this point in the history
  2. hoistable const

    benmccann committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    5050172 View commit details
    Browse the repository at this point in the history
  3. unroll loop

    benmccann committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    85e74e2 View commit details
    Browse the repository at this point in the history
  4. fix tests

    benmccann committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    3089fb3 View commit details
    Browse the repository at this point in the history
  5. update comment

    benmccann committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    4b067b5 View commit details
    Browse the repository at this point in the history
  6. better error message

    benmccann committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    ac1d442 View commit details
    Browse the repository at this point in the history
  7. fix

    benmccann committed Oct 30, 2023
    Configuration menu
    Copy the full SHA
    9d9fe34 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2023

  1. missed a spot

    benmccann committed Oct 31, 2023
    Configuration menu
    Copy the full SHA
    ea63ee3 View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2023

  1. update sizes docs

    benmccann committed Nov 1, 2023
    Configuration menu
    Copy the full SHA
    85a593c View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2023

  1. fix unused style warning

    benmccann committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    107bc76 View commit details
    Browse the repository at this point in the history
  2. update Hero

    benmccann committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    8971796 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7982f58 View commit details
    Browse the repository at this point in the history
  4. format

    benmccann committed Nov 2, 2023
    Configuration menu
    Copy the full SHA
    0afd5b9 View commit details
    Browse the repository at this point in the history

Commits on Nov 3, 2023

  1. bump imagetools

    benmccann committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    ac37762 View commit details
    Browse the repository at this point in the history
  2. bump imagetools

    benmccann committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    c0c7f69 View commit details
    Browse the repository at this point in the history
  3. automatic sizes

    benmccann committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    05f4372 View commit details
    Browse the repository at this point in the history
  4. Revert "automatic sizes"

    This reverts commit 05f4372.
    benmccann committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    a6ff9b8 View commit details
    Browse the repository at this point in the history
  5. fix test output

    benmccann committed Nov 3, 2023
    Configuration menu
    Copy the full SHA
    ca840f3 View commit details
    Browse the repository at this point in the history

Commits on Nov 4, 2023

  1. simplify choosing widths

    benmccann committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    5f51b2a View commit details
    Browse the repository at this point in the history
  2. fix a todo

    benmccann committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    986eba2 View commit details
    Browse the repository at this point in the history
  3. update test

    benmccann committed Nov 4, 2023
    Configuration menu
    Copy the full SHA
    15bd759 View commit details
    Browse the repository at this point in the history

Commits on Nov 7, 2023

  1. move image types into its package

    - move ambient declarations into its own file and make sure they are loaded when anything from the package is loaded by importing it in the root types file
    - move element augmentation into root types file. Needs to be there because it can't be in an ambient module, the augmentations wouldn't work in such a module
    - add fix to SvelteKit to ensure vite.config.js is also loaded, so that when someone uses svelte:image with a vite.config.js/ts its types are loaded
    dummdidumm committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    e810ee8 View commit details
    Browse the repository at this point in the history
  2. oops

    dummdidumm committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    609e6d0 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2023

  1. fix test

    benmccann committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    c63ef28 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    c509a2b View commit details
    Browse the repository at this point in the history
  3. update lockfile

    benmccann committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    6448889 View commit details
    Browse the repository at this point in the history
  4. fix link

    benmccann committed Nov 11, 2023
    Configuration menu
    Copy the full SHA
    a56c459 View commit details
    Browse the repository at this point in the history