@holdpoint/cli 0.1.0-alpha.16 → 0.1.0-alpha.18

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.
@@ -1,10 +0,0 @@
1
- <svg viewBox="0 0 32 32" xmlns="http://www.w3.org/2000/svg" fill="none">
2
- <!-- Simplified mark for tiny sizes -->
3
- <g stroke="#0B0F14" stroke-linecap="round" stroke-linejoin="round" stroke-width="2.4">
4
- <path d="M 2 6 L 13 14"/>
5
- <path d="M 2 16 L 13 16"/>
6
- <path d="M 2 26 L 13 18"/>
7
- </g>
8
- <rect x="12" y="11" width="6" height="10" rx="1.5" fill="#0B0F14"/>
9
- <path d="M 18 16 L 30 16" stroke="#0B0F14" stroke-width="4" stroke-linecap="round"/>
10
- </svg>
@@ -1,14 +0,0 @@
1
- <!doctype html>
2
- <html lang="en">
3
- <head>
4
- <meta charset="UTF-8" />
5
- <link rel="icon" type="image/svg+xml" href="/favicon.svg" />
6
- <meta name="viewport" content="width=device-width, initial-scale=1.0" />
7
- <title>holdpoint builder</title>
8
- <script type="module" crossorigin src="/assets/index-DezgTDRo.js"></script>
9
- <link rel="stylesheet" crossorigin href="/assets/index-3J1uDBNl.css">
10
- </head>
11
- <body>
12
- <div id="root"></div>
13
- </body>
14
- </html>
@@ -1,57 +0,0 @@
1
- version: 1
2
-
3
- context:
4
- guides: {}
5
-
6
- conditions:
7
- - id: is_node
8
- operator: file_exists
9
- path: package.json
10
-
11
- checks:
12
- - id: lint
13
- label: "Lint codebase"
14
- cmd: "pnpm lint --max-warnings 0"
15
- conditionId: is_node
16
-
17
- - id: typecheck
18
- label: "TypeScript type check"
19
- cmd: "pnpm typecheck"
20
- conditionId: is_node
21
-
22
- - id: jsdoc
23
- label: "JSDoc on changed public functions"
24
- prompt: >
25
- Ensure all changed public functions, classes, and module exports have
26
- accurate JSDoc comments (description + @param + @returns where applicable).
27
-
28
- - id: changelog-update
29
- label: "Add a CHANGELOG.md entry for this session"
30
- prompt: >
31
- Before committing, add an entry to CHANGELOG.md describing what was done.
32
- Use Keep a Changelog format — add under ## [Unreleased] (create the file
33
- and that section if absent). Group entries as Added, Changed, Fixed, or Removed.
34
- Be concise but specific. The entry text will serve as the commit message.
35
-
36
- - id: readme-sync
37
- label: "Update README.md if user-facing changes were made"
38
- prompt: >
39
- If you added, changed, or removed user-facing functionality — CLI commands,
40
- configuration options, public APIs, or significant new features — update
41
- README.md to reflect those changes.
42
-
43
- - id: no-todos
44
- label: "No TODO/FIXME left in changed code"
45
- prompt: >
46
- Scan the files you changed for any TODO, FIXME, HACK, or XXX comments.
47
- Either resolve them before finishing or convert them to tracked issues.
48
- Don't leave incomplete work silently behind.
49
-
50
- - id: holdpoint-evolve
51
- label: "Evolve checks when project structure changes"
52
- when: structural
53
- cmd: "node_modules/.bin/holdpoint evolve"
54
-
55
- - id: git-commit
56
- label: "Commit all changes before finishing"
57
- cmd: 'git rev-parse --is-inside-work-tree >/dev/null 2>&1 || exit 0; [ -z "$(git status --porcelain)" ] && exit 0; git status --short; exit 1'
@@ -1,93 +0,0 @@
1
- version: 1
2
-
3
- context:
4
- guides: {}
5
-
6
- conditions:
7
- - id: has-openapi
8
- operator: file_exists
9
- path: openapi.yaml
10
-
11
- - id: has-playwright
12
- operator: file_exists
13
- path: playwright.config.ts
14
-
15
- checks:
16
- - id: lint
17
- label: "ESLint — no warnings"
18
- cmd: "pnpm lint --max-warnings 0"
19
-
20
- - id: typecheck
21
- label: "TypeScript type check"
22
- cmd: "pnpm typecheck"
23
-
24
- - id: unit-tests
25
- label: "Vitest unit tests"
26
- cmd: "pnpm test --run"
27
-
28
- - id: backend-tests
29
- label: "Backend integration tests"
30
- when: backend
31
- cmd: "pnpm test:integration --run"
32
-
33
- - id: build
34
- label: "Production build"
35
- cmd: "pnpm build"
36
-
37
- - id: jsdoc
38
- label: "JSDoc on changed public functions"
39
- prompt: >
40
- All changed public functions and exports must have JSDoc.
41
-
42
- - id: openapi-updated
43
- label: "OpenAPI spec updated for API changes"
44
- when: backend
45
- conditionId: has-openapi
46
- prompt: >
47
- If any API routes were added or changed, update openapi.yaml to match.
48
-
49
- - id: visual-regression
50
- label: "Visual regression check"
51
- when: frontend
52
- conditionId: has-playwright
53
- prompt: >
54
- Run playwright tests for any UI changes: `pnpm playwright test`
55
- Review screenshots for regressions.
56
-
57
- - id: i18n
58
- label: "i18n — no hardcoded user-facing strings"
59
- when: frontend
60
- prompt: >
61
- Confirm all user-visible strings are wrapped in t() and locale files updated.
62
-
63
- - id: db-migrations
64
- label: "Database migration for schema changes"
65
- when: database
66
- prompt: >
67
- If schema or migration files changed, ensure the appropriate migration was
68
- generated with your ORM tool (e.g. `prisma migrate dev`, `alembic revision`,
69
- `rails db:migrate`) and committed alongside the schema change.
70
-
71
- - id: changelog-update
72
- label: "Add a CHANGELOG.md entry for this session"
73
- prompt: >
74
- Before committing, add an entry to CHANGELOG.md describing what was done.
75
- Use Keep a Changelog format — add under ## [Unreleased] (create the file
76
- and that section if absent). Group entries as Added, Changed, Fixed, or Removed.
77
- Be concise but specific. The entry text will serve as the commit message.
78
-
79
- - id: readme-sync
80
- label: "Update README.md if user-facing changes were made"
81
- prompt: >
82
- If you added, changed, or removed user-facing functionality — CLI commands,
83
- configuration options, public APIs, or significant new features — update
84
- README.md to reflect those changes.
85
-
86
- - id: holdpoint-evolve
87
- label: "Evolve checks when project structure changes"
88
- when: structural
89
- cmd: "node_modules/.bin/holdpoint evolve"
90
-
91
- - id: git-commit
92
- label: "Commit all changes before finishing"
93
- cmd: 'git rev-parse --is-inside-work-tree 2>/dev/null || exit 0; [ -z "$(git status --porcelain)" ] && exit 0; git status --short; exit 1'
@@ -1,60 +0,0 @@
1
- version: 1
2
-
3
- context:
4
- guides: {}
5
-
6
- conditions: []
7
-
8
- checks:
9
- - id: go-build
10
- label: "go build — no compilation errors"
11
- when: go
12
- cmd: "go build ./..."
13
-
14
- - id: go-vet
15
- label: "go vet — no suspicious constructs"
16
- when: go
17
- cmd: "go vet ./..."
18
-
19
- - id: go-test
20
- label: "go test — all unit tests pass"
21
- when: go
22
- cmd: "go test ./..."
23
-
24
- - id: godoc
25
- label: "GoDoc on exported symbols"
26
- when: go
27
- prompt: >
28
- Ensure all exported functions, types, methods, and packages have GoDoc
29
- comments (one-line summary starting on the same line as the declaration).
30
-
31
- - id: test-coverage
32
- label: "Meaningful test coverage for new logic"
33
- when: testing
34
- prompt: >
35
- Confirm any new non-trivial logic has corresponding unit tests in
36
- *_test.go files in the same package.
37
-
38
- - id: changelog-update
39
- label: "Add a CHANGELOG.md entry for this session"
40
- prompt: >
41
- Before committing, add an entry to CHANGELOG.md describing what was done.
42
- Use Keep a Changelog format — add under ## [Unreleased] (create the file
43
- and that section if absent). Group entries as Added, Changed, Fixed, or Removed.
44
- Be concise but specific. The entry text will serve as the commit message.
45
-
46
- - id: readme-sync
47
- label: "Update README.md if user-facing changes were made"
48
- prompt: >
49
- If you added, changed, or removed user-facing functionality — CLI commands,
50
- configuration options, public APIs, or significant new features — update
51
- README.md to reflect those changes.
52
-
53
- - id: holdpoint-evolve
54
- label: "Evolve checks when project structure changes"
55
- when: structural
56
- cmd: "node_modules/.bin/holdpoint evolve"
57
-
58
- - id: git-commit
59
- label: "Commit all changes before finishing"
60
- cmd: 'git rev-parse --is-inside-work-tree 2>/dev/null || exit 0; [ -z "$(git status --porcelain)" ] && exit 0; git status --short; exit 1'
@@ -1,76 +0,0 @@
1
- version: 1
2
-
3
- context:
4
- guides: {}
5
-
6
- conditions:
7
- - id: has-openapi
8
- operator: file_exists
9
- path: openapi.yaml
10
-
11
- checks:
12
- - id: lint
13
- label: "ESLint — no warnings"
14
- cmd: "pnpm lint --max-warnings 0"
15
-
16
- - id: typecheck
17
- label: "TypeScript type check"
18
- cmd: "pnpm typecheck"
19
-
20
- - id: unit-tests
21
- label: "Vitest unit tests"
22
- cmd: "pnpm test --run"
23
-
24
- - id: build
25
- label: "Next.js production build"
26
- cmd: "pnpm build"
27
-
28
- - id: jsdoc
29
- label: "JSDoc on changed public functions"
30
- prompt: >
31
- Ensure all changed public functions and exports have JSDoc comments.
32
-
33
- - id: visual-regression
34
- label: "Visual regression check"
35
- when: frontend
36
- prompt: >
37
- For any UI changes, confirm the layout is correct at 1280px desktop,
38
- 768px tablet, and 375px mobile breakpoints.
39
-
40
- - id: i18n
41
- label: "i18n — no hardcoded strings"
42
- when: frontend
43
- prompt: >
44
- Ensure all user-visible text is wrapped in the t() translation function
45
- and has corresponding entries in all locale files.
46
-
47
- - id: openapi-updated
48
- label: "OpenAPI spec updated for API changes"
49
- when: backend
50
- conditionId: has-openapi
51
- prompt: >
52
- If any API routes were added or changed, confirm the openapi.yaml
53
- spec has been updated to match.
54
-
55
- - id: changelog-update
56
- label: "Add a CHANGELOG.md entry for this session"
57
- prompt: >
58
- Before committing, add an entry to CHANGELOG.md describing what was done.
59
- Use Keep a Changelog format — add under ## [Unreleased] (create the file
60
- and that section if absent). Group entries as Added, Changed, Fixed, or Removed.
61
- Be concise but specific. The entry text will serve as the commit message.
62
-
63
- - id: readme-sync
64
- label: "Update README.md if user-facing changes were made"
65
- prompt: >
66
- If you added, changed, or removed user-facing functionality — pages, features,
67
- or configuration options — update README.md to reflect those changes.
68
-
69
- - id: holdpoint-evolve
70
- label: "Evolve checks when project structure changes"
71
- when: structural
72
- cmd: "node_modules/.bin/holdpoint evolve"
73
-
74
- - id: git-commit
75
- label: "Commit all changes before finishing"
76
- cmd: 'git rev-parse --is-inside-work-tree 2>/dev/null || exit 0; [ -z "$(git status --porcelain)" ] && exit 0; git status --short; exit 1'
@@ -1,60 +0,0 @@
1
- version: 1
2
-
3
- context:
4
- guides: {}
5
-
6
- conditions: []
7
-
8
- checks:
9
- - id: ruff
10
- label: "Ruff linter"
11
- when: python
12
- cmd: "ruff check ."
13
-
14
- - id: mypy
15
- label: "Mypy type check"
16
- when: python
17
- cmd: "mypy . --ignore-missing-imports"
18
-
19
- - id: pytest
20
- label: "pytest"
21
- when: python
22
- cmd: "pytest --tb=short -q"
23
-
24
- - id: docstrings
25
- label: "Docstrings on changed functions"
26
- when: python
27
- prompt: >
28
- Ensure all changed public functions and classes have PEP-257 compliant
29
- docstrings (one-line summary + extended description where needed).
30
-
31
- - id: type-hints
32
- label: "Type hints on new functions"
33
- when: python
34
- prompt: >
35
- Confirm that all new functions have complete type annotations on
36
- all parameters and return values.
37
-
38
- - id: changelog-update
39
- label: "Add a CHANGELOG.md entry for this session"
40
- prompt: >
41
- Before committing, add an entry to CHANGELOG.md describing what was done.
42
- Use Keep a Changelog format — add under ## [Unreleased] (create the file
43
- and that section if absent). Group entries as Added, Changed, Fixed, or Removed.
44
- Be concise but specific. The entry text will serve as the commit message.
45
-
46
- - id: readme-sync
47
- label: "Update README.md if user-facing changes were made"
48
- prompt: >
49
- If you added, changed, or removed user-facing functionality — CLI commands,
50
- configuration options, public APIs, or significant new features — update
51
- README.md to reflect those changes.
52
-
53
- - id: holdpoint-evolve
54
- label: "Evolve checks when project structure changes"
55
- when: structural
56
- cmd: "node_modules/.bin/holdpoint evolve"
57
-
58
- - id: git-commit
59
- label: "Commit all changes before finishing"
60
- cmd: 'git rev-parse --is-inside-work-tree 2>/dev/null || exit 0; [ -z "$(git status --porcelain)" ] && exit 0; git status --short; exit 1'
@@ -1,52 +0,0 @@
1
- version: 1
2
-
3
- context:
4
- guides: {}
5
-
6
- conditions:
7
- - id: has-lint-script
8
- operator: file_contains
9
- path: package.json
10
- contains: '"lint"'
11
-
12
- checks:
13
- - id: lint
14
- label: "ESLint — no warnings"
15
- cmd: "pnpm lint --max-warnings 0"
16
- conditionId: has-lint-script
17
-
18
- - id: typecheck
19
- label: "TypeScript type check"
20
- cmd: "pnpm typecheck"
21
-
22
- - id: unit-tests
23
- label: "Vitest unit tests"
24
- cmd: "pnpm test --run"
25
-
26
- - id: no-todos
27
- label: "No TODO/FIXME left in changed code"
28
- prompt: >
29
- Scan the files you changed for any TODO, FIXME, HACK, or XXX comments.
30
- Either resolve them before finishing or convert them to tracked issues.
31
- Don't leave incomplete work silently behind.
32
-
33
- - id: jsdoc
34
- label: "JSDoc on changed public functions"
35
- prompt: >
36
- Ensure all changed public functions and exports have JSDoc comments
37
- with description, @param, and @returns where applicable.
38
-
39
- - id: test-coverage
40
- label: "Meaningful test coverage for new logic"
41
- prompt: >
42
- Confirm that any new non-trivial logic introduced in this change
43
- has corresponding unit tests in the __tests__ directory.
44
-
45
- - id: holdpoint-evolve
46
- label: "Evolve checks when project structure changes"
47
- when: structural
48
- cmd: "node_modules/.bin/holdpoint evolve"
49
-
50
- - id: git-commit
51
- label: "Commit all changes before finishing"
52
- cmd: 'git rev-parse --is-inside-work-tree 2>/dev/null || exit 0; [ -z "$(git status --porcelain)" ] && exit 0; git status --short; exit 1'