Skip to content

Merge develop into v4#395

Merged
RetricSu merged 11 commits intov0.4.xfrom
develop
Feb 28, 2026
Merged

Merge develop into v4#395
RetricSu merged 11 commits intov0.4.xfrom
develop

Conversation

@RetricSu
Copy link
Collaborator

No description provided.

dependabot bot and others added 11 commits February 4, 2026 08:14
…383)

Bumps the cargo group with 1 update in the /templates/v3/remix-vite-template directory: [bytes](https://github.com/tokio-rs/bytes).
Bumps the cargo group with 1 update in the /templates/v3/next-js-template directory: [bytes](https://github.com/tokio-rs/bytes).


Updates `bytes` from 1.10.1 to 1.11.1
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](tokio-rs/bytes@v1.10.1...v1.11.1)

Updates `bytes` from 1.10.1 to 1.11.1
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](tokio-rs/bytes@v1.10.1...v1.11.1)

---
updated-dependencies:
- dependency-name: bytes
  dependency-version: 1.11.1
  dependency-type: indirect
  dependency-group: cargo
- dependency-name: bytes
  dependency-version: 1.11.1
  dependency-type: indirect
  dependency-group: cargo
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…updates (#381)

* build(deps): bump the npm_and_yarn group across 4 directories with 2 updates

Bumps the npm_and_yarn group with 1 update in the / directory: [eslint](https://github.com/eslint/eslint).
Bumps the npm_and_yarn group with 1 update in the /templates/v3/js-script-next-js directory: [eslint](https://github.com/eslint/eslint).
Bumps the npm_and_yarn group with 1 update in the /templates/v3/next-js-template/frontend directory: [eslint](https://github.com/eslint/eslint).
Bumps the npm_and_yarn group with 1 update in the /templates/v3/remix-vite-template/frontend directory: [eslint](https://github.com/eslint/eslint).


Updates `eslint` from 8.57.1 to 9.26.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/v9.26.0/CHANGELOG.md)
- [Commits](eslint/eslint@v8.57.1...v9.26.0)

Updates `eslint` from 8.57.1 to 9.26.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/v9.26.0/CHANGELOG.md)
- [Commits](eslint/eslint@v8.57.1...v9.26.0)

Updates `js-yaml` from 3.14.1 to 3.14.2
- [Changelog](https://github.com/nodeca/js-yaml/blob/master/CHANGELOG.md)
- [Commits](nodeca/js-yaml@3.14.1...3.14.2)

Updates `eslint` from 8.57.0 to 9.39.2
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/v9.26.0/CHANGELOG.md)
- [Commits](eslint/eslint@v8.57.1...v9.26.0)

Updates `eslint` from 8.57.0 to 9.39.2
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/v9.26.0/CHANGELOG.md)
- [Commits](eslint/eslint@v8.57.1...v9.26.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.26.0
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: eslint
  dependency-version: 9.26.0
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: js-yaml
  dependency-version: 3.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: eslint
  dependency-version: 9.39.2
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: eslint
  dependency-version: 9.39.2
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>

* Migrate ESLint configuration to v9 flat config format (#382)

* Initial plan

* Migrate ESLint config from v8 to v9 flat config format

Co-authored-by: RetricSu <23436060+RetricSu@users.noreply.github.com>

* Improve ESLint config ordering per best practices

Co-authored-by: RetricSu <23436060+RetricSu@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RetricSu <23436060+RetricSu@users.noreply.github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: RetricSu <23436060+RetricSu@users.noreply.github.com>
…updates (#384)

Bumps the npm_and_yarn group with 1 update in the / directory: [@modelcontextprotocol/sdk](https://github.com/modelcontextprotocol/typescript-sdk).
Bumps the npm_and_yarn group with 1 update in the /templates/v3/next-js-template/frontend directory: [axios](https://github.com/axios/axios).
Bumps the npm_and_yarn group with 1 update in the /templates/v3/remix-vite-template/frontend directory: [axios](https://github.com/axios/axios).


Updates `@modelcontextprotocol/sdk` from 1.25.3 to 1.26.0
- [Release notes](https://github.com/modelcontextprotocol/typescript-sdk/releases)
- [Commits](modelcontextprotocol/typescript-sdk@v1.25.3...v1.26.0)

Updates `axios` from 1.13.2 to 1.13.5
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.13.2...v1.13.5)

Updates `axios` from 1.13.2 to 1.13.5
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](axios/axios@v1.13.2...v1.13.5)

---
updated-dependencies:
- dependency-name: "@modelcontextprotocol/sdk"
  dependency-version: 1.26.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: axios
  dependency-version: 1.13.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: axios
  dependency-version: 1.13.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…update (#385)

Bumps the npm_and_yarn group with 1 update in the / directory: [qs](https://github.com/ljharb/qs).
Bumps the npm_and_yarn group with 1 update in the /templates/v3/remix-vite-template/frontend directory: [qs](https://github.com/ljharb/qs).


Updates `qs` from 6.14.1 to 6.15.0
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.14.1...v6.15.0)

Updates `qs` from 6.14.1 to 6.14.2
- [Changelog](https://github.com/ljharb/qs/blob/main/CHANGELOG.md)
- [Commits](ljharb/qs@v6.14.1...v6.15.0)

---
updated-dependencies:
- dependency-name: qs
  dependency-version: 6.15.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: qs
  dependency-version: 6.14.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…386)

Bumps the npm_and_yarn group with 1 update in the / directory: [hono](https://github.com/honojs/hono).


Updates `hono` from 4.11.9 to 4.12.0
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.11.9...v4.12.0)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…updates (#387)

Bumps the npm_and_yarn group with 2 updates in the / directory: [ajv](https://github.com/ajv-validator/ajv) and [bn.js](https://github.com/indutny/bn.js).
Bumps the npm_and_yarn group with 1 update in the /templates/v3/next-js-template/frontend directory: [ajv](https://github.com/ajv-validator/ajv).
Bumps the npm_and_yarn group with 1 update in the /templates/v3/remix-vite-template/frontend directory: [ajv](https://github.com/ajv-validator/ajv).


Updates `ajv` from 6.12.6 to 6.14.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](ajv-validator/ajv@v6.12.6...v6.14.0)

Updates `bn.js` from 4.12.1 to 4.12.3
- [Release notes](https://github.com/indutny/bn.js/releases)
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/indutny/bn.js/commits/v4.12.3)

Updates `ajv` from 6.12.6 to 6.14.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](ajv-validator/ajv@v6.12.6...v6.14.0)

Updates `ajv` from 6.12.6 to 6.14.0
- [Release notes](https://github.com/ajv-validator/ajv/releases)
- [Commits](ajv-validator/ajv@v6.12.6...v6.14.0)

---
updated-dependencies:
- dependency-name: ajv
  dependency-version: 6.14.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: bn.js
  dependency-version: 4.12.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: ajv
  dependency-version: 6.14.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: ajv
  dependency-version: 6.14.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…updates (#390)

Bumps the npm_and_yarn group with 2 updates in the / directory: [hono](https://github.com/honojs/hono) and [minimatch](https://github.com/isaacs/minimatch).
Bumps the npm_and_yarn group with 2 updates in the /templates/v3/next-js-template/frontend directory: [bn.js](https://github.com/indutny/bn.js) and [minimatch](https://github.com/isaacs/minimatch).
Bumps the npm_and_yarn group with 2 updates in the /templates/v3/remix-vite-template/frontend directory: [bn.js](https://github.com/indutny/bn.js) and [minimatch](https://github.com/isaacs/minimatch).


Updates `hono` from 4.12.0 to 4.12.2
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.12.0...v4.12.2)

Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](isaacs/minimatch@v3.1.2...v3.1.5)

Updates `bn.js` from 4.12.1 to 4.12.3
- [Release notes](https://github.com/indutny/bn.js/releases)
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/indutny/bn.js/commits/v4.12.3)

Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](isaacs/minimatch@v3.1.2...v3.1.5)

Updates `bn.js` from 4.12.1 to 4.12.3
- [Release notes](https://github.com/indutny/bn.js/releases)
- [Changelog](https://github.com/indutny/bn.js/blob/master/CHANGELOG.md)
- [Commits](https://github.com/indutny/bn.js/commits/v4.12.3)

Updates `minimatch` from 3.1.2 to 3.1.5
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](isaacs/minimatch@v3.1.2...v3.1.5)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: bn.js
  dependency-version: 4.12.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: bn.js
  dependency-version: 4.12.3
  dependency-type: indirect
  dependency-group: npm_and_yarn
- dependency-name: minimatch
  dependency-version: 3.1.5
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Bumps the npm_and_yarn group with 1 update in the /templates/v3/remix-vite-template/frontend directory: [rollup](https://github.com/rollup/rollup).


Updates `rollup` from 4.34.8 to 4.59.0
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](rollup/rollup@v4.34.8...v4.59.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-version: 4.59.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* feat(devnet): add interactive config editor with non-interactive --set support

* feat(devnet): migrate config tui to blessed with full key browser

* feat(devnet): add search/add/delete interactions to config TUI

* feat(devnet): add array insert/move and search match navigation

* fix(devnet): sync file pane navigation with key list refresh

* feat(devnet): redesign config tui with inline docs and fixed-array checklist

* feat(devnet): compact fixed arrays and edit from array row

* refactor(tui): decompose 1220-line monolith into focused modules\n\nBreak devnet-config-tui.ts into 7 modules:\n- tui-state.ts: TuiState/TuiWidgets interfaces + factory\n- dialogs.ts: 4 reusable dialog primitives (input, confirm, fixed-array, array-value)\n- actions.ts: all user actions (edit, add, delete, insert, move, search, quit, save)\n- format.ts: tree-view entry line formatter\n- blessed-helpers.ts: type-safe wrapper for untyped list.selected\n- devnet-config-tui.ts: thin orchestrator (layout, refreshUi, key bindings)\n\nAlso includes bug fixes from earlier review:\n- Add dialogLock to prevent global keys firing during modal dialogs\n- Add resolved guards to prevent double-resolve in all dialogs\n- Fix Enter event bubbling in waitForInput\n- Remove list.on('select') in fixed-array dialog to prevent toggle+apply conflict\n\nOther improvements:\n- Add editor.setArrayValues() to fix encapsulation leak (was direct splice)\n- Introduce guardedKey/guardedKeyAsync helpers to eliminate repeated dialogLock checks\n- Replace closure variables with centralized TuiState object\n- Add ActionContext pattern for testable action functions"

* style(tui): tune inline doc comment contrast and stabilize tag rendering

* feat(tui): improve section layout and fixed-array presentation

* feat(tui): refine section rendering and array-list presentation

- Add clearer section spacing with dedicated render rows
- Render fixed arrays as separate detail lines
- Simplify fixed-array values to bracketed list format
- Tune inline docs/value colors for readability
- Fix object preview format to avoid blessed tag parsing artifacts

* fix(tui): stabilize modal/quit keyboard flow and confirm UX

- Fix fixed-array modal key handling (single-step navigation, esc/cmd all/none)
- Bind Esc on main view to quit flow without modal re-entry
- Improve confirm dialog keyboard handling (tab/shift-tab/enter variants)
- Clarify unsaved-changes prompt with explicit action labels
- Fix confirm button layout and focus-state consistency

* refactor(tui): deduplicate confirm dialog keybinding logic

* refactor(devnet): move config editor module to src/devnet

- Move devnet config editor from src/node/devnet-config-editor.ts to src/devnet/config-editor.ts
- Update all imports in cmd, tui, and tests
- Align refactoring doc references with new module path

* refactor(cli): use ES import for devnet config command

* style(tui): apply formatting updates across devnet editor modules

* fix(tui): resolve unused vars in format rendering

* fix(tui): force xterm terminal profile for blessed compatibility

* fix(tui): preserve custom array values and add save-time config validation

* chore(tui): help text

* feat(tui): add three-column devnet config editor with readonly reference pane

* chore(tui)

* chore(tui)

* re-generate pnpm-lock file
- Fix husky v9 pre-commit hooks (was broken: v4 config with v9 install)
  - lint-staged now runs ESLint + Prettier on .ts files
  - typecheck (tsc --noEmit) runs on every commit
- Clean up redundant ESLint configs (delete .eslintrc.js, remove eslintConfig from package.json)
  - Keep eslint.config.mjs as single source of truth
- Set up @changesets/cli for automated changelog management
  - Add changeset-check.yml CI workflow (hard blocks PRs without changeset)
  - Integrate changeset version into publish workflow
  - Add CHANGELOG.md
- Expand docs/develop.md into comprehensive dev guide
  - Local setup, code architecture, branch management, PR workflow
  - Changesets usage, release process, testing conventions
- Add coverage threshold (10% min) to test CI
- Fix lint CI workflow: add pnpm store caching (was missing)
- Add scripts: typecheck, prepare, test:ci, changeset, version-packages, release
Remove deprecated v3 templates to streamline the codebase:
- Deleted entire templates/v3/ directory (remix-vite, next-js, js-script-next-js)
- Updated templates/readme.md to reflect only v4 is available

v3 templates are no longer maintained and v4 provides a better
developer experience focused on CKB JavaScript smart contracts.

BREAKING CHANGE: Projects using v3 templates should migrate to v4.
See docs/migration.md for migration guidance.

Quality gates passed:
- pnpm install: ✓
- pnpm build: ✓
- pnpm test: 27 passed, 7 skipped
- pnpm lint: 0 errors (7 pre-existing warnings)
- pnpm fmt: ✓
@RetricSu RetricSu merged commit eb2c329 into v0.4.x Feb 28, 2026
6 checks passed
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