Skip to content

Commit a872eb7

Browse files
authored
error if changeset runs from the root (#6691)
Signed-off-by: Vincenzo Scamporlino <[email protected]>
1 parent 009b7c5 commit a872eb7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
"node": "20 || 22"
88
},
99
"scripts": {
10+
"changeset": "echo 'Error: Please run yarn changeset from a workspace directory, not the root.' && exit 1",
1011
"create-workspace": "community-cli workspace create",
1112
"postinstall": "husky",
1213
"prettier:check": "prettier --check .",

0 commit comments

Comments
 (0)