Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jablko committed Sep 5, 2021
1 parent ff8c6a6 commit faf908d
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 183 deletions.
47 changes: 1 addition & 46 deletions packages/parcel-plugin-mdx/package.json
Original file line number Diff line number Diff line change
@@ -1,49 +1,4 @@
{
"name": "@mdx-js/parcel-plugin-mdx",
"version": "2.0.0-next.9",
"description": "Parcel plugin for MDX",
"repository": "mdx-js/mdx",
"homepage": "https://mdxjs.com",
"bugs": "https://github.com/mdx-js/mdx/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"author": "Matthew Hamlin <hamlim@outlook.com> (https://matthamlin.me)",
"contributors": [
"Matthew Hamlin <hamlim@outlook.com> (https://matthamlin.me)",
"John Otander <johnotander@gmail.com> (http://johnotander.com)",
"Tim Neutkens <tim@vercel.com>",
"Matija Marohnić <matija.marohnic@gmail.com>",
"Titus Wormer <tituswormer@gmail.com> (https://wooorm.com)",
"JounQin <admin@1stg.me> (https://www.1stg.me)"
],
"license": "MIT",
"main": "src/index.js",
"files": [
"src"
],
"keywords": [
"mdx",
"markdown",
"react",
"jsx",
"remark",
"parcel"
],
"peerDependencies": {
"@mdx-js/react": "^1.6.7",
"react": ">=16"
},
"dependencies": {
"@mdx-js/mdx": "2.0.0-next.9",
"parcel-bundler": "^1.12.4"
},
"scripts": {
"test-api": "NODE_OPTIONS=--experimental-vm-modules jest test",
"test-coverage": "NODE_OPTIONS=--experimental-vm-modules jest test --coverage",
"test": "yarn test-coverage"
},
"type": "module",
"gitHead": "bf7deab69996449cb99c2217dff75e65855eb2c1"
"private": true
}
61 changes: 4 additions & 57 deletions packages/parcel-plugin-mdx/readme.md
Original file line number Diff line number Diff line change
@@ -1,64 +1,11 @@
# `@mdx-js/parcel-plugin-mdx`
# @mdx-js/parcel-plugin-mdx

[![Build][build-badge]][build]
[![Sponsors][sponsors-badge]][opencollective]
[![Backers][backers-badge]][opencollective]
[![Chat][chat-badge]][chat]
Deprecated!

An experimental [Parcel][] plugin for [MDX][].

## Install
[@parcel/transformer-mdx][] is the official plugin for Parcel 2.

[npm][]:

```sh
npm install --save-dev @mdx-js/parcel-plugin-mdx
```

[yarn][]:

```sh
yarn add --dev @mdx-js/parcel-plugin-mdx
```

## Use

```jsx
// index.js
import MDXContent from './content.mdx';

...

render(<MDXContent />, root);
```

## Contribute

See [Contributing on `mdxjs.com`][contributing] for ways to get started.
See [Support][] for ways to get help.

This project has a [code of conduct][coc].
By interacting with this repository, organization, or community you agree to
abide by its terms.

## License

[MIT][] © [Compositor][] and [Vercel][]

[build-badge]: https://github.com/mdx-js/mdx/workflows/CI/badge.svg
[build]: https://github.com/mdx-js/mdx/actions
[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg
[backers-badge]: https://opencollective.com/unified/backers/badge.svg
[opencollective]: https://opencollective.com/unified
[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg
[chat]: https://github.com/mdx-js/mdx/discussions
[npm]: https://docs.npmjs.com/cli/install
[yarn]: https://yarnpkg.com/cli/add
[contributing]: https://mdxjs.com/contributing
[support]: https://mdxjs.com/support
[coc]: https://github.com/mdx-js/.github/blob/master/code-of-conduct.md
[mit]: https://github.com/mdx-js/mdx/blob/master/license
[compositor]: https://compositor.io
[vercel]: https://vercel.com
[@parcel/transformer-mdx]: https://www.npmjs.com/package/@parcel/transformer-mdx
[mdx]: https://github.com/mdx-js/mdx
[parcel]: https://parceljs.org
25 changes: 0 additions & 25 deletions packages/parcel-plugin-mdx/src/MDXAsset.js

This file was deleted.

8 changes: 0 additions & 8 deletions packages/parcel-plugin-mdx/src/index.js

This file was deleted.

3 changes: 0 additions & 3 deletions packages/parcel-plugin-mdx/test/Component.js

This file was deleted.

5 changes: 0 additions & 5 deletions packages/parcel-plugin-mdx/test/content.mdx

This file was deleted.

39 changes: 0 additions & 39 deletions packages/parcel-plugin-mdx/test/index.test.js

This file was deleted.

0 comments on commit faf908d

Please sign in to comment.