Minor tweaks
This commit is contained in:
parent
79c56dfc1e
commit
a027e3c1e0
5 changed files with 9 additions and 21 deletions
1
.github/workflows/main.yml
vendored
1
.github/workflows/main.yml
vendored
|
|
@ -13,7 +13,6 @@ jobs:
|
||||||
- 18
|
- 18
|
||||||
- 16
|
- 16
|
||||||
- 14
|
- 14
|
||||||
- 12
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
|
|
|
||||||
|
|
@ -33,8 +33,6 @@ async function animateString(string) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
(async () => {
|
console.log();
|
||||||
console.log();
|
await animateString('We hope you enjoy Chalk! <3');
|
||||||
await animateString('We hope you enjoy Chalk! <3');
|
console.log();
|
||||||
console.log();
|
|
||||||
})();
|
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@
|
||||||
"log-update": "^5.0.0",
|
"log-update": "^5.0.0",
|
||||||
"matcha": "^0.7.0",
|
"matcha": "^0.7.0",
|
||||||
"tsd": "^0.19.0",
|
"tsd": "^0.19.0",
|
||||||
"xo": "^0.52.4",
|
"xo": "^0.53.0",
|
||||||
"yoctodelay": "^2.0.0"
|
"yoctodelay": "^2.0.0"
|
||||||
},
|
},
|
||||||
"xo": {
|
"xo": {
|
||||||
|
|
|
||||||
12
readme.md
12
readme.md
|
|
@ -40,18 +40,6 @@
|
||||||
</a>
|
</a>
|
||||||
<br>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
<a href="https://doppler.com/?utm_campaign=github_repo&utm_medium=referral&utm_content=chalk&utm_source=github">
|
|
||||||
<div>
|
|
||||||
<img src="https://dashboard.doppler.com/imgs/logo-long.svg" width="240" alt="Doppler">
|
|
||||||
</div>
|
|
||||||
<b>All your environment variables, in one place</b>
|
|
||||||
<div>
|
|
||||||
<span>Stop struggling with scattered API keys, hacking together home-brewed tools,</span>
|
|
||||||
<br>
|
|
||||||
<span>and avoiding access controls. Keep your team and servers in sync with Doppler.</span>
|
|
||||||
</div>
|
|
||||||
</a>
|
|
||||||
<br>
|
|
||||||
<a href="https://strapi.io/?ref=sindresorhus">
|
<a href="https://strapi.io/?ref=sindresorhus">
|
||||||
<div>
|
<div>
|
||||||
<img src="https://sindresorhus.com/assets/thanks/strapi-logo-white-bg.png" width="220" alt="Strapi">
|
<img src="https://sindresorhus.com/assets/thanks/strapi-logo-white-bg.png" width="220" alt="Strapi">
|
||||||
|
|
|
||||||
7
source/vendor/supports-color/index.js
vendored
7
source/vendor/supports-color/index.js
vendored
|
|
@ -129,10 +129,13 @@ function _supportsColor(haveStream, {streamIsTTY, sniffFlags = true} = {}) {
|
||||||
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
const version = Number.parseInt((env.TERM_PROGRAM_VERSION || '').split('.')[0], 10);
|
||||||
|
|
||||||
switch (env.TERM_PROGRAM) {
|
switch (env.TERM_PROGRAM) {
|
||||||
case 'iTerm.app':
|
case 'iTerm.app': {
|
||||||
return version >= 3 ? 3 : 2;
|
return version >= 3 ? 3 : 2;
|
||||||
case 'Apple_Terminal':
|
}
|
||||||
|
|
||||||
|
case 'Apple_Terminal': {
|
||||||
return 2;
|
return 2;
|
||||||
|
}
|
||||||
// No default
|
// No default
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue