Skip to content

Commit

Permalink
fix: change factory id; add missing deps
Browse files Browse the repository at this point in the history
  • Loading branch information
neikvon committed Dec 16, 2020
1 parent 846645c commit 3128ee7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ const gateway_1 = __importDefault(require("./templates/gateway"));
class FactoryNode extends fbi_1.Factory {
constructor() {
super(...arguments);
this.id = 'factory-node';
this.id = '@fbi-js/factory-node';
this.description = 'factory for node.js application development';
this.commands = [new serve_1.default(this)];
this.templates = [new app_1.default(this), new service_1.default(this), new gateway_1.default(this)];
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
"dependencies": {
"@types/node": "*",
"ejs": "^3.1.5",
"fbi": "^4",
"ts-node": "^9.1.1",
"ts-node-dev": "^1.1.1",
"typescript": "^4.1.2"
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import TemplateService from './templates/service'
import TemplateGateway from './templates/gateway'

export default class FactoryNode extends Factory {
id = 'factory-node'
id = '@fbi-js/factory-node'
description = 'factory for node.js application development'
commands = [new CommandServe(this)]
templates = [new TemplateApp(this), new TemplateService(this), new TemplateGateway(this)]
Expand Down

0 comments on commit 3128ee7

Please sign in to comment.