Skip to content

chore: bump update#85

Draft
bradtaniguchi wants to merge 5 commits into
mainfrom
chore/bump-update
Draft

chore: bump update#85
bradtaniguchi wants to merge 5 commits into
mainfrom
chore/bump-update

Conversation

@bradtaniguchi

@bradtaniguchi bradtaniguchi commented May 23, 2026

Copy link
Copy Markdown
Owner

Changes

chore: bump nvmrc

  • Bumped .nvmrc from Node v20.18.1 to v24.16.0 (local dev version)
  • Updated minimum supported Node version in engines to >=22.0.0
  • Updated CI matrix to test against Node 22 and 24

fix: ran npm audit

  • Refreshed package-lock.json with updated transitive dependency versions (Babel, AJV, js-yaml, qs, etc.)

chore: TypeDoc configuration

  • Added typedoc.json options file for consistent doc generation
  • Added tsconfig.typedoc.json for TypeDoc-specific compiler settings
  • Updated build:docs script to use --options typedoc.json
  • Split dev:docs into dev:docs (watch) and dev:docs:serve (serve) to fix && sequencing issue

chore: TypeScript project references restructure

  • Restructured root tsconfig.json to use project references (files: [] + references)
  • Added tsconfig.base.json for shared compiler options
  • Added tsconfig.main.json as composite project for source builds
  • Fixed tsconfig.spec.json to extend tsconfig.base.json with proper spec-file includes
  • Moved types into compilerOptions in all tsconfig files (was incorrectly at top-level)
  • Updated build scripts to use tsc -b / tsc -b --watch for project references
  • Updated jest.config.js to explicitly reference tsconfig.spec.json

fix: CI workflow

  • Updated actions/setup-node from v1 to v4 for reliable Node 24 installation

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 development Node.js version reference and refreshes the dependency lockfile as part of an npm audit/dependency update pass.

Changes:

  • Bumped .nvmrc from Node v20.18.1 to v24.16.0.
  • Updated package-lock.json with newer resolved versions for multiple transitive dependencies (notably Babel-related packages, AJV, js-yaml, qs, etc.).

Reviewed changes

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

File Description
.nvmrc Updates the default local Node version used by nvm.
package-lock.json Refreshes locked dependency graph/versions after audit/update.

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

Comment thread .nvmrc
Added project references structure to separate build targets:
- tsconfig.base.json: base compiler options for production
- tsconfig.main.json: production build (extends base)
- tsconfig.spec.json: test setup with jest types
- tsconfig.typedoc.json: documentation generation config
- typedoc.json: typedoc output configuration and options

Fixed package.json build:docs script to use typedoc options file
@bradtaniguchi
bradtaniguchi requested a review from Copilot May 23, 2026 22:25
@bradtaniguchi
bradtaniguchi marked this pull request as ready for review May 23, 2026 22:26

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

Copilot reviewed 8 out of 10 changed files in this pull request and generated 6 comments.

Comments suppressed due to low confidence (1)

package.json:12

  • npm run build/npm run dev invoke tsc against the root tsconfig.json, but that config now has files: [] and only references. With the current scripts (no -b), tsc will not build the referenced projects and may fail with “no inputs were found”, breaking CI (on-push runs npm run build). Update scripts to build the referenced projects (e.g., use tsc -b / tsc -b --watch or point -p at tsconfig.main.json).
  "scripts": {
    "prepare": "husky install",
    "build": "tsc",
    "dev": "tsc --watch",
    "lint": "eslint",

Comment thread tsconfig.main.json Outdated
@@ -0,0 +1,3 @@
{
"extends": "./tsconfig.base.json"
Comment thread tsconfig.base.json Outdated
Comment on lines +8 to +10
"skipLibCheck": true
},
"types": ["node"],
Comment thread tsconfig.typedoc.json Outdated
Comment on lines +9 to +11
"noEmit": true
},
"types": ["node"],
Comment thread package.json
Comment on lines 16 to 19
"clean": "rimraf lib docs",
"build:docs": "npx typedoc src",
"build:docs": "npx typedoc --options typedoc.json",
"dev:docs": "npx typedoc src --watch && npx http-server docs",
"smoke:docs": "npx http-server docs"
Comment on lines 14 to 17
strategy:
matrix:
node: [18, 20, 22]
node: [22, 24]

Comment thread typedoc.json
Comment on lines +1 to +3
{
"entryPoints": ["src"],
"exclude": [
- Move 'types' into compilerOptions in tsconfig.base.json and tsconfig.typedoc.json
- Add composite:true to tsconfig.main.json for project references support
- Fix tsconfig.spec.json to extend tsconfig.base.json with proper includes/excludes
- Remove tsconfig.spec.json from root references (test-only config)
- Update build/dev scripts to use tsc -b for project references
- Split dev:docs into watch and serve scripts; align with build:docs options file
- Update actions/setup-node from v1 to v4 for reliable Node 24 support
- Configure jest to explicitly use tsconfig.spec.json

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

Copilot reviewed 9 out of 12 changed files in this pull request and generated 3 comments.

Comment thread tsconfig.typedoc.json
Comment on lines +3 to +10
"target": "es5",
"module": "commonjs",
"declaration": true,
"outDir": "./lib",
"strict": true,
"skipLibCheck": true,
"noEmit": true,
"types": ["node"]
@@ -10,7 +10,7 @@ jobs:

- uses: actions/setup-node@v3
Comment thread typedoc.json
Comment on lines +4 to +5
"*.spec.ts",
"*.test.ts"
@bradtaniguchi
bradtaniguchi marked this pull request as draft June 2, 2026 04:17
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