Skip to content

feat(generator): support JavaScript templates#40

Merged
chiragmak10 merged 6 commits intomasterfrom
feat/js-template-support
Feb 22, 2026
Merged

feat(generator): support JavaScript templates#40
chiragmak10 merged 6 commits intomasterfrom
feat/js-template-support

Conversation

@chiragmak10
Copy link
Copy Markdown
Owner

No description provided.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Feb 22, 2026

Dependency Review

The following issues were found:
  • ✅ 0 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ⚠️ 1 package(s) with unknown licenses.
See the Details below.

License Issues

.github/workflows/release.yml

PackageVersionLicenseIssue Type
sigstore/cosign-installer3.*.*NullUnknown License

OpenSSF Scorecard

PackageVersionScoreDetails
actions/sigstore/cosign-installer 3.*.* 🟢 7.5
Details
CheckScoreReason
Maintained🟢 57 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 5
Binary-Artifacts🟢 10no binaries found in the repo
Code-Review🟢 10all changesets reviewed
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Pinned-Dependencies🟢 10all dependencies are pinned
Token-Permissions🟢 10GitHub workflow tokens follow principle of least privilege
Packaging⚠️ -1packaging workflow not detected
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Signed-Releases⚠️ -1no releases found
Security-Policy🟢 10security policy file detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/typescript 5.9.3 🟢 8.1
Details
CheckScoreReason
Maintained🟢 1030 commit(s) and 6 issue activity found in the last 90 days -- score normalized to 10
Code-Review🟢 10all changesets reviewed
Dependency-Update-Tool🟢 10update tool detected
Packaging⚠️ -1packaging workflow not detected
Security-Policy🟢 10security policy file detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
License🟢 10license file detected
Token-Permissions🟢 9detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Vulnerabilities🟢 46 existing vulnerabilities detected
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies🟢 6dependency not pinned by hash detected -- score normalized to 6
Signed-Releases⚠️ 0Project has not signed or included provenance with any releases.
Branch-Protection⚠️ -1internal error: error during GetBranch(release-5.9): error during branchesHandler.query: internal error: githubv4.Query: Resource not accessible by integration
SAST🟢 10SAST tool is run on all commits
Fuzzing🟢 10project is fuzzed
CI-Tests🟢 1030 out of 30 merged PRs checked by a CI test -- score normalized to 10
Contributors🟢 10project has 35 contributing companies or organizations

Scanned Files

  • .github/workflows/release.yml
  • package-lock.json

Add Vitest unit tests for generateArchitectureDoc. Tests verify language-specific output (TypeScript vs JavaScript), presence/absence of the types/ folder, inclusion of stores/ when stateManagement is enabled, and inclusion of lib/ when dataFetching is enabled. Includes a createConfig helper to build ProjectConfig overrides for each scenario.
@github-actions
Copy link
Copy Markdown
Contributor

Coverage after merging feat/js-template-support into master will be

90.78%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src/assembler
   index.ts96.74%80%100%98.25%155–156, 214
   merger.ts90.91%85%100%95.24%50, 50, 50, 52
src/cli
   index.ts86.02%75%85.71%92.59%107–110, 126, 80–83, 83–84, 87
   parser.ts92.86%100%100%90.91%16
   prompts.ts100%100%100%100%
src/config
   builder.ts95.12%80%95.65%97.96%125, 134, 22
   defaults.ts100%100%100%100%
   schema.ts100%100%100%100%
src/dependencies
   resolver.ts87.76%84.62%85.71%89.66%131–132, 143, 90–91
src/docs
   architecture-generator.ts100%100%100%100%
   index.ts100%100%100%100%
   readme-generator.ts97.18%93.75%100%100%234, 245, 55, 64, 97
src/generator
   index.ts86.19%84.31%93.33%86.09%109–111, 123–124, 142–144, 162–163, 173–174, 202–203, 257–258, 295–297, 301, 360, 372, 380–381
src/lifecycle
   installer.ts100%100%100%100%
src/plugins
   loader.ts100%100%100%100%
   manager.ts92.59%66.67%100%100%17, 30
src/templates
   registry.ts73%65.71%65%79.09%102, 109–110, 124, 153, 169, 177, 209, 216, 223, 230–231, 231, 231, 231, 273, 296–297, 299–301, 301, 301, 303, 303, 303–304, 304, 304, 307, 314, 316–318, 318, 318, 320, 320, 320, 323, 354–356, 45, 47, 82–83
   utils.ts92.05%83.33%100%100%105, 107, 110, 114, 73, 76, 80
src/testing
   configurer.ts63.83%50%77.78%70.59%101, 101, 101–102, 128, 17, 170, 18, 27, 52–53, 58, 58, 58–61, 66–67, 71, 71, 71–73, 86–87, 92, 94, 94, 94–95, 99

@chiragmak10 chiragmak10 merged commit c8cefb8 into master Feb 22, 2026
6 checks passed
@chiragmak10 chiragmak10 deleted the feat/js-template-support branch March 4, 2026 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant