diff --git a/CHANGELOG.md b/CHANGELOG.md index bb4c80f..dfbf643 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# [2.1.0](https://github.com/wessberg/cjstoesm/compare/v2.0.0...v2.1.0) (2022-05-29) + + +### Features + +* add support for adding and customizing Import Assertions ([6bf8056](https://github.com/wessberg/cjstoesm/commit/6bf8056d8db2439b4d5ae334a7ae3a34fe714911)) + + + # [2.0.0](https://github.com/wessberg/cjstoesm/compare/v1.1.5...v2.0.0) (2022-05-29) diff --git a/README.md b/README.md index a8e2b99..9509762 100644 --- a/README.md +++ b/README.md @@ -122,6 +122,7 @@ As you can see, this transformer will attempt to produce code that generates as - Tree-shaking friendly - Clean, idiomatic output - Automatic and configurable addition of file extensions to module specifiers +- Automatic and configurable addition of import assertions to relevant import declarations - No wrappers - Low-level implementation that can be used as the foundation for other tools such as Loaders, Plugins, CLIs, and Linters. - CLI integration, enabling you to convert a project from CJS to ESM from the command line. @@ -163,6 +164,8 @@ As you can see, this transformer will attempt to produce code that generates as - [Run once with npx](#run-once-with-npx) - [Peer Dependencies](#peer-dependencies) - [Engine](#engine) +- [File extension handling](#file-extension-handling) +- [Import Assertion handling](#import-assertion-handling) - [Usage](#usage) - [CLI usage](#cli-usage) - [API Usage](#api-usage) diff --git a/package.json b/package.json index c2b7413..0b9bdd3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cjstoesm", - "version": "2.0.0", + "version": "2.1.0", "description": "A tool that can transform CommonJS to ESM", "scripts": { "generate:sandhog": "sandhog all --yes",