Skip to content

Commit

Permalink
chore(multi-entry): update dependencies
Browse files Browse the repository at this point in the history
BREAKING CHANGES: now requires at least Node 10
  • Loading branch information
lukastaegert committed Jul 31, 2020
1 parent 5a2e4de commit afd93a3
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 123 deletions.
19 changes: 11 additions & 8 deletions packages/multi-entry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,18 @@
"homepage": "https://github.com/rollup/plugins/tree/master/packages/multi-entry/#readme",
"bugs": "https://github.com/rollup/plugins/issues",
"main": "dist/index.js",
"module": "dist/index.es.js",
"engines": {
"node": ">=10.0.0"
},
"scripts": {
"build": "rollup -c",
"ci:coverage": "nyc pnpm run test && nyc report --reporter=text-lcov > coverage.lcov",
"ci:lint": "pnpm run build && pnpm run lint",
"ci:lint:commits": "commitlint --from=${CIRCLE_BRANCH} --to=${CIRCLE_SHA1}",
"ci:test": "pnpm run test -- --verbose",
"lint": "pnpm run lint:js && pnpm run lint:docs && pnpm run lint:package",
"lint:docs": "prettier --single-quote --write README.md",
"lint:docs": "prettier --single-quote --arrow-parens avoid --write README.md",
"lint:js": "eslint --fix --cache src test --ext .js,.ts",
"lint:package": "prettier --write package.json --plugin=prettier-plugin-package",
"prebuild": "del-cli dist",
Expand All @@ -44,21 +48,20 @@
"rollup": "^1.20.0 || ^2.0.0"
},
"dependencies": {
"matched": "^1.0.2"
"matched": "^5.0.0"
},
"devDependencies": {
"@babel/core": "^7.9.0",
"@babel/preset-env": "^7.9.0",
"rollup": "^2.0.0",
"rollup-plugin-babel": "^4.4.0"
"rollup": "^2.23.0"
},
"ava": {
"babel": {
"compileEnhancements": false
},
"files": [
"!**/fixtures/**",
"!**/helpers/**",
"!**/recipes/**",
"!**/types.ts"
]
},
"module": "dist/index.es.js"
}
}
10 changes: 1 addition & 9 deletions packages/multi-entry/rollup.config.js
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
import babel from 'rollup-plugin-babel';

const pkg = require('./package.json');

export default {
input: 'src/index.js',
plugins: [
babel({
presets: [['@babel/env', { targets: { node: '8' }, modules: false }]],
babelrc: false
})
],
external: Object.keys(pkg.dependencies),
output: [
{ format: 'cjs', file: pkg.main },
{ format: 'cjs', file: pkg.main, exports: 'auto' },
{ format: 'es', file: pkg.module }
]
};
2 changes: 1 addition & 1 deletion packages/multi-entry/src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable consistent-return, no-param-reassign */

import { promise as matched } from 'matched';
import matched from 'matched';

const entry = '\0rollup:plugin-multi-entry:entry-point';

Expand Down
117 changes: 12 additions & 105 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit afd93a3

Please sign in to comment.