Skip to content

Bump minimum version requirements #1297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 17 commits into
base: feat/refactor-language-service-usage
Choose a base branch
from
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [18, 20, 22, 23]
node: [20, 22, 23]
os: [ubuntu-latest, macos-latest, windows-latest]

runs-on: ${{ matrix.os }}
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
"name": "tailwindcss-intellisense",
"private": true,
"devDependencies": {
"@npmcli/package-json": "^5.0.0",
"@types/culori": "^2.1.0",
"@npmcli/package-json": "^5.2.1",
"@types/culori": "^2.1.1",
"culori": "^4.0.1",
"esbuild": "^0.25.0",
"esbuild": "^0.25.2",
"minimist": "^1.2.8",
"prettier": "^3.2.5",
"prettier": "^3.5.3",
"semver": "^7.7.1"
},
"prettier": {
Expand Down
61 changes: 31 additions & 30 deletions packages/tailwindcss-language-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,27 +44,27 @@
"@parcel/watcher-linux-arm64-glibc": "2.5.1",
"@parcel/watcher-linux-arm64-musl": "2.5.1",
"@tailwindcss/aspect-ratio": "0.4.2",
"@tailwindcss/container-queries": "0.1.0",
"@tailwindcss/forms": "0.5.3",
"@tailwindcss/container-queries": "0.1.1",
"@tailwindcss/forms": "0.5.10",
"@tailwindcss/language-service": "workspace:*",
"@tailwindcss/line-clamp": "0.4.2",
"@tailwindcss/oxide": "^4.1.0",
"@tailwindcss/typography": "0.5.7",
"@types/braces": "3.0.1",
"@types/color-name": "^1.1.3",
"@types/culori": "^2.1.0",
"@tailwindcss/line-clamp": "0.4.4",
"@tailwindcss/oxide": "^4.1.2",
"@tailwindcss/typography": "0.5.16",
"@types/braces": "3.0.5",
"@types/color-name": "^1.1.5",
"@types/culori": "^2.1.1",
"@types/debounce": "1.2.0",
"@types/dlv": "^1.1.4",
"@types/find-up": "^4.0.0",
"@types/dlv": "^1.1.5",
"@types/find-up": "^4.0.2",
"@types/license-checker": "^25.0.6",
"@types/node": "^18.19.33",
"@types/node": "^20.14.8",
"@types/normalize-path": "^3.0.2",
"@types/picomatch": "^2.3.3",
"@types/picomatch": "^2.3.4",
"@types/postcss-import": "^14.0.3",
"@types/stack-trace": "^0.0.33",
"@types/vscode": "1.65.0",
"browserslist": "^4.23.0",
"bun-types": "^1.1.1",
"@types/vscode": "1.90.0",
"browserslist": "^4.24.4",
"bun-types": "^1.2.8",
"chokidar": "3.6.0",
"color-name": "1.1.4",
"culori": "^4.0.1",
Expand All @@ -73,17 +73,17 @@
"deepmerge": "4.2.2",
"dlv": "1.1.3",
"dset": "3.1.4",
"enhanced-resolve": "^5.16.1",
"esbuild": "^0.25.0",
"enhanced-resolve": "^5.18.1",
"esbuild": "^0.25.2",
"find-up": "5.0.0",
"jiti": "^2.3.3",
"jiti": "^2.4.2",
"klona": "2.0.4",
"license-checker": "25.0.1",
"minimist": "^1.2.8",
"normalize-path": "3.0.0",
"picomatch": "^4.0.1",
"picomatch": "^4.0.2",
"pkg-up": "3.1.0",
"postcss": "8.4.31",
"postcss": "^8.5.3",
"postcss-import": "^16.1.0",
"postcss-load-config": "3.0.1",
"postcss-selector-parser": "6.0.2",
Expand All @@ -93,20 +93,21 @@
"tailwindcss": "3.4.17",
"tailwindcss-v4": "npm:[email protected]",
"tinyglobby": "^0.2.12",
"tsconfck": "^3.1.4",
"tsconfck": "^3.1.5",
"tsconfig-paths": "^4.2.0",
"typescript": "5.3.3",
"vite-tsconfig-paths": "^4.3.1",
"vitest": "^3.0.9",
"vscode-css-languageservice": "6.3.3",
"vscode-jsonrpc": "8.2.0",
"vscode-languageclient": "8.1.0",
"vscode-languageserver": "8.1.0",
"typescript": "^5.8.2",
"vite": "^6.2.5",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.1.1",
"vscode-css-languageservice": "6.3.4",
"vscode-jsonrpc": "8.2.1",
"vscode-languageclient": "9.0.1",
"vscode-languageserver": "9.0.1",
"vscode-languageserver-protocol": "^3.17.5",
"vscode-languageserver-textdocument": "1.0.12",
"vscode-uri": "3.0.2"
"vscode-uri": "3.1.0"
},
"engines": {
"node": ">=18.0.0"
"node": ">=20.9.0"
}
}
23 changes: 23 additions & 0 deletions packages/tailwindcss-language-server/vitest.config.mts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { defineConfig } from 'vitest/config'
import tsconfigPaths from 'vite-tsconfig-paths'

export default defineConfig({
test: {
testTimeout: 15000,
css: true,
silent: 'passed-only',
},

plugins: [
tsconfigPaths(),
{
name: 'force-inline-css',
enforce: 'pre',
resolveId(id) {
if (!id.includes('index.css')) return
if (id.includes('?raw')) return
return this.resolve(`${id}?raw`)
},
},
],
})
11 changes: 0 additions & 11 deletions packages/tailwindcss-language-server/vitest.config.ts

This file was deleted.

41 changes: 21 additions & 20 deletions packages/tailwindcss-language-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,50 +13,51 @@
"test": "vitest"
},
"dependencies": {
"@csstools/css-parser-algorithms": "2.1.1",
"@csstools/css-tokenizer": "2.1.1",
"@csstools/media-query-list-parser": "2.0.4",
"@types/culori": "^2.1.0",
"@types/moo": "0.5.3",
"@types/semver": "7.3.10",
"@csstools/css-parser-algorithms": "3.0.4",
"@csstools/css-tokenizer": "3.0.3",
"@csstools/media-query-list-parser": "4.0.2",
"@types/culori": "^2.1.1",
"@types/moo": "0.5.10",
"@types/semver": "7.7.0",
"braces": "3.0.3",
"color-name": "1.1.4",
"color-name": "2.0.0",
"css.escape": "1.5.1",
"culori": "^4.0.1",
"detect-indent": "6.0.0",
"detect-indent": "7.0.1",
"dlv": "1.1.3",
"dset": "3.1.4",
"line-column": "1.0.2",
"moo": "0.5.1",
"postcss": "8.4.31",
"postcss-selector-parser": "6.0.2",
"moo": "0.5.2",
"postcss": "^8.5.3",
"postcss-selector-parser": "7.1.0",
"postcss-value-parser": "4.2.0",
"semver": "7.7.1",
"sift-string": "0.0.2",
"stringify-object": "3.3.0",
"stringify-object": "5.0.0",
"tmp-cache": "1.1.0",
"vscode-emmet-helper-bundled": "0.0.1",
"vscode-languageserver": "8.1.0",
"vscode-languageserver": "9.0.1",
"vscode-languageserver-textdocument": "1.0.12"
},
"devDependencies": {
"@types/braces": "3.0.1",
"@types/braces": "3.0.5",
"@types/css.escape": "^1.5.2",
"@types/dedent": "^0.7.2",
"@types/line-column": "^1.0.2",
"@types/node": "^18.19.33",
"@types/node": "^20.14.8",
"@types/picomatch": "^2.3.3",
"@types/stringify-object": "^4.0.5",
"dedent": "^1.5.3",
"deepmerge": "4.2.2",
"esbuild": "^0.25.0",
"esbuild-node-externals": "^1.9.0",
"esbuild": "^0.25.2",
"esbuild-node-externals": "^1.18.0",
"minimist": "^1.2.8",
"picomatch": "^4.0.1",
"tailwindcss-v4": "npm:[email protected]",
"tslib": "2.2.0",
"typescript": "^5.3.3",
"vitest": "^3.0.9",
"tslib": "2.8.1",
"typescript": "^5.8.3",
"vite": "^6.2.5",
"vitest": "^3.1.1",
"vscode-uri": "3.0.2"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2297,6 +2297,7 @@ export async function resolveCompletionItem(
item.detail = await jit.stringifyDecls(
state,
postcss.rule({
selector: '.x',
nodes: decls,
}),
)
Expand Down
14 changes: 7 additions & 7 deletions packages/vscode-tailwindcss/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"vscode"
],
"engines": {
"vscode": "^1.67.0"
"vscode": "^1.90.0"
},
"categories": [
"Linters",
Expand Down Expand Up @@ -377,19 +377,19 @@
"@tailwindcss/language-server": "workspace:*",
"@tailwindcss/language-service": "workspace:*",
"@types/braces": "3.0.1",
"@types/picomatch": "^2.3.3",
"@types/vscode": "1.65.0",
"@types/picomatch": "^2.3.4",
"@types/vscode": "1.90.0",
"@vscode/vsce": "2.21.1",
"braces": "3.0.3",
"color-name": "1.1.4",
"concurrently": "7.0.0",
"esbuild": "^0.25.0",
"esbuild": "^0.25.2",
"minimist": "^1.2.8",
"move-file-cli": "3.0.0",
"normalize-path": "3.0.0",
"picomatch": "^4.0.1",
"picomatch": "^4.0.2",
"rimraf": "3.0.2",
"typescript": "5.3.3",
"vscode-languageclient": "8.0.2"
"typescript": "^5.8.2",
"vscode-languageclient": "9.0.1"
}
}
2 changes: 1 addition & 1 deletion packages/vscode-tailwindcss/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es6",
"target": "es2022",
"lib": ["ES2022"],
"rootDir": "..",
"sourceMap": true,
Expand Down
Loading