3 Commits

Author SHA1 Message Date
Mickey Rose
4ee78eb3f1
minor improvement to gulp generate-runtime-helpers error message (#13522)
* improve gulp generate-runtime-helpers error message

If you had some garbage in packages/babel-runtime-helpers/src/helpers/,
gulp generate-runtime-helpers would blow up with an unhelpful message:

    TypeError: Cannot read property 'groups' of null

* ignore files starting with a dot when generating runtime helpers
2021-07-02 09:12:19 -04:00
lightmare
b397aca024
fix generate-helpers failing in URL-encoded path (#13404)
HELPERS_FOLDER.pathname may be URL-encoded, if the working tree's
absolute path contains spaces, some reserved characters, or anything
beyond ASCII.

readFile accepts a plain String or URL for the path, but does not
automatically decode URL-encoded Strings.
2021-05-31 21:45:54 +02:00
Nicolò Ribaudo
f63d73c94e
Allow putting helpers in individual files (#13190)
* Allow putting helpers in individual files

* Lint

* Also move `objectSpread2` (to show an helper with deps)

* Update fixture and package.json

* fixture
2021-04-22 20:45:52 +02:00