Skip to content

ESM/ES6#1

Open
brettz9 wants to merge 16 commits intojohnsusi:masterfrom
brettz9:refactoring
Open

ESM/ES6#1
brettz9 wants to merge 16 commits intojohnsusi:masterfrom
brettz9:refactoring

Conversation

@brettz9
Copy link

@brettz9 brettz9 commented Feb 25, 2021

Not sure if this is your cup of tea or if you're still reviewing PRs, but wanted to make these changes

  • Breaking change: Add exports (and change dist file path)
  • Refactoring: ES6 and ESM
  • Refactoring: Use cjs extension in unpublished binary file
  • Build: Switch from Webpack to Rollup (allowing ESM export)
  • Linting: Add ESLint and apply latest ash-nazg fixers (in place of xo)
  • Linting: Add recommended package.json fields
  • Maintenance: Add editorconfig, gitignore

Thanks!

- Build: Switch from Webpack to Rollup
- Linting: Add ESLint and apply latest ash-nazg fixers
- Linting: Add recommended package.json fields
- Maintenance: Add editorconfig, gitignore
- Build: Add ESM export
- Refactoring: Use cjs extension in binary file
- Linting: Apply latest ash-nazg; switch to babel/eslint-parser
- npm: Update devDeps. (including changed peerDeps)
- npm: Update `main` and add `exports` field
@brettz9
Copy link
Author

brettz9 commented Feb 25, 2021

I also think it'd be cool to have a library pulling together different kinds of JSON iterators, such as for asynchronously received JSON (or possibly JSON reference-based JSON iteration).

If you're open to having it here, https://github.com/ibmruntimes/yieldable-json might be adapted to export the iterator it uses internally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant