Skip to content

chore: update @typescript/native-preview to version 7.0.0-dev.20260303.1 across all packages and samples#399

Merged
Patrick Lafrance (patricklafrance) merged 1 commit intomainfrom
chore/fix-css-typings-for-webpack-samples
Mar 3, 2026
Merged

chore: update @typescript/native-preview to version 7.0.0-dev.20260303.1 across all packages and samples#399
Patrick Lafrance (patricklafrance) merged 1 commit intomainfrom
chore/fix-css-typings-for-webpack-samples

Conversation

@patricklafrance
Copy link
Member

Fix #396

  • Updated package.json files in stylelint-configs, swc-configs, tsup-configs, webpack-configs, and pnpm-lock.yaml to use the new version of @typescript/native-preview.
  • Updated package.json files in samples for rsbuild app, components, rslib-lib, storybook, and webpack to reflect the new version.
  • Added env.d.ts files in webpack app and components to declare module "*.css".

…3.1 across all packages and samples

- Updated package.json files in stylelint-configs, swc-configs, tsup-configs, webpack-configs, and pnpm-lock.yaml to use the new version of @typescript/native-preview.
- Updated package.json files in samples for rsbuild app, components, rslib-lib, storybook, and webpack to reflect the new version.
- Added env.d.ts files in webpack app and components to declare module "*.css".
Copilot AI review requested due to automatic review settings March 3, 2026 16:39
@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 3, 2026

Open in StackBlitz

@workleap/browserslist-config

pnpm add https://pkg.pr.new/@workleap/browserslist-config@399

@workleap/eslint-configs

pnpm add https://pkg.pr.new/@workleap/eslint-configs@399

@workleap/postcss-configs

pnpm add https://pkg.pr.new/@workleap/postcss-configs@399

@workleap/rsbuild-configs

pnpm add https://pkg.pr.new/@workleap/rsbuild-configs@399

@workleap/rslib-configs

pnpm add https://pkg.pr.new/@workleap/rslib-configs@399

@workleap/stylelint-configs

pnpm add https://pkg.pr.new/@workleap/stylelint-configs@399

@workleap/swc-configs

pnpm add https://pkg.pr.new/@workleap/swc-configs@399

@workleap/tsup-configs

pnpm add https://pkg.pr.new/@workleap/tsup-configs@399

@workleap/typescript-configs

pnpm add https://pkg.pr.new/@workleap/typescript-configs@399

@workleap/webpack-configs

pnpm add https://pkg.pr.new/@workleap/webpack-configs@399

commit: 996a450

@patricklafrance Patrick Lafrance (patricklafrance) merged commit 6050410 into main Mar 3, 2026
8 of 9 checks passed
@patricklafrance Patrick Lafrance (patricklafrance) deleted the chore/fix-css-typings-for-webpack-samples branch March 3, 2026 16:42
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the repo-wide TypeScript “tsgo” preview compiler dependency to resolve the TS2882 CSS side-effect import typecheck failures, with a small additional change to an agent skill definition.

Changes:

  • Bump @typescript/native-preview from 7.0.0-dev.20260209.1 to 7.0.0-dev.20260303.1 across packages, samples, and the lockfile.
  • Add env.d.ts declarations in webpack samples to satisfy TS2882 for import "./*.css" side-effect imports.
  • Update an agent skill frontmatter flag (disable-model-invocation: true).

Reviewed changes

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

Show a summary per file
File Description
samples/webpack/tsup-lib/package.json Bumps @typescript/native-preview version for the webpack tsup sample.
samples/webpack/components/src/env.d.ts Adds declare module "*.css" to fix TS2882 in webpack components sample.
samples/webpack/components/package.json Bumps @typescript/native-preview version for webpack components sample.
samples/webpack/app/src/env.d.ts Adds declare module "*.css" to fix TS2882 in webpack app sample.
samples/webpack/app/package.json Bumps @typescript/native-preview version for webpack app sample.
samples/storybook/rslib/package.json Bumps @typescript/native-preview version for storybook/rslib sample.
samples/storybook/rsbuild/package.json Bumps @typescript/native-preview version for storybook/rsbuild sample.
samples/rsbuild/rslib-lib/package.json Bumps @typescript/native-preview version for rsbuild rslib-lib sample.
samples/rsbuild/components/package.json Bumps @typescript/native-preview version for rsbuild components sample.
samples/rsbuild/app/package.json Bumps @typescript/native-preview version for rsbuild app sample.
pnpm-lock.yaml Lockfile update reflecting the new @typescript/native-preview version across importers/snapshots.
packages/webpack-configs/package.json Bumps @typescript/native-preview version for webpack-configs package.
packages/tsup-configs/package.json Bumps @typescript/native-preview version for tsup-configs package.
packages/swc-configs/package.json Bumps @typescript/native-preview version for swc-configs package.
packages/stylelint-configs/package.json Bumps @typescript/native-preview version for stylelint-configs package.
packages/rslib-configs/package.json Bumps @typescript/native-preview version for rslib-configs package.
packages/rsbuild-configs/package.json Bumps @typescript/native-preview version for rsbuild-configs package.
packages/postcss-configs/package.json Bumps @typescript/native-preview version for postcss-configs package.
packages/eslint-configs/package.json Bumps @typescript/native-preview version for eslint-configs package.
packages/browserslist-config/package.json Bumps @typescript/native-preview version for browserslist-config package.
package.json Bumps root @typescript/native-preview version.
agent-skills/workleap-skill-safety-review/SKILL.md Adds disable-model-invocation: true in skill frontmatter.
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

Comment on lines 8 to 11
(4) Investigating suspicious skill behavior or answering "is this skill safe?" / "should we adopt this skill?"
disable-model-invocation: true
metadata:
version: 1.3
Copy link

Copilot AI Mar 3, 2026

Choose a reason for hiding this comment

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

This change adds disable-model-invocation: true to the skill frontmatter, but the PR title/description are scoped to updating @typescript/native-preview and adding CSS typings in webpack samples. Please either (a) update the PR description to explicitly mention why this skill metadata change is included, or (b) move it to a separate PR to keep the dependency update focused.

Copilot uses AI. Check for mistakes.
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.

[agent] Failed to update @typescript/native-preview

2 participants