Skip to content

Commit 5ce025c

Browse files
Add css-language-server to binary list (#1437)
This makes sure the binary is place into `node_modules/.bin`. Before you'd have to path into `node_modules/@tailwindcss/language-server/bin/css-language-server` to get access to it. This was done on purpose originally as it's just a fork of VSCode's CSS language server + some additions and really was just to improve test coverage. I'd thought about possibly folding this functionality directly into the main language server so completions could eventually be a bit smarter but that's a larger effort (if it's even reasonable at all — no idea). In the meantime it feels reasonable to me to mark this so it's treated as a binary by package managers.
1 parent 932d23d commit 5ce025c

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

packages/tailwindcss-language-server/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"pretest": "node tests/prepare.mjs"
2323
},
2424
"bin": {
25+
"css-language-server": "./bin/css-language-server",
2526
"tailwindcss-language-server": "./bin/tailwindcss-language-server"
2627
},
2728
"files": [

packages/vscode-tailwindcss/CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Prerelease
44

5-
- Nothing yet!
5+
- Publish our fork of the CSS language server ([#1437](https://github.com/tailwindlabs/tailwindcss-intellisense/pull/1437))
66

77
## 0.14.26
88

0 commit comments

Comments
 (0)