Skip to content

feat(templates): add universal-large launch template#115

Open
vsavkin wants to merge 4 commits intomainfrom
universal-template
Open

feat(templates): add universal-large launch template#115
vsavkin wants to merge 4 commits intomainfrom
universal-template

Conversation

@vsavkin
Copy link
Copy Markdown
Member

@vsavkin vsavkin commented Apr 13, 2026

No description provided.

claude and others added 4 commits April 13, 2026 17:23
Adds a new 'universal-large' template that conditionally sets up
Node, Java, Rust, and Mise based on what files exist in the repo.

New conditional workflow-steps (each delegates to the real installer
when its marker files are present, otherwise logs and skips):
- install-node-if-present
- install-node-modules-if-present
- install-java-if-present (skips when a mise config manages Java)
- install-mise-if-present
- install-rust-if-present

universal-large also restores the node_modules, browser, rust (~/.cargo),
and gradle (~/.gradle/caches, ~/.gradle/wrapper) caches. Cache misses on
non-matching projects are cheap no-ops.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
The workflow-step runtime executes each step's main.js as a standalone
file, so relative requires across step directories don't resolve.
Inline the install-node, install-node-modules, and install-mise logic
directly into the corresponding -if-present variants.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Temporary so the template can be tested before v5 is republished with the
new workflow-steps.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@vsavkin vsavkin force-pushed the universal-template branch from 20129eb to fbdb2cb Compare April 14, 2026 14:59
@nx-cloud
Copy link
Copy Markdown

nx-cloud Bot commented Apr 14, 2026

View your CI Pipeline Execution ↗ for commit fbdb2cb

Command Status Duration Result
nx affected -t test ✅ Succeeded <1s View ↗

☁️ Nx Cloud last updated this comment at 2026-04-14 15:00:50 UTC

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.

2 participants