Skip to content

Commit df8eda9

Browse files
Upgrade: Use latest tag for packages
1 parent 1c905f2 commit df8eda9

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
2323
- Ensure JavaScript plugins that emit nested rules referencing to the utility name work as expected ([#16539](https://github.com/tailwindlabs/tailwindcss/pull/16539))
2424
- Upgrade: Report errors when updating dependencies ([#16504](https://github.com/tailwindlabs/tailwindcss/pull/16504))
2525
- Upgrade: Ensure a `darkMode` JS config setting with block syntax converts to use `@slot` ([#16507](https://github.com/tailwindlabs/tailwindcss/pull/16507))
26+
- Upgrade: Ensure to upgrade to the latest version of `tailwindcss` and `@tailwindcss/postcss` ([#16620](https://github.com/tailwindlabs/tailwindcss/pull/16620))
2627

2728
## [4.0.6] - 2025-02-10
2829

packages/@tailwindcss-upgrade/src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ async function run() {
276276

277277
try {
278278
// Upgrade Tailwind CSS
279-
await pkg(base).add(['tailwindcss@next'])
279+
await pkg(base).add(['tailwindcss'])
280280
success(`Updated package: ${highlight('tailwindcss')}`, { prefix: '↳ ' })
281281
} catch {}
282282

packages/@tailwindcss-upgrade/src/migrate-postcss.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ export async function migratePostCSSConfig(base: string) {
102102

103103
if (location !== null) {
104104
try {
105-
await pkg(base).add(['@tailwindcss/postcss@next'], location)
105+
await pkg(base).add(['@tailwindcss/postcss'], location)
106106
success(`Installed package: ${highlight('@tailwindcss/postcss')}`, { prefix: '↳ ' })
107107
} catch {}
108108
}

0 commit comments

Comments
 (0)