You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by zr...@apache.org on 2019/01/07 21:10:32 UTC

[camel-website] 08/13: CAMEL-11500: add explicit `resolve` package ver...

This is an automated email from the ASF dual-hosted git repository.

zregvart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/camel-website.git

commit e4ae490c8d1979544b6a199a0526c29329717560
Author: Zoran Regvart <zr...@apache.org>
AuthorDate: Mon Jan 7 11:16:25 2019 +0100

    CAMEL-11500: add explicit `resolve` package ver...
    
    ...sion
    
    `critical` depends on `inline-critical` that tries to use `resolve` to
    resolve `fg-loadcss`, Yarn PnP patch for resolve probably only works
    with `resolve` ~1.9.
---
 package.json | 3 +++
 yarn.lock    | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/package.json b/package.json
index ab1512f..974aaeb 100644
--- a/package.json
+++ b/package.json
@@ -18,6 +18,9 @@
     "npm-run-all": "^4.1.5",
     "opal-runtime": "1.0.11"
   },
+  "resolutions": {
+    "resolve": "~1.9"
+  },
   "installConfig": {
     "pnp": true
   }
diff --git a/yarn.lock b/yarn.lock
index 4e31c2f..9af9ed6 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4715,7 +4715,7 @@ resolve-url@^0.2.1:
   resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a"
   integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo=
 
-resolve@^1.1.6, resolve@^1.1.7, resolve@^1.4.0, resolve@^1.8.1:
+resolve@^1.1.6, resolve@^1.1.7, resolve@^1.4.0, resolve@^1.8.1, resolve@~1.9:
   version "1.9.0"
   resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.9.0.tgz#a14c6fdfa8f92a7df1d996cb7105fa744658ea06"
   integrity sha512-TZNye00tI67lwYvzxCxHGjwTNlUV70io54/Ed4j6PscB8xVfuBJpRenI/o6dVk0cY0PYTY27AgCoGGxRnYuItQ==