Skip to content

Commit

Permalink
chore(scripts): don't use reformat when creating a new package (#5013)
Browse files Browse the repository at this point in the history
  • Loading branch information
gribnoysup authored Oct 24, 2023
1 parent 41dc103 commit ad6ef32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/create-workspace.js
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ async function createWorkspace({
}) {
const pkgJson = {
name: dirToScopedPackageName(workspaceName, scope),
productName: `${workspaceName} Plugin`,
...(isPlugin && { productName: `${workspaceName} Plugin` }),
...(description && { description }),
author: {
name: 'MongoDB Inc',
Expand Down Expand Up @@ -498,7 +498,7 @@ describe('Compass Plugin', function() {
'Updating package-lock and prettifying workspace source',
async () => {
await runInDir('npm install');
await runInDir('npm run reformat', packagePath);
await runInDir('npm run prettier -- --write .', packagePath);
}
);

Expand Down

0 comments on commit ad6ef32

Please sign in to comment.