From 55ac4a8b8cc3aaad4632d8766da12e733d0f5d03 Mon Sep 17 00:00:00 2001 From: Dave Gaeddert Date: Mon, 11 Dec 2017 12:07:11 -0600 Subject: [PATCH] Fix oc-template-react dependencies.yml to update externals --- dependencies.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/dependencies.yml b/dependencies.yml index 0cec9f7..25452d0 100644 --- a/dependencies.yml +++ b/dependencies.yml @@ -19,16 +19,18 @@ collectors: actors: # pull requests for updates to any version - type: js-npm + dependencies_not_matching: "^(react|react-dom|prop-types)$" versions: "Y.Y.Y" # pull request to update externals - type: find-replace + dependencies: "^(react|react-dom|prop-types)$" + versions: "Y.Y.Y" settings: paths: - - package.json + - packages/oc-template-react/package.json patterns: - - 'https://unpkg.com/{name}@{version_clean}/prop-types.min.js' - - 'https://unpkg.com/{name}@{version_clean}/umd/react.production.min.js' - - 'https://unpkg.com/{name}@{version_clean}/umd/react-dom.production.min.js' + - 'https://unpkg.com/{name}@{version_clean}/' + - '"{name}": "{version_clean}",' - type: js-npm path: packages/oc-template-react-compiler @@ -42,4 +44,4 @@ collectors: actors: # pull requests for updates to any version - type: js-npm - versions: "Y.Y.Y" \ No newline at end of file + versions: "Y.Y.Y"