Skip to content

fix(secrets): use TypeScript renderer - #168

Merged
altaywtf merged 1 commit into
mainfrom
fix/secrets-render-ts
Aug 2, 2026
Merged

fix(secrets): use TypeScript renderer#168
altaywtf merged 1 commit into
mainfrom
fix/secrets-render-ts

Conversation

@altaywtf

@altaywtf altaywtf commented Aug 2, 2026

Copy link
Copy Markdown
Member

Summary

Use the repository-standard TypeScript extension for the secrets renderer.

Changed

  • Rename scripts/secrets-render.mjs to scripts/secrets-render.ts
  • Update the setup wrapper to execute the TypeScript path

Review aids

Before: node ./scripts/secrets-render.mjs

After: node ./scripts/secrets-render.ts

Risks

None expected. This is a 100% content-preserving rename, and the repository already executes Node TypeScript scripts directly.

Verification

  • pnpm run verify
  • bash scripts/secrets-setup.test.sh
  • shellcheck scripts/secrets-setup.sh scripts/secrets-setup.test.sh
  • Repository scan confirms no secrets-render.mjs reference remains

Complexity

Mechanical rename only.


Summary by cubic

Switched the secrets renderer to TypeScript by renaming scripts/secrets-render.mjs to scripts/secrets-render.ts and updating scripts/secrets-setup.sh to call it. No behavior change.

Written for commit cac8737. Summary will update on new commits.

Copilot AI review requested due to automatic review settings August 2, 2026 19:30

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the secrets rendering helper to use the repository-standard TypeScript script convention by switching the renderer from an .mjs file to a .ts file and updating the setup script to call the new path.

Changes:

  • Update scripts/secrets-setup.sh to execute scripts/secrets-render.ts instead of scripts/secrets-render.mjs.
  • Add scripts/secrets-render.ts (TypeScript version of the secrets renderer/validator).

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
scripts/secrets-setup.sh Switches the invoked renderer from .mjs to .ts.
scripts/secrets-render.ts TypeScript implementation of the secrets payload validator + dotenv renderer.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@altaywtf
altaywtf merged commit 03d69da into main Aug 2, 2026
11 checks passed
@altaywtf
altaywtf deleted the fix/secrets-render-ts branch August 2, 2026 19:33
putio-releaser Bot pushed a commit that referenced this pull request Aug 2, 2026
## [11.1.1](v11.1.0...v11.1.1) (2026-08-02)

### Bug Fixes

* **secrets:** use TypeScript renderer ([#168](#168)) ([03d69da](03d69da))
@putio-releaser

putio-releaser Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 11.1.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants