neex 0.5.1 → 0.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/src/commands/dev-commands.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -54,7 +54,7 @@ async function findDefaultCommand() {
|
|
|
54
54
|
try {
|
|
55
55
|
await fs.access(mainFilePath);
|
|
56
56
|
if (mainFile.endsWith('.ts') || mainFile.endsWith('.mts') || mainFile.endsWith('.cts')) {
|
|
57
|
-
console.log(chalk_1.default.blue(`${figures_1.default.info} No command or script found. Using "main" field (TypeScript):
|
|
57
|
+
console.log(chalk_1.default.blue(`${figures_1.default.info} No command or script found. Using "main" field (TypeScript): neex dev ${mainFile}`));
|
|
58
58
|
return `npx ts-node ${mainFile}`;
|
|
59
59
|
}
|
|
60
60
|
else {
|
|
@@ -123,7 +123,7 @@ function addDevCommands(program) {
|
|
|
123
123
|
}
|
|
124
124
|
else if (firstArg.endsWith('.ts') || firstArg.endsWith('.mts') || firstArg.endsWith('.cts')) {
|
|
125
125
|
commandToExecute = `npx ts-node ${firstArg}`;
|
|
126
|
-
console.log(chalk_1.default.blue(`${figures_1.default.info} Detected .ts file, prepending with
|
|
126
|
+
console.log(chalk_1.default.blue(`${figures_1.default.info} Detected .ts file, prepending with neex dev.`));
|
|
127
127
|
}
|
|
128
128
|
if (commandToExecute) {
|
|
129
129
|
effectiveCommands = [commandToExecute, ...remainingArgs];
|