uppy/packages/@uppy
Merlijn Vos 00094af525
Refactor locale scripts & generate types and docs (#3276)
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
2021-11-10 11:43:04 +01:00
..
angular meta: use workspace:^ in peerDependencies (#3278) 2021-10-27 17:53:16 +02:00
aws-s3 Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
aws-s3-multipart Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
box Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
companion Remove references of incorrect options argument for companion.socket (#3307) 2021-11-09 22:01:38 +07:00
companion-client Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
core Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
dashboard Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
drag-drop Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
drop-target meta: use workspace:^ in peerDependencies (#3278) 2021-10-27 17:53:16 +02:00
dropbox Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
facebook Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
file-input Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
form meta: use workspace:^ in peerDependencies (#3278) 2021-10-27 17:53:16 +02:00
golden-retriever Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
google-drive Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
image-editor Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
informer meta: use workspace:^ in peerDependencies (#3278) 2021-10-27 17:53:16 +02:00
instagram Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
locales Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
onedrive Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
progress-bar meta: use workspace:^ in peerDependencies (#3278) 2021-10-27 17:53:16 +02:00
provider-views Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
react Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
react-native meta: use workspace:^ instead of workspace:* (#3278) 2021-10-27 17:53:11 +02:00
redux-dev-tools meta: use workspace:^ in peerDependencies (#3278) 2021-10-27 17:53:16 +02:00
robodog Release uppy@2.1.2, @uppy/robodog@2.1.3 2021-11-08 16:09:34 +01:00
screen-capture Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
status-bar Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
store-default Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
store-redux Release 2021-10-14 21:58:29 +01:00
svelte meta: use workspace:^ in peerDependencies (#3278) 2021-10-27 17:53:16 +02:00
thumbnail-generator Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
transloadit Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
tus Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
unsplash @uppy/unsplash@2.0.3 2021-11-08 15:31:37 +01:00
url Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
utils Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
vue meta: use workspace:^ in peerDependencies (#3278) 2021-10-27 17:53:16 +02:00
webcam Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
xhr-upload Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
zoom Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00