Commit graph

44 commits

Author SHA1 Message Date
Artur Paikin
b8b4127bd5 Release 2021-10-14 21:58:29 +01:00
Antoine du Hamel
55e0ffd04a
Add retext to markdown linter (#3024)
* remark-lint-uppy: use `retext` to improve doc syntax and grammar

* WIP: start fixing fixing linter errors

* Remove `retext-passive` as I don't see what's wrong with passive voice

* Remove URL plugin, add emphasis/strong marker plugin

* Fix remark settings to avoid conflicts

* WIP: more auto-fixes

* remark-simplify: allow `option`

* zoom.md

* url.md

* vue.md

* tus.md

* webcam.md

* xhrupload.md

* writing-plugins

* thumbnail-generator

* svelte

* react-dragdrop

* stores

* do not over simplify

* statusbar

* robodog

* robodog-upload

* robodog-picker

* robodog-form

* robodog-dashboard

* redux

* privacy

* uppy.md

* transloadit.md

* react-native

* react-initializing

* react-fileinput

* providers

* progressbar

* plugins

* plugin-common-options

* onedrive

* locales

* instagram

* informer

* index

* google-drive

* golden-retriever

* form

* fileinput

* facebook

* dropbox

* drop-target

* dragdrop

* remark-lint-no-unneeded-full-reference-link

* Try to setup unified-message-control

* Upgrade deps

* Fix collapsed link references with inline code

* Revert "remark-lint-no-unneeded-full-reference-link"

This reverts commit ca375f463b771bc81d0868f4d84f5979823cfc0a.

* remark-lint-uppy: add missing `"main"` field

* Update package-lock.json

* add disable comments

* fixup! xhrupload.md

* writing-plugins

* unsplash

* tus

* stores

* migration-guide

* dashboard

* community-projects

* box

* integration_help

* blog posts

* companion

* aws-s3

* aws-s3-multipart

* remark-lint-uppy README

* website/inject

* BUNDLE-README

* READMEs

* architecture

* move Remark settings to the plugin

* add `listItemIndent` setting

* list indent fix

* fix ignored files

* revert changelog changes

* fixup! architecture

* Revert changes in ignored files

* Remove unnecessary HTML tags from READMEs
2021-10-14 16:10:45 +02:00
Antoine du Hamel
1eb317ba3a Release 2021-10-06 15:55:29 +02:00
Murderlon
ab771cbe1c
Release 2021-08-24 16:13:19 +02:00
Antoine du Hamel
6b7ad5e7c7
Stricter linter (#3095)
* enforce some eslint rules

* enforce accessibility linter rules

* harden lint rules with only 1 or 2 warnings

* fix remaining rules with less than 3 warnings

* fix e2e tests

* fix remaining rules with less than 4 warnings

* fix remaining rules with less than 6 warnings

* fix `shuffleTaglines`

* fix companion build
2021-08-17 20:32:57 +02:00
Artur Paikin
113b627dd0 Release 2021-08-02 22:38:11 +01:00
Antoine du Hamel
5630f7dc07
tools: enable linter for TypeScript (#2997)
* tools: enable linter for TypeScript files and code snippets

* types: remove remaning namespaces

* tools: remove unused Babel decorator plugin
2021-07-13 14:28:14 +02:00
Artur Paikin
a8003c873e
core: force new keyword (#2949)
* Force Uppy initialization with new keyword, remove run()

* update some types

* update docs and examples

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

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

* Update packages/@uppy/core/types/index.d.ts

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>

* add new in tests

* Move all types to ESM syntax and fix all issues

* Add back e2e build script and revert uppy docs commit

Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Murderlon <merlijn@soverin.net>
2021-07-08 19:02:13 +01:00
Antoine du Hamel
c48064ba56
doc: lint JS code snippets (#2954)
* doc: lint JS code snippets

* deps: update `lint-staged` deps

* Fix remaining lint warnings and errors

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-07-04 19:32:50 +02:00
Antoine du Hamel
56c86e2f18
doc: use ESM syntax in code snippets (#2953)
In preparation for a future release of Uppy which drop support for
CommonJS, we should start nudging our users to use ESM syntax.

Fixes: https://github.com/transloadit/uppy/issues/2951
2021-06-22 10:30:24 +02:00
Artur Paikin
23e4a537a6 Release 2021-05-28 11:54:17 +01:00
Artur Paikin
1751241362 Release 2021-03-31 23:59:08 +01:00
Kevin van Zonneveld
764c2ccada
Update Linter (#2796)
* relocate .vscode

* Switch to transloadit linter

* Update .eslintrc.json

* autofix code

* unlink and install eslint-config-transloadit@1.1.1

* Change 0 to "off"

* Don't change 'use strict'

* Do not vertically align

* disable key-spacing

* add import/no-extraneous-dependencies per package

* add more react/a11y warnings

* Revert "autofix code"

This reverts commit 14c8a8cde8.

* add import/no-extraneous-dependencies per example and main package

* autofix code (2)

* Allow devDependencies in ./bin

* Change import/no-extraneous-dependencies to warn again

* upgrade linter

* Set import/no-extraneous-dependencies to warn
2021-03-15 16:25:17 +00:00
Artur Paikin
e1efe07927 Release 2021-01-27 16:22:43 +00:00
Renée Kooi
c81780230d
Add all the CI badges (#2725)
* Add all the CI badges

* flip the CI / npm version order

* add github actions tests badges to all package readmes

* remove |

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-01-13 00:30:59 +00:00
ifedapoolarewaju
7bf5ca55a7
Release 2020-09-07 12:40:44 +01:00
Andrew
0533357d61
Remove the --save flag (#2503) 2020-09-04 14:32:21 +02:00
ifedapoolarewaju
36ab6f1d49
Release 2020-07-30 15:52:20 +01:00
Renée Kooi
2d91641ddd
Release 2020-07-29 16:50:45 +02:00
Renée Kooi
8c826313b6
A few docs things (#2371) 2020-07-29 12:17:27 +02:00
Artur Paikin
2c98271103 Release 2020-02-14 23:17:48 +01:00
Renée Kooi
be66c47deb
Actually check types (#1918)
* types: stronger typings

* Remove remaining `declare module` things for uppy.use

* Format types standard-style-like

* Add `target` properties to plugin typings

* Add type for `replaceTargetContent` option

* xhr-upload: allow lowercase method

* opt in to stricter typechecks

* use the strictly typed version in all typings tests

* endtoend: use strict types in typescript test

* Add some comments to the typings file so IDEs will warn about untyped use()

* informer: remove obsolete option from typings

* react: generate prop types based on actual options types

* react: update types

* react: fix import in typings test

* companion-client: add `pluginId` property to ProviderOptions type

Co-Authored-By: Ifedapo .A. Olarewaju <ifedapoolarewaju@gmail.com>

* core: remove some `any` types

* *: add locale string types

* *: generate locale typings

* core: fix LocaleStrings<> type

* dashboard: add locale string type tests

* tus: inherit options typings from tus-js-client

* transloadit: add missing options types

* ci: do the required build steps before testing typings

* Support TokenStorage in types, add `title?: string` options

* form: update typings

* types: put TokenStorage type in dependents

* Document Uppy.StrictTypes

* if we pin at least we should use the latest

* Allow document.querySelector

I think it's a eslint-plugin-compat bug that it's marking querySelector
as not available in Android Chrome 78.

Co-authored-by: Ifedapo .A. Olarewaju <ifedapoolarewaju@gmail.com>
2020-02-12 16:22:09 +01:00
Artur Paikin
056a7114a1 Release 2019-08-30 15:24:04 +03:00
Renée Kooi
c62ec3665d Update eslint to v6 (#1777)
* Update eslint

* Do eslint --fix

* Do not access Object.prototype method 'hasOwnProperty' from target object

* utils: add hasProperty

* eslint --fix

* Disable quote-props for locale files

* add back quotes in locale files

* revert locale files to state on master

* Update react-scripts
2019-08-13 21:45:30 +03:00
Artur Paikin
28d235fe2f Release 2019-06-05 19:07:20 +03:00
Renée Kooi
980210f76c
Add VERSION properties to all plugins.
And remove the proposal-object-rest-spread plugin because it is built
into preset-env now.
2019-05-27 16:53:47 +02:00
Renée Kooi
1407763f5f
Fix more type import cycles 2019-05-20 11:31:21 +02:00
Artur Paikin
27899d944f Release 2019-03-08 20:47:42 +03:00
Renée Kooi
fd6734be4d
docs: update webpack homepage URLs 2019-03-04 13:43:37 +01:00
Artur Paikin
f94bc77deb Publish
- uppy@0.30.2
 - @uppy/aws-s3-multipart@0.30.2
 - @uppy/aws-s3@0.30.2
 - @uppy/companion-client@0.28.2
 - @uppy/companion@0.17.2
 - @uppy/core@0.30.2
 - @uppy/dashboard@0.30.2
 - @uppy/drag-drop@0.30.2
 - @uppy/dropbox@0.30.2
 - @uppy/file-input@0.30.2
 - @uppy/form@0.30.2
 - @uppy/golden-retriever@0.30.2
 - @uppy/google-drive@0.30.2
 - @uppy/informer@0.30.2
 - @uppy/instagram@0.30.2
 - @uppy/progress-bar@0.30.2
 - @uppy/provider-views@0.30.2
 - @uppy/react@0.30.2
 - @uppy/redux-dev-tools@0.30.2
 - @uppy/robodog@0.30.2
 - @uppy/status-bar@0.30.2
 - @uppy/store-default@0.28.2
 - @uppy/store-redux@0.28.2
 - @uppy/thumbnail-generator@0.30.2
 - @uppy/transloadit@0.30.2
 - @uppy/tus@0.30.2
 - @uppy/url@0.30.2
 - @uppy/utils@0.30.2
 - @uppy/webcam@0.30.2
 - @uppy/xhr-upload@0.30.2
2019-02-22 22:43:58 +03:00
Artur Paikin
a5c39e9a35 Release 2019-02-21 19:09:22 +03:00
Artur Paikin
4dcef4c3b9 Release 2019-02-15 23:55:18 +03:00
Artur Paikin
3ddf4c7548 Release 2019-01-15 19:21:04 +03:00
Artur Paikin
9fce77830b
Remove jsnext:main since it’s been deprecated
https://github.com/stereobooster/package.json#jsnextmain
2019-01-15 18:22:15 +03:00
Renée Kooi
b869e7caf4
Add typings tests to Store modules. 2018-12-20 14:51:42 +01:00
Renée Kooi
3710b19e1b
Use export = in @uppy/core typings. 2018-12-20 14:51:42 +01:00
Matthias Bohlen
c8cb89bde0 Convert to "export =" everywhere because...
...the *.js source files use "module.exports = " instead of
"export default".
2018-11-12 12:05:54 +01:00
Artur Paikin
400329e632 Release
- uppy@0.27.0
 - @uppy/aws-s3-multipart@0.27.0
 - @uppy/aws-s3@0.27.0
 - @uppy/companion-client@0.27.0
 - @uppy/companion@0.14.0
 - @uppy/core@0.27.0
 - @uppy/dashboard@0.27.0
 - @uppy/drag-drop@0.27.0
 - @uppy/dropbox@0.27.0
 - @uppy/file-input@0.27.0
 - @uppy/form@0.27.0
 - @uppy/golden-retriever@0.27.0
 - @uppy/google-drive@0.27.0
 - @uppy/informer@0.27.0
 - @uppy/instagram@0.27.0
 - @uppy/progress-bar@0.27.0
 - @uppy/provider-views@0.27.0
 - @uppy/react@0.27.0
 - @uppy/redux-dev-tools@0.27.0
 - @uppy/status-bar@0.27.0
 - @uppy/store-default@0.27.0
 - @uppy/store-redux@0.27.0
 - @uppy/thumbnail-generator@0.27.0
 - @uppy/transloadit@0.27.0
 - @uppy/tus@0.27.0
 - @uppy/url@0.27.0
 - @uppy/utils@0.27.0
 - @uppy/webcam@0.27.0
 - @uppy/xhr-upload@0.27.0
2018-08-11 22:29:46 +01:00
Renée Kooi
f9a9762dfa
Release
- uppy@0.26.0
 - @uppy/aws-s3-multipart@0.26.0
 - @uppy/aws-s3@0.26.0
 - @uppy/core@0.26.0
 - @uppy/dashboard@0.26.0
 - @uppy/drag-drop@0.26.0
 - @uppy/dropbox@0.26.0
 - @uppy/file-input@0.26.0
 - @uppy/form@0.26.0
 - @uppy/golden-retriever@0.26.0
 - @uppy/google-drive@0.26.0
 - @uppy/informer@0.26.0
 - @uppy/instagram@0.26.0
 - @uppy/progress-bar@0.26.0
 - @uppy/provider-views@0.26.0
 - @uppy/react@0.26.0
 - @uppy/redux-dev-tools@0.26.0
 - @uppy/server-utils@0.26.0
 - @uppy/status-bar@0.26.0
 - @uppy/store-default@0.26.0
 - @uppy/store-redux@0.26.0
 - @uppy/thumbnail-generator@0.26.0
 - @uppy/transloadit@0.26.0
 - @uppy/tus@0.26.0
 - @uppy/url@0.26.0
 - @uppy/utils@0.26.0
 - @uppy/webcam@0.26.0
 - @uppy/xhr-upload@0.26.0
2018-06-28 17:12:13 +02:00
Renée Kooi
5d9abc518c
Fix version numbers 2018-06-28 15:41:15 +02:00
Renée Kooi
1222873698
Remove unnecessary declare module wrappers from .d.ts files. 2018-06-18 16:22:15 +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
8d2b6a8a05
Insert missing documentation links. 2018-06-18 13:20:19 +02:00
Renée Kooi
045bf2e886
Move DefaultStore to @uppy/store-default package.
Steps taken:

```bash
cp -R package-template packages/@uppy/store-default
git mv src/store/DefaultStore.js packages/@uppy/store-default/src/index.js
git mv src/store/DefaultStore.test.js packages/@uppy/store-default/src/index.test.js
vim src/core/Core.js # update the require() call
vim packages/@uppy/store-default/src/index.test.js # update the require() call
```
2018-06-14 16:31:19 +02:00