1
1
mirror of https://github.com/mdx-js/mdx.git synced 2024-09-17 18:37:48 +03:00
Commit Graph

332 Commits

Author SHA1 Message Date
Titus
55cae36ec4
Update dev-dependencies
Closes GH-2022.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
2022-04-23 16:00:05 +02:00
Titus
92c1a65d97
Update dev-dependencies
Closes GH-2014.
2022-04-11 13:23:05 +02:00
Stefan Zimmermann
4e7046a855
Use cross-env in build scripts
Closes GH-2006.
Closes GH-2007.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
2022-04-08 21:12:34 +02:00
coder_Q
cbaee28c34
Update react-tabs for fix to website
Closes GH-1993.
Closes GH-1999.

Reviewed-by: Titus Wormer <tituswormer@gmail.com>
2022-04-04 09:58:25 +02:00
Titus
20268aac18
Update dev-dependencies
Closes GH-1996.
2022-03-31 19:00:04 +02:00
Titus
427bcad073
Update React on site
Closes GH-1987

Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-03-25 17:39:17 +01:00
Titus
46fae4fcd0
Update dev-dependencies
Closes GH-1938.
Closes GH-1963.
Closes GH-1977.
2022-03-16 11:21:11 +01:00
Titus
a5daaad6a6
Update mdast-util-mdx (#1925)
Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
2022-02-01 15:19:32 +01:00
Titus
4ca2299d65
Update publishing docs (#1914) 2022-01-25 11:28:54 +01:00
Titus
4a48f1f484
Fix custom elements (#1911)
Backports: wooorm/xdm@ddcebdb.
Backports: wooorm/xdm@0c6d8ac.

Related-to: remarkjs/remark-math#72.
Related-to: wooorm/xdm#106.
2022-01-25 09:28:34 +01:00
Titus
ef41677798
Update dev-dependencies (#1892)
Closes GH-1839.
Closes GH-1855.
Closes GH-1868.
2022-01-09 11:38:27 +01:00
renovate[bot]
cb49ac0995
Update ahooks (#1858)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 20:25:22 +01:00
renovate[bot]
4f5cd79edb
Update puppeteer-core (#1859)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-16 20:24:53 +01:00
renovate[bot]
2886882e9d
Update puppeteer-core (#1841)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-03 14:37:54 +01:00
renovate[bot]
f75f7ba23e
Update lint-staged (#1840)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-03 14:37:29 +01:00
renovate[bot]
ddcbb7bfc2
Update esbuild (#1838)
Co-authored-by: Renovate Bot <bot@renovateapp.com>
2021-12-03 14:37:00 +01:00
Titus
2c27b0b64a
Update dev-dependencies (#1832)
Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
2021-12-03 13:53:50 +01:00
Titus
2f96fbae3c
Add better errors when referencing missing components (#1811)
Previously, React or other JSX runtimes threw rather hard to read errors
when a component was undefined (because it wasn’t imported, passed, or
provided), essentially only pointing to *something* missing.
Now we throw proper errors when a component is missing at runtime,
including what exact component (or object) is undefined.

In addition, this adds a `development` option, which defaults to
`false` but can be configured explicitly or turned on with
`NODE_ENV=development`.
When it’s `true`, the exact place that references the missing component
or object, and which file did that, is included in the error message.

Related-to: mdx-js/mdx#1775.
Backports: wooorm/xdm@62e6f30.
2021-11-13 10:28:46 +01:00
Titus
2393084548
Update dev-dependencies (#1809) 2021-11-13 09:30:29 +01:00
Titus
00b1db10d7
Add support for React 18 (#1808)
Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
2021-11-10 17:09:37 +01:00
renovate[bot]
7319e36154
chore(deps): update dependency xo to ^0.46.0 (#1789)
Co-authored-by: Renovate Bot <bot@renovateapp.com>

Reviewed-by: Christian Murphy <christian.murphy.42@gmail.com>
Reviewed-by: Titus Wormer <tituswormer@gmail.com>
2021-11-10 08:57:13 +01:00
Christian Murphy
f97ec0084e
Add debounce to playground (#1758)
Reviewed-by: Titus Wormer <tituswormer@gmail.com>
2021-10-20 07:47:12 +02:00
Titus
8f6d67ac5f
Improve site based on reviews (#1753) 2021-10-19 14:31:56 +02:00
Titus
dce2b4c760
Add proper authors, modified/published dates to site (#1727) 2021-10-09 15:30:28 +02:00
Titus
f55fae2109
Fix casing of file names
Also show swallowed errors on Vercel/Linux
2021-10-07 17:50:53 +02:00
Titus
b4df392166
Add filename, language, copy button to code blocks (#1723) 2021-10-07 15:12:58 +02:00
Titus
fcdd6debce
Miscellaneous cleaning tasks (#1721) 2021-10-07 08:55:27 +02:00
Titus
29630e029e
Add support for GFM footnotes (#1710) 2021-10-04 09:10:49 +02:00
Titus
6a852e0cbb
Update xo (#1709) 2021-10-04 09:04:03 +02:00
Titus
d17f09e4b5
Add readmes of packages to website (#1698) 2021-09-28 14:23:18 +02:00
Titus
5aca847ad1
Update core of readmes (#1694) 2021-09-27 20:20:59 +02:00
Titus
2736d079f4
Add @mdx-js/register (#1689) 2021-09-27 13:17:11 +02:00
Titus
ff19baad5b
Add @mdx-js/node-loader (#1690) 2021-09-27 12:17:37 +02:00
Titus
edc67ac70b
Add @mdx-js/esbuild (#1688) 2021-09-27 11:40:58 +02:00
Titus
97967e919f
Add @mdx-js/rollup (#1687) 2021-09-27 10:50:57 +02:00
Titus
5a21115d1f
Add tests to reach 100% coverage (#1686) 2021-09-27 10:24:05 +02:00
Titus
e2d2dda277
Remove unused and update existing dependencies (#1683) 2021-09-26 18:18:32 +02:00
Titus
822fb99bc1
Use xo (#1682) 2021-09-26 18:02:09 +02:00
Titus
70742c9ff1
Remove examples from monorepo (#1681) 2021-09-26 17:39:27 +02:00
Titus
2b806ae902
Miscellaneous cleaning tasks (#1677)
* Add `remark-cli`, `prettier` back
* Update license years
* Reorder `package.json`
* Update `.gitignore`
* Update `.editorconfig`
* Remove `.gitattributes`
* Remove unneeded babel files
2021-09-24 12:58:28 +02:00
Titus
6029a14f24
Use symlinked monorepo packages again (#1673) 2021-09-22 15:50:46 +02:00
Titus
2bb13da51b
Remove deprecated packages, examples from source (#1672) 2021-09-22 15:06:46 +02:00
Titus
e40233f149
Deprecate @mdx-js/runtime (#1671)
`@mdx-js/mdx` can now evaluate MDX with any runtime, supporting async plugins,
and returning exported values.

This also removes `dtslint` from dev-dependencies.
2021-09-22 14:14:58 +02:00
Titus
7ae2ce24c3
Deprecate babel-plugin-remove-export-keywords (#1670) 2021-09-22 13:27:56 +02:00
Titus
57e637cf55
Update @mdx-js/mdx (#1669)
* Import xdm’s core into `@mdx-js/mdx`
* Tons of fixes and updates and a couiple of changes that will be
  tested and documented later
* Use ESM
* Add JSDoc based types
2021-09-22 12:02:09 +02:00
Titus
22c40f78b3
Update package lock (#1668) 2021-09-22 09:34:24 +02:00
Titus
6fbaaf5558
Update @mdx-js/vue (#1662)
* Use ESM
* Add JSDoc based types (and improve the types a bunch)
* Rewrite to use modern Vue features such as reactive provide/inject
  and fragments
* Remove `mdx` export, which is no longer needed
* Use `xdm` for a second
2021-09-18 10:34:17 +02:00
Titus
0262e20259
Update @mdx-js/preact (#1660)
* Use ESM
* Add JSDoc based types (and improve the types a bunch)
* Mark `MDXContext` and `withMDXComponents` exports as deprecated
  (they still work)
* Remove `mdx` export, which is no longer needed
* Use `xdm` for a second
2021-09-16 11:45:23 +02:00
Titus
897a6b23a7
Update @mdx-js/react (#1659) 2021-09-16 10:59:04 +02:00
Titus
a9ee3f248b
Update @mdx-js/loader (#1657)
* Use ESM (with CJS wrapper, which is a requirement for webpack currently)
* Add JSDoc based types
* Use webpack 5
* Add preact, vue tests, which it now supports
* Switch to xdm for second — will switch back to `@mdx-js/mdx` when that’s migrated
2021-09-15 11:17:01 +02:00