chore: update @typescript/native-preview to version 7.0.0-dev.20260303.1 across all packages and samples#399
Conversation
…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".
@workleap/browserslist-config
@workleap/eslint-configs
@workleap/postcss-configs
@workleap/rsbuild-configs
@workleap/rslib-configs
@workleap/stylelint-configs
@workleap/swc-configs
@workleap/tsup-configs
@workleap/typescript-configs
@workleap/webpack-configs
commit: |
There was a problem hiding this comment.
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-previewfrom7.0.0-dev.20260209.1to7.0.0-dev.20260303.1across packages, samples, and the lockfile. - Add
env.d.tsdeclarations in webpack samples to satisfy TS2882 forimport "./*.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.
| (4) Investigating suspicious skill behavior or answering "is this skill safe?" / "should we adopt this skill?" | ||
| disable-model-invocation: true | ||
| metadata: | ||
| version: 1.3 |
There was a problem hiding this comment.
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.
Fix #396