-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
neikvon
committed
Feb 28, 2020
1 parent
72edf2f
commit 01307b2
Showing
17 changed files
with
499 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
module.exports = { | ||
factory: { | ||
id: 'factory', | ||
id: 'factory-factory', | ||
version: '', | ||
template: 'factory', | ||
features: {"typescript":true} | ||
features: { typescript: true } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
import { Template } from 'fbi'; | ||
import * as ejs from 'ejs'; | ||
import Factory from '..'; | ||
import SubTemplatePrisma from './graphql/prisma'; | ||
export default class TemplateGraphql extends Template { | ||
factory: Factory; | ||
id: string; | ||
description: string; | ||
path: string; | ||
renderer: typeof ejs.render; | ||
templates: SubTemplatePrisma[]; | ||
constructor(factory: Factory); | ||
protected prompting(): Promise<void>; | ||
protected start(): Promise<void>; | ||
protected gathering(): Promise<void>; | ||
protected writing(): Promise<void>; | ||
protected install(): Promise<void>; | ||
protected end(): Promise<void>; | ||
protected installing(flags: Record<string, any>): Promise<void>; | ||
protected ending(): Promise<void>; | ||
private _promptDB; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
import { Template } from 'fbi'; | ||
import * as ejs from 'ejs'; | ||
import Factory from '../..'; | ||
export default class TemplateGraphql extends Template { | ||
factory: Factory; | ||
id: string; | ||
description: string; | ||
path: string; | ||
renderer: typeof ejs.render; | ||
constructor(factory: Factory); | ||
protected gathering(): Promise<void>; | ||
protected writing(): Promise<void>; | ||
protected installing(flags: Record<string, any>): Promise<void>; | ||
protected ending(): Promise<void>; | ||
private _promptDB; | ||
} |
Oops, something went wrong.