Skip to content

Commit

Permalink
fix(cli): adjust order of package.json properties (#684)
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewvolk committed Mar 20, 2024
1 parent 43b1afd commit 1e12797
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/big-stingrays-collect.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/create-catalyst": patch
---

Adjust order of `package.json` properties created by the CLI
4 changes: 4 additions & 0 deletions packages/create-catalyst/src/utils/clone-catalyst.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,10 @@ export const cloneCatalyst = async ({

const packageJson = z
.object({
name: z.string(),
description: z.string(),
version: z.string(),
scripts: z.object({}).passthrough().optional(),
private: z.boolean().optional(),
exports: z.object({}).passthrough().optional(),
sideEffects: z.boolean().optional(),
Expand Down

0 comments on commit 1e12797

Please sign in to comment.