Renée Kooi
68b4529ec7
Add object rest spread transform
...
Object rest spread was standardised this year so it's safe to use. It
has shipped in major browsers and Node. Because Uppy uses immutable
state we can make a lot of gains in terseness and readability by using
the new object syntaxes, I think.
I updated one place where we were using Object.assign; I think we can
merge it like this first and then update the other places when we are
changing stuff there anyway.
2018-07-16 14:28:55 +02:00
Renée Kooi
36e5a82393
Use a single typescript config for all types tests.
2018-06-28 16:30:24 +02:00
Renée Kooi
1588b9d8bf
Add types tests for @uppy/core.
2018-06-28 16:30:10 +02:00
Renée Kooi
8977ab6e65
Update dependencies to latest matching versions.
2018-06-28 11:20:35 +02:00
Renée Kooi
c84663322a
Fix many security warnings using npm audit fix
2018-06-28 11:13:31 +02:00
Renée Kooi
94cad18179
Update onchange to v4.
2018-06-28 11:09:25 +02:00
Renée Kooi
be0c7a10d5
Update redux to v4.
2018-06-28 11:07:47 +02:00
Renée Kooi
c0e6b810b0
Update chalk to v2.
2018-06-28 11:06:55 +02:00
Renée Kooi
7fc765f85a
Remove sass, we are using node-sass instead.
2018-06-28 11:06:19 +02:00
Renée Kooi
b6a0e345f6
Remove next-update.
2018-06-28 11:05:33 +02:00
Renée Kooi
f0abc46649
Update browserify to v16.
2018-06-28 11:03:09 +02:00
Artur Paikin
98f064e197
fix bundled example with absolute paths for now, fix build:css
2018-06-27 18:20:23 -04:00
Renée Kooi
6e9b058641
Merge branch 'master' into feature/lerna
2018-06-25 17:50:19 +02:00
Artur Paikin
cc4ad1252b
Release 0.25.6
2018-06-25 11:44:54 -04:00
Artur Paikin
0c2d66e8ac
add types to uppy npm package
2018-06-25 11:31:46 -04:00
Artur Paikin
505a2325d9
Merge branch 'feature/lerna' of https://github.com/transloadit/uppy into feature/lerna
2018-06-25 11:21:11 -04:00
Artur Paikin
17b6a919f6
build:lib in web:preview
2018-06-25 11:20:57 -04:00
Renée Kooi
2bf3a76c6a
Use lerna bootstrap --hoist.
...
This installs dependencies of individual packages to the root folder
when possible. This way we don't install 10 copies of preact during
development.
2018-06-25 16:23:56 +02:00
Renée Kooi
811ed885c6
Add Promise polyfill in integration tests.
2018-06-21 16:07:01 +02:00
Renée Kooi
8dd80b3cb9
Update release script.
2018-06-21 16:00:20 +02:00
Renée Kooi
73e8c0d50e
Use verdaccio to simulate publishes before integration tests.
2018-06-21 13:54:10 +02:00
Renée Kooi
abb9ae06b4
Remove dependencies from root package.json.
...
This also removes the es6-promise transform because the peer dependency
is no longer matched.
2018-06-18 15:44:33 +02:00
Renée Kooi
c68599dee9
Make integration tests run with new package setup
...
Unfortunately had to undo the `npm pack` PR for this for now :(
2018-06-18 15:30:56 +02:00
Renée Kooi
e5830c46d8
Use .eslintignore per @kvz suggestion
2018-06-18 15:06:09 +02:00
Renée Kooi
a0fd2d3d29
Split up typescript definitions.
...
Also add the type tests to our `npm test` script.
2018-06-18 14:59:08 +02:00
Renée Kooi
b14543a61f
Copy root readme to uppy package before release.
2018-06-18 13:30:24 +02:00
Renée Kooi
86a1626dfa
Remove package related things from root package.json.
2018-06-18 13:15:11 +02:00
Renée Kooi
2c67c89b8d
Small build fixes.
2018-06-18 12:41:28 +02:00
Renée Kooi
6e24d0e4c9
Update build scripts.
2018-06-18 11:33:45 +02:00
Renée Kooi
c0b12819b1
Lint packages/*/src.
2018-06-18 10:00:52 +02:00
Renée Kooi
a133a592d7
Use @uppy packages in bundled-example.
2018-06-14 16:31:19 +02:00
Renée Kooi
3027686f64
Add npm prepare script for lerna.
2018-06-14 16:31:19 +02:00
Renée Kooi
8b1bae796d
Add Babel build script for Lerna.
...
Builds packages/*/src/**/*.js into packages/*/lib/**/*.js, ignoring
tests.
2018-06-14 16:31:19 +02:00
Renée Kooi
423a5e7802
Hello Lerna
...
Initialise lerna with independent versioning.
```shell
npm install --save-dev lerna
npx lerna init --independent
```
2018-06-14 16:31:19 +02:00
Renée Kooi
3bf3de2b8c
Merge pull request #905 from transloadit/rename-host-option
...
refactor: rename host option to serverUrl
2018-06-14 12:46:14 +02:00
Renée Kooi
1c82426f82
Update uppy-server to v0.13.
2018-06-14 12:32:19 +02:00
Artur Paikin
d4fbe392c0
Merge branch 'master' into feature/split-utils
2018-06-14 00:39:25 -04:00
Artur Paikin
78689f49ca
Release 0.25.5
2018-06-13 15:27:31 -04:00
Artur Paikin
994deb950e
Release 0.25.4
2018-06-13 11:26:28 -04:00
Artur Paikin
c3f27a69c4
Release 0.25.3
2018-06-12 17:13:08 -04:00
Renée Kooi
6307187914
s3: Don't set uploadURL when success_action_status was missing ( #900 )
...
* s3: Do not return an uploadURL if S3 doesn't give us one.
* xhrupload: Add test for `this` inside getResponseData()
Because the S3 plugin depends on this now, but it might be easy to miss
if we changed that behaviour in the future.
* Remove debug logs in XHRUpload test.
* Log a warning if success_action_status is (probably) missing.
2018-06-12 09:56:03 +02:00
Renée Kooi
7ba472eaac
Ignore test files during build:lib.
2018-06-11 10:46:32 +02:00
Renée Kooi
7a53b72893
Add eslint-plugin-compat.
...
Some new features are obvious, like Promises and fetch, but for some
smaller features we don't always know if they're supported everywhere.
eslint-plugin-compat, however, does :)
It will log an error if we use anything that is not supported in IE 10
or recent versions of Chrome/Edge/Firefox/Safari. Features can be
whitelisted by adding them to the `polyfills` setting in the eslint
config; this is nice, because it gives us an easy list of features that
users may have to polyfill without having to comb through all of the
code!
2018-06-07 13:17:01 +02:00
Artur Paikin
6ec4912665
Release 0.25.2
2018-06-05 20:33:02 -04:00
Artur Paikin
708c722c95
Release 0.25.1
2018-06-05 17:50:41 -04:00
Renée Kooi
5c7a23cc65
Include custom hexo scripts in lint.
2018-06-04 13:42:12 +02:00
Artur Paikin
218577cc0f
Release 0.25.0
2018-06-01 00:38:06 -04:00
Artur Paikin
077c655c9b
Merge pull request #834 from taoqf/master
...
add typedefinition
2018-05-31 15:14:04 -04:00
Renée Kooi
8016d5378d
Add tests for mounting/unmounting React components.
2018-05-28 14:38:39 +02:00
taoqf
869809d7a2
Merge remote-tracking branch 'gh/master'
2018-05-16 08:58:36 +08:00