File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -130,13 +130,12 @@ import map's URL or file path.
130130
131131### Overriding packages
132132
133- The ` patch ` field in ` deno.json ` allows you to override dependencies without
134- modifying their source code. It also allows you to use packages stored locally
135- on disk.
133+ The ` links ` field in ` deno.json ` allows you to override dependencies with local
134+ packages stored on disk. This is similar to ` npm link ` .
136135
137136``` json title="deno.json"
138137{
139- "patch " : [
138+ "links " : [
140139 " ../some-package"
141140 ]
142141}
@@ -147,7 +146,6 @@ This capability addresses several common development challenges:
147146- Dependency bug fixes
148147- Private local libraries
149148- Compatibility issues
150- - Security concerns
151149
152150The package being referenced doesn't need to be published at all. It just needs
153151to have the proper package name and metadata in ` deno.json ` or ` package.json ` ,
You can’t perform that action at this time.
0 commit comments