issy 0.6.0 → 0.7.0
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 +0 -1
- package/dist/cli.js +0 -14
- package/dist/main.js +0 -4
- package/package.json +3 -3
package/README.md
CHANGED
package/dist/cli.js
CHANGED
|
@@ -325,7 +325,6 @@ function parseFrontmatter(content) {
|
|
|
325
325
|
function generateFrontmatter(data) {
|
|
326
326
|
const lines = ["---"];
|
|
327
327
|
lines.push(`title: ${data.title}`);
|
|
328
|
-
lines.push(`description: ${data.description}`);
|
|
329
328
|
lines.push(`priority: ${data.priority}`);
|
|
330
329
|
if (data.scope) {
|
|
331
330
|
lines.push(`scope: ${data.scope}`);
|
|
@@ -481,7 +480,6 @@ async function createIssue(input) {
|
|
|
481
480
|
const filename = `${issueNumber}-${slug}.md`;
|
|
482
481
|
const frontmatter = {
|
|
483
482
|
title: input.title,
|
|
484
|
-
description: input.description || input.title,
|
|
485
483
|
priority,
|
|
486
484
|
scope: scope || undefined,
|
|
487
485
|
type,
|
|
@@ -516,7 +514,6 @@ async function updateIssue(id, input) {
|
|
|
516
514
|
const updatedFrontmatter = {
|
|
517
515
|
...issue.frontmatter,
|
|
518
516
|
...input.title && { title: input.title },
|
|
519
|
-
...input.description && { description: input.description },
|
|
520
517
|
...input.priority && { priority: input.priority },
|
|
521
518
|
...input.scope && { scope: input.scope },
|
|
522
519
|
...input.type && { type: input.type },
|
|
@@ -1917,7 +1914,6 @@ Fuse.config = Config;
|
|
|
1917
1914
|
var FUSE_OPTIONS = {
|
|
1918
1915
|
keys: [
|
|
1919
1916
|
{ name: "frontmatter.title", weight: 1 },
|
|
1920
|
-
{ name: "frontmatter.description", weight: 0.7 },
|
|
1921
1917
|
{ name: "frontmatter.labels", weight: 0.5 },
|
|
1922
1918
|
{ name: "content", weight: 0.3 }
|
|
1923
1919
|
],
|
|
@@ -2231,7 +2227,6 @@ Create New Issue`);
|
|
|
2231
2227
|
});
|
|
2232
2228
|
};
|
|
2233
2229
|
options.title = await prompt("Title: ");
|
|
2234
|
-
options.description = await prompt("Description: ");
|
|
2235
2230
|
options.priority = await prompt("Priority (high/medium/low) [medium]: ");
|
|
2236
2231
|
options.scope = await prompt("Scope (small/medium/large) []: ");
|
|
2237
2232
|
options.type = await prompt("Type (bug/improvement) [improvement]: ");
|
|
@@ -2255,7 +2250,6 @@ Create New Issue`);
|
|
|
2255
2250
|
});
|
|
2256
2251
|
const input = {
|
|
2257
2252
|
title: options.title,
|
|
2258
|
-
description: options.description,
|
|
2259
2253
|
body: options.body,
|
|
2260
2254
|
priority: options.priority,
|
|
2261
2255
|
scope: options.scope,
|
|
@@ -2286,7 +2280,6 @@ async function updateIssueCommand(id, options) {
|
|
|
2286
2280
|
}
|
|
2287
2281
|
const issue = await updateIssue(id, {
|
|
2288
2282
|
title: options.title,
|
|
2289
|
-
description: options.description,
|
|
2290
2283
|
body: options.body,
|
|
2291
2284
|
priority: options.priority,
|
|
2292
2285
|
scope: options.scope,
|
|
@@ -2342,9 +2335,6 @@ async function nextIssueCommand() {
|
|
|
2342
2335
|
Next issue:`);
|
|
2343
2336
|
console.log(` ${"-".repeat(60)}`);
|
|
2344
2337
|
console.log(` #${issue.id} ${prioritySymbol(issue.frontmatter.priority)} ${typeSymbol(issue.frontmatter.type)} ${issue.frontmatter.title}`);
|
|
2345
|
-
if (issue.frontmatter.description !== issue.frontmatter.title) {
|
|
2346
|
-
console.log(` ${issue.frontmatter.description}`);
|
|
2347
|
-
}
|
|
2348
2338
|
console.log();
|
|
2349
2339
|
}
|
|
2350
2340
|
async function main() {
|
|
@@ -2378,7 +2368,6 @@ Commands:
|
|
|
2378
2368
|
|
|
2379
2369
|
create Create a new issue
|
|
2380
2370
|
--title, -t <t> Issue title
|
|
2381
|
-
--description, -d <d> Short description
|
|
2382
2371
|
--body, -b <b> Markdown body content
|
|
2383
2372
|
--priority, -p <p> Priority (high, medium, low)
|
|
2384
2373
|
--scope <s> Scope (small, medium, large)
|
|
@@ -2391,7 +2380,6 @@ Commands:
|
|
|
2391
2380
|
|
|
2392
2381
|
update <id> Update an issue
|
|
2393
2382
|
--title, -t <t> New title
|
|
2394
|
-
--description, -d <d> New description
|
|
2395
2383
|
--body, -b <b> New markdown body content
|
|
2396
2384
|
--priority, -p <p> New priority
|
|
2397
2385
|
--scope <s> New scope
|
|
@@ -2477,7 +2465,6 @@ Examples:
|
|
|
2477
2465
|
args: args.slice(1),
|
|
2478
2466
|
options: {
|
|
2479
2467
|
title: { type: "string", short: "t" },
|
|
2480
|
-
description: { type: "string", short: "d" },
|
|
2481
2468
|
body: { type: "string", short: "b" },
|
|
2482
2469
|
priority: { type: "string", short: "p" },
|
|
2483
2470
|
scope: { type: "string" },
|
|
@@ -2503,7 +2490,6 @@ Examples:
|
|
|
2503
2490
|
args: args.slice(2),
|
|
2504
2491
|
options: {
|
|
2505
2492
|
title: { type: "string", short: "t" },
|
|
2506
|
-
description: { type: "string", short: "d" },
|
|
2507
2493
|
body: { type: "string", short: "b" },
|
|
2508
2494
|
priority: { type: "string", short: "p" },
|
|
2509
2495
|
scope: { type: "string" },
|
package/dist/main.js
CHANGED
|
@@ -336,7 +336,6 @@ function parseFrontmatter(content) {
|
|
|
336
336
|
function generateFrontmatter(data) {
|
|
337
337
|
const lines = ["---"];
|
|
338
338
|
lines.push(`title: ${data.title}`);
|
|
339
|
-
lines.push(`description: ${data.description}`);
|
|
340
339
|
lines.push(`priority: ${data.priority}`);
|
|
341
340
|
if (data.scope) {
|
|
342
341
|
lines.push(`scope: ${data.scope}`);
|
|
@@ -492,7 +491,6 @@ async function createIssue(input) {
|
|
|
492
491
|
const filename = `${issueNumber}-${slug}.md`;
|
|
493
492
|
const frontmatter = {
|
|
494
493
|
title: input.title,
|
|
495
|
-
description: input.description || input.title,
|
|
496
494
|
priority,
|
|
497
495
|
scope: scope || undefined,
|
|
498
496
|
type,
|
|
@@ -527,7 +525,6 @@ async function updateIssue(id, input) {
|
|
|
527
525
|
const updatedFrontmatter = {
|
|
528
526
|
...issue.frontmatter,
|
|
529
527
|
...input.title && { title: input.title },
|
|
530
|
-
...input.description && { description: input.description },
|
|
531
528
|
...input.priority && { priority: input.priority },
|
|
532
529
|
...input.scope && { scope: input.scope },
|
|
533
530
|
...input.type && { type: input.type },
|
|
@@ -1928,7 +1925,6 @@ Fuse.config = Config;
|
|
|
1928
1925
|
var FUSE_OPTIONS = {
|
|
1929
1926
|
keys: [
|
|
1930
1927
|
{ name: "frontmatter.title", weight: 1 },
|
|
1931
|
-
{ name: "frontmatter.description", weight: 0.7 },
|
|
1932
1928
|
{ name: "frontmatter.labels", weight: 0.5 },
|
|
1933
1929
|
{ name: "content", weight: 0.3 }
|
|
1934
1930
|
],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "issy",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"description": "AI-native issue tracking. Markdown files in .issues/, managed by your coding assistant.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,8 +35,8 @@
|
|
|
35
35
|
"lint": "biome check src bin"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@miketromba/issy-app": "^0.
|
|
39
|
-
"@miketromba/issy-core": "^0.
|
|
38
|
+
"@miketromba/issy-app": "^0.7.0",
|
|
39
|
+
"@miketromba/issy-core": "^0.7.0",
|
|
40
40
|
"update-notifier": "^7.3.1"
|
|
41
41
|
}
|
|
42
42
|
}
|