Skip to content

Commit

Permalink
chore(repo): update rollup devDep in all packages (#1115)
Browse files Browse the repository at this point in the history
* chore(repo): update rollup devDep in all packages

* test: update snapshots for new rollup output
  • Loading branch information
shellscape committed Feb 22, 2022
1 parent 29bece0 commit 8835dd2
Show file tree
Hide file tree
Showing 39 changed files with 405 additions and 481 deletions.
2 changes: 1 addition & 1 deletion packages/alias/package.json
Expand Up @@ -54,7 +54,7 @@
"@rollup/plugin-node-resolve": "^8.4.0",
"@rollup/plugin-typescript": "^5.0.2",
"del-cli": "^3.0.1",
"rollup": "^2.58.0",
"rollup": "^2.67.3",
"typescript": "^4.1.2"
},
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/auto-install/package.json
Expand Up @@ -51,7 +51,7 @@
"@rollup/plugin-typescript": "^5.0.2",
"del": "^5.1.0",
"node-noop": "^1.0.0",
"rollup": "^2.23.0",
"rollup": "^2.67.3",
"typescript": "^4.1.2"
},
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/babel/package.json
Expand Up @@ -69,7 +69,7 @@
"@rollup/plugin-json": "^4.1.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"@types/babel__core": "^7.1.9",
"rollup": "^2.23.0",
"rollup": "^2.67.3",
"source-map": "^0.7.3"
},
"types": "types/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions packages/babel/test/as-input-plugin.js
Expand Up @@ -226,7 +226,7 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
var _classCallCheck__default = /*#__PURE__*/_interopDefaultLegacy(_classCallCheck);
var Foo = function Foo() {
_classCallCheck__default['default'](this, Foo);
_classCallCheck__default["default"](this, Foo);
};
module.exports = Foo;
Expand Down Expand Up @@ -259,7 +259,7 @@ var Foo = function Foo() {
_classCallCheck(this, Foo);
};
export default Foo;
export { Foo as default };
`
);
});
Expand Down
6 changes: 3 additions & 3 deletions packages/babel/test/as-output-plugin.js
Expand Up @@ -112,7 +112,7 @@ var Foo = function Foo() {
_classCallCheck(this, Foo);
};
export default Foo;
export { Foo as default };
`
);
});
Expand Down Expand Up @@ -224,7 +224,7 @@ test('transforms all chunks in a code-splitting setup', async (t) => {
return 42;
};
export default dep;
export { dep as default };
`
]
);
Expand Down Expand Up @@ -259,7 +259,7 @@ console.log(getResult(value));
return value + 1;
};
export default getResult;
export { getResult as default };
`
]
);
Expand Down
2 changes: 1 addition & 1 deletion packages/beep/package.json
Expand Up @@ -39,7 +39,7 @@
"rollup": "^1.20.0||^2.0.0"
},
"devDependencies": {
"rollup": "^2.23.0",
"rollup": "^2.67.3",
"strip-ansi": "^6.0.0"
},
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/buble/package.json
Expand Up @@ -57,7 +57,7 @@
"devDependencies": {
"@rollup/plugin-typescript": "^5.0.2",
"del-cli": "^3.0.1",
"rollup": "^2.23.0",
"rollup": "^2.67.3",
"source-map": "^0.7.3",
"typescript": "^4.1.2"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/buble/test/test.js
Expand Up @@ -31,5 +31,5 @@ test('transforms files', async (t) =>
.then(getChunksFromBundle)
.then((generated) => {
t.is(generated.length, 1);
t.is(generated[0].code, 'function main () { return 42; }\n\nexport default main;\n');
t.is(generated[0].code, 'function main () { return 42; }\n\nexport { main as default };\n');
}));
2 changes: 1 addition & 1 deletion packages/commonjs/package.json
Expand Up @@ -63,7 +63,7 @@
"@rollup/plugin-node-resolve": "^8.4.0",
"locate-character": "^2.0.5",
"require-relative": "^0.8.7",
"rollup": "^2.58.0",
"rollup": "^2.67.3",
"shx": "^0.3.2",
"source-map": "^0.7.3",
"source-map-support": "^0.5.19",
Expand Down
12 changes: 6 additions & 6 deletions packages/commonjs/test/snapshots/function.js.md
Expand Up @@ -7317,7 +7317,7 @@ Generated by [AVA](https://avajs.dev).
function _mergeNamespaces(n, m) {␊
m.forEach(function (e) {␊
Object.keys(e).forEach(function (k) {␊
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {␊
if (k !== 'default' && !(k in n)) {␊
var d = Object.getOwnPropertyDescriptor(e, k);␊
Object.defineProperty(n, k, d.get ? d : {␊
Expand Down Expand Up @@ -7368,7 +7368,7 @@ Generated by [AVA](https://avajs.dev).
function _mergeNamespaces(n, m) {␊
m.forEach(function (e) {␊
Object.keys(e).forEach(function (k) {␊
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {␊
if (k !== 'default' && !(k in n)) {␊
var d = Object.getOwnPropertyDescriptor(e, k);␊
Object.defineProperty(n, k, d.get ? d : {␊
Expand Down Expand Up @@ -7436,7 +7436,7 @@ Generated by [AVA](https://avajs.dev).
function _mergeNamespaces(n, m) {␊
m.forEach(function (e) {␊
Object.keys(e).forEach(function (k) {␊
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {␊
if (k !== 'default' && !(k in n)) {␊
var d = Object.getOwnPropertyDescriptor(e, k);␊
Object.defineProperty(n, k, d.get ? d : {␊
Expand Down Expand Up @@ -7551,7 +7551,7 @@ Generated by [AVA](https://avajs.dev).
function _mergeNamespaces(n, m) {␊
m.forEach(function (e) {␊
Object.keys(e).forEach(function (k) {␊
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {␊
if (k !== 'default' && !(k in n)) {␊
var d = Object.getOwnPropertyDescriptor(e, k);␊
Object.defineProperty(n, k, d.get ? d : {␊
Expand Down Expand Up @@ -7615,7 +7615,7 @@ Generated by [AVA](https://avajs.dev).
function _mergeNamespaces(n, m) {␊
m.forEach(function (e) {␊
Object.keys(e).forEach(function (k) {␊
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {␊
if (k !== 'default' && !(k in n)) {␊
var d = Object.getOwnPropertyDescriptor(e, k);␊
Object.defineProperty(n, k, d.get ? d : {␊
Expand Down Expand Up @@ -7683,7 +7683,7 @@ Generated by [AVA](https://avajs.dev).
function _mergeNamespaces(n, m) {␊
m.forEach(function (e) {␊
Object.keys(e).forEach(function (k) {␊
e && typeof e !== 'string' && !Array.isArray(e) && Object.keys(e).forEach(function (k) {␊
if (k !== 'default' && !(k in n)) {␊
var d = Object.getOwnPropertyDescriptor(e, k);␊
Object.defineProperty(n, k, d.get ? d : {␊
Expand Down
Binary file modified packages/commonjs/test/snapshots/function.js.snap
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/data-uri/package.json
Expand Up @@ -52,7 +52,7 @@
"devDependencies": {
"@rollup/plugin-typescript": "^5.0.2",
"@rollup/pluginutils": "^3.0.1",
"rollup": "^2.23.0",
"rollup": "^2.67.3",
"typescript": "^4.1.2"
},
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/dsv/package.json
Expand Up @@ -42,7 +42,7 @@
},
"devDependencies": {
"del-cli": "^3.0.1",
"rollup": "^2.23.0"
"rollup": "^2.67.3"
},
"types": "./types/index.d.ts",
"ava": {
Expand Down
2 changes: 1 addition & 1 deletion packages/dynamic-import-vars/package.json
Expand Up @@ -60,7 +60,7 @@
"acorn": "^7.3.1",
"acorn-dynamic-import": "^4.0.0",
"prettier": "^2.0.5",
"rollup": "^2.23.0"
"rollup": "^2.67.3"
},
"types": "./types/index.d.ts",
"ava": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint/package.json
Expand Up @@ -58,7 +58,7 @@
"@rollup/plugin-node-resolve": "^9.0.0",
"@rollup/plugin-typescript": "^6.0.0",
"@types/eslint": "^7.2.2",
"rollup": "^2.23.0",
"rollup": "^2.67.3",
"typescript": "^4.1.2"
},
"types": "types/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/graphql/package.json
Expand Up @@ -55,7 +55,7 @@
"devDependencies": {
"@rollup/plugin-buble": "^0.21.3",
"graphql": "^14.1.1",
"rollup": "^2.23.0"
"rollup": "^2.67.3"
},
"types": "types/index.d.ts",
"ava": {
Expand Down
2 changes: 1 addition & 1 deletion packages/html/package.json
Expand Up @@ -48,7 +48,7 @@
},
"devDependencies": {
"@rollup/plugin-typescript": "^6.1.0",
"rollup": "^2.23.0",
"rollup": "^2.67.3",
"rollup-plugin-postcss": "^3.1.8",
"typescript": "^4.1.2"
},
Expand Down

0 comments on commit 8835dd2

Please sign in to comment.