Skip to content

Update dependencies and TypeScript version in templates#1585

Open
Adammatthiesen wants to merge 7 commits into
mainfrom
typescript-6
Open

Update dependencies and TypeScript version in templates#1585
Adammatthiesen wants to merge 7 commits into
mainfrom
typescript-6

Conversation

@Adammatthiesen

@Adammatthiesen Adammatthiesen commented Jul 13, 2026

Copy link
Copy Markdown
Member

This pull request updates the monorepo to support TypeScript 6, upgrades Astro and related dependencies, and makes several maintenance improvements to keep the codebase current and compatible. The most important changes are grouped below:

TypeScript 6 and Astro 6 Upgrades

  • Upgraded TypeScript to version 6.0.3 across the monorepo, including all templates and the dependency catalog (pnpm-workspace.yaml, multiple package.json files) [1] [2] [3] [4] [5] [6] [7].
  • Updated Astro to version 6.1.0 and @astrojs/node to 10.0.0 in all templates and relevant packages to ensure compatibility with TypeScript 6 (pnpm-workspace.yaml, multiple package.json files) [1] [2] [3] [4] [5] [6].

Code and Configuration Changes for Compatibility

  • Updated the dynamic import syntax for JSON in the i18n virtual module to use the { with: { type: 'json' } } option, which is required for TypeScript 6 support (packages/studiocms/src/virtuals/i18n/config.ts) [1] [2].
  • Added typescript to the list of Renovate-managed dependencies and updated the dependency catalog to include TypeScript 6 (.github/renovate.json, pnpm-workspace.yaml) [1] [2].
  • Added astro as a devDependency where needed to ensure proper catalog resolution (packages/@studiocms/markdown-remark/package.json, packages/@withstudiocms/config-utils/package.json) [1] [2].

General Maintenance and Cleanup

  • Removed the baseUrl option from TypeScript config files where it is no longer needed (packages/studiocms/tsconfig.build.json, packages/studiocms/tsconfig.tspc.json) [1] [2].
  • Removed the vite-plugin-inspect dependency and related configuration from the playground, as it is no longer required (playground/astro.config.mts, playground/package.json) [1] [2] [3].
  • Added @types/node to the root tsconfig.base.json for improved type support across the repo.

Other Changes

  • Removed unused or obsolete configuration and dependencies, such as the zizmor.yml rules and an outdated codecov plugin from the dependency catalog [1] [2] [3].
  • Added missing devDependencies to package manifests for consistency (packages/@withstudiocms/cli-kit/package.json).

These updates ensure the monorepo remains up-to-date with the latest TypeScript and Astro releases, improve compatibility, and clean up unused dependencies and configuration.

@coderabbitai ignore

- Bump TypeScript version from ^5.9.3 to ^6.0.3 in all template package.json files.
- Upgrade @astrojs/node from ^9.5.4 to ^10.0.0 in all template package.json files.
- Upgrade astro from ^5.18.0 to ^6.1.0 in all template package.json files.
- Add rootDir option in tsconfig.json for better directory structure handling.
- Remove unused zizmor.yml configuration file.
@coderabbitai

coderabbitai Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: cf347c1d-d2bf-4710-9011-46aeab2e604f

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch typescript-6

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@changeset-bot

changeset-bot Bot commented Jul 13, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 48e37b7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
studiocms Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Allure Test Report for this PR:

Allure Report | History

@codecov

codecov Bot commented Jul 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

@pkg-pr-new

pkg-pr-new Bot commented Jul 13, 2026

Copy link
Copy Markdown
create-studiocms

npm i https://pkg.pr.new/create-studiocms@1585

effectify

npm i https://pkg.pr.new/effectify@1585

studiocms

npm i https://pkg.pr.new/studiocms@1585

@studiocms/auth0

npm i https://pkg.pr.new/@studiocms/auth0@1585

@studiocms/blog

npm i https://pkg.pr.new/@studiocms/blog@1585

@studiocms/cloudinary-image-service

npm i https://pkg.pr.new/@studiocms/cloudinary-image-service@1585

@studiocms/devapps

npm i https://pkg.pr.new/@studiocms/devapps@1585

@studiocms/discord

npm i https://pkg.pr.new/@studiocms/discord@1585

@studiocms/github

npm i https://pkg.pr.new/@studiocms/github@1585

@studiocms/google

npm i https://pkg.pr.new/@studiocms/google@1585

@studiocms/html

npm i https://pkg.pr.new/@studiocms/html@1585

@studiocms/markdoc

npm i https://pkg.pr.new/@studiocms/markdoc@1585

@studiocms/markdown-remark

npm i https://pkg.pr.new/@studiocms/markdown-remark@1585

@studiocms/md

npm i https://pkg.pr.new/@studiocms/md@1585

@studiocms/mdx

npm i https://pkg.pr.new/@studiocms/mdx@1585

@studiocms/s3-storage

npm i https://pkg.pr.new/@studiocms/s3-storage@1585

@studiocms/upgrade

npm i https://pkg.pr.new/@studiocms/upgrade@1585

@studiocms/wysiwyg

npm i https://pkg.pr.new/@studiocms/wysiwyg@1585

@withstudiocms/api-spec

npm i https://pkg.pr.new/@withstudiocms/api-spec@1585

@withstudiocms/auth-kit

npm i https://pkg.pr.new/@withstudiocms/auth-kit@1585

@withstudiocms/cli-kit

npm i https://pkg.pr.new/@withstudiocms/cli-kit@1585

@withstudiocms/component-registry

npm i https://pkg.pr.new/@withstudiocms/component-registry@1585

@withstudiocms/config-utils

npm i https://pkg.pr.new/@withstudiocms/config-utils@1585

@withstudiocms/effect

npm i https://pkg.pr.new/@withstudiocms/effect@1585

@withstudiocms/internal_helpers

npm i https://pkg.pr.new/@withstudiocms/internal_helpers@1585

@withstudiocms/kysely

npm i https://pkg.pr.new/@withstudiocms/kysely@1585

@withstudiocms/sdk

npm i https://pkg.pr.new/@withstudiocms/sdk@1585

@withstudiocms/template-lang

npm i https://pkg.pr.new/@withstudiocms/template-lang@1585

commit: 48e37b7

@Adammatthiesen Adammatthiesen marked this pull request as ready for review July 13, 2026 10:58
@Adammatthiesen Adammatthiesen requested a review from a team as a code owner July 13, 2026 10:58
Base automatically changed from re-astro-config to main July 13, 2026 19:31
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