Skip to content

Commit

Permalink
tailwindcss-intelisense version 0.5.10 -> 0.10.0
Browse files Browse the repository at this point in the history
fix
  • Loading branch information
gawetto authored and mattn committed Sep 17, 2023
1 parent 9f8fc44 commit 7613a3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions installer/install-tailwindcss-intellisense.cmd
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
@echo off

setlocal
set VERSION=0.5.10
set VERSION=0.10.0
curl -L -o "vscode-tailwindcss.vsix" "https://github.com/tailwindlabs/tailwindcss-intellisense/releases/download/v%VERSION%/vscode-tailwindcss-%VERSION%.vsix"

call "%~dp0\run_unzip.cmd" vscode-tailwindcss.vsix
rem del vscode-tailwindcss.vsix

echo @echo off ^

node %%~dp0\extension\dist\server\index.js %%* ^
node %%~dp0\extension\dist\tailwindServer.js %%* ^

> tailwindcss-intellisense.cmd
6 changes: 3 additions & 3 deletions installer/install-tailwindcss-intellisense.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,21 @@

set -e

version="0.5.10"
version="0.10.0"
url="https://github.com/tailwindlabs/tailwindcss-intellisense/releases/download/v$version/vscode-tailwindcss-$version.vsix"
asset="vscode-tailwindcss.vsix"

curl -L "$url" -o "$asset"
unzip "$asset"
rm "$asset" \[Content_Types\].xml extension.vsixmanifest

chmod +x extension/dist/server/index.js
chmod +x extension/dist/tailwindServer.js

cat <<EOF >tailwindcss-intellisense
#!/bin/sh
DIR=\$(cd \$(dirname \$0); pwd)
node \$DIR/extension/dist/server/index.js \$*
node \$DIR/extension/dist/tailwindServer.js \$*
EOF

chmod +x tailwindcss-intellisense

0 comments on commit 7613a3f

Please sign in to comment.