github-issue-tower-defence-management 1.145.0 → 1.146.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/CHANGELOG.md +7 -0
- package/bin/domain/usecases/dashboard/DashboardProjectCode.js +1 -0
- package/bin/domain/usecases/dashboard/DashboardProjectCode.js.map +1 -1
- package/package.json +1 -1
- package/src/adapter/entry-points/console/dashboardEmitterComposerKey.test.ts +2 -0
- package/src/domain/usecases/dashboard/DashboardProjectCode.test.ts +2 -0
- package/src/domain/usecases/dashboard/DashboardProjectCode.ts +1 -0
- package/types/domain/usecases/dashboard/DashboardProjectCode.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [1.146.0](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/compare/v1.145.0...v1.146.0) (2026-08-06)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **dashboard:** add cmg to dashboard display label map ([#1390](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/issues/1390)) ([2a65486](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/commit/2a65486cb1b777324d9bd83c9668424f64b6d783))
|
|
7
|
+
|
|
1
8
|
# [1.145.0](https://github.com/HiromiShikata/npm-cli-github-issue-tower-defence-management/compare/v1.144.5...v1.145.0) (2026-08-05)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -6,6 +6,7 @@ exports.DASHBOARD_DISPLAY_LABEL_BY_PROJECT_NAME = {
|
|
|
6
6
|
xmile: 'xm',
|
|
7
7
|
xcare: 'xc',
|
|
8
8
|
utage3: 'ut',
|
|
9
|
+
cmg: 'cm',
|
|
9
10
|
};
|
|
10
11
|
exports.DASHBOARD_PROJECT_NAMES = Object.keys(exports.DASHBOARD_DISPLAY_LABEL_BY_PROJECT_NAME);
|
|
11
12
|
const toDashboardDisplayLabel = (projectName) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardProjectCode.js","sourceRoot":"","sources":["../../../../src/domain/usecases/dashboard/DashboardProjectCode.ts"],"names":[],"mappings":";;;AAAa,QAAA,uCAAuC,GAA2B;IAC7E,KAAK,EAAE,IAAI;IACX,KAAK,EAAE,IAAI;IACX,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;
|
|
1
|
+
{"version":3,"file":"DashboardProjectCode.js","sourceRoot":"","sources":["../../../../src/domain/usecases/dashboard/DashboardProjectCode.ts"],"names":[],"mappings":";;;AAAa,QAAA,uCAAuC,GAA2B;IAC7E,KAAK,EAAE,IAAI;IACX,KAAK,EAAE,IAAI;IACX,KAAK,EAAE,IAAI;IACX,MAAM,EAAE,IAAI;IACZ,GAAG,EAAE,IAAI;CACV,CAAC;AAEW,QAAA,uBAAuB,GAAa,MAAM,CAAC,IAAI,CAC1D,+CAAuC,CACxC,CAAC;AAEK,MAAM,uBAAuB,GAAG,CAAC,WAAmB,EAAU,EAAE;IACrE,MAAM,KAAK,GAAG,+CAAuC,CAAC,WAAW,CAAC,CAAC;IACnE,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;QACxB,MAAM,IAAI,KAAK,CACb,mCAAmC,WAAW,sDAAsD,CACrG,CAAC;IACJ,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC,CAAC;AARW,QAAA,uBAAuB,2BAQlC"}
|
package/package.json
CHANGED
|
@@ -118,6 +118,7 @@ describe('dashboard emitter filename matches composer lookup key', () => {
|
|
|
118
118
|
xmile: [makeIssue({ status: 'Awaiting Quality Check' })],
|
|
119
119
|
xcare: [makeIssue({ status: 'Awaiting Workspace' })],
|
|
120
120
|
utage3: [makeIssue({ status: 'Todo by human' })],
|
|
121
|
+
cmg: [makeIssue({ status: 'Preparation' })],
|
|
121
122
|
};
|
|
122
123
|
for (const projectName of DASHBOARD_PROJECT_NAMES) {
|
|
123
124
|
writeDashboardRow({
|
|
@@ -167,6 +168,7 @@ describe('dashboard emitter filename matches composer lookup key', () => {
|
|
|
167
168
|
wrap(
|
|
168
169
|
`🟢${toDashboardDisplayLabel('utage3')} 0 1 0 0 0 0 0`,
|
|
169
170
|
),
|
|
171
|
+
wrap(`🟢${toDashboardDisplayLabel('cmg')} 0 0 0 0 1 0 0`),
|
|
170
172
|
wrap(''),
|
|
171
173
|
].join('\n') + '\n';
|
|
172
174
|
expect(composed).toBe(expected);
|
|
@@ -10,6 +10,7 @@ describe('DashboardProjectCode', () => {
|
|
|
10
10
|
expect(toDashboardDisplayLabel('xmile')).toBe('xm');
|
|
11
11
|
expect(toDashboardDisplayLabel('xcare')).toBe('xc');
|
|
12
12
|
expect(toDashboardDisplayLabel('utage3')).toBe('ut');
|
|
13
|
+
expect(toDashboardDisplayLabel('cmg')).toBe('cm');
|
|
13
14
|
});
|
|
14
15
|
|
|
15
16
|
it('exposes the project names in the same order as the label mapping', () => {
|
|
@@ -18,6 +19,7 @@ describe('DashboardProjectCode', () => {
|
|
|
18
19
|
'xmile',
|
|
19
20
|
'xcare',
|
|
20
21
|
'utage3',
|
|
22
|
+
'cmg',
|
|
21
23
|
]);
|
|
22
24
|
expect(DASHBOARD_PROJECT_NAMES).toEqual(
|
|
23
25
|
Object.keys(DASHBOARD_DISPLAY_LABEL_BY_PROJECT_NAME),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DashboardProjectCode.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/dashboard/DashboardProjectCode.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"DashboardProjectCode.d.ts","sourceRoot":"","sources":["../../../../src/domain/usecases/dashboard/DashboardProjectCode.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,uCAAuC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAM1E,CAAC;AAEF,eAAO,MAAM,uBAAuB,EAAE,MAAM,EAE3C,CAAC;AAEF,eAAO,MAAM,uBAAuB,GAAI,aAAa,MAAM,KAAG,MAQ7D,CAAC"}
|