Skip to content

feat(cli): enable frontend.vue template, bump to 26.9.0, fix frontend token replacement - #104

Merged
marioserrano09 merged 1 commit into
mainfrom
feat/enable-vue-frontend-template
Sep 22, 2026
Merged

marioserrano09 merged 1 commit into
mainfrom
feat/enable-vue-frontend-template

Conversation

@marioserrano09

Copy link
Copy Markdown
Contributor

Part of #91 -- last piece: frontend.vue.

Enables template.frontend.vue now that dynamiatools/template-frontend-vue
has a real scaffold (commit a9a510a): Vite + Vue 3 + TS, using
@dynamia-tools/tailadmin-vue for the admin shell instead
of a bare Vite starter, wired to @dynamia-tools/sdk (DynamiaClient) and @dynamia-tools/vue (DynamiaVue
plugin, useNavigation).

Also in this PR

  • Version bump to 26.9.0 (dynamia.version, npm.sdk.version, npm.ui-core.version, npm.vue.version) --
    this release's target version per Mario. Not published yet to Maven Central/npm as of this PR -- generated
    Java/Kotlin/Groovy backends and the new Vue frontend template will fail to resolve dependencies until it ships.
    Nothing else needs to change once it's out.
  • Bug fix: replaceTokensInDir's TEXT_EXTENSIONS allow-list was missing .ts/.vue/.html/.js (and a few
    others) entirely -- only .json files were ever getting {{PROJECT_NAME}} replaced for frontend templates, so
    every actual source/markup file would have silently shipped the literal token. Found while building
    template-frontend-vue; added a regression test.

Verification

  • pnpm run test -- 32/32 passing (includes the new regression test).
  • dynamia new --scaffold frontend --frontend vue --yes --no-git against the real repo -- clone + token
    replacement both correct (package.json name, index.html title).
  • Full pnpm install && pnpm run build (type-check + Vite build) on the template, and again on a simulated
    post-token-replacement copy -- both clean, run against the currently-published @dynamia-tools/sdk@26.8.0/
    @dynamia-tools/vue@26.8.0 (since 26.9.0 isn't out yet).
  • pnpm install on the actual CLI-generated project fails as expected with a clean
    ERR_PNPM_NO_MATCHING_VERSION for @dynamia-tools/vue@^26.9.0 -- confirms nothing else is broken, just waiting
    on the real publish.

frontend.react remains disabled/placeholder -- leaving it there for now per Mario.

🤖 Generated with Claude Code

https://claude.ai/code/session_01UcARdenC1Sk5EVpkzboH9W

…oken replacement for frontend files

- Enable template.frontend.vue: dynamiatools/template-frontend-vue now
  has a functional scaffold (Vite + Vue 3 + @dynamia-tools/tailadmin-vue
  + @dynamia-tools/sdk + @dynamia-tools/vue), verified end-to-end
  through the actual CLI (clone + token replace), and via a full
  pnpm install + type-check + build against the currently-published
  @dynamia-tools/sdk@26.8.0/@dynamia-tools/vue@26.8.0 (26.9.0 isn't
  published yet -- see below).

- Bump dynamia.version / npm.sdk.version / npm.ui-core.version /
  npm.vue.version from 26.4.1 to 26.9.0: this release's target version
  per Mario. Not yet published to Maven Central/npm as of this commit --
  generated backend projects (and this frontend template's package.json)
  will fail to resolve dependencies until it ships. Once published, no
  further template changes are needed.

- Fix replaceTokensInDir's TEXT_EXTENSIONS allow-list (replace.ts): it
  was missing .ts/.tsx/.js/.jsx/.vue/.html/.css/.scss entirely, so
  {{PROJECT_NAME}} would have silently survived generation in every
  frontend template's actual source/markup files -- only package.json
  (.json) was ever getting replaced. Found and fixed while building
  template-frontend-vue. Added a regression test.

Also updates the backend templates' <dynamia.version> pom.xml property
and this file's matching replace.ts fallback string to 26.9.0 (separate
commits in each template repo).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UcARdenC1Sk5EVpkzboH9W
@marioserrano09
marioserrano09 merged commit 44ea716 into main Sep 22, 2026
1 check passed
@marioserrano09
marioserrano09 deleted the feat/enable-vue-frontend-template branch September 22, 2026 15:05
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