Commit graph

19 commits

Author SHA1 Message Date
Renée Kooi
7b2283d8ef
examples: add npm run example script
a bad result from adding the examples as dependencies of the root
repository is that they now don't have access to the npm binaries they
need to run in their own folder, because they are installed into the
root repository instead.

this works around that issue.

we may need to consider undoing that change and making the examples work
as standalone projects again, that's easier to understand.

fixes #2024 for now.
2020-01-15 11:16:56 +01:00
ifedapoolarewaju
9b90c808b5
companion: set Access-Control-Allow-Credentials only when request origin is whitelisted 2019-10-21 08:41:20 +01:00
Renée Kooi
10bc79574e
lerna link convert (#1730)
* lerna link convert

* ci: use npm ci

* update lockfile

* companion: set `bin` to source file

Since typescript doesn't actually transform anything, we can just use
this.

In a next major version we could set `noEmit: true` in the tsconfig and
stop publishing `lib`.

* companion: do chmod +x on start-server.js

* build: remove obsolete lerna config

* build: explicitly install latest versions when building e2e tests for ci

* Remove versions from private packages

* fix regex

* try fix

* ci: force npm to install to endtoend folder

* ci: fold up e2e build output

* Update netlify deploy preview command

* Remove mentions of npm run bootstrap

* Edit .github/CONTRIBUTING.md instead

* companion: add proxy executable

* companion: fix publish

* Downgrade jest to appease create-react-app
2019-07-19 12:16:36 +02:00
Renée Kooi
513ba53c37
examples: mention that you need to install & bootstrap 2019-06-03 13:53:56 +02:00
Renée Kooi
f97b3931bb
Upgrade eslint. 2019-05-20 11:28:44 +02:00
Renée Kooi
2574d1251c
Update babel in examples 2019-05-20 11:27:04 +02:00
Ifedapo Olarewaju
adeb2fecfa update docs, tests, and examples with companionUrl rename 2019-04-15 14:56:37 +01:00
Kevin van Zonneveld
67af833fdb
More uppy server -> companion renames (#1037)
* Some uppy server -> companion renames

* Fix typos

* Implement most of @goto-bus-stop's feedback

* Nuke Create React App readme

* An Companion -> A Companion

* Companion server -> instance
2018-09-03 14:48:03 +02:00
Renée Kooi
8b7340a8bc
Fixes to custom provider example. 2018-08-16 15:55:53 +02:00
Renée Kooi
b662706a76
Update @uppy/companion path in custom-provider example. 2018-08-13 15:59:29 +02:00
Renée Kooi
6cdc7edd60
Use in-tree @uppy/companion in Custom Provider example 2018-08-13 12:38:06 +02:00
Renée Kooi
a6594a92c8
examples: Update custom-provider deps. 2018-08-13 12:36:27 +02:00
Ifedapo Olarewaju
f2ee127e81 rename 'server-utils' to 'companion-client' 2018-07-22 18:53:57 +01:00
Artur Paikin
fd5294c40a update docs, examples and tests to not set autoProceed: false, since that’s the default now 2018-07-15 23:35:44 -04:00
Renée Kooi
72689d01ac
Export Plugin class from @uppy/core. 2018-06-28 12:20:21 +02:00
Renée Kooi
a4822ee90d
Update require() paths in examples. 2018-06-18 11:45:40 +02:00
Ifedapo Olarewaju
c48c8fcb70 refactor: rename host option to serverUrl 2018-06-14 02:37:59 +01:00
Renée Kooi
37768e1531
core: Remove .run(). 2018-04-30 12:17:13 +02:00
Ifedapo Olarewaju
faa6fbf54e add custom provider example 2018-04-09 23:12:41 +01:00