Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the monorepo’s toolchain dependencies and adjusts @instructure.ai/aiinfo build/type generation and cached AI-info data, aligning the package with newer dependency versions and updated feature inventory.
Changes:
- Update root/dev toolchain dependencies (Vitest/Vite/Vite-node/OxC/tsdown, etc.).
- Update
@instructure.ai/aiinfotsdown/TypeScript configuration and generated declaration strategy. - Update
@instructure.ai/aiinfocached feature data and generated build artifacts (CSV + bundled outputs).
Reviewed changes
Copilot reviewed 9 out of 10 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/aiinfo/tsdown.config.mts | Adjust tsdown bundling/treeshake configuration for aiinfo. |
| packages/aiinfo/tsconfig.json | Enable declaration + isolated declarations for aiinfo. |
| packages/aiinfo/src/index.mjs | Regenerated ESM bundle output for aiinfo data. |
| packages/aiinfo/src/index.cjs | Regenerated CJS bundle output for aiinfo data. |
| packages/aiinfo/src/index.d.mts | Switch generated types to reference InstUI prop types. |
| packages/aiinfo/src/index.d.cts | Switch generated types to reference InstUI prop types (CJS typings). |
| packages/aiinfo/package.json | Version bump and add optional peer dependencies for InstUI packages. |
| packages/aiinfo/node/components/canvasa11ycheckertablecaptions/index.ts | Update feature entry (including revision) for Table Captions. |
| packages/aiinfo/node/components/canvasa11ycheckeralttextgenerator/index.ts | Minor regenerated ordering in feature entry. |
| packages/aiinfo/cache/cache.csv | Update cached CSV row(s) for AI info features. |
| package.json | Update workspace-level dev dependencies. |
| apps/roadmap/package.json | Update app dependencies (InstUI + React). |
| apps/nutritionfacts/package.json | Version bump and update app dependencies (InstUI + React). |
packages/aiinfo/src/index.d.mts
Outdated
Comment on lines
1
to
5
There was a problem hiding this comment.
The generated types now import from @instructure/ui-instructure. If that package isn’t installed by the consumer (it’s currently declared as an optional peer), TypeScript will fail to resolve this module when loading @instructure.ai/aiinfo types. Align the typing strategy with the dependency strategy (required peer vs. self-contained declaration types).
packages/aiinfo/node/components/canvasa11ycheckertablecaptions/index.ts
Outdated
Show resolved
Hide resolved
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
@instructure.ai/shared-configs@instructure.ai/aiinfo