Comparing version 0.1.1 to 0.2.0
@@ -6,11 +6,10 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const create_1 = __importDefault(require("./create")); | ||
const command_1 = __importDefault(require("./command")); | ||
const default_values_1 = __importDefault(require("./default-values")); | ||
const createCommand = { | ||
exports.default = { | ||
command: "create", | ||
describe: "Creates a new entity of the specified type.", | ||
builder: default_values_1.default, | ||
handler: create_1.default | ||
handler: command_1.default | ||
}; | ||
exports.default = createCommand; | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,3 @@ | ||
import create from "./create"; | ||
declare const createCommand: { | ||
import command from "./command"; | ||
declare const _default: { | ||
command: string; | ||
@@ -23,4 +23,4 @@ describe: string; | ||
}; | ||
handler: typeof create; | ||
handler: typeof command; | ||
}; | ||
export default createCommand; | ||
export default _default; |
@@ -10,3 +10,3 @@ export declare enum Languages { | ||
} | ||
export interface ICreateArguments { | ||
export interface CommandArguments { | ||
name: string; | ||
@@ -13,0 +13,0 @@ language: Languages; |
{ | ||
"name": "exos-cli", | ||
"version": "0.1.1", | ||
"version": "0.2.0", | ||
"description": "CLI tool for React projects", | ||
@@ -17,5 +17,5 @@ "main": "./dist/exos-cli.js", | ||
"coveralls": "nyc report --reporter=text-lcov | coveralls", | ||
"build": "rm -rf dist && tsc && cp -r ./src/commands/create/templates ./dist/commands/create/templates", | ||
"build": "rm -rf dist && tsc && (for filename in `find src/commands -name 'templates'`; do cp -r $filename `echo $filename | sed 's/src/dist/'` ; done)", | ||
"start": "node .", | ||
"debug": "node --nolazy --inspect-brk=9229 ./dist/exos-cli.js create", | ||
"debug": "node --nolazy --inspect-brk=9229 ./dist/exos-cli.js init", | ||
"prepublish": "npm run build" | ||
@@ -58,3 +58,3 @@ }, | ||
}, | ||
"gitHead": "4227b168045c6512e90119ec6d58de456f22b5cb" | ||
"gitHead": "7f87673e52159a7718f3628e1f7c11e59ee57317" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Shell access
Supply chain riskThis module accesses the system shell. Accessing the system shell increases the risk of executing arbitrary code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
49555
66
602
5
2