`node:` protocol is available as of Node.js 14.18.0 LTS. Since we are
dropping support for all Node.js versions below that, we can take
advantage of this prefix to help differentiate built-in modules from npm
modules.
Now that we removed all JSX and CJS from `.js` files,
there's no need to run Babel on every files, which speeds up greatly the
time it takes for Vite to get ready.
* Fix Compressor docs
* Remove unused test commands
* Add note that all options are passed
* Add event to types
* Update website/src/docs/compressor.md
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
* Update packages/@uppy/compressor/types/index.d.ts
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
* add files array as callback to compressor:complete
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
* @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
* 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
And use `pull_request_target` event instead of `pull_request` to use secrets from forks.
Fixes: https://github.com/transloadit/uppy/issues/3473
Co-authored-by: Mikael Finstad <finstaden@gmail.com>
* Upgrade size-limit to 7.0.5
* Update package.json
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* attempt at fixing dockerfile
that works with yarn workspaces and respects yarn.lock
* run corepack yarn
* update Dockerfile references
* remove unneccesary yarn plugin import
* Apply suggestions from code review
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* meta: add release automations
* Add missing versions
* remove old scripts that are no longer useful
* add special casing for robodog
* skip fetching if HEAD is already available locally
* Publish to npm from GitHub actions
* fixes
* Update afterVersionBump script
* Fix getUpToDateRefsFromGitHub script
* Make sub-package specific changelogs
* fix git and PR opening process in GH Actions
* fix Release action
* don't fetch GH user names in changelog
* add support for commits that touch several packages
* add website as a valid commit message prefix
* Assign the PR to the releaser and fix other GH related bugs
* Remove release branch from CI
* Restore git history at the end of local release session
* skip CI if assignee has not approved the PR
* fix release commit message
* beautify commit message
* Special case for @uppy/robodog
* Failure is not an option
* Rename release CI
* Always rewind before crashing
* Improve logging
* fix changelog table
* fix linter
* Update CONTRIBUTING.md
* Remove unused package
* Disable Release workflow between two releases
* Fix git command and workaround deleted branch
Closes#3232
### Summary
- Create `locale.js` for every plugin instead of `this.defaultLocale` in the class
- Complete refactor of locale scripts
- No dynamic plugin class imports with hacks to mimic the environment in order to get the `defaultLocale`.
- Separate tests and build in separate files
- Add two modes for test file, `unused` (fails hard) and `warnings`
- Generate docs
- Use remark to cleanly mutate the file
- Rename some doc files to match the plugin name (such as `statusbar` --> `status-bar`)
- Comments in `locale.js` are kept and are present in the docs as well.
- Generate types
* 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.
* 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