* Add 2.4-2.7 post draft
* ignore just and simply
* Update website/src/_posts/2022-03-2.4-2.7.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update website/src/_posts/2022-03-2.4-2.7.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update website/src/_posts/2022-03-2.4-2.7.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update private/remark-lint-uppy/retext-preset.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Add Box and Compressor to /examples/dashboard
* set cover image
* Update 2022-03-2.4-2.7.md
* Update website/src/_posts/2022-03-2.4-2.7.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update website/src/_posts/2022-03-2.4-2.7.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update index.ejs
* Update 2022-03-2.4-2.7.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Rewrite all `export … from …` to `module.exports = require(…)`, and
`export default …` to `module.exports = …` when transpiling ESM to CJS.
It also transform `.jsx` imports into `.js` as we are not shipping JSX to npm.
* Fix COMPANION_PATH
make sure it serves everything served behind that path
fixes#3514
* add tests for subpath
* chmod +x companion.sh
* remove process.exit
as it's considered harmful in this case
an error thrown will also be printed to stderr
* add backward compatible redirect
* Apply suggestions from code review
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* fix oops
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* @uppy/angular: update ng version
* hack to allow the publish of the Angular package
* fix @types/webpack-dev-server resolution (the package is deprecated anyway)
* Add Storybook back
* Fix default value of Input
* Update README
* Apply suggestions from code review
* fix @types/react version conflict
* Update packages/@uppy/angular/.storybook/tsconfig.json
* Add “Stop the war” banner
* Update website/themes/uppy/layout/layout.ejs
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update website/src/images/ua-flag.svg
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update website/themes/uppy/layout/layout.ejs
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
* Update website/themes/uppy/layout/layout.ejs
* Update website/themes/uppy/layout/layout.ejs
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
Co-authored-by: Kevin van Zonneveld <kevin@vanzonneveld.net>
* fix broken npm run test
* improve jest / companion
add `npm run test:companion:watch`
move env variables into code to make testing easier
this allows for watching (source is causing problems with npm scripts)
also now we can run `corepack yarn test:companion -t 'single test'`
* fix root project jest
make sure we don't run companion tests on npm run test:unit (as they don't work in a browser/jsdom environment)
* improve validation logic
previously incorrect options gives an Uploader object in an incorrect state
* rewrite uploader to make it more testable
* add test for xhr
* check that metadata values are strings
* fix nested meta
causing error #3477
* convert meta to strings instead
like the official FormData spec does
* fix broken companion dev #3473
* fix botched merge
* fix botched merge and remove --fix
* fix botchedf merge
* quick fix
* .
* remove eslint fix
* Add Compressor plugin
* Set type in blob if it’s missing
* clear thumbnail-generator queue when cancel-all is called
* Add e2e test for @uppy/compressor
* Docs, types, readme, bundle, add event
* Update yarn.lock
* fix test
* Update e2e/cypress/integration/dashboard-compressor.spec.ts
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update dashboard-compressor.spec.ts
* convert compressor to ESM
* Update e2e/clients/dashboard-compressor/index.html
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* remove console.log
* uglierBytes
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>