diff --git a/benchmark/benchmarks/krausest/vite.config.mts b/benchmark/benchmarks/krausest/vite.config.mts index 8ae36e9149..f0b3ca2e12 100644 --- a/benchmark/benchmarks/krausest/vite.config.mts +++ b/benchmark/benchmarks/krausest/vite.config.mts @@ -9,7 +9,7 @@ const self = import.meta.url; const currentPath = path.dirname(fileURLToPath(self)); /** - * Only run this vite config via pnpm benchmark:setup at the + * Only run this vite config via pnpm benchmark:setup at the * monorepo root */ const packagesPath = path.resolve(currentPath, '..', '..', './../'); diff --git a/bin/preview-publish.mts b/bin/preview-publish.mts index eb2616b75c..ff4ea3184b 100644 --- a/bin/preview-publish.mts +++ b/bin/preview-publish.mts @@ -42,7 +42,10 @@ export async function previewPublish() { await mkdirp(pkgDest); await rimraf(pkgDest + '/**/*'); - const tarball = join(dist, pkg.name.replace('@', '').replace('/', '-') + `-${pkg.version}.tgz`); + const tarball = join( + dist, + pkg.name.replace('@', '').replace('/', '-') + `-${pkg.version}.tgz` + ); await untar({ file: tarball, @@ -96,7 +99,6 @@ ${pkgs.map((pkg) => ` "${pkg.name}": "workspace:*"`).join(',\n')} console.log(chalk.green(`Successfully installed packages`)); } - if (import.meta.url === 'file://' + process.argv[1]) { console.log('Previewing Publish...');