Skip to content

Commit

Permalink
Export the four missing plugins from plugin package (#866)
Browse files Browse the repository at this point in the history
  • Loading branch information
Corbin Crutchley authored Mar 28, 2020
1 parent c56d6f7 commit 7aae562
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 22 deletions.
4 changes: 4 additions & 0 deletions packages/plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@
"@babel/runtime": "^7.7.2",
"@jimp/plugin-blit": "link:../plugin-blit",
"@jimp/plugin-blur": "link:../plugin-blur",
"@jimp/plugin-circle": "link:../plugin-circle",
"@jimp/plugin-color": "link:../plugin-color",
"@jimp/plugin-contain": "link:../plugin-contain",
"@jimp/plugin-cover": "link:../plugin-cover",
"@jimp/plugin-crop": "link:../plugin-crop",
"@jimp/plugin-displace": "link:../plugin-displace",
"@jimp/plugin-dither": "link:../plugin-dither",
"@jimp/plugin-fisheye": "link:../plugin-fisheye",
"@jimp/plugin-flip": "link:../plugin-flip",
"@jimp/plugin-gaussian": "link:../plugin-gaussian",
"@jimp/plugin-invert": "link:../plugin-invert",
Expand All @@ -35,6 +37,8 @@
"@jimp/plugin-resize": "link:../plugin-resize",
"@jimp/plugin-rotate": "link:../plugin-rotate",
"@jimp/plugin-scale": "link:../plugin-scale",
"@jimp/plugin-shadow": "link:../plugin-shadow",
"@jimp/plugin-threshold": "link:../plugin-threshold",
"core-js": "^3.4.1",
"timm": "^1.6.1"
},
Expand Down
52 changes: 30 additions & 22 deletions packages/plugins/src/index.js
Original file line number Diff line number Diff line change
@@ -1,41 +1,49 @@
import { mergeDeep } from 'timm';

import dither from '@jimp/plugin-dither';
import resize from '@jimp/plugin-resize';
import blit from '@jimp/plugin-blit';
import rotate from '@jimp/plugin-rotate';
import color from '@jimp/plugin-color';
import print from '@jimp/plugin-print';
import blur from '@jimp/plugin-blur';
import circle from '@jimp/plugin-circle';
import color from '@jimp/plugin-color';
import contain from '@jimp/plugin-contain';
import cover from '@jimp/plugin-cover';
import crop from '@jimp/plugin-crop';
import normalize from '@jimp/plugin-normalize';
import invert from '@jimp/plugin-invert';
import gaussian from '@jimp/plugin-gaussian';
import displace from '@jimp/plugin-displace';
import dither from '@jimp/plugin-dither';
import fisheye from '@jimp/plugin-fisheye';
import flip from '@jimp/plugin-flip';
import gaussian from '@jimp/plugin-gaussian';
import invert from '@jimp/plugin-invert';
import mask from '@jimp/plugin-mask';
import normalize from '@jimp/plugin-normalize';
import print from '@jimp/plugin-print';
import resize from '@jimp/plugin-resize';
import rotate from '@jimp/plugin-rotate';
import scale from '@jimp/plugin-scale';
import displace from '@jimp/plugin-displace';
import contain from '@jimp/plugin-contain';
import cover from '@jimp/plugin-cover';
import shadow from '@jimp/plugin-shadow';
import threshold from '@jimp/plugin-threshold';

const plugins = [
dither,
resize,
blit,
rotate,
color,
print,
blur,
circle,
color,
contain,
cover,
crop,
normalize,
invert,
gaussian,
displace,
dither,
fisheye,
flip,
gaussian,
invert,
mask,
normalize,
print,
resize,
rotate,
scale,
displace,
contain,
cover
shadow,
threshold
];

export default jimpEvChange => {
Expand Down

0 comments on commit 7aae562

Please sign in to comment.