Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Typescript & module assets Rewrite, v5 update (#99)
* Initial set-up - bring over build process from pixi-particles (nothing works yet). * Convert mixins to TS and ES6 classes extending originals. * Continue conversion - changed files are mostly complete, have some type issues. * More conversion progress. MovieClip has a few things to fix. * Convert Scene to typescript. * Fix tabs->spaces in Scene. Remove constructor as it only called super(). * Convert Animator/AnimatorTimeline. * Fix errors in MovieClip. * Fix some small errors. * Rename the former mixins to avoid conflicts in bundled .d.ts * Update dts-bundle-generator to see if it fixed remaining .d.ts issue. It did not. * Fix some references to PIXI namespace. * Change internal name of utils to fix .d.ts output issue. * Get .d.ts output fully working. * Rename 'mixin' classes on library export for nicer exports. * Enable tree-shaking on IIFE built version. * Start fixing broken tests. * Add shim for existing asset format. Fix Timeline issues. * Update floss, fix problems with image comparison in tests. * Clean up docs. * Fix closePath/setColorTransform shorthand shenanigans. * Fix npm audit issues. * Drop pixi.js v4 support, add v5 support. * Change basic tests to use require(). Rename render tests to legacy. * Remove global caches, set up new asset format, start updating tests. * Fix whitespace, some docs, note a breaking change in the readme. * Remove `import type` because typedoc was choking on it. Turns out removing it doesn't harm anything - typescript correctly removes those type-only imports. * Manual conversions of a couple more test files. * Add script for conversion of v1 assets to v2 assets. * Fix asset conversion script, convert other test assets. * Remove eye-disappearing from tests, unused JSON output format file. * Tag for prerelease testing. * Fix docs generation folder. * Update contributors. * Remove JSDoc config. * Use @pixi/eslint-config for eslint settings. Fix npm audit issues. * Update eslint & get it actually running on source files (and fix them). * Rearrange build & utility scripts, update to match linting. * Move v1-asset-shim into a legacy build. * Remove unused test assets. * Bring test code up to speed with linting style. * Asset upgrade script now handles .shapes.json files referenced in .js * Add usage message and ES6 auto import/run mode to asset upgrade script. * Add script to generate .d.ts files for assets. * Fix documentation around asset scripts. * Update rollup-plugin-ts, rearrange source so that .d.ts output works. * Add tests to confirm that the library definitions aren't broken. * Fix addHole() in legacy shim, add test for a hole shape - test made with v1.3.5 of pixi-animate * Update asset conversion - handle .txt, fix holes, add current hole test. * Handle newer named instance format in createDeclaration. * Fix typo in AnimateAsset. * Further createDeclaration improvements. * Tag for rc4 * Improve asset specific type generation via namespaces. * Minor docs tweaks in AnimateAsset. * Fix potential error when loading spritesheets for legacy assets. * Update to subpackages of pixi, fix npm audit. * Fix some issues with update. * Update to latest pixi release candidate. * Update type generation. * Clean up pixi deps, fix build externals. * More build/test fixes. * Further fix tests. * Temp build requirements: Remove before release! * Update to latest pixi release candidate, fix type issues to the best of our ability. * Update Pixi requirement, remove unused dependency * Update PixiJS dependencies. * Remove uneeded lib, update ts rollup plugin. * Improve tween support. * Increment version. * Add ability to deserialize keyframes with tweens. * Bump prerelease version. * Get docs building again. * Increase node version for travis. * Implement support for classic ease. * Implement other standard ease methods. * Make ease strength optional in compressed tween data (untested). * Do a basic asset version check when loading. * Fix reading of serialized eases. * Clean up/fix tween reading issues. * Fix extendLastFrame() having an off by one error. * Fix bounce eases. * Fix Sprite tint setTint() implementation. * Implement color/tint tweening. * Update PixiJS dependency. * Update floss/electron. * Bump version for a new release candidate * Handle per-property eases. * Fix issues with assembling tweens. * Tag a new prerelease * Add publishing info to the readme. * Make asset conversion script a bit more permissive to handle older/incomplete assets. * Fix @pixi dependencies being overly specific. * Fix a timed mask/keyframe issue.
- Loading branch information