From 622608d0d9bfa890eb53720f2d16d296b708d86d Mon Sep 17 00:00:00 2001 From: Sander Elias Date: Mon, 16 Dec 2019 12:27:36 +0100 Subject: [PATCH 1/3] Fix organge color for chalk --- projects/scullyio/ng-lib/package.json | 2 +- scully/package.json | 6 +++--- scully/utils/log.ts | 5 ++++- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/projects/scullyio/ng-lib/package.json b/projects/scullyio/ng-lib/package.json index 749191999..c29beff60 100644 --- a/projects/scullyio/ng-lib/package.json +++ b/projects/scullyio/ng-lib/package.json @@ -1,6 +1,6 @@ { "name": "@scullyio/ng-lib", - "version": "0.0.4", + "version": "0.0.5", "repository": { "type": "GIT", "url": "https://github.com/scullyio/scully/tree/master/projects/scullyio/ng-lib" diff --git a/scully/package.json b/scully/package.json index 10d7528c1..27b7d666f 100644 --- a/scully/package.json +++ b/scully/package.json @@ -15,9 +15,9 @@ "start": "tsc -p ./tsconfig.scully.json -w", "commit": "git add . && git commit -m \"add new version build\"", "push": "git push origin master", - "publish:patch": "tsc -p ./tsconfig.scully.json && npm version patch && npm run commit && npm publish && npm run push", - "publish:minor": "tsc -p ./tsconfig.scully.json && npm version minor && npm run commit && npm publish && npm run push", - "publish:major": "tsc -p ./tsconfig.scully.json && npm version major && npm run commit && npm publish && npm run push" + "publish:patch": "tsc -p ./tsconfig.scully.json && npm version patch + "publish:minor": "tsc -p ./tsconfig.scully.json && npm version minor", + "publish:major": "tsc -p ./tsconfig.scully.json && npm version major" }, "dependencies": { "@types/express": "^4.17.0", diff --git a/scully/utils/log.ts b/scully/utils/log.ts index ec1444381..515cef758 100644 --- a/scully/utils/log.ts +++ b/scully/utils/log.ts @@ -1,6 +1,9 @@ import chalk from 'chalk'; -export const {white, red, yellow, green, orange}: {[x: string]: any} = chalk; + +const orange = chalk.hex('#FFA500') +export const {white, red, yellow, green, organge}: {[x: string]: any} = chalk; + export const log = (...a) => console.log(white(...a)); export const logError = (...a) => console.log(red(...a)); From 62d1febe420c50b81348aaed94abe79e5902c172 Mon Sep 17 00:00:00 2001 From: Sander Elias Date: Mon, 16 Dec 2019 12:32:43 +0100 Subject: [PATCH 2/3] published update --- scully/package-lock.json | 2 +- scully/package.json | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scully/package-lock.json b/scully/package-lock.json index 83da1d2ea..bf2b8cea9 100644 --- a/scully/package-lock.json +++ b/scully/package-lock.json @@ -1,6 +1,6 @@ { "name": "@scullyio/scully", - "version": "0.0.43", + "version": "0.0.44", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/scully/package.json b/scully/package.json index 27b7d666f..2deb4bdef 100644 --- a/scully/package.json +++ b/scully/package.json @@ -1,6 +1,6 @@ { "name": "@scullyio/scully", - "version": "0.0.43", + "version": "0.0.44", "description": "Scully CLI", "repository": { "type": "GIT", @@ -15,7 +15,7 @@ "start": "tsc -p ./tsconfig.scully.json -w", "commit": "git add . && git commit -m \"add new version build\"", "push": "git push origin master", - "publish:patch": "tsc -p ./tsconfig.scully.json && npm version patch + "publish:patch": "tsc -p ./tsconfig.scully.json && npm version patch", "publish:minor": "tsc -p ./tsconfig.scully.json && npm version minor", "publish:major": "tsc -p ./tsconfig.scully.json && npm version major" }, From b99609e29bc428e16b7b640ca6197ee50b763fa7 Mon Sep 17 00:00:00 2001 From: Sander Elias Date: Mon, 16 Dec 2019 12:49:52 +0100 Subject: [PATCH 3/3] fix for orange color --- scully/utils/log.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scully/utils/log.ts b/scully/utils/log.ts index 515cef758..7ac00291f 100644 --- a/scully/utils/log.ts +++ b/scully/utils/log.ts @@ -1,9 +1,7 @@ import chalk from 'chalk'; - -const orange = chalk.hex('#FFA500') -export const {white, red, yellow, green, organge}: {[x: string]: any} = chalk; - +export const orange = chalk.hex('#FFA500'); +export const {white, red, yellow, green}: {[x: string]: any} = chalk; export const log = (...a) => console.log(white(...a)); export const logError = (...a) => console.log(red(...a));