ahmedelgabri
Advanced tools
Comparing version 5.0.2 to 6.0.0
34
index.js
@@ -1,2 +0,2 @@ | ||
const chalk = require('chalk') | ||
const pc = require('picocolors') | ||
const boxen = require('boxen') | ||
@@ -11,17 +11,17 @@ | ||
// Text + chalk definitions | ||
const name = chalk.reset('Ahmed El Gabri') | ||
const handle = chalk.cyan('ahmedelgabri') | ||
const work = chalk.reset('Staff Software Engineer @MiroHQ') | ||
const twitter = chalk.cyan(`https://twitter.com/${handle}`) | ||
const github = chalk.cyan(`https://github.com/${handle}`) | ||
const linkedin = chalk.cyan(`https://linkedin.com/in/${handle}`) | ||
const web = chalk.cyan('https://gabri.me') | ||
const npx = chalk.reset(`npx ${handle}`) | ||
const labelWork = chalk.reset.bold(' Work: ') | ||
const labelTwitter = chalk.reset.bold(' Twitter: ') | ||
const labelGitHub = chalk.reset.bold(' GitHub: ') | ||
const labelLinkedIn = chalk.reset.bold(' LinkedIn: ') | ||
const labelWeb = chalk.reset.bold(' Web: ') | ||
const labelCard = chalk.reset.bold(' Card: ') | ||
// Text + pc definitions | ||
const name = pc.reset('Ahmed El Gabri') | ||
const handle = pc.cyan('ahmedelgabri') | ||
const work = pc.reset('Staff Software Engineer @MiroHQ') | ||
const twitter = pc.cyan(`https://twitter.com/${handle}`) | ||
const github = pc.cyan(`https://github.com/${handle}`) | ||
const linkedin = pc.cyan(`https://linkedin.com/in/${handle}`) | ||
const web = pc.cyan('https://gabri.me') | ||
const npx = pc.reset(`npx ${handle}`) | ||
const labelWork = pc.bold(pc.reset(' Work: ')) | ||
const labelTwitter = pc.bold(pc.reset(' Twitter: ')) | ||
const labelGitHub = pc.bold(pc.reset(' GitHub: ')) | ||
const labelLinkedIn = pc.bold(pc.reset(' LinkedIn: ')) | ||
const labelWeb = pc.bold(pc.reset(' Web: ')) | ||
const labelCard = pc.bold(pc.reset(' Card: ')) | ||
@@ -49,4 +49,4 @@ // Actual strings we're going to output | ||
module.exports = { | ||
getCard: () => chalk.green(boxen(output, options)), | ||
getCard: () => pc.green(boxen(output, options)), | ||
getPlainCard: () => output, | ||
} |
{ | ||
"name": "ahmedelgabri", | ||
"author": "Ahmed El Gabri <ahmed@gabri.me> (https://gabri.me)", | ||
"version": "5.0.2", | ||
"version": "6.0.0", | ||
"description": "A personal card for Ahmed El Gabri (@ahmedelgabri)", | ||
@@ -40,7 +40,9 @@ "license": "MIT", | ||
"@ahmedelgabri/prettier-config": "^5.0.0", | ||
"boxen": "^5.1.2", | ||
"chalk": "^4.1.2", | ||
"prettier": "^2.5.0", | ||
"standard": "^16.0.4" | ||
}, | ||
"dependencies": { | ||
"picocolors": "^1.0.0", | ||
"boxen": "^5.1.2" | ||
} | ||
} |
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
3
5407
2
+ Addedboxen@^5.1.2
+ Addedpicocolors@^1.0.0
+ Addedansi-align@3.0.1(transitive)
+ Addedansi-regex@5.0.1(transitive)
+ Addedansi-styles@4.3.0(transitive)
+ Addedboxen@5.1.2(transitive)
+ Addedcamelcase@6.3.0(transitive)
+ Addedchalk@4.1.2(transitive)
+ Addedcli-boxes@2.2.1(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedemoji-regex@8.0.0(transitive)
+ Addedhas-flag@4.0.0(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedpicocolors@1.1.1(transitive)
+ Addedstring-width@4.2.3(transitive)
+ Addedstrip-ansi@6.0.1(transitive)
+ Addedsupports-color@7.2.0(transitive)
+ Addedtype-fest@0.20.2(transitive)
+ Addedwidest-line@3.1.0(transitive)
+ Addedwrap-ansi@7.0.0(transitive)