Skip to content
This repository has been archived by the owner on Oct 1, 2024. It is now read-only.

Commit

Permalink
Deprecate
Browse files Browse the repository at this point in the history
  • Loading branch information
wooorm committed Oct 1, 2024
1 parent 158e33e commit bc55bc5
Show file tree
Hide file tree
Showing 55 changed files with 5 additions and 1,299 deletions.
9 changes: 0 additions & 9 deletions .editorconfig

This file was deleted.

1 change: 0 additions & 1 deletion .gitattributes

This file was deleted.

13 changes: 0 additions & 13 deletions .github/workflows/bb.yml

This file was deleted.

21 changes: 0 additions & 21 deletions .github/workflows/main.yml

This file was deleted.

7 changes: 0 additions & 7 deletions .gitignore

This file was deleted.

1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

4 changes: 0 additions & 4 deletions .prettierignore

This file was deleted.

1 change: 0 additions & 1 deletion .remarkignore

This file was deleted.

5 changes: 0 additions & 5 deletions changelog.md

This file was deleted.

15 changes: 0 additions & 15 deletions index.d.ts

This file was deleted.

3 changes: 0 additions & 3 deletions index.js

This file was deleted.

117 changes: 0 additions & 117 deletions lib/index.js

This file was deleted.

22 changes: 0 additions & 22 deletions license

This file was deleted.

99 changes: 2 additions & 97 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,101 +1,6 @@
{
"bugs": "https://github.com/remarkjs/remark-react/issues",
"name": "remark-react",
"version": "9.0.1",
"description": "Legacy remark plugin to transform to React — please use `rehype-react`",
"license": "MIT",
"keywords": [],
"repository": "remarkjs/remark-react",
"bugs": "https://github.com/remarkjs/remark-react/issues",
"funding": {
"type": "opencollective",
"url": "https://opencollective.com/unified"
},
"author": "Titus Wormer <[email protected]> (https://wooorm.com)",
"contributors": [
"Titus Wormer <[email protected]> (https://wooorm.com)",
"Tom MacWright <[email protected]>",
"David Clark <[email protected]>",
"Linda_pp <[email protected]>",
"Juho Vepsalainen <[email protected]>",
"Ciaran Wood <[email protected]>",
"Tsuyusato Kitsune <[email protected]>",
"Jason Trill <[email protected]>",
"Jeremy Stucki <[email protected]>",
"stefanprobst <[email protected]>",
"Mehdi Lahlou <[email protected]>",
"Takuya Matsuyama <[email protected]>",
"Ekongi Yancy <[email protected]>",
"Artem Sapegin <[email protected]>"
],
"sideEffects": false,
"type": "module",
"main": "index.js",
"types": "index.d.ts",
"files": [
"lib/",
"index.d.ts",
"index.js"
],
"dependencies": {
"@mapbox/hast-util-table-cell-style": "^0.2.0",
"@types/mdast": "^3.0.0",
"@types/react": "^17.0.0",
"hast-to-hyperscript": "^10.0.0",
"hast-util-sanitize": "^4.0.0",
"mdast-util-to-hast": "^11.0.0",
"unified": "^10.0.0"
},
"devDependencies": {
"@types/react-dom": "^17.0.0",
"@types/tape": "^4.0.0",
"c8": "^7.0.0",
"is-hidden": "^2.0.0",
"prettier": "^2.0.0",
"react": "^17.0.0",
"react-dom": "^17.0.0",
"remark": "^14.0.0",
"remark-cli": "^10.0.0",
"remark-footnotes": "^4.0.0",
"remark-frontmatter": "^4.0.0",
"remark-preset-wooorm": "^9.0.0",
"rimraf": "^3.0.0",
"tape": "^5.0.0",
"type-coverage": "^2.0.0",
"typescript": "^4.0.0",
"vfile": "^5.0.0",
"xo": "^0.44.0"
},
"scripts": {
"build": "rimraf \"lib/**/*.d.ts\" \"test/**/*.d.ts\" && tsc && type-coverage",
"format": "remark . -qfo && prettier . -w --loglevel warn && xo --fix",
"test-api": "node --conditions development test/index.js",
"test-coverage": "c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api",
"test": "npm run build && npm run format && npm run test-coverage"
},
"prettier": {
"tabWidth": 2,
"useTabs": false,
"singleQuote": true,
"bracketSpacing": false,
"semi": false,
"trailingComma": "none"
},
"xo": {
"prettier": true
},
"remarkConfig": {
"plugins": [
"preset-wooorm"
]
},
"typeCoverage": {
"atLeast": 100,
"detail": true,
"strict": true,
"ignoreCatch": true,
"#": "needed `any`s",
"ignoreFiles": [
"lib/index.d.ts"
]
}
"version": "10.0.0"
}
23 changes: 3 additions & 20 deletions readme.md
Original file line number Diff line number Diff line change
@@ -1,28 +1,11 @@
# remark-react

**Stability: Legacy**.
This package is no longer recommended for use.
It’s still covered by semantic-versioning guarantees and not yet deprecated,
but use of this package should be avoided.
Deprecated: this package is no longer maintained.
Please use `remark-rehype` to move from remark (markdown) to rehype (HTML)
and then replace `remark-react` with [`rehype-react`][rehype-react].

Legacy [documentation for this package](https://github.com/remarkjs/remark-react/tree/4722bdf)
is still available in Git.
[Git][] is still intact and previous versions can still be used without warnings.

## License

[MIT][license] © [Titus Wormer][author], modified by [Tom MacWright][tom] and
[Mapbox][].

<!-- Definitions -->

[license]: license

[author]: https://wooorm.com

[tom]: https://macwright.org

[mapbox]: https://www.mapbox.com
[git]: https://github.com/remarkjs/remark-react/tree/158e33e

[rehype-react]: https://github.com/rehypejs/rehype-react
9 changes: 0 additions & 9 deletions test/fixtures/blockquote/input.md

This file was deleted.

16 changes: 0 additions & 16 deletions test/fixtures/blockquote/output.html

This file was deleted.

Loading

0 comments on commit bc55bc5

Please sign in to comment.