Skip to content

Commit

Permalink
did it work?
Browse files Browse the repository at this point in the history
  • Loading branch information
NullVoxPopuli committed Dec 28, 2023
1 parent df95d94 commit 4274dbd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion benchmark/benchmarks/krausest/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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, '..', '..', './../');
Expand Down
6 changes: 4 additions & 2 deletions bin/preview-publish.mts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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...');

Expand Down

0 comments on commit 4274dbd

Please sign in to comment.