Skip to content

Commit

Permalink
fix: markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
stackchain committed Dec 2, 2024
1 parent 76f3f02 commit 858ed4b
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 1 deletion.
3 changes: 3 additions & 0 deletions apps/wallet/metro.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ const config = {
watchFolders: [workspaceRoot],
resolver: {
unstable_enableSymlinks: true,
// MARKDOWN react-native-markdown-display
sourceExts: ["js", "jsx", "ts", "tsx", "json", "md", "css", "sass", "scss", "cjs", "mjs"],
// END MARKDOWN react-native-markdown-display
nodeModulesPaths: [
path.resolve(projectRoot, 'node_modules'),
path.resolve(workspaceRoot, 'node_modules'),
Expand Down
2 changes: 2 additions & 0 deletions apps/wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"@ledgerhq/react-native-hw-transport-ble": "6.27.3",
"@react-native-async-storage/async-storage": "2.0.0",
"@react-native-clipboard/clipboard": "^1.15.0",
"@react-native-masked-view/masked-view": "^0.3.2",
"@react-navigation/bottom-tabs": "^6",
"@react-navigation/material-top-tabs": "^6",
"@react-navigation/native": "^6",
Expand Down Expand Up @@ -109,6 +110,7 @@
"react-native-svg": "^15.9.0",
"react-native-svg-charts": "^5.4.0",
"react-native-system-navigation-bar": "^2.6.4",
"react-native-tab-view": "^4.0.5",
"react-native-timezone": "^3.0.1",
"react-native-url-polyfill": "^2.0.0",
"react-native-view-shot": "^4.0.2",
Expand Down
8 changes: 7 additions & 1 deletion apps/wallet/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
{
"extends": "@react-native/typescript-config/tsconfig.json",
"include": ["./.d.ts", "./src", "react-native-svg-charts.d.ts"]
"include": ["./.d.ts", "./src", "react-native-svg-charts.d.ts"],
"compilerOptions": {
"baseUrl": ".",
"paths": {
"*.md": ["text-loader"]
}
}
}
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3484,6 +3484,11 @@
resolved "https://registry.yarnpkg.com/@react-native-community/eslint-plugin/-/eslint-plugin-1.3.0.tgz#9e558170c106bbafaa1ef502bd8e6d4651012bf9"
integrity sha512-+zDZ20NUnSWghj7Ku5aFphMzuM9JulqCW+aPXT6IfIXFbb8tzYTTOSeRFOtuekJ99ibW2fUCSsjuKNlwDIbHFg==

"@react-native-masked-view/masked-view@^0.3.2":
version "0.3.2"
resolved "https://registry.yarnpkg.com/@react-native-masked-view/masked-view/-/masked-view-0.3.2.tgz#7064533a573e3539ec912f59c1f457371bf49dd9"
integrity sha512-XwuQoW7/GEgWRMovOQtX3A4PrXhyaZm0lVUiY8qJDvdngjLms9Cpdck6SmGAUNqQwcj2EadHC1HwL0bEyoa/SQ==

"@react-native/assets-registry@0.74.86":
version "0.74.86"
resolved "https://registry.yarnpkg.com/@react-native/assets-registry/-/assets-registry-0.74.86.tgz#5a9dc5d4c74346194a895b0be6b87a7e6022cf53"
Expand Down Expand Up @@ -14810,6 +14815,13 @@ react-native-system-navigation-bar@^2.6.4:
resolved "https://registry.yarnpkg.com/react-native-system-navigation-bar/-/react-native-system-navigation-bar-2.6.4.tgz#34edee7051dea01531ff2be95dc14f9fa8a540b7"
integrity sha512-4pysgADW53PiuHv+2glzNLJnHSxqDszZvLoitLFI5os4D+gCDfxmR36VSET4EnXkzSf8X9mbeFkHYDypDHJyZA==

react-native-tab-view@^4.0.5:
version "4.0.5"
resolved "https://registry.yarnpkg.com/react-native-tab-view/-/react-native-tab-view-4.0.5.tgz#d12ec7dfd260c6acb247a401b3fc4abe6a3d466c"
integrity sha512-Xn3TpYo4yvKRC/f4+cOcvsXlitdnSaYkacshckrEI3JiDmFKNFIRVNxtZFggm4MwbJafq2RzuzR6xrgKoxgkTw==
dependencies:
use-latest-callback "^0.2.1"

react-native-timezone@^3.0.1:
version "3.0.1"
resolved "https://registry.yarnpkg.com/react-native-timezone/-/react-native-timezone-3.0.1.tgz#028fe136a572b97a8011f175e5501c5efd0b63db"
Expand Down

0 comments on commit 858ed4b

Please sign in to comment.