uppy/bin
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
..
after-version-bump.js Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
build-bundle.js Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
build-css.js Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
build-lib.js Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00
companion Refactor npm scripts, clean up unused ones (#1392) 2019-03-29 14:55:23 +01:00
disc.js build: lint fixes in build scripts 2021-06-24 15:12:16 +02:00
endtoend-build meta: use Yarn v3 instead of npm (#3237) 2021-10-20 15:16:59 +02:00
endtoend-build-ci meta: use Yarn v3 instead of npm (#3237) 2021-10-20 15:16:59 +02:00
endtoend-build-tests e2e tests: Move transloadit2 test into transloadit, remove the former (#3271) 2021-10-19 18:44:35 +01:00
make-changelog build: make-changelog script and draft 2.0 changelog (#3140) 2021-08-29 22:57:29 +01:00
make-new-versions-table chores: catch custom version suffices (alpha, beta etc.) (#2311) 2020-06-08 15:11:32 +01:00
prepare-web-deploy GitHub actions (#2617) 2020-11-27 09:52:48 +01:00
release meta: use Yarn v3 instead of npm (#3237) 2021-10-20 15:16:59 +02:00
remove-accidental-git-tags.sh build: add zoom to "remove-accidental-tags" script (#2662) 2020-11-30 09:38:20 +00:00
run-example.js build: lint fixes in build scripts 2021-06-24 15:12:16 +02:00
to-gif-hd.sh video to gif script, decent quality 2019-01-15 11:16:19 +03:00
to-gif-hq.sh add better gif creating script 2019-01-14 18:16:37 +03:00
to-gif.sh new demo video and gif, update frontpage code sample, design goals, add developed by transloasdit 2018-10-12 12:59:37 -04:00
update-contributors.mjs deps: remove execa and refactor update-contributors script 2021-07-07 15:49:42 +02:00
update-yarn.sh meta: add update-yarn script (#3278) 2021-10-27 17:52:47 +02:00
upload-to-cdn.js Upgrade linting to 2.0.0-0 (#3280) 2021-11-09 11:19:05 +00:00