Skip to content

develop#49

Closed
ienaga wants to merge 6 commits into
mainfrom
develop
Closed

develop#49
ienaga wants to merge 6 commits into
mainfrom
develop

Conversation

@ienaga

@ienaga ienaga commented Dec 1, 2025

Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings December 1, 2025 23:19

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 view-generator package to version 4.0.0, introducing breaking changes to the generated View and ViewModel templates to align with a new framework architecture.

Key Changes:

  • Refactored View/ViewModel templates to use constructor-based dependency injection instead of bind/unbind pattern
  • Added lifecycle methods (initialize, onEnter, onExit) to generated View classes
  • Updated recommended Node.js version from 18 to 22
  • Upgraded development dependencies and GitHub Actions workflow configurations

Reviewed changes

Copilot reviewed 4 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
src/index.ts Updated Node version requirement, refactored View/ViewModel templates to use DI pattern with lifecycle methods, added underscore support to route name splitting
package.json Major version bump to 4.0.0, updated dev dependencies (@eslint, @typescript-eslint, globals) and @types/node
package-lock.json Synchronized lockfile with package.json updates, replaced fast-glob with tinyglobby, updated all dependency versions
.github/workflows/publish.yml Updated to Node 24, attempted upgrade to actions v6 (non-existent), added npm global update step
.github/workflows/lint.yml Updated to Node 24, attempted upgrade to actions v6 (non-existent), added npm global update step and explicit node-version configuration

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

Comment thread src/index.ts
import fs from "fs";

const recommendeVersion: number = 18;
const recommendeVersion: number = 22;

Copilot AI Dec 1, 2025

Copy link

Choose a reason for hiding this comment

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

Typo in variable name: "recommendeVersion" should be "recommendedVersion" (missing 'd'). This typo also exists in the original code at line 11 where it's used.

Copilot uses AI. Check for mistakes.
@ienaga ienaga closed this Dec 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants