Skip to content

Commit

Permalink
Bump embedded Tailwind CSS v4 version (#1207)
Browse files Browse the repository at this point in the history
Fixes #1206

(Was technically already fixed when you had tailwindcss installed)
  • Loading branch information
thecrypticace authored Feb 14, 2025
1 parent 82482f2 commit 089c727
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
2 changes: 1 addition & 1 deletion packages/tailwindcss-language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
"rimraf": "3.0.2",
"stack-trace": "0.0.10",
"tailwindcss": "3.4.17",
"tailwindcss-v4": "npm:tailwindcss@4.0.0",
"tailwindcss-v4": "npm:tailwindcss@4.0.6",
"tsconfck": "^3.1.4",
"tsconfig-paths": "^4.2.0",
"typescript": "5.3.3",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import { extractSourceDirectives, resolveCssImports } from './css'
import { normalizeDriveLetter, normalizePath, pathToFileURL } from './utils'
import postcss from 'postcss'
import * as oxide from './oxide'
import { analyzeStylesheet, TailwindStylesheet, TailwindVersion } from './version-guesser'
import { analyzeStylesheet, TailwindStylesheet } from './version-guesser'

export interface ProjectConfig {
/** The folder that contains the project */
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ defineTest({

expect(c.project).toMatchObject({
tailwind: {
version: '4.0.0',
version: '4.0.6',
isDefaultVersion: true,
},
})
Expand Down Expand Up @@ -373,7 +373,7 @@ defineTest({

expect(c.project).toMatchObject({
tailwind: {
version: '4.0.0',
version: '4.0.6',
isDefaultVersion: true,
},
})
Expand Down
8 changes: 4 additions & 4 deletions packages/tailwindcss-language-server/tests/env/v4.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defineTest({

expect(c.project).toMatchObject({
tailwind: {
version: '4.0.0',
version: '4.0.6',
isDefaultVersion: true,
},
})
Expand Down Expand Up @@ -58,7 +58,7 @@ defineTest({
},
})

expect(completion.items.length).toBe(12286)
expect(completion.items.length).toBe(12288)
},
})

Expand Down Expand Up @@ -109,7 +109,7 @@ defineTest({

expect(c.project).toMatchObject({
tailwind: {
version: '4.0.0',
version: '4.0.6',
isDefaultVersion: true,
},
})
Expand Down Expand Up @@ -315,7 +315,7 @@ defineTest({

expect(c.project).toMatchObject({
tailwind: {
version: '4.0.0',
version: '4.0.6',
isDefaultVersion: true,
},
})
Expand Down
1 change: 1 addition & 0 deletions packages/vscode-tailwindcss/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
- Ignore comments when matching class attributes ([#1202](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1202))
- Show source diagnostics when imports contain a layer ([#1204](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1204))
- Only detect project roots in v4 when using certain CSS features ([#1205](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1205))
- Update Tailwind CSS v4 version to v4.0.6 ([#1207](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1207))

## 0.14.4

Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 089c727

Please sign in to comment.