Skip to content

Commit

Permalink
feat(create): Better defaults for project scaffold
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelbromley committed Sep 12, 2023
1 parent 6c21cc9 commit fa683e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/create/templates/gitignore.template
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
node_modules
dist
admin-ui
static/assets
static/email/test-emails
2 changes: 1 addition & 1 deletion packages/create/templates/tsconfig.template.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"outDir": "./dist",
"baseUrl": "./"
},
"exclude": ["node_modules", "migration.ts"],
"exclude": ["node_modules", "migration.ts", "src/plugins/**/ui/*", "admin-ui"],
"ts-node": {
"files": true
}
Expand Down
3 changes: 3 additions & 0 deletions packages/create/templates/vendure-config.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,9 @@ export const config: VendureConfig = {
AdminUiPlugin.init({
route: 'admin',
port: 3002,
adminUiConfig: {
apiPort: 3000,
},
}),
],
};

0 comments on commit fa683e7

Please sign in to comment.