Skip to content

Commit

Permalink
Made typings plugin friendly & add typings for every package (#770)
Browse files Browse the repository at this point in the history
* Initial and likely incorrect typings of types pkgs

* Consolidate types pkgs to central typing

This central typing may likely be incorrect and need further revisions

I am making so many commits to ensure I (and others) can track my progress as I figure out the type system for jimp

* Make generic plugin type, type out utils file

* Migrate to existing typings in `jimp` package

* Added core package typings

*  Added typings to custom package based on README

* WIP break out def files to their respective pkgs

* Further work to break out pkg TS defs

* Added missing cb optional types

* Added typing for plugin threshold

* Made the type typings consistent with plugin API

* Move font specific typings to plugin print

* Fixed core typing for @jimp/core, started making typings proper

* Fix typing for type-bmp

* Further work to standardize plugins

* Make initial changes in type typings

* Making typing stylings more consistent

* WIP on making jimp package itself use the new plugin system

* Made plugin and configure typings more strict and accurate

* Fix typings for plugins in Jimp type

* Remove the `/src` append added to assist debug

* Add changes to typings back after rebase

* Fix typing infrastructure, fix configure typing

Move typing files to proper locations, included typing file in package.json files, fix the configure function typings
  • Loading branch information
crutchcorn authored and hipstersmoothie committed Sep 7, 2019
1 parent cd5ff6a commit c1a59d6
Show file tree
Hide file tree
Showing 71 changed files with 1,075 additions and 616 deletions.
20 changes: 10 additions & 10 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# v0.7.0 (Fri Sep 06 2019)

#### 🚀 Enhancement
#### 🚀 Enhancement

- `@jimp/core`, `jimp`, `@jimp/utils`
- Feature scanIterator [#781](https://github.com/oliver-moran/jimp/pull/781) ([@ozelot379](https://github.com/ozelot379))
Expand All @@ -13,7 +13,7 @@

# v0.6.8 (Tue Sep 03 2019)

#### 🐛 Bug Fix
#### 🐛 Bug Fix

- `jimp`
- Remove dependency '@babel/polyfill' and add 'regenerator-runtime' [#783](https://github.com/oliver-moran/jimp/pull/783) ([@ebual](https://github.com/ebual) [@hipstersmoothie](https://github.com/hipstersmoothie))
Expand All @@ -27,7 +27,7 @@

# v0.6.7 (Tue Sep 03 2019)

#### 🐛 Bug Fix
#### 🐛 Bug Fix

- `@jimp/plugin-crop`
- Plugin crop/fix safety checks [#743](https://github.com/oliver-moran/jimp/pull/743) ([@jagaSto](https://github.com/jagaSto))
Expand All @@ -40,7 +40,7 @@

# v0.6.6 (Tue Sep 03 2019)

#### 🐛 Bug Fix
#### 🐛 Bug Fix

- `@jimp/plugin-crop`
- Fix cropping full width slices [#741](https://github.com/oliver-moran/jimp/pull/741) ([@NiGhTTraX](https://github.com/NiGhTTraX))
Expand All @@ -53,7 +53,7 @@

# v0.6.5 (Tue Sep 03 2019)

#### 🐛 Bug Fix
#### 🐛 Bug Fix

- `@jimp/cli`, `jimp`
- Fix types [#778](https://github.com/oliver-moran/jimp/pull/778) ([@hipstersmoothie](https://github.com/hipstersmoothie))
Expand All @@ -64,13 +64,13 @@
- `jimp`
- export more interfaces [#732](https://github.com/oliver-moran/jimp/pull/732) ([@pvolyntsev](https://github.com/pvolyntsev))

#### 🏠 Internal
#### 🏠 Internal

- Add Automated Releases [#784](https://github.com/oliver-moran/jimp/pull/784) ([@hipstersmoothie](https://github.com/hipstersmoothie))
- `@jimp/cli`, `@jimp/core`, `jimp`, `@jimp/plugin-crop`, `@jimp/plugin-rotate`
- [WIP] circle ci time! [#777](https://github.com/oliver-moran/jimp/pull/777) ([@hipstersmoothie](https://github.com/hipstersmoothie))

#### 📝 Documentation
#### 📝 Documentation

- Replace `npm` usage with `yarn` [#782](https://github.com/oliver-moran/jimp/pull/782) ([@pvolyntsev](https://github.com/pvolyntsev))
- Add Nimp to readme.md. [#766](https://github.com/oliver-moran/jimp/pull/766) ([@pvolyntsev](https://github.com/pvolyntsev))
Expand All @@ -81,9 +81,9 @@
- `@jimp/plugin-gaussian`
- fix gaussian example [#767](https://github.com/oliver-moran/jimp/pull/767) ([@Armanio](https://github.com/Armanio))

#### ⚠️ Pushed to master
#### ⚠️ Pushed to master

- trust github.com ([@hipstersmoothie](https://github.com/hipstersmoothie))
- trust github.com ([@hipstersmoothie](https://github.com/hipstersmoothie))

#### Authors: 6

Expand All @@ -92,4 +92,4 @@
- Shen Yiming ([@soimy](https://github.com/soimy))
- Rob Moore ([@robert-moore](https://github.com/robert-moore))
- Ahmad Awais ⚡️ ([@ahmadawais](https://github.com/ahmadawais))
- Arman ([@Armanio](https://github.com/Armanio))
- Arman ([@Armanio](https://github.com/Armanio))
Loading

0 comments on commit c1a59d6

Please sign in to comment.