spacecraft-app-cli
Advanced tools
Comparing version 0.0.5 to 0.0.6
@@ -8,2 +8,3 @@ "use strict"; | ||
const rocket_1 = __importDefault(require("./rocket")); | ||
const welcome_1 = __importDefault(require("./welcome")); | ||
class CLI { | ||
@@ -66,2 +67,3 @@ constructor(input, output, spacecraft) { | ||
start() { | ||
console.log(welcome_1.default); | ||
console.log(rocket_1.default); | ||
@@ -68,0 +70,0 @@ this.output.write('(0, 0) ready for launch\n'); |
@@ -33,2 +33,3 @@ # Contributing to spacecraft-cli | ||
- Only fix/add the functionality in question **OR** address wide-spread whitespace/style issues, not both. | ||
- Work only on your own branch and always keep master in sync with upstream. | ||
- Address a single concern in the least number of changed lines as possible. | ||
@@ -47,2 +48,1 @@ - Include documentation in the repo on the necessary changes made. | ||
7. Open a PR in our repository and follow the PR template so that we can efficiently review the changes. | ||
{ | ||
"name": "spacecraft-app-cli", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "A simple CLI Project to solve the Spacecraft problem with typescript", | ||
@@ -9,2 +9,5 @@ "main": "bin/spacecraft-app-cli.js", | ||
"bin": "./bin/spacecraft-app-cli.js", | ||
"dependencies": { | ||
"readline": "^1.3.0" | ||
}, | ||
"devDependencies": { | ||
@@ -14,6 +17,8 @@ "@types/jest": "^26.0.14", | ||
"@typescript-eslint/parser": "^4.3.0", | ||
"eslint": "^7.10.0", | ||
"eslint-config-prettier": "^6.12.0", | ||
"eslint-plugin-prettier": "^3.1.4", | ||
"eslint": "^7.10.0", | ||
"husky": "^4.3.0", | ||
"jest": "^26.4.2", | ||
"lint-staged": "^10.4.0", | ||
"prettier": "^2.1.2", | ||
@@ -41,14 +46,23 @@ "ts-jest": "^26.4.1", | ||
"scripts": { | ||
"start": "node dist/main.js", | ||
"build": "tsc --build .tsconfig.json", | ||
"test": "jest --no-cache", | ||
"test:dev": "jest --no-cache --watchAll", | ||
"lint": "prettier --write '{src,tests}/**/*.{ts,tsx}' && eslint '{src,tests}/**/*.{ts,tsx}' --quiet --fix", | ||
"postversion": "git push && git push --tags", | ||
"preversion": "yarn lint", | ||
"version": "git add -A src", | ||
"postversion": "git push && git push --tags" | ||
"start": "node dist/main.js", | ||
"test:dev": "jest --no-cache --watchAll", | ||
"test": "jest --no-cache --coverage", | ||
"version": "git add -A src" | ||
}, | ||
"dependencies": { | ||
"readline": "^1.3.0" | ||
"lint-staged": { | ||
"src/**/*.{js,ts}": [ | ||
"yarn lint", | ||
"git add ." | ||
] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged", | ||
"pre-push": "yarn test" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
2842390
26
332
0
12