diff --git a/index.js b/index.js index b8e7475..a77eea4 100644 --- a/index.js +++ b/index.js @@ -1,7 +1,7 @@ 'use strict'; const stringUtil = require('ember-cli-string-utils'); -const chalk = require('chalk'); +const { styleText } = require('node:util'); const directoryForPackageName = require('./lib/directory-for-package-name'); const { sortPackageJson } = require('sort-package-json'); const { join } = require('path'); @@ -170,7 +170,7 @@ module.exports = { this.ui.writeLine( prependEmoji( '✨', - `Creating a new Ember app in ${chalk.yellow(process.cwd())}:`, + `Creating a new Ember app in ${styleText('yellow', process.cwd())}:`, ), ); }, diff --git a/package.json b/package.json index 8be403f..049fd02 100644 --- a/package.json +++ b/package.json @@ -30,7 +30,6 @@ "publishTag": "alpha" }, "dependencies": { - "chalk": "^4.1.2", "ejs": "^3.1.10", "ember-cli-string-utils": "^1.1.0", "lodash": "^4.17.21", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 3885f45..b4a90e0 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -8,9 +8,6 @@ importers: .: dependencies: - chalk: - specifier: ^4.1.2 - version: 4.1.2 ejs: specifier: ^3.1.10 version: 3.1.10 @@ -1182,8 +1179,8 @@ packages: resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} engines: {node: '>=10'} - chalk@5.4.1: - resolution: {integrity: sha512-zgVZuo2WcZgfUEmsn6eO3kINexW8RAE4maiQ8QNs8CtpPCSyMiYsULR3HQYkm3w8FIA3SberyMJMSldGsW+U3w==} + chalk@5.6.2: + resolution: {integrity: sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA==} engines: {node: ^12.17.0 || ^14.13 || >=16.0.0} chardet@0.7.0: @@ -5521,7 +5518,7 @@ snapshots: ansi-styles: 4.3.0 supports-color: 7.2.0 - chalk@5.4.1: {} + chalk@5.6.2: {} chardet@0.7.0: {} @@ -7852,7 +7849,7 @@ snapshots: '@npmcli/package-json': 6.1.1 '@octokit/rest': 21.1.1 assert-never: 1.4.0 - chalk: 5.4.1 + chalk: 5.6.2 cli-highlight: 2.1.11 execa: 9.5.2 fs-extra: 11.3.0