Commit graph

176 commits

Author SHA1 Message Date
Renée Kooi
165ca03416
update lockfile + depend explicitly on eslint-plugin-react
eslint-plugin-react is used by eslint-config-standard-preact, and is a
dependency of it. when eslint is run, it tries to
require('eslint-plugin-react') from the root of the project, which isn't
guaranteed to work (although npm hoisting will _normally_ let it work).
if we depend on it explicitly this will always work.
2019-04-24 11:42:11 +02:00
Kevin van Zonneveld
366a73a7f8 Regenerate lockfile, it was replaced by a package.json? 2019-04-23 23:00:56 +02:00
samuel ogundipe
1e79a6d643
Merge branch 'master' into examples_update 2019-04-17 15:54:37 +01:00
Artur Paikin
28fce1a137 Default locale for all plugins (#1443)
* first swing at building locale pack

* expose default locale on the plugin instance

* write a pretty en_US locale to a file, using stringify-object and template.js

* generated locale pack

* start adding a script that checks for unused locale strings

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* Update bin/build-locale-pack.js

* Console output improvements

* Also sort plugin locale keys

* Support dependencies when digging up sources

because e.g. 'emptyFolderAdded' is used in provider-views but set in Dashboard's defaultLocale

* More complex matching

So can can support cases like: `uppy.i18n(error.isAuthError ? 'companionAuthError' : 'companionError')`

* Remaining const defaultLocale -> this.defaultLocale

* Update packages/@uppy/locales/en_US.js

* Mock browser environment so all plugins can be instantiated

* Clean up output a bit

* Update bin/build-locale-pack.js

* Add all remaining plugin's locales to en_US bundle

* Update packages/@uppy/dashboard/src/index.js

* Update en_US.js

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* remove unused strings

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* Also write csv because that makes it real easy to import to friendlier places for translators /cc @arturi

* don’t set locale: this.defaultLocale — it overrides the lang pack

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* Add 'russian plural' for english, for consistency

Allows us to signal that this is possible in new target languages, and also run better linting

* Cleanup

* No longer write csv

* WIP for NL

* Create package.json

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* move locales to /src

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* ignore locales themselves

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* build minified locale packs

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* expose Uppy.locale = {} placeholder object

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* Update ru_RU.js

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* add locale bundles to example

Co-Authored-By: Kevin van Zonneveld <kevin@transloadit.com>

* Upload locales to cdn

* Allow to run tests with upload-to-cdn by setting a versionSuffix

* Move locale build to function, to make room for test()

* Bring ru_RU in sync with English

now that we've added 3 plural types across the board

* Document using locales as a consuming dev, and plugin dev

* Add linting for missing/excess locale strings

* Add the locales we had to remove to the legacy folder

and explain why they cannot make it back

* Move legacy outside of src so they are definitely not transpiled, etc

* Update packages/@uppy/locales/src/nl_NL.js

* Update website/src/docs/uppy.md
2019-04-17 13:34:23 +02:00
Ifedapo Olarewaju
11cb650401 point to latest tus-js-client (1.7.1 plus latest react-native support)
cc @arturi
2019-04-14 13:07:01 +01:00
samuel ogundipe
2b65ff2809
Merge branch 'master' into examples_update 2019-04-08 23:57:52 +01:00
Renée Kooi
5a5e54fd0f
Update lockfile [test] 2019-04-03 16:43:48 +02:00
Renée Kooi
e9f20282bc
Update a bunch of dependencies 2019-04-01 11:20:57 +02:00
samuelayo
d3e670213a add node xhr example 2019-03-28 15:30:02 +01:00
Kevin van Zonneveld
f1e6cc65ff
Provide clarity about what we can and cannot support (#1314)
* First swing at support page

* Add hexo-include-markdown

* Move CONTRIBUTING.md to .github

* Update .github/SUPPORT.md

* Channel issues in the  GitHub tracker

* Inject integration help MD into website

* Fix include_markdown path

* Inject CONTRIBUTING in the same fashion as support options

* Flesh out support policy

* Inject into website

* Tweaks

* Update website/update.js

* Update website/src/_template/support.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* iterating

* iterate

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update website/src/support.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update website/src/_template/integration_help.md

* iterate

* Migrate to a table

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* WIP

* wip

* Update website/src/_template/integration_help.md

* Update .github/ISSUE_TEMPLATE/integration_help.md

* Add touch module

* Replace shelling out to GNU `sed` with native node

* Update website/update.js

* Inject new .github copies

* Move the pricing table to the website only /cc @arturi

* Update website/src/support.md

* Update website/src/support.md

* Update .github/CONTRIBUTING.md

* Update website/src/_template/contributing.md
2019-03-20 17:38:15 +01:00
Artur Paikin
b6f53f862f Update package-lock.json 2019-02-22 19:11:42 +03:00
Artur Paikin
b66b6c0ceb npm audit 2019-02-15 22:17:22 +03:00
Renée Kooi
9b02bc71ff
Merge branch 'master' into feature/tl-preset 2019-01-31 16:02:36 +01:00
Artur Paikin
ea79f5ef9a pin dependecies to what we had in global package-lock 2019-01-29 16:40:45 +03:00
Artur Paikin
3a48c9f232 Update to tus-js-client@1.6.0 with React Native support 2019-01-23 19:26:05 +03:00
Renée Kooi
24ec8f81d5
Merge branch 'master' into feature/tl-preset 2019-01-21 10:55:27 +01:00
Renée Kooi
5800fe9ed6
Merge branch 'master' into feature/tl-preset 2019-01-17 16:54:44 +01:00
Artur Paikin
d88dd4089a
Update package-lock.json 2019-01-15 18:48:50 +03:00
Artur Paikin
f7b4463e0c
update package-lock.json 2019-01-15 11:34:41 +03:00
Renée Kooi
a7d72bd3fc
lockfile update 2019-01-14 14:09:13 +01:00
Renée Kooi
74b9e7eaf3
companion: Update morgan dependency, fixes #1227 2019-01-07 15:05:07 +01:00
Renée Kooi
5699e5962b
Add typescript integration test. 2018-12-20 14:52:57 +01:00
Renée Kooi
aa9bb5d154
Fun times with lockfile 2018-12-20 14:50:51 +01:00
Renée Kooi
aa175d24b5
Merge branch 'master' into feature/tl-preset 2018-12-20 14:25:55 +01:00
Artur Paikin
eda61b37e3 npm fix vulnerabilities 2018-12-19 16:07:45 +03:00
Renée Kooi
f4fb4971b8
Fix lerna deps for preset/wrapper. 2018-12-13 16:21:10 +01:00
Renée Kooi
1a0878a851
Merge pull request #1131 from mattes3/master
Make Uppy's React components usable from Typescript
2018-12-10 15:50:12 +01:00
Artur Paikin
fe7b02b88a add es6-promise and whatwg-fetch to Uppy bundle (CDN version) 2018-12-06 16:39:50 +03:00
Matthias Bohlen
3ec9afc36d Merge from upstream repo, resolving conflicts. 2018-11-12 12:14:06 +01:00
Renée Kooi
62240aa4c1
Update deps so build works on Node 11 2018-11-05 10:50:43 +01:00
Matthias Bohlen
fce440ae9a Add missing dev dependency '@types/react'. 2018-11-04 19:20:47 +01:00
Renée Kooi
ae80ae668c
Update lerna. 2018-10-29 13:33:14 +01:00
Renée Kooi
a67a558eec
Working test
Add tests for thumbnail:* events.

Show build output

Try adding a non image file?

fixes

Add -b flags to local acceptance tests

fix hanging thumbnail test

Add a corrupt image

revoke

Require passing integration tests

extended debugging?

Try more browser versions

it helps to pick a browser that's available

sort stuff in .travis.yml and add whitespace for easier navigation

[REVERT BEFORE MERGE] only run acceptance tests on this pr

make sure lerna publishes stuff to local

do git tag version during integration test

update lerna

fix install / bootstrap execution order

?

--no-ci

dont do npm ls because it errors with lerna

set a git branch name

blehbleh

ughhhhhhhhhhhh

onerror?

no onerror i guess

onerror 2

Revert "onerror 2"

This reverts commit 64d88551fa1cd337b27e25d16a604dd781a15b43.

onerror 3

more debug data

disable browsers that work

fix syntax for older browsers

thumbnails suite

check different edge versions

abc

use addeventlistener for error, which is different from onerror

no clue

skip thumb test in edge or whatever

Re enable other browsers.

re enable tasks

fix edge skip

this one was intentionally disabled

Remove debug leftovers

edge → supportschoosefile

:ready → :all-generated
2018-10-01 15:18:49 +02:00
Renée Kooi
001b9a45fa
minor lockfile tweaks 2018-09-20 12:11:00 +02:00
Artur Paikin
df64f62be8 try and update package-lock.json again 2018-09-12 15:56:40 -04:00
Artur Paikin
18a9ba33f8 Merge branch 'improvement/resize-observer' of https://github.com/transloadit/uppy into improvement/resize-observer 2018-09-12 15:36:13 -04:00
Artur Paikin
7e63e3822a Add resize-observer-polyfill to @uppy/dashboard/package.json and update package-lock.json 2018-09-12 15:20:29 -04:00
Artur Paikin
c6716c2d95 update package-lock 2018-09-12 00:09:38 -04:00
Artur Paikin
b0d9490d90 Replace updateDashboardElWidth with ResizeObserver 2018-09-11 17:28:36 -04:00
Renée Kooi
20548b06c5
small lockfile diff 2018-08-30 14:26:04 +02:00
Renée Kooi
b0d8d0f998
Add a version to root package.json so tools don't display undefined 2018-08-27 13:48:38 +02:00
Renée Kooi
4c67f4c685
Remove root uppy-server dependency. 2018-08-16 16:12:29 +02:00
Renée Kooi
784c8d3e6d
update lerna maybe? 2018-08-16 11:49:26 +02:00
Renée Kooi
9242ad95b5
Fix local registry plez 2018-08-16 11:40:11 +02:00
Renée Kooi
328cd83d44
Update build deps. 2018-08-13 12:29:59 +02:00
Artur Paikin
e3c485923d update dependecies 2018-08-11 22:01:16 +01:00
Renée Kooi
9b1821a263
Update lockfile. 2018-07-23 17:05:47 +02:00
Renée Kooi
51dfe57b7c
Upgrade jest. 2018-07-23 15:56:25 +02:00
Renée Kooi
9bac018ec8
Update lockfile. 2018-07-23 11:11:33 +02:00
Ifedapo Olarewaju
96388449f6 refactor: use single eslint command 2018-07-22 18:53:57 +01:00