Skip to content

Commit

Permalink
feat: update dependency @rollup/plugin-node-resolve to v13 (#2192)
Browse files Browse the repository at this point in the history
Co-authored-by: web-padawan <iamkulykov@gmail.com>
  • Loading branch information
renovate[bot] and web-padawan committed Nov 10, 2022
1 parent d79ef18 commit d009faa
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 23 deletions.
5 changes: 5 additions & 0 deletions .changeset/itchy-kangaroos-hide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@open-wc/building-rollup': minor
---

Update dependency @rollup/plugin-node-resolve to v13
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@esm-bundle/chai": "^4.3.4-fix.0",
"@microsoft/fast-element": "^1.0.2",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@rollup/plugin-typescript": "^8.2.1",
"@types/aria-query": "^4.2.1",
"@types/babel__core": "^7.1.14",
Expand Down
2 changes: 1 addition & 1 deletion packages/building-rollup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@
"@babel/preset-env": "^7.9.0",
"@open-wc/building-utils": "^2.20.0",
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-node-resolve": "^7.1.1",
"@rollup/plugin-node-resolve": "^13.3.0",
"@web/rollup-plugin-html": "^1.7.0",
"@web/rollup-plugin-import-meta-assets": "^1.0.6",
"@web/rollup-plugin-polyfills-loader": "^1.1.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/building-rollup/src/createBasicConfig.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @typedef {import('./types').BasicOptions} BasicOptions */

/* eslint-disable no-param-reassign */
const resolve = require('@rollup/plugin-node-resolve');
const { nodeResolve } = require('@rollup/plugin-node-resolve');
const { terser } = require('rollup-plugin-terser');
const { babel, getBabelOutputPlugin } = require('@rollup/plugin-babel');
const merge = require('deepmerge');
Expand Down Expand Up @@ -46,7 +46,7 @@ function createBasicConfig(userOptions = {}) {

plugins: [
// resolve bare module imports
pluginWithOptions(resolve, opts.nodeResolve, {
pluginWithOptions(nodeResolve, opts.nodeResolve, {
customResolveOptions: {
moduleDirectory: ['node_modules', 'web_modules'],
},
Expand Down
20 changes: 1 addition & 19 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2403,7 +2403,7 @@
is-module "^1.0.0"
resolve "^1.19.0"

"@rollup/plugin-node-resolve@^13.0.4":
"@rollup/plugin-node-resolve@^13.0.4", "@rollup/plugin-node-resolve@^13.3.0":
version "13.3.0"
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-13.3.0.tgz#da1c5c5ce8316cef96a2f823d111c1e4e498801c"
integrity sha512-Lus8rbUo1eEcnS4yTFKLZrVumLPY+YayBdWXgFSHYhTT2iJbMhoaaBL3xl5NCdeRytErGr8tZ0L71BMRmnlwSw==
Expand All @@ -2415,17 +2415,6 @@
is-module "^1.0.0"
resolve "^1.19.0"

"@rollup/plugin-node-resolve@^7.1.1":
version "7.1.3"
resolved "https://registry.yarnpkg.com/@rollup/plugin-node-resolve/-/plugin-node-resolve-7.1.3.tgz#80de384edfbd7bfc9101164910f86078151a3eca"
integrity sha512-RxtSL3XmdTAE2byxekYLnx+98kEUOrPHF/KRVjLH+DEIHy6kjIw7YINQzn+NXiH/NTrQLAwYs0GWB+csWygA9Q==
dependencies:
"@rollup/pluginutils" "^3.0.8"
"@types/resolve" "0.0.8"
builtin-modules "^3.1.0"
is-module "^1.0.0"
resolve "^1.14.2"

"@rollup/plugin-replace@^2.3.4", "@rollup/plugin-replace@^2.4.1", "@rollup/plugin-replace@^2.4.2":
version "2.4.2"
resolved "https://registry.yarnpkg.com/@rollup/plugin-replace/-/plugin-replace-2.4.2.tgz#a2d539314fbc77c244858faa523012825068510a"
Expand Down Expand Up @@ -3074,13 +3063,6 @@
resolved "https://registry.yarnpkg.com/@types/range-parser/-/range-parser-1.2.3.tgz#7ee330ba7caafb98090bece86a5ee44115904c2c"
integrity sha512-ewFXqrQHlFsgc09MK5jP5iR7vumV/BYayNC6PgJO2LPe8vrnNFyjQjSppfEngITi0qvfKtzFvgKymGheFM9UOA==

"@types/resolve@0.0.8":
version "0.0.8"
resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-0.0.8.tgz#f26074d238e02659e323ce1a13d041eee280e194"
integrity sha512-auApPaJf3NPfe18hSoJkp8EbZzer2ISk7o8mCC3M9he/a04+gbMF97NkpD2S8riMGvm4BMRI59/SZQSaLTKpsQ==
dependencies:
"@types/node" "*"

"@types/resolve@1.17.1":
version "1.17.1"
resolved "https://registry.yarnpkg.com/@types/resolve/-/resolve-1.17.1.tgz#3afd6ad8967c77e4376c598a82ddd58f46ec45d6"
Expand Down

0 comments on commit d009faa

Please sign in to comment.