From daf21e060d322b9820eca3e1a8011c56c9b54b73 Mon Sep 17 00:00:00 2001 From: joostdecock Date: Fri, 21 Jul 2023 20:06:10 +0200 Subject: [PATCH] fix: Work around issue with NPM 9 that tries SSH for github access See https://github.com/npm/cli/issues/2610 --- config/dependencies.yaml | 3 ++- sites/dev/package.json | 2 +- sites/lab/package.json | 2 +- sites/org/package.json | 2 +- yarn.lock | 2 +- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/config/dependencies.yaml b/config/dependencies.yaml index 844c4bee2d3..a7b6618c5c9 100644 --- a/config/dependencies.yaml +++ b/config/dependencies.yaml @@ -247,7 +247,8 @@ dev: 'rehype-sanitize': &rehypeSanitize '5.0.1' 'rehype-slug': &rehypeSlug '5.1.0' 'rehype-stringify': &rehypeStringify '9.0.3' - 'remark-copy-linked-files': &remarkCopyLinkedFiles 'https://github.com/joostdecock/remark-copy-linked-files' + # see: https://github.com/npm/cli/issues/2610#issuecomment-1295371753 + 'remark-copy-linked-files': &remarkCopyLinkedFiles 'git+https://git@github.com/joostdecock/remark-copy-linked-files' 'remark-gfm': &remarkGfm '3.0.1' dev: &nextSiteDevDependencies '@playwright/test': '^1.32.3' diff --git a/sites/dev/package.json b/sites/dev/package.json index d54cd193d17..7020cf28230 100644 --- a/sites/dev/package.json +++ b/sites/dev/package.json @@ -56,7 +56,7 @@ "rehype-sanitize": "5.0.1", "rehype-slug": "5.1.0", "rehype-stringify": "9.0.3", - "remark-copy-linked-files": "https://github.com/joostdecock/remark-copy-linked-files", + "remark-copy-linked-files": "git+https://git@github.com/joostdecock/remark-copy-linked-files", "remark-gfm": "3.0.1" }, "devDependencies": { diff --git a/sites/lab/package.json b/sites/lab/package.json index 8212239b953..ec4dd2ae62e 100644 --- a/sites/lab/package.json +++ b/sites/lab/package.json @@ -60,7 +60,7 @@ "rehype-sanitize": "5.0.1", "rehype-slug": "5.1.0", "rehype-stringify": "9.0.3", - "remark-copy-linked-files": "https://github.com/joostdecock/remark-copy-linked-files", + "remark-copy-linked-files": "git+https://git@github.com/joostdecock/remark-copy-linked-files", "remark-gfm": "3.0.1", "remark-mdx-frontmatter": "3.0.0" }, diff --git a/sites/org/package.json b/sites/org/package.json index 1ce22d0adb3..c66b2f930c6 100644 --- a/sites/org/package.json +++ b/sites/org/package.json @@ -61,7 +61,7 @@ "rehype-sanitize": "5.0.1", "rehype-slug": "5.1.0", "rehype-stringify": "9.0.3", - "remark-copy-linked-files": "https://github.com/joostdecock/remark-copy-linked-files", + "remark-copy-linked-files": "git+https://git@github.com/joostdecock/remark-copy-linked-files", "remark-gfm": "3.0.1", "remark-mdx-frontmatter": "3.0.0", "use-persisted-state": "0.3.3", diff --git a/yarn.lock b/yarn.lock index f3126f97ee5..0ebf9184a63 100644 --- a/yarn.lock +++ b/yarn.lock @@ -16799,7 +16799,7 @@ remark-cli@^11.0.0: "remark-copy-linked-files@https://github.com/joostdecock/remark-copy-linked-files": version "1.5.0" - resolved "git+ssh://git@github.com/joostdecock/remark-copy-linked-files.git#73f8e407d7c7055bc3d56cec32657ed401d43362" + resolved "https://github.com/joostdecock/remark-copy-linked-files#73f8e407d7c7055bc3d56cec32657ed401d43362" dependencies: apr-for-each "^3.0.3" apr-intercept "^3.0.4"