dsh-ci-diet 0.1.0 → 0.1.1
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.ko.md +18 -2
- package/README.md +18 -2
- package/dist/cli/index.js +0 -0
- package/dist/core/version.d.ts +5 -2
- package/dist/core/version.js +5 -2
- package/dist/core/version.js.map +1 -1
- package/package.json +1 -1
package/README.ko.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
낭비된 GitHub Actions 러너 시간을 찾고, 작고 검토 가능한 패치를 제안합니다.
|
|
4
4
|
|
|
5
|
-
상태: **알파, npm에 `dsh-ci-diet@0.1.
|
|
5
|
+
상태: **알파, npm에 `dsh-ci-diet@0.1.1`로 배포됨**. 계약, 명세, 분석 엔진,
|
|
6
6
|
패치 엔진, CLI, DSH 플러그인 도구, 자체 완결형 HTML 보고서는 구현과 테스트를
|
|
7
7
|
마쳤습니다. DSH Web 클라이언트 화면은 아직 남아 있습니다.
|
|
8
8
|
|
|
@@ -66,7 +66,7 @@ dsh plugin --profile web add dsh-ci-diet
|
|
|
66
66
|
플러그인은 기본으로 꺼진 로더 항목 하나를 추가합니다. 이력 동기화를 쓸 때만
|
|
67
67
|
`networkEnabled`를 켜십시오. 전역 설치는 선택 사항입니다. `npx dsh-ci-diet`로
|
|
68
68
|
같은 CLI를 실행할 수 있고, DSH 플러그인은 프로필에 패키지가 있으면 됩니다.
|
|
69
|
-
릴리스 태그는 GitHub에, 같은 버전은 npm `0.1.
|
|
69
|
+
릴리스 태그는 GitHub에, 같은 버전은 npm `0.1.1`에 있습니다.
|
|
70
70
|
|
|
71
71
|
## 실행
|
|
72
72
|
|
|
@@ -97,6 +97,22 @@ ci-diet prune # 만료된 보고서, 계획, 캐시 정리
|
|
|
97
97
|
HTML 파일은 자체 완결형입니다. 인라인 CSS만 쓰고 스크립트와 외부 요청이 없습니다.
|
|
98
98
|
읽기 전용이므로 승인은 digest와 nonce 검사가 있는 CLI에 남습니다.
|
|
99
99
|
|
|
100
|
+
## 릴리스
|
|
101
|
+
|
|
102
|
+
`package.json`의 버전과 일치하는 태그를 푸시하면
|
|
103
|
+
`.github/workflows/publish.yml`이 실행됩니다.
|
|
104
|
+
|
|
105
|
+
```
|
|
106
|
+
git tag v0.1.1
|
|
107
|
+
git push origin v0.1.1
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
워크플로는 태그와 `package.json` 버전을 대조하고(`node
|
|
111
|
+
scripts/check-release-tag.mjs`), CI와 같은 검사를 실행한 뒤, 이미 배포된
|
|
112
|
+
버전이면 게시를 거부합니다. 통과하면 npm trusted publishing으로 게시합니다.
|
|
113
|
+
GitHub OIDC(`id-token: write`)를 쓰고 npm 토큰은 쓰지 않으므로, 패키지의
|
|
114
|
+
trusted publisher에 이 저장소의 `publish.yml`이 등록되어 있어야 합니다.
|
|
115
|
+
|
|
100
116
|
## 요구 사항
|
|
101
117
|
|
|
102
118
|
- Node `^22.19.0 || >=24.0.0`
|
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Find wasted GitHub Actions runner time and propose small, reviewable patches.
|
|
4
4
|
|
|
5
|
-
Status: **alpha, published on npm** as `dsh-ci-diet@0.1.
|
|
5
|
+
Status: **alpha, published on npm** as `dsh-ci-diet@0.1.1`. The contracts,
|
|
6
6
|
specification, analysis engine, patch engine, CLI, DSH plugin tools, and a
|
|
7
7
|
self-contained HTML report are implemented and tested. The DSH Web client
|
|
8
8
|
screens are still open.
|
|
@@ -68,7 +68,7 @@ dsh plugin --profile web add dsh-ci-diet
|
|
|
68
68
|
The plugin adds one disabled loader entry; enable `networkEnabled` only if you
|
|
69
69
|
want history sync. Installing the package globally is optional: `npx dsh-ci-diet`
|
|
70
70
|
runs the same CLI, and the DSH plugin only needs the package in the profile.
|
|
71
|
-
Release tags are on GitHub; the matching npm version is `0.1.
|
|
71
|
+
Release tags are on GitHub; the matching npm version is `0.1.1`.
|
|
72
72
|
|
|
73
73
|
## Run it
|
|
74
74
|
|
|
@@ -100,6 +100,22 @@ The HTML file is self-contained: inline CSS, no scripts, no external requests.
|
|
|
100
100
|
It is read-only, so approvals stay in the CLI where the digest and nonce checks
|
|
101
101
|
live.
|
|
102
102
|
|
|
103
|
+
## Releasing
|
|
104
|
+
|
|
105
|
+
Pushing a tag that matches the version in `package.json` triggers
|
|
106
|
+
`.github/workflows/publish.yml`:
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
git tag v0.1.1
|
|
110
|
+
git push origin v0.1.1
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
The workflow compares the tag with `package.json` (`node
|
|
114
|
+
scripts/check-release-tag.mjs`), runs the same checks as CI, refuses to
|
|
115
|
+
overwrite an already published version, and then publishes with npm trusted
|
|
116
|
+
publishing. It uses GitHub OIDC (`id-token: write`) and no npm token, so the
|
|
117
|
+
package's trusted publisher must name `publish.yml` for this repository.
|
|
118
|
+
|
|
103
119
|
## Requirements
|
|
104
120
|
|
|
105
121
|
- Node `^22.19.0 || >=24.0.0`
|
package/dist/cli/index.js
CHANGED
|
File without changes
|
package/dist/core/version.d.ts
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Engine version printed by the CLI and stored in reports. It must match the
|
|
3
|
+
* package version; tests/unit/release-process.test.ts enforces that.
|
|
4
|
+
*/
|
|
5
|
+
export declare const ENGINE_VERSION = "0.1.1";
|
|
3
6
|
export declare const RULE_VERSION = "0.1.0";
|
|
4
7
|
/** JSON schema version of every persisted document. */
|
|
5
8
|
export declare const CONTRACT_SCHEMA_VERSION = 2;
|
package/dist/core/version.js
CHANGED
|
@@ -1,5 +1,8 @@
|
|
|
1
|
-
/**
|
|
2
|
-
|
|
1
|
+
/**
|
|
2
|
+
* Engine version printed by the CLI and stored in reports. It must match the
|
|
3
|
+
* package version; tests/unit/release-process.test.ts enforces that.
|
|
4
|
+
*/
|
|
5
|
+
export const ENGINE_VERSION = "0.1.1";
|
|
3
6
|
export const RULE_VERSION = "0.1.0";
|
|
4
7
|
/** JSON schema version of every persisted document. */
|
|
5
8
|
export const CONTRACT_SCHEMA_VERSION = 2;
|
package/dist/core/version.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/core/version.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/core/version.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC;AAEtC,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAC;AAEpC,uDAAuD;AACvD,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC"}
|