Commit graph

655 commits

Author SHA1 Message Date
Antoine du Hamel
4cc89594e7 meta: upgrade Yarn to 3.1.0 (#3278) 2021-10-27 17:53:07 +02:00
Antoine du Hamel
70ada39c2f
meta: upgrade ESLint to v8.0.0 (#3251)
* meta: upgrade ESLint to v8.0.0

Forcing `@typescript-eslint/experimental-utils` resolution to `5.0.0` to work around the Angular linter bug. This can be removed when we move to Angular 13.

* Remove unnecessary entries from `.eslintignore`

- `private/remark-lint-uppy/index.js`: ESLiint v8 supports TLA
- `website/private_modules/hexo-renderer-uppyexamples/node_modules/**`:
  all `node_modules` folder are ignored anyway.
2021-10-25 15:53:46 +02:00
Antoine du Hamel
01d7ea13e9
meta: use Yarn v3 instead of npm (#3237)
* meta: use Yarn v3 instead of npm

* Update CONTRIBUTING.md to fix linter errors

* remove remaining npm commands

* Update deps
2021-10-20 15:16:59 +02: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
Artur Paikin
dbe3ed25b3
build: add stylelint (#3124)
* add stylelint with stylelint-config-standard

* autofix style issues

* fix more linting issues

* add stylelint-scss

* fix two more

* add stylelint-config-rational-order and autofix order

https://github.com/constverum/stylelint-config-rational-order
2021-08-24 01:37:57 +01:00
Antoine du Hamel
5b45684ed2
build: fix legacy bundle (#3112)
The legacy bundle was missing `regenerator-runtime` dependency and
was not defining `Uppy` global.
2021-08-17 20:14:05 +02:00
Antoine du Hamel
4bbd3b97b6 build: Add @babel/plugin-proposal-nullish-coalescing-operator babel plugin
Forces Babel to transplile `??` to ES6 syntax.
2021-08-02 16:12:14 +02:00
Antoine du Hamel
9b0d25068d
build: fix building on Node.js v14.x LTS (#3061) 2021-08-02 12:36:25 +01:00
Artur Paikin
172cc77f63 Merge master 2021-07-30 14:27:21 +01:00
Antoine du Hamel
823453a3d6
build: remove @babel/polyfill in favor of core-js@3 (#3025)
Also removes Babel plugin that have been merged in `@babel/preset-env`
from our dependencies.

Also switch back to the default value for the `modules` options:

> Setting this to false will preserve ES modules. Use this only if you
> intend to ship native ES Modules to browsers. If you are using a
> bundler with Babel, the default modules: "auto" is always preferred.

Refs: https://babel.dev/docs/en/babel-preset-env#options
Refs: https://github.com/zloirock/core-js/blob/HEAD/docs/2019-03-19-core-js-3-babel-and-a-look-into-the-future.md
2021-07-19 23:21:25 +02:00
Antoine du Hamel
ef61514e7b
ci: update Webdriverio packages (#3027)
- Move endtoend specific deps to a sub-package
- Upgrade to Webdriverio 7
- Re-enable Safari testing
- Disable Android as it seems to be offline
- Fix resulting TS type conflict between `@types/mocha` and `@types/jasmine`
2021-07-19 23:20:35 +02:00
Renée Kooi
34f08cdb5f
Fix lint warnings in bin/locale-packs.js (#3028) 2021-07-19 12:39:08 +02:00
Antoine du Hamel
d40b5241db
core: remove more IE hacks (#3015)
We can now use `Object.fromEntries`, `Object.values`, and `Symbol`.
Also changes polyfill suggestion for legacy browsers to use `core-js`
which includes almost all we need and more.
2021-07-16 09:27:51 +02:00
Antoine du Hamel
fdd73d8df8
test: fix end2end test suite (#3008)
* @uppy/angular: fix `rxjs` dependency version conflict

* @uppy/companion: re-enable types checks on build

* test: fix undefined global var

* types: fix `Core` export

* examples/dev: add `browser-sync` as dependency
2021-07-14 14:10:20 +02: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
Andrew
1f733e17e5
angular: Fix broken packaging (#3007) 2021-07-13 13:15:19 +01:00
Antoine du Hamel
d611139795 @uppy/angular: upgrade to Angular 12.1 2021-07-09 12:33:44 +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
3a2dfa9c9a deps: revert back to ^
This commit mostly reverts c943711428
2021-07-07 17:25:47 +02:00
Antoine du Hamel
367ec50991 deps: remove unused cheerio-select-tmp 2021-07-07 17:21:38 +02:00
Antoine du Hamel
d2a4c9e844 deps: remove unused karma-* 2021-07-07 16:53:36 +02:00
Antoine du Hamel
79611cc8df deps: update browserify to v17 2021-07-07 16:53:00 +02:00
Antoine du Hamel
ce5414d3b8 deps: upgrade eslint plugins 2021-07-07 16:53:00 +02:00
Antoine du Hamel
0e8ab0d6d1 deps: upgrade adm-zip to v0.5 2021-07-07 16:53:00 +02:00
Antoine du Hamel
d6fb14dfb1 deps: upgrade typescript version 2021-07-07 16:53:00 +02:00
Antoine du Hamel
135c64a263 deps: upgrade verdaccio to v5 2021-07-07 15:49:43 +02:00
Antoine du Hamel
7f6c3fcc46 deps: upgrade tsd to v0.17 2021-07-07 15:49:43 +02:00
Antoine du Hamel
d01422937e deps: update temp-write to v5 2021-07-07 15:49:42 +02:00
Antoine du Hamel
2a15122881 deps: upgrade tar to v6 2021-07-07 15:49:42 +02:00
Antoine du Hamel
def967d5ee deps: upgrade remark-cli to v9 2021-07-07 15:49:42 +02:00
Antoine du Hamel
431f437d18 deps: upgrade pacote to v11 2021-07-07 15:49:42 +02:00
Antoine du Hamel
91f056e9e7 deps: upgrade onchange to v7 2021-07-07 15:49:42 +02:00
Antoine du Hamel
047261ca83 deps: upgrade npm-packlist to v2 2021-07-07 15:49:42 +02:00
Antoine du Hamel
115fa101f1 deps: upgrade nodemonto v2 2021-07-07 15:49:42 +02:00
Antoine du Hamel
469e2e5dfc deps: update lerna to v4 2021-07-07 15:49:42 +02:00
Antoine du Hamel
95a8d871e9 deps: remove execa and refactor update-contributors script 2021-07-07 15:49:42 +02:00
Antoine du Hamel
51af8668f2 deps: update cssname to v5 2021-07-07 15:49:42 +02:00
Antoine du Hamel
8e28335460 deps: upgrade chalk to v4 2021-07-07 15:49:42 +02:00
Antoine du Hamel
0481f5d9b9 deps: update autoprefixer to v10 2021-07-07 15:49:42 +02:00
Antoine du Hamel
f251c5705c deps: remove unused webpack deps 2021-07-07 15:49:42 +02:00
Antoine du Hamel
96b9e74f7e deps: upgrade webdriverio to v7 2021-07-07 15:49:42 +02:00
Antoine du Hamel
f3b90b0726 deps: re-organize React dependencies 2021-07-07 15:49:42 +02:00
Antoine du Hamel
06d5b3e254 deps: remove mkdirp in favor of the built-in fs.mkdir 2021-07-07 15:49:39 +02:00
Antoine du Hamel
811acddfa3 deps: remove unused json3 2021-07-07 15:48:42 +02:00
Antoine du Hamel
d5d34fd12a deps: upgrade isomorphic-fetch 2021-07-07 15:48:23 +02:00
Antoine du Hamel
0964e9a169 deps: upgrade globby 2021-07-07 15:48:23 +02:00
Antoine du Hamel
b7e939d1d7 deps: upgrade fakefile 2021-07-07 15:48:23 +02:00
Antoine du Hamel
51f28ab95c deps: upgrade exircist 2021-07-07 15:48:23 +02:00
Antoine du Hamel
e4c53bdad7 deps: remove rimraf in favor of built-in fs.rm 2021-07-07 15:48:23 +02:00
Antoine du Hamel
bbf04e4bdb test: update jest to v27 2021-07-07 15:48:22 +02:00