@nan0web/release 3.3.0 → 3.5.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 -35
- package/bin/nan0release.js +33 -2
- package/bin/serve.js +73 -0
- package/package.json +46 -17
- package/src/Release/Document.js +1 -0
- package/src/Release/Scanner.js +3 -2
- package/src/Release.js +7 -7
- package/src/domain/App.js +33 -2
- package/src/domain/BumpCommand.js +10 -3
- package/src/domain/CheckCommand.js +504 -146
- package/src/domain/CheckCommand.story.js +92 -0
- package/src/domain/CloseCommand.js +13 -9
- package/src/domain/Dashboard/Dashboard.story.js +155 -0
- package/src/domain/Dashboard/DashboardModel.js +308 -0
- package/src/domain/Dashboard/ReleaseDiscovery.js +132 -0
- package/src/domain/Dashboard/ReleaseParser.js +226 -0
- package/src/domain/Dashboard/index.js +19 -0
- package/src/domain/DepsCommand.js +5 -2
- package/src/domain/InitCommand.js +18 -16
- package/src/domain/ListCommand.js +45 -0
- package/src/domain/PMaCParser.js +418 -0
- package/src/domain/PMaCParser.story.js +152 -0
- package/src/domain/PreviewCommand.js +39 -0
- package/src/domain/PublishCommand.js +7 -3
- package/src/domain/Registry/Registry.story.js +82 -0
- package/src/domain/Registry/RegistryModel.js +124 -0
- package/src/domain/ServeCommand.js +165 -0
- package/src/domain/ServeCommand.story.js +88 -0
- package/src/domain/SpecCommand.js +3 -1
- package/src/domain/StatusCommand.js +249 -3
- package/src/domain/ValidateCommand.js +426 -0
- package/src/domain/ValidateCommand.story.js +92 -0
- package/src/domain/ViewCommand.js +99 -0
- package/src/domain/WebCommand.js +140 -0
- package/src/domain/inspect/ReleaseAuditor.js +508 -0
- package/src/domain/inspect/ReleaseAuditor.story.js +136 -0
- package/src/domain/models/ReleaseIssueModel.js +27 -0
- package/src/domain/models/ReleaseMemberModel.js +21 -0
- package/src/domain/models/ReleaseModel.js +191 -0
- package/src/domain/models/ReleaseParityModel.js +27 -0
- package/src/domain/models/ReleaseTaskModel.js +33 -0
- package/src/domain/models/index.js +6 -0
- package/src/domain/templates/release.html +34 -0
- package/src/domain/templates/release.html.template.js +34 -0
- package/src/index.js +15 -0
- package/src/inspectors/inspect-js.js +32 -0
- package/src/releases/1/0/v1.0.3/task.test.js +1 -1
- package/src/utils/nodejs/GitTelemetry.js +154 -0
- package/types/Release/Document.d.ts +24 -27
- package/types/Release/MarkdownToTest.d.ts +1 -1
- package/types/Release/Person.d.ts +9 -7
- package/types/Release/Scanner.d.ts +41 -41
- package/types/Release.d.ts +42 -42
- package/types/architecture/ProjectManagementAsCode.d.ts +59 -64
- package/types/domain/App.d.ts +25 -7
- package/types/domain/BumpCommand.d.ts +11 -6
- package/types/domain/CheckCommand.d.ts +128 -16
- package/types/domain/CheckCommand.story.d.ts +1 -0
- package/types/domain/CloseCommand.d.ts +4 -6
- package/types/domain/Dashboard/Dashboard.story.d.ts +1 -0
- package/types/domain/Dashboard/DashboardModel.d.ts +273 -0
- package/types/domain/Dashboard/GitTelemetry.d.ts +23 -0
- package/types/domain/Dashboard/ReleaseDiscovery.d.ts +47 -0
- package/types/domain/Dashboard/ReleaseParser.d.ts +79 -0
- package/types/domain/Dashboard/index.d.ts +3 -0
- package/types/domain/DepsCommand.d.ts +6 -6
- package/types/domain/InitCommand.d.ts +4 -6
- package/types/domain/ListCommand.d.ts +18 -0
- package/types/domain/PMaCParser.d.ts +64 -0
- package/types/domain/PMaCParser.story.d.ts +1 -0
- package/types/domain/PreviewCommand.d.ts +6 -0
- package/types/domain/PublishCommand.d.ts +8 -6
- package/types/domain/Registry/Registry.story.d.ts +1 -0
- package/types/domain/Registry/RegistryModel.d.ts +61 -0
- package/types/domain/ServeCommand.d.ts +59 -0
- package/types/domain/ServeCommand.story.d.ts +1 -0
- package/types/domain/SpecCommand.d.ts +4 -6
- package/types/domain/StatusCommand.d.ts +38 -3
- package/types/domain/ValidateCommand.d.ts +69 -0
- package/types/domain/ValidateCommand.story.d.ts +1 -0
- package/types/domain/ViewCommand.d.ts +27 -0
- package/types/domain/WebCommand.d.ts +47 -0
- package/types/domain/inspect/ReleaseAuditor.d.ts +134 -0
- package/types/domain/inspect/ReleaseAuditor.story.d.ts +1 -0
- package/types/domain/models/ReleaseIssueModel.d.ts +35 -0
- package/types/domain/models/ReleaseMemberModel.d.ts +25 -0
- package/types/domain/models/ReleaseModel.d.ts +122 -0
- package/types/domain/models/ReleaseParityModel.d.ts +37 -0
- package/types/domain/models/ReleaseTaskModel.d.ts +46 -0
- package/types/domain/models/index.d.ts +5 -0
- package/types/domain/templates/release.html.template.d.ts +2 -0
- package/types/index.d.ts +21 -10
- package/types/inspectors/inspect-js.d.ts +2 -0
- package/types/utils/nodejs/GitTelemetry.d.ts +23 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ReleaseMemberModel } from "./ReleaseMemberModel.js";
|
|
2
|
+
export { ReleaseTaskModel } from "./ReleaseTaskModel.js";
|
|
3
|
+
export { ReleaseParityModel } from "./ReleaseParityModel.js";
|
|
4
|
+
export { ReleaseIssueModel } from "./ReleaseIssueModel.js";
|
|
5
|
+
export { ReleaseModel } from "./ReleaseModel.js";
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: "<!DOCTYPE html>\n<html lang=\"uk\" data-bs-theme=\"dark\">\n<head>\n <meta charset=\"utf-8\">\n <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n <title>Releases Catalog \u2014 NaN\u2022Web</title>\n <style>\n :root {\n --bg: #0f172a;\n --surface: #1e293b;\n --accent: #38bdf8;\n --text: #f8fafc;\n --text-dim: #94a3b8;\n --border: #334155;\n }\n body { font-family: system-ui, -apple-system, sans-serif; background: var(--bg); color: var(--text); margin: 0; padding: 2.5rem 1.5rem; display: flex; justify-content: center; line-height: 1.6; }\n .container { max-width: 880px; width: 100%; }\n h1, h2, h3 { color: #fff; font-weight: 700; margin-top: 1.5rem; }\n h1 { font-size: 2rem; border-bottom: 1px solid var(--border); padding-bottom: 0.8rem; }\n a { color: var(--accent); text-decoration: none; }\n a:hover { text-decoration: underline; }\n table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; background: var(--surface); border-radius: 8px; overflow: hidden; }\n th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--border); }\n th { background: rgba(0,0,0,0.2); font-weight: 600; color: var(--accent); }\n pre { background: var(--surface); padding: 1rem; border-radius: 8px; border: 1px solid var(--border); overflow-x: auto; color: #a5b4fc; font-family: monospace; }\n blockquote { border-left: 4px solid var(--accent); margin: 1rem 0; padding: 0.5rem 1rem; background: var(--surface); border-radius: 0 8px 8px 0; }\n </style>\n</head>\n<body>\n <div class=\"container\">\n {{CONTENT}}\n </div>\n</body>\n</html>";
|
|
2
|
+
export default _default;
|
package/types/index.d.ts
CHANGED
|
@@ -1,15 +1,26 @@
|
|
|
1
|
+
export { ReleaseApp } from "./domain/App.js";
|
|
2
|
+
export { default as InitCommand } from "./domain/InitCommand.js";
|
|
3
|
+
export { default as CheckCommand } from "./domain/CheckCommand.js";
|
|
4
|
+
export { default as CloseCommand } from "./domain/CloseCommand.js";
|
|
5
|
+
export { default as DepsCommand } from "./domain/DepsCommand.js";
|
|
6
|
+
export { default as PublishCommand } from "./domain/PublishCommand.js";
|
|
7
|
+
export { default as SpecCommand } from "./domain/SpecCommand.js";
|
|
8
|
+
export { default as StatusCommand } from "./domain/StatusCommand.js";
|
|
9
|
+
export { default as WebCommand } from "./domain/WebCommand.js";
|
|
10
|
+
export { default as PreviewCommand } from "./domain/PreviewCommand.js";
|
|
11
|
+
export { RegistryModel } from "./domain/Registry/RegistryModel.js";
|
|
12
|
+
export { DashboardModel } from "./domain/Dashboard/DashboardModel.js";
|
|
13
|
+
export { ReleaseAuditor } from "./domain/inspect/ReleaseAuditor.js";
|
|
14
|
+
export { ValidateCommand } from "./domain/ValidateCommand.js";
|
|
1
15
|
import Release from './Release.js';
|
|
2
16
|
import ReleaseDocument from './Release/Document.js';
|
|
3
17
|
import Person from './Release/Person.js';
|
|
4
18
|
import Scanner from './Release/Scanner.js';
|
|
5
19
|
import MarkdownToTest from './Release/MarkdownToTest.js';
|
|
6
|
-
import { ProjectManagement
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
export {
|
|
11
|
-
export {
|
|
12
|
-
export {
|
|
13
|
-
export { default as PublishCommand } from './domain/PublishCommand.js';
|
|
14
|
-
export { default as SpecCommand } from './domain/SpecCommand.js';
|
|
15
|
-
export { default as StatusCommand } from './domain/StatusCommand.js';
|
|
20
|
+
import { ProjectManagement } from './architecture/ProjectManagementAsCode.js';
|
|
21
|
+
import { ReleaseManager } from './architecture/ProjectManagementAsCode.js';
|
|
22
|
+
import { TaskTestSuite } from './architecture/ProjectManagementAsCode.js';
|
|
23
|
+
import { ChangelogTaskManager } from './architecture/ProjectManagementAsCode.js';
|
|
24
|
+
export { Release, ReleaseDocument, Person, Scanner, MarkdownToTest, ProjectManagement, ReleaseManager, TaskTestSuite, ChangelogTaskManager };
|
|
25
|
+
export { ReleaseModel, ReleaseMemberModel, ReleaseTaskModel, ReleaseParityModel, ReleaseIssueModel } from "./domain/models/index.js";
|
|
26
|
+
export { PMaCParser, resolveTrackerUrl } from "./domain/PMaCParser.js";
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Reset internal Git caches (useful for testing or cache invalidation)
|
|
3
|
+
*/
|
|
4
|
+
export function resetGitCache(): void;
|
|
5
|
+
/**
|
|
6
|
+
* Retrieve git branch and workspace status (clean / dirty)
|
|
7
|
+
* @param {string} [projectDir]
|
|
8
|
+
* @returns {{ branch: string, gitStatus: 'clean' | 'dirty' }}
|
|
9
|
+
*/
|
|
10
|
+
export function getGitInfo(projectDir?: string): {
|
|
11
|
+
branch: string;
|
|
12
|
+
gitStatus: "clean" | "dirty";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Retrieve development hours and iterations from git commit log
|
|
16
|
+
* @param {string} [projectDir]
|
|
17
|
+
* @param {string} [releasePath]
|
|
18
|
+
* @returns {{ hours: number, iterations: number }}
|
|
19
|
+
*/
|
|
20
|
+
export function getGitCommitTelemetry(projectDir?: string, releasePath?: string): {
|
|
21
|
+
hours: number;
|
|
22
|
+
iterations: number;
|
|
23
|
+
};
|