Load and transform images using a toolbox of custom import directives!
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Note: Version bump only for package imagetools-core
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Note: Version bump only for package imagetools-core
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Note: Version bump only for package vite-imagetools
Published by github-actions[bot] over 3 years ago
Note: Version bump only for package imagetools-core
Published by github-actions[bot] over 3 years ago
Note: Version bump only for package vite-imagetools
Published by github-actions[bot] over 3 years ago
Note: Version bump only for package imagetools-core
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
Published by github-actions[bot] over 3 years ago
A lot of things changed so it's not backwards compatible
revert: remove old unit tests
revert: remove old directives
feat: update format directive to function style
feat: update resize directive to function style
feat: update rotate directive to function style
fix: export builtin directives
refactor: remove old options fn
feat: add generic types
fix: export image format union type
feat: add utility function
chore: fix built ouput
feat: add ouput processing function
chore: update typescript
feat: use cacache for better caching
chore: rollup-pluginutils is deprecated use @rollup/pluginutils instead
feat: rewrite the main plugin file
chore: fix main entrypoint
docs: start v3 readme
chore update deps
style: move function to util file
style: add plugin options
feat: make caching optional
feat: make directives and output formats extensible
feat: make the filter extensible
feat: respect the vite config when generating the output
fix: actually move the function to util.ts
docs: add comments
chore: remove logging
style: prettify the file emitting
fix: import sharp
chore: add output format type
chore: add types to url output
chore: add types to srcset output
chore: add types to metadata output
docs: add comments explaining types
feat: add option to force image transformation in dev mode
docs: update roadmap
docs: add explanations for directives
feat: add the quality meta-directive
feat: add the fit meta-directive
feat: add the position meta-directive
feat: add the kernel meta-directive
feat: add the background meta-directive
fix: use meta directives
chore: reexport the directives for use defined directives
docs: update options description
refactor: rename from output to format
docs(README): Improve readme for version 3
chore: commit docs
build: dont test on ci
chore: mark the next branch as prerelease
chore: add vite to fix build
feat: improve docs for version 3
docs(README): add badges
docs: add example project
style: fix formatting
feat: warn on unknown directives
docs(README): add explanation for silent option
feat: use custom variable replacement instead of vites
fix: make urlFormat the fallback
feat: split on semicolons (;) instead of commas (,) to avoid srcset parser confusion
chore: add magic-string
docs(README): update feature list
feat: add the flip directive
feat: add the blur directive
feat: add the flop directive
feat: add the invert directive
feat: add the normalize directive
test: add unit tests for directives
fix: fix directive & metadirective typings
fix: parse blur argument correctly
using the blur function in boolean mode was not taken into consideration.
fix: stricter type cheking
docs: add srcset example
style: Fix readme styling
fix: disable caching when no path could be found
fix: array filtering type error
docs: explain utility functions
style: Extract parameter parsing logic into separate function
fix: type issues
build: reenable unit tests before release
docs: update readme feature list
docs: move directive documentation to inline comments
docs: fix typos
docs: fix undefined section
chore: cleanup imports
feat: add the flatten directive
feat: add the grayscale directive
feat: add the median directive
feat: add the tint directive
feat: enable image transforms even in development mode
This feature might change a lot as it's very hacky.
fix: export directives
docs: Update docs to reflect the new directives
docs(README): update the force option
Add a section that explains the caveats when using transforming images in development mode
fix: fix directive exports
docs: improve docs
docs(README): improve docs
docs: remove undefined spots & add hue, saturation and brightness
feat: add hsb directives
test: add missing directive tests
test: add output format tests
test: add tests to ensure directives are correctly exported
fix: flatten directive should accept the "true" argument
fix: hsb typing issues
test: add tests for important util functions
chore: generate coverage results
chore: fix coverage workflow
docs(README): add coverage badge
chore: update npm keywords
docs: add simple example
fix: bg-color fix hash prefix problem
fix: filter opts before calling modulate
fix: ensure directive is exported
style: rename options
style: add newline
test: reflect that bg color can only be exported without the hashtag
feat: add cache cleanup functionality
We go through the cache each time the build ends and check if each image has been referenced during the current build.
If it was we keep it, if not this likely means the image is not needed anymore and we evict it
docs(README): update readme for release
fix: type declaration path
Published by github-actions[bot] over 3 years ago