Skip to content

Commit 94cb9c2

Browse files
committed
remove chalk in favour of native styleText
1 parent 44a9bf8 commit 94cb9c2

3 files changed

Lines changed: 6 additions & 10 deletions

File tree

index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
'use strict';
22

33
const stringUtil = require('ember-cli-string-utils');
4-
const chalk = require('chalk');
4+
const { styleText } = require('node:util');
55
const directoryForPackageName = require('./lib/directory-for-package-name');
66
const { sortPackageJson } = require('sort-package-json');
77
const { join } = require('path');
@@ -170,7 +170,7 @@ module.exports = {
170170
this.ui.writeLine(
171171
prependEmoji(
172172
'✨',
173-
`Creating a new Ember app in ${chalk.yellow(process.cwd())}:`,
173+
`Creating a new Ember app in ${styleText('yellow', process.cwd())}:`,
174174
),
175175
);
176176
},

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@
3030
"publishTag": "alpha"
3131
},
3232
"dependencies": {
33-
"chalk": "^4.1.2",
3433
"ejs": "^3.1.10",
3534
"ember-cli-string-utils": "^1.1.0",
3635
"lodash": "^4.17.21",

pnpm-lock.yaml

Lines changed: 4 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)