Skip to content

Commit e537a7f

Browse files
committed
add extensions/*/tests directory to workspace
1 parent 3b79871 commit e537a7f

File tree

1 file changed

+3
-1
lines changed
  • packages/app/src/cli/services/init

1 file changed

+3
-1
lines changed

packages/app/src/cli/services/init/init.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,9 @@ async function init(options: InitOptions) {
108108
packageJSON.name = hyphenizedName
109109
packageJSON.author = (await username()) ?? ''
110110
packageJSON.private = true
111-
const workspacesFolders = ['extensions/*'].concat(detectAdditionalWorkspacesFolders(templateScaffoldDir))
111+
const workspacesFolders = ['extensions/*', 'extensions/*/tests'].concat(
112+
detectAdditionalWorkspacesFolders(templateScaffoldDir),
113+
)
112114

113115
switch (packageManager) {
114116
case 'npm':

0 commit comments

Comments
 (0)