SecretSleuth Talk to IronTech

DocsCommand reference

angular-setup

Explicit one-time wiring of Angular local development configuration. Commit the safe wiring so teammates can use the generated setup script.

Try it

SecretSleuth angular-setup --repo "C:\repos\my-app" --dry-run

How it works

FileChangeCommit it?
angular.jsonThe development configuration gets a fileReplacements entry: environment.ts → environment.local.tsYes
package.jsonAn ironforgeSecrets block, an env:local script, and start prefixed with node scripts/ironforge-dev-secrets.mjs &&Yes
scripts/ironforge-dev-secrets.mjsNew. Reads your store and writes environment.local.ts. No dependencies beyond NodeYes
environment.development.tsOnly if missing: a copy of environment.tsYes, after remediating it
environment.local.tsA placeholder re-exporting its base, so ng serve works before the first npm startNever (git-ignored)
.gitignoreAdds each environment.local.ts pathYes

A workspace already wired is left byte-for-byte alone. See Angular workspaces for the whole flow, onboarding, and production builds.

Options

FlagDescription
--repo <path>Required
--dry-runPrint the changes without writing

Check the result

After reviewing the preview, run SecretSleuth angular-setup --repo "C:\repos\my-app" to wire the workspace. Commit the safe wiring; local values remain in the profile and are used to generate a Git-ignored environment.local.ts. Teammates can then run the committed setup script. Values compiled into a browser bundle remain visible to users.