Skip to content

Commit

Permalink
feat: ember-cli support
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-north committed Sep 28, 2018
1 parent 079f952 commit 986a315
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions packages/import-utils/src/create-sandbox/templates.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ export function getTemplate(
return "apollo";
}

if (totalDependencies.indexOf("ember-cli") > -1) {
return "node";
}

if (totalDependencies.indexOf("sapper") > -1) {
return "sapper";
}
Expand Down
3 changes: 2 additions & 1 deletion packages/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ export type ITemplate =
| "next"
| "reason"
| "apollo"
| "sapper";
| "sapper"
| "ember-cli";

export interface ISandbox {
title: string;
Expand Down

0 comments on commit 986a315

Please sign in to comment.