-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpost-setup.ts
More file actions
32 lines (24 loc) · 834 Bytes
/
post-setup.ts
File metadata and controls
32 lines (24 loc) · 834 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
import { bgGreen, gray, green, white } from 'picocolors';
import { log, newline } from '../utils/logger.js';
import type { Context } from './context.js';
import { getLintCommand } from '../utils/package-manager-commands.js';
async function showNextSteps(context: Context): Promise<void> {
const packageManager = context.packageManager;
const lintCommand = getLintCommand(packageManager!);
newline();
log(
`${' '.repeat(2)}${bgGreen(white(' SUCCESS '))}${' '.repeat(5)}${green(
'Project setup complete!',
)}`,
);
log(`${' '.repeat(16)}Run the following command to start linting:`);
log(`${' '.repeat(16)}${lintCommand}`);
newline();
log(
`${' '.repeat(2)}${gray(
'Need to customize?:',
)}`,
);
log(`${' '.repeat(2)}${'https://stylelint.io/user-guide/configure/'}`);
}
export { showNextSteps };