react-creates
Advanced tools
Comparing version 1.0.7 to 1.0.8
@@ -7,2 +7,11 @@ ### Changelog | ||
#### [v1.0.7](https://github.com/tzachbon/react-creates/compare/v1.0.6...v1.0.7) | ||
> 17 August 2020 | ||
- Handle invalid project [`#14`](https://github.com/tzachbon/react-creates/pull/14) | ||
- docs(cli): add readme with examples [`99e2907`](https://github.com/tzachbon/react-creates/commit/99e2907bf6abe0b017f0e176e0be965bf637bf0b) | ||
- docs: main `README.md` [`2628e8e`](https://github.com/tzachbon/react-creates/commit/2628e8e6a53ef2a7bce76ff81b6c817b92fffd5c) | ||
- Update issue templates [`ee426b5`](https://github.com/tzachbon/react-creates/commit/ee426b54c5707c959bafdf8e69dd5eca2410607e) | ||
#### [v1.0.6](https://github.com/tzachbon/react-creates/compare/v1.0.5...v1.0.6) | ||
@@ -9,0 +18,0 @@ |
@@ -26,15 +26,7 @@ #!/usr/bin/env node | ||
const component_1 = require("./scripts/component"); | ||
const error_1 = require("./utils/error"); | ||
const componentParser = __importStar(require("./scripts/component/parsers")); | ||
exports.componentParser = componentParser; | ||
async function main() { | ||
await error_1.checkForMainDependencies(); | ||
commander_1.program | ||
.addCommand(component_1.createComponent()) | ||
.parse(process.argv); | ||
} | ||
main() | ||
.catch(error => { | ||
throw error; | ||
}); | ||
commander_1.program | ||
.addCommand(component_1.createComponent()) | ||
.parse(process.argv); | ||
//# sourceMappingURL=react-creates.js.map |
@@ -16,2 +16,3 @@ "use strict"; | ||
const parse_prop_types_1 = require("./parsers/parse-prop-types"); | ||
const error_1 = require("../../utils/error"); | ||
exports.createComponent = () => commander_1.program | ||
@@ -57,2 +58,3 @@ .command("component <name>") | ||
target = await parse_target_1.parseTarget({ name, target }); | ||
await error_1.checkForMainDependencies({ target }); | ||
const options = { | ||
@@ -59,0 +61,0 @@ name, |
{ | ||
"name": "react-creates", | ||
"version": "1.0.7", | ||
"version": "1.0.8", | ||
"description": "Create React Component folder works on macOS, Windows, and Linux.", | ||
@@ -5,0 +5,0 @@ "files": [ |
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
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
46090
618