Skip to content

Commit

Permalink
v0.2.0-rc.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayc0 committed Jul 22, 2022
1 parent 5b97edb commit 5962b44
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 8 deletions.
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@

### `@blocz/mdx-plugin-detect-imports`

- Update for MDX 2 (but still in CJS)
- Update for MDX 2 (but still in CJS, and compatible in ESM)
- Can only be used in MDX async function (like `compile`) but not the sync ones (like `compileSync`)
- Change format of `ImportStatement` to better represent named vs default exports:

In v0.1.0:
Expand Down Expand Up @@ -72,6 +73,12 @@ Removed because already fully covered by the recommended `@mdx-js/loader` + `@bl
<details>
<summary>See detailed changelog</summary>

#### 0.2.0-rc.3

- switch `@blocz/mdx-plugin-detect-imports` to a mix of CJS + ESM which makes it async
and so it now cannot be used anymore with `mdx.compileSync`, only `await mdx.compile` **BREAKING CHANGE**
- `@blocz/mdx-plugin-detect-imports` generates a proper AST for the exported variable

#### 0.2.0-rc.2

- Update `microbundle` in https://github.com/bloczjs/mdx/pull/32
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"packages/*",
"tests/*"
],
"version": "0.2.0-rc.2",
"version": "0.2.0-rc.3",
"repository": "[email protected]:bloczjs/mdx.git",
"author": "Ayc0 <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion packages/mdx-live/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blocz/mdx-live",
"version": "0.2.0-rc.2",
"version": "0.2.0-rc.3",
"source": "src/index.ts",
"main": "lib/mdx-live.js",
"module": "lib/mdx-live.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/mdx-plugin-detect-imports/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blocz/mdx-plugin-detect-imports",
"version": "0.2.0-rc.2",
"version": "0.2.0-rc.3",
"main": "src/plugin.cjs",
"module": "src/plugin.mjs",
"exports": {
Expand Down
2 changes: 1 addition & 1 deletion tests/esbuild-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blocz/esbuild-test",
"version": "0.2.0-rc.2",
"version": "0.2.0-rc.3",
"private": true,
"author": "Ayc0 <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion tests/mdx-js-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blocz/mdx-js-test",
"version": "0.2.0-rc.2",
"version": "0.2.0-rc.3",
"private": true,
"author": "Ayc0 <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion tests/rollup-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blocz/rollup-test",
"version": "0.2.0-rc.2",
"version": "0.2.0-rc.3",
"private": true,
"author": "Ayc0 <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion tests/webpack-test/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@blocz/webpack-test",
"version": "0.2.0-rc.2",
"version": "0.2.0-rc.3",
"private": true,
"author": "Ayc0 <[email protected]>",
"license": "MIT",
Expand Down

0 comments on commit 5962b44

Please sign in to comment.