98 Commits

Author SHA1 Message Date
Joe Pea
a00a8f562a update prettier 2024-01-14 16:01:50 -08:00
Joe Pea
0e084c8f3b v21.1.0 2024-01-14 15:28:39 -08:00
keiya sasaki
33d57ed487
fix: Use type definition in ESM 2023-12-17 13:11:49 +09:00
Joe Pea
881ac559f1 v21.0.0 2023-06-22 23:55:07 -07:00
Joe Pea
f439388394
Merge branch 'main' into christjt/package-health 2023-06-22 23:47:52 -07:00
Joe Pea
0508229c6a chore: package.json update description 2023-06-22 23:47:20 -07:00
Christopher Tannum
020232da56 fix: lint 2023-05-12 10:35:04 +02:00
Christopher Tannum
ea9c2bb305 fix(package.json): add export map 2023-05-05 11:09:50 +02:00
Joe Pea
6abed8318a v20.0.3 2023-04-22 22:43:48 -07:00
Joe Pea
f3b9f93429 v20.0.2 2023-04-22 22:37:48 -07:00
Joe Pea
d719527b58 v20.0.1 2023-04-22 22:20:43 -07:00
Joe Pea
acfaf6d6e7 v20.0.0 2023-04-22 21:09:26 -07:00
Joe Pea
dec679d4ed chore: convert the project to type:module (ES Module mode); update prettier, typescript, and rollup; remove sinonjs because of too much complexity getting it to work in ESM mode and instead mock performance.now ourselves for our tests, which ends up being simpler anyway!; get browser tests in nodeunit.html working; party 🎉 2023-04-22 20:47:40 -07:00
Joe Pea
351810c1b1 v19.0.0 2023-04-02 16:42:46 -07:00
Joe Pea
fee407c680 undo release script update, test and build already happens 2023-04-02 16:42:36 -07:00
Joe Pea
dde3612fca update release scripts so that they build and test prior to publishing on npm 2023-04-02 16:28:21 -07:00
MasatoMakino
f59624d542 add : @sinonjs/fake-timers
related : #563
2021-04-26 15:01:50 +09:00
Joe Pea
5767ff82b8 chore: convert test code to TypeScript
This is good for checking our own type definitions make sense. Some types were updated based on their usage in the tests.
2020-10-23 16:11:23 -07:00
Joe Pea
352da177a5 v18.6.4 2020-10-22 00:54:11 -07:00
Joe Pea
78867502c1 chore: improve the release scripts so they don't fail to push on new release branches 2020-10-22 00:52:24 -07:00
Joe Pea
db581b5dfd chore: improve dev script so output can be meaningfully watched
This makes it work well in VS Code (f.e. it will use $ts-watch mode to read errors from stdout and display them in the "PROBLEMS" pane).

Plus this tells newcomers how to quickly get things started in dev mode (watch mode) for easy dev cycles.
2020-10-22 00:51:50 -07:00
Joe Pea
60535f4c19 v18.6.3 2020-10-21 18:17:36 -07:00
Joe Pea
e274d7b5fc v18.6.2 2020-10-20 16:36:04 -07:00
Joe Pea
f0c83a7ec8 TEMP: dist files for testing 2020-10-20 15:50:07 -07:00
Joe Pea
f96e971653 v18.6.1 2020-10-20 00:10:20 -07:00
Joe Pea
825bd2b466 fix: restore default export for backwards compat
Brings back default exports for backwards compatibility, but this time in a way that works with AMD and CJS module formats without build tool hacks. Uses rollup-plugin-dts to generate the type declaration for the bundle output, removing the brittle regex-based wrangling we were doing.
2020-10-20 00:01:09 -07:00
Joe Pea
6ae48a7afd remove unused dependency 2020-10-19 23:21:25 -07:00
Joe Pea
49f6e7560e fix the exports so that they are ES Module compliant (don't use CommonJS typed export in TypeScript)
This keeps backwards compatibility with how the CommonJS, UMD, and AMD modules work, but fixes the TypeScript ESM exports.
2020-10-19 00:44:49 -07:00
Joe Pea
419765bc83 update contributor guide and publish scripts 2020-10-18 14:45:19 -07:00
mikebolt
012fe055ff 18.6.0 2020-06-20 18:54:54 -07:00
Joe Pea
e4241e7c57
add prepare script to package.json
This makes Tween.js easily installable as a dependency from git.
2020-06-14 21:36:30 -07:00
Joe Pea
899a0e3a59 Merge branch 'master' into typescript
* master: (38 commits)
  update dist files
  rename some tests to better reflect what they test
  improve the conditional logic more so that values in nested arrays can also be animated
  add and example and test for animating values in an array
  start values aren't arrays, only to values are
  move _updateProperties function back out to a method
  fix yoyo with array values test
  temporary, move updateProperties function to make diff with master more clear
  move some code and update variable names to make mergin with master easier (less conflict)
  update dist
  improve state reset when stopping and starting a tween (fixes #512 where yoyo wouldn't restart properly)
  move value-swapping code for repeated tweens to a function (it will be re-used in an upcoming change)
  consolidate duplicate handling of relative values
  update dist files
  ignore VS Code's config folder
  small refactor to prevent update from doing anything when a tween has finished, yet still allow tweens to go back in time
  fix lint error
  rename _isFinished to _isComplete to match other wording
  add one more test for relative array values
  add editorconfig to settings editors can be consistently unique (because we use tabs so people can set their own tab width)
  ...
2020-06-03 01:29:51 -07:00
Joe Pea
8b87aede89 enable TypeScript strict mode and fix type errors 2020-06-02 23:50:20 -07:00
Joe Pea
6714fdea5a undo version change 2020-06-02 23:45:59 -07:00
Joe Pea
58ad19e0bb make sure to check files with prettier during tests 2020-06-02 23:31:37 -07:00
Joe Pea
bf4048706e format all files in the project now that we have prettier. Yay! 2020-06-02 23:29:00 -07:00
Alex Rodin
846d3de5e9 Migration to Typescript maintaining backward compatibility 2019-12-15 13:39:21 -03:00
Mike Casebolt
ee0bebaade 18.5.0 2019-12-09 10:31:35 -08:00
mikebolt
099493d28b 18.4.2 2019-11-06 00:04:16 -08:00
mikebolt
935b9feeb6 18.4.1 2019-11-05 23:03:23 -08:00
mikebolt
a571286aa2 18.4.0 2019-11-05 22:51:32 -08:00
mikebolt
bc8d79acef Add scripts to insert current npm version into build. 2019-11-05 22:36:23 -08:00
mikebolt
c21fbf2131 18.3.2 2019-10-31 00:22:42 -07:00
mikebolt
bf988076f2 18.3.1 2019-09-09 21:11:17 -07:00
mikebolt
a6843d421e 18.3.0 2019-09-09 20:52:05 -07:00
Michael Casebolt
fc6a40bf63 18.2.2 2019-09-09 02:09:37 -07:00
Michael Casebolt
18a3ef05cc 18.2.1 2019-09-09 02:09:22 -07:00
Michael Casebolt
2c7afb41a1 18.2.0 2019-09-09 01:08:05 -07:00
mikebolt
c882164493 18.1.2 2019-09-02 14:14:35 -07:00
mikebolt
3bd4f18c09 18.1.1 2019-09-02 13:34:44 -07:00