summaryrefslogtreecommitdiffstats
path: root/documentation/ref-manual/migration-3.1.rst
diff options
context:
space:
mode:
Diffstat (limited to 'documentation/ref-manual/migration-3.1.rst')
-rw-r--r--documentation/ref-manual/migration-3.1.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/documentation/ref-manual/migration-3.1.rst b/documentation/ref-manual/migration-3.1.rst
index 84d32502e5..c62aba7d48 100644
--- a/documentation/ref-manual/migration-3.1.rst
+++ b/documentation/ref-manual/migration-3.1.rst
@@ -179,12 +179,12 @@ parameter instead of the earlier ``name`` which overlapped with the
179generic ``name`` parameter. All recipes using the npm fetcher will need 179generic ``name`` parameter. All recipes using the npm fetcher will need
180to be changed as a result. 180to be changed as a result.
181 181
182An example of the new scheme: :: 182An example of the new scheme::
183 183
184 SRC_URI = "npm://registry.npmjs.org;package=array-flatten;version=1.1.1 \ 184 SRC_URI = "npm://registry.npmjs.org;package=array-flatten;version=1.1.1 \
185 npmsw://${THISDIR}/npm-shrinkwrap.json" 185 npmsw://${THISDIR}/npm-shrinkwrap.json"
186 186
187Another example where the sources are fetched from git rather than an npm repository: :: 187Another example where the sources are fetched from git rather than an npm repository::
188 188
189 SRC_URI = "git://github.com/foo/bar.git;protocol=https \ 189 SRC_URI = "git://github.com/foo/bar.git;protocol=https \
190 npmsw://${THISDIR}/npm-shrinkwrap.json" 190 npmsw://${THISDIR}/npm-shrinkwrap.json"