mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-26 02:05:31 +00:00
Make packages/react-native-enriched-markdown a private workspace and point the app at it, then remove the patch-package patch it replaces. - package.json: private, version follows the root like every workspace, only the postinstall script that downloads tree-sitter grammars. Upstream's devDependencies would install a second react-native, so they are gone. - The package keeps its name, so autolinking, the Gradle project :react-native-enriched-markdown, the CocoaPods spec and imports are unchanged. - Lockfile: drop the nested registry copy under packages/app/node_modules; npm links node_modules/react-native-enriched-markdown to the workspace. - Formatting, lint and knip skip the vendored code. CI routes changes to it through the app and browser suites. - The codegen test checks the vendored package's generated props. - docs/markdown-renderer.md describes the fork and how to edit it.
71 lines
1.7 KiB
JSON
71 lines
1.7 KiB
JSON
{
|
|
"name": "react-native-enriched-markdown",
|
|
"version": "0.17.1",
|
|
"private": true,
|
|
"description": "Markdown-based Rich Text solution for React Native",
|
|
"main": "./lib/module/index",
|
|
"module": "./lib/module/index",
|
|
"source": "./src/index.tsx",
|
|
"types": "./lib/typescript/src/index.d.ts",
|
|
"scripts": {
|
|
"postinstall": "node postinstall.mjs"
|
|
},
|
|
"keywords": [
|
|
"react-native",
|
|
"expo",
|
|
"ios",
|
|
"android",
|
|
"macos",
|
|
"web",
|
|
"markdown",
|
|
"rich-editor"
|
|
],
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/software-mansion/enriched-markdown.git",
|
|
"directory": "packages/react-native-enriched-markdown"
|
|
},
|
|
"author": "Gregory Moskaliuk <mosckalyuck@gmail.com> (https://github.com/hryhoriiK97)",
|
|
"license": "MIT",
|
|
"bugs": {
|
|
"url": "https://github.com/software-mansion/enriched-markdown/issues"
|
|
},
|
|
"homepage": "https://enriched.swmansion.com/markdown",
|
|
"peerDependencies": {
|
|
"katex": ">=0.16.0",
|
|
"react": "*",
|
|
"react-native": "*"
|
|
},
|
|
"peerDependenciesMeta": {
|
|
"katex": {
|
|
"optional": true
|
|
}
|
|
},
|
|
"codegenConfig": {
|
|
"name": "EnrichedMarkdownTextSpec",
|
|
"type": "components",
|
|
"jsSrcsDir": "src",
|
|
"outputDir": {
|
|
"ios": "ios/generated",
|
|
"android": "android/generated"
|
|
},
|
|
"android": {
|
|
"javaPackageName": "com.swmansion.enriched.markdown"
|
|
},
|
|
"ios": {
|
|
"components": {
|
|
"EnrichedMarkdownText": {
|
|
"className": "EnrichedMarkdownText"
|
|
},
|
|
"EnrichedMarkdown": {
|
|
"className": "EnrichedMarkdown"
|
|
},
|
|
"EnrichedMarkdownTextInput": {
|
|
"className": "EnrichedMarkdownTextInput"
|
|
}
|
|
}
|
|
},
|
|
"includesGeneratedCode": true
|
|
}
|
|
}
|