Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump rollup to ^3.21.8 #35619

Merged
merged 2 commits into from
May 16, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
"react-test-renderer": "^18.2.0",
"remark": "^13.0.0",
"rimraf": "^3.0.2",
"rollup": "^2.79.1",
"rollup": "^3.21.8",
"rollup-plugin-babel": "^4.4.0",
"rollup-plugin-commonjs": "^10.1.0",
"rollup-plugin-node-globals": "^1.4.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/mui-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"build:modern": "node ../../scripts/build.mjs modern",
"build:node": "node ../../scripts/build.mjs node",
"build:stable": "node ../../scripts/build.mjs stable",
"build:umd": "cross-env BABEL_ENV=stable rollup -c scripts/rollup.config.js",
"build:umd": "cross-env BABEL_ENV=stable rollup -c scripts/rollup.config.mjs",
"build:copy-files": "node ../../scripts/copyFiles.mjs",
"build:types": "node ../../scripts/buildTypes.mjs",
"prebuild": "rimraf build tsconfig.build.tsbuildinfo",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { promises as fs, existsSync } from 'fs';
import path from 'path';
import zlib from 'zlib';
import { promisify } from 'util';
import * as url from 'url';
import nodeResolve from 'rollup-plugin-node-resolve';
import commonjs from 'rollup-plugin-commonjs';
import babel from 'rollup-plugin-babel';
Expand All @@ -10,6 +11,7 @@ import nodeGlobals from 'rollup-plugin-node-globals';
import { terser } from 'rollup-plugin-terser';

const gzip = promisify(zlib.gzip);
const currentDirectory = url.fileURLToPath(new URL('.', import.meta.url));

/**
* @param {{snapshotPath: string}} options
Expand Down Expand Up @@ -77,7 +79,7 @@ function sizeSnapshot(options) {
function resolveNestedImport(packageFolder, importee) {
const folder = importee.split('/')[2];
const resolvedFilename = path.resolve(
__dirname,
currentDirectory,
`../../../packages/${packageFolder}/src/${folder}/index`,
);

Expand Down Expand Up @@ -124,7 +126,7 @@ const babelOptions = {
// We are using @babel/plugin-transform-runtime
runtimeHelpers: true,
extensions: ['.js', '.ts', '.tsx'],
configFile: path.resolve(__dirname, '../../../babel.config.js'),
configFile: path.resolve(currentDirectory, '../../../babel.config.js'),
};
const commonjsOptions = {
ignoreGlobal: true,
Expand Down
8 changes: 4 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14533,10 +14533,10 @@ rollup-pluginutils@^2.3.1, rollup-pluginutils@^2.8.1:
dependencies:
estree-walker "^0.6.1"

rollup@^2.79.1:
version "2.79.1"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-2.79.1.tgz#bedee8faef7c9f93a2647ac0108748f497f081c7"
integrity sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==
rollup@^3.21.8:
version "3.21.8"
resolved "https://registry.yarnpkg.com/rollup/-/rollup-3.21.8.tgz#fc768008fe2c953f18210370fd70fe1ffff59e2c"
integrity sha512-SSFV2T2fWtQ/vvBip85u2Nr0GNKireabH9d7nXswBg+XSH+jbVDSYptRAEbCEsquhs503rpPA9POYAp0/Jhasw==
optionalDependencies:
fsevents "~2.3.2"

Expand Down