@@ -7,24 +7,26 @@ export interface BaseDotConfigs {
77 ".config/git/ignore" : string ;
88 ".config/pnpm/rc" : string ;
99 ".config/prettier/.prettierrc.json" : string ;
10- ".config/workspaces/package.json " : string ;
10+ ".config/workspaces/pnpm-workspace.yaml " : string ;
1111}
1212
13- export const createBaseDotConfigs = async ( remoteUser : string ) : Promise < BaseDotConfigs > => {
13+ export const createBaseDotConfigs = async ( projectName : string , remoteUser : string ) : Promise < BaseDotConfigs > => {
1414 const templates = await loadTemplates ( "base" , [
1515 ".config/cspell/cspell.json" ,
1616 ".config/git/attributes" ,
1717 ".config/git/ignore" ,
1818 ".config/pnpm/rc" ,
1919 ".config/prettier/.prettierrc.json" ,
20- ".config/workspaces/package.json " ,
20+ ".config/workspaces/pnpm-workspace.yaml " ,
2121 ] satisfies ( keyof BaseDotConfigs ) [ ] ) ;
2222 return {
2323 ".config/cspell/cspell.json" : templates [ ".config/cspell/cspell.json" ] ,
2424 ".config/git/attributes" : templates [ ".config/git/attributes" ] ,
2525 ".config/git/ignore" : templates [ ".config/git/ignore" ] ,
2626 ".config/pnpm/rc" : fillTemplate ( templates [ ".config/pnpm/rc" ] , { remoteUser } ) ,
2727 ".config/prettier/.prettierrc.json" : templates [ ".config/prettier/.prettierrc.json" ] ,
28- ".config/workspaces/package.json" : templates [ ".config/workspaces/package.json" ] ,
28+ ".config/workspaces/pnpm-workspace.yaml" : fillTemplate ( templates [ ".config/workspaces/pnpm-workspace.yaml" ] , {
29+ projectName,
30+ } ) ,
2931 } ;
3032} ;
0 commit comments