Jürg Lehni
3bce17815f
Release version 0.12.2
2019-06-13 23:36:52 +02:00
Jürg Lehni
bcfc0eb413
Release version 0.12.1
2019-06-06 00:13:07 +02:00
Jürg Lehni
767ce043ba
Remove node 6 support
2019-06-05 18:33:54 +02:00
Jürg Lehni
2cb55a839d
Update dependencies
2019-06-05 18:13:22 +02:00
Jürg Lehni
330b7d0eb9
Avoid clash with --branch
argv in Node 10
2019-04-11 20:01:31 +02:00
sasensi
f25690aa91
Rename type definition file to paper.d.ts
.
2018-12-03 14:41:47 +01:00
sasensi
bbd65324bc
Add typescript definition generation
...
This add a gulp task (`gulp docs:typescript`) to automatically generate
a typescript definition for the library. This should solve the problem
of having an out of sync type definition when we change the API.
This task takes advantage of existing JSDoc parsing to generate a
temporary file which is later formatted through a mustache template to
generate the final definition. This definition is then tested by
compiling a typescript file that use it.
The generated definition is added to the `gulp zip` task in order to be
published along with the bundled library.
So 2 new dev-dependencies are added with this change: `mustache` and
`typescript` packages. Using node and mustache to generate the
definition instead of relying on existing templating system is
motivated by a better development experience, with easier debugging
possibilities... through the usage of more modern tools.
As a side note, support of "rest parameters" (when a parameter can be
present multiple times) is added to existing JSDoc parser in order to
support this pattern on typescript side (E.g. for `Color#set()` method
which accept any sequence of parameters that is supported by `Color`
constructors).
2018-12-03 14:41:47 +01:00
Jürg Lehni
a66391678e
Release version 0.12.0
2018-12-03 14:26:23 +01:00
Jürg Lehni
b1705f628b
Fix typos
2018-11-21 11:58:22 +01:00
Jürg Lehni
d325fce909
Travis CI: Fix error during tests
2018-10-17 17:38:42 +02:00
Jürg Lehni
e5cedd3cef
Release version 0.11.8
2018-10-17 17:05:40 +02:00
Jürg Lehni
3cc3ce8f13
Release version 0.11.7
2018-10-17 16:56:58 +02:00
Jürg Lehni
e043c6cbd5
Fix issues with gulp publish script
2018-10-17 16:49:04 +02:00
Jürg Lehni
193592b88b
Release version 0.11.5
2017-10-08 17:48:07 +02:00
Jürg Lehni
c403c86a23
Release version 0.11.4
2017-06-10 14:32:21 +02:00
Jürg Lehni
1eecc97fc7
Update to gulp-git-streamed v2.4.0 for Node.js v8.0.0
2017-06-05 22:47:33 +02:00
Jürg Lehni
bbb7bfeba7
Release version 0.11.3
2017-04-23 17:15:03 +02:00
Jürg Lehni
188c006197
Update to straps.js v3.0.1 and make all functions and accessors enumerable.
2017-04-22 18:50:53 +02:00
Jürg Lehni
153c36c9ce
Fix git URL.
2017-04-21 12:54:15 +02:00
Jürg Lehni
90f816f959
Release version 0.11.2
2017-04-20 19:34:40 +02:00
Jürg Lehni
5046d6968b
Release version 0.11.1
2017-04-20 18:43:16 +02:00
Jürg Lehni
91199f19f0
Bring back deactivation of Node.js modules on browser.
...
The require() statements are in the main code, not in the sub-modules!
2017-04-20 11:00:49 +02:00
Jürg Lehni
d0a4532d94
Release version 0.11.0
2017-04-19 22:07:46 +02:00
Jürg Lehni
a7d259bfc0
Release version 0.10.4
2017-04-19 19:55:21 +02:00
Jürg Lehni
2bac4e71e0
Introduce paper-jsdom and paper-jsdom-canvas submodules.
...
Relates to #1252
2017-04-19 19:53:39 +02:00
Jürg Lehni
f5c8cd094c
Node.js: Move all dependencies to optionalDependencies
...
Closes #1171
2017-03-19 16:17:43 +01:00
Jürg Lehni
7a2ccc6d44
More work on supporting hybrid contexts.
...
Relates to #1252
2017-03-19 16:03:29 +01:00
Jürg Lehni
3ffd7c4ac2
Add "paperjs" as package keyword.
2017-03-08 23:49:45 +01:00
Jürg Lehni
b587e0b5b8
Release version 0.10.3
2017-03-08 10:44:43 +01:00
Jürg Lehni
e810039668
Support Node.js v7, and keep testing for v5 in Travis CI.
2016-12-29 10:56:06 +01:00
Jürg Lehni
56cfdd9ab6
Only use precommit and prepush hooks when working on develop branch.
...
This should solve @iconexperience's troubles outlined in https://github.com/paperjs/paper.js/issues/1116#issuecomment-244037792
2016-09-20 17:07:38 -04:00
Jürg Lehni
befac6b8da
Update gulp-qunits to fix build problems on Node.js v4.5.0
2016-09-20 16:25:14 -04:00
Jürg Lehni
e539633852
Implement new and shorter segments array notation.
...
Supporting:
- Closing paths by including `true` as the last entry
- Nested segment arrays that can be passed to PathItem.create() and the CompoundPath constructor to create all sub-paths
2016-07-19 13:08:21 +02:00
Jürg Lehni
32d8c969fb
Clean up handling of #_set(), #set() and #initialize()
...
Convention:
- #_set() is for actually setting properties, e.g. on Point, Size, so that derived classes can reuse other parts (e.g. SegmentPoint)
- #set() is a shortcut to #initialize() on all basic types, to offer the same amount of flexibility when setting values.
2016-07-18 20:11:01 +02:00
Jürg Lehni
80f4ba947f
First attempt at supporting JSPM.
...
Relates to #1104
2016-07-13 21:04:53 +02:00
Jürg Lehni
4df2dfb343
No need for npm prepublish now that we have the gulp publish task.
2016-07-09 23:49:11 +02:00
Jürg Lehni
a14e1e4c97
Replace extend() with Object.assign()
2016-07-09 23:36:11 +02:00
Jürg Lehni
bf2eada11c
Remove component.json and clean up package files a bit.
...
Component is not maintained anymore, per https://github.com/componentjs/component/issues/639
2016-07-09 21:31:25 +02:00
Jürg Lehni
a02f181c00
Release version 0.10.2
2016-07-09 21:04:37 +02:00
Jürg Lehni
1b1b9a1606
Gulp: Change publish task so that dist folder contains built versions on master branch.
...
As required by Bower...
2016-07-09 19:48:02 +02:00
Jürg Lehni
9fefa7dbf0
Release version 0.10.1
2016-07-09 17:17:22 +02:00
Jürg Lehni
e13300440e
Correct a few issues with documentation and NPM publishing that slipped through in the v0.10.0 release.
2016-07-09 17:13:15 +02:00
Jürg Lehni
0b31b5fdc6
Release version 0.10.0
2016-07-09 16:37:39 +02:00
Jürg Lehni
cbbc7f0bbc
Switch to husky for git precommit / prepush handling.
2016-07-09 16:28:08 +02:00
Jürg Lehni
7936ca6677
Update NPM dependencies.
2016-07-09 16:10:29 +02:00
Jürg Lehni
2667dc159e
Use pre-commit to lint code before commits, and pre-push to run tests.
2016-07-09 15:48:21 +02:00
Jürg Lehni
e15de78347
Update JSHint and fix some some hinting errors.
2016-07-09 14:32:01 +02:00
Jürg Lehni
cb4ffc7945
Update to latest gulp-qunits.
2016-07-03 14:13:50 +02:00
Jürg Lehni
df8969f1c4
Switch to jsdom v9.4.0 with native DOMParser support.
...
Closes #1093
2016-07-03 13:39:05 +02:00
Jürg Lehni
cfa215051d
Update to latest gulp-git-streamed and remove publish workaround code.
2016-07-03 12:17:37 +02:00