@we-scrum/cli 1.0.4 → 1.0.6
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/dist/cli.js +173 -47
- package/package.json +13 -13
- package/src/cli.ts +116 -51
- package/src/hbs.d.ts +4 -0
- package/src/helpers/auth-helper.ts +1 -1
- package/src/helpers/index.ts +2 -0
- package/src/helpers/project-helper.ts +96 -0
- package/src/helpers/settings-helper.ts +0 -1
- package/src/helpers/template.helper.ts +25 -0
- package/src/helpers/we-scrum.helper.ts +119 -102
- package/templates/develop-story-skill.hbs +46 -0
- package/templates/get-next-task.hbs +21 -0
- package/templates/review-analysis-skill.hbs +61 -0
- package/tsconfig.json +2 -1
- package/src/mcp-server/index.ts +0 -1
- package/src/mcp-server/mcp-server.ts +0 -82
- package/src/mcp-server/tools/complete-task.ts +0 -6
- package/src/mcp-server/tools/get-next-task.ts +0 -150
- package/src/mcp-server/tools/get-unit-test-guidelines.ts +0 -15
- package/src/mcp-server/tools/index.ts +0 -4
- package/src/mcp-server/tools/start-task.ts +0 -6
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { WeScrumHelper } from '@helpers';
|
|
2
|
-
|
|
3
|
-
export async function getUnitTestGuidelines(identificationNumber: string): Promise<Record<string, string>> {
|
|
4
|
-
const nextTask = await WeScrumHelper.getNextChange(identificationNumber);
|
|
5
|
-
|
|
6
|
-
if (!nextTask) {
|
|
7
|
-
return { message: `All tasks for story "${identificationNumber}" are complete.` };
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
const developmentPolicy = await WeScrumHelper.getChangeDevelopmentPolicy(nextTask);
|
|
11
|
-
|
|
12
|
-
return {
|
|
13
|
-
unitTestGuidelines: developmentPolicy?.unitTestsGuidelines ?? 'No unit test guidelines found for this task.',
|
|
14
|
-
};
|
|
15
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { WeScrumHelper } from '@helpers';
|
|
2
|
-
|
|
3
|
-
export async function startTask(identificationNumber: string): Promise<Record<string, string>> {
|
|
4
|
-
await WeScrumHelper.startTask(identificationNumber);
|
|
5
|
-
return { message: 'Task started successfully. You can now make changes to the codebase.' };
|
|
6
|
-
}
|