Repository navigation
[M0.1] Repository bootstrap - #7
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Task
[M0.1] Repository bootstrap. Closes #1
What changed
packageManagerpinned), TypeScript 6 project references, Prettier, EditorConfig,.nvmrc,.tool-versions.apps/api: NestJS 11 application with aGET /api/v1/healthendpoint and Jest tests.apps/web: Angular 22 standalone shell (OnPush,skprefix) with vitest tests.packages/domain,packages/config-schema,packages/api-client,packages/proto-ts: buildable TypeScript libraries, tagged so@nx/enforce-module-boundarieskeeps domain code pure.strictTypeChecked, noany, no non-null assertions, explicit module boundary types).go.workwith theagent/,cli/andlib/modules undergithub.com/samuelmbabhazi/shipkeep/...;shipkeep-agentandshipkeepbinaries with a--versionflag and tests;lib/buildinfo;.golangci.yml(config version 2).shipkeep-large-okin.gitattributes, Prettier and gofmt on staged files; commit-msg hook enforcing Conventional Commits..env.examplewith fake values only.golangci-lint-action@v8with golangci-lint v2.15 (v6 does not support config version 2); TypeScript job also runstypecheck.samuelmbabhazi, theshipkeephqorganization does not exist), pnpm 11 and the hook details; README gets a development section; M0.1 ticked in the plan.Why
First task of the plan: every later task needs the workspace, the Go modules, the linters and the commit guards.
How it was tested
Locally on Node 22.23.2, pnpm 11.28.6, Go 1.27.3:
pnpm install && pnpm nx run-many -t lint typecheck test build: 25 tasks succeeded.go test -race ./agent/... ./cli/... ./lib/...: all packages pass.golangci-lint runin each module: 0 issues.prettier --check .,gitleaks dir .,actionlint: clean.Security considerations
No agent logic, authentication, secrets or actions yet. Guards added: gitleaks pre-commit, large file block, strict TypeScript lint, gosec and other security linters enabled in
.golangci.yml. The Semgrep job still fails on the pre-existing finding "third-party action not pinned to a commit SHA"; pinning is the scope of M0.2 (#2), merged right after this PR as the plan prescribes.Checklist
docs/PLAN.mdare met and the task is tickedbuf lintarrives with M0.3)