Skip to content

Commit 723046d

Browse files
committed
fix: relative import paths
1 parent 9880383 commit 723046d

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

packages/create-commandkit/src/functions/setup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import fs from 'fs-extra';
33
import path from 'node:path';
44

55
import type { PackageManager } from '../types';
6-
import { commands } from '../utils';
6+
import { commands } from '../utils.js';
77

88
interface SetupProps {
99
manager: PackageManager;

packages/create-commandkit/src/index.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import { execSync } from 'node:child_process';
88
import path from 'node:path';
99
import colors from 'picocolors';
1010

11-
import { copyTemplates } from './functions/copyTemplates';
12-
import { installDeps } from './functions/installDeps';
13-
import { setup } from './functions/setup';
11+
import { copyTemplates } from './functions/copyTemplates.js';
12+
import { installDeps } from './functions/installDeps.js';
13+
import { setup } from './functions/setup.js';
1414
import type { Language, PackageManager } from './types';
15-
import { textColors } from './utils';
15+
import { textColors } from './utils.js';
1616

1717
const commandkitGradient = gradient(textColors.commandkit)('CommandKit');
1818
intro(`Welcome to ${commandkitGradient}!`);

0 commit comments

Comments
 (0)