-
Notifications
You must be signed in to change notification settings - Fork 56
feat!: y18n is now ESM first #173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
|
The rimraf interface changed from rimraf@3 to rimraf@6. The tests were failing because the cleanup of Next: sort out the linting... |
This comment was marked as resolved.
This comment was marked as resolved.
Switch from rimraf to simple built-in rmSync Switch from standardx to gts for linting
c6b67c5 to
026ee84
Compare
|
Two of the less trivial changes prompted by linter were: Replace use of Replace in - return this.__.apply(this, [str].concat([].slice.call(args, 1)))
+ return this.__(str, ...args.slice(1)); |
- remove standard badge as no longer using standard
|
I reworked README for esm. Similar to yargs, code examples use |
|
(I pushed a dummy commit to see if cleans up the CI status, but still have some stale jobs listed.) |
Stop shipping dual esm/cjs. Ship just esm and rely on require(esm) support in recent versions of node to support CJS users.
Following yargs moving from dual CJS/ESM to ESM-only: yargs/yargs#2451
Rework lint setup to closely follow setup in yargs/yarg: essentially switching from standardx to gts.
Lots of noise in "Files changed" due to linting changes, but can look at the first commit for the bulk of the esm changes.
Includes fix for module entry point:
moduleandexportsare mismatched. #155module#156