Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,10 @@
"esbuild",
"sharp",
"unrs-resolver"
]
],
"patchedDependencies": {
"remark-mdx-images@3.0.0": "patches/remark-mdx-images@3.0.0.patch"
}
},
"packageManager": "pnpm@10.30.0",
"volta": {
Expand Down
14 changes: 14 additions & 0 deletions patches/remark-mdx-images@3.0.0.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
diff --git a/index.ts b/index.ts
index e502738bb0929a42b4c44241b495d79b97d90eaf..b163928ac090a4e38c18ac03b7734e912d2a009c 100644
--- a/index.ts
+++ b/index.ts
@@ -50,7 +50,8 @@ const remarkMdxImages: Plugin<[RemarkMdxImagesOptions?], Root> =
type: 'ImportDefaultSpecifier',
local: { type: 'Identifier', name }
}
- ]
+ ],
+ attributes: []
})
imported.set(url, name)
}
9 changes: 7 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions src/@types/remark-mdx-images.d.ts

This file was deleted.

4 changes: 0 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,14 +40,10 @@
"paths": { /* A series of entries which re-map imports to lookup locations relative to the 'baseUrl'. */
"sentry-docs/*": [
"src/*"
],
"remark-mdx-images": [
"src/@types/remark-mdx-images.d.ts"
]
},
// "rootDirs": [], /* List of root folders whose combined content represents the structure of the project at runtime. */
"typeRoots": [ /* List of folders to include type definitions from. */
"./src/@types",
"./node_modules/@types"
],
// "types": [], /* Type declaration files to be included in compilation. */
Expand Down
Loading