uppy/packages/@uppy/transloadit/src
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
..
Assembly.js Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
Assembly.test.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
AssemblyOptions.js Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
AssemblyOptions.test.js Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
AssemblyWatcher.js @uppy/transloadit: refactor to use private properties (#3019) 2021-07-21 17:38:24 +02:00
Client.js @uppy/transloadit: refactor to use private properties (#3019) 2021-07-21 17:38:24 +02:00
index.js Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
index.test.js @uppy/transloadit: fix unhandledPromiseRejection failures (#3197) 2021-09-16 15:24:20 +02:00
locale.js Refactor locale scripts & generate types and docs (#3276) 2021-11-10 11:43:04 +01:00
parseUrl.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00
parseUrl.test.js Update Linter (#2796) 2021-03-15 16:25:17 +00:00