Commit Graph

478 Commits (19cb859b5d92897c16cdd271786ca07d8d06d011)

Author SHA1 Message Date
Jordan Pittman 19cb859b5d
Upgrade some dependencies (#871)
* Switch to NPM workspaces

* Add bun types for testing

* Remove some dependencies

* Cleanup code

* Upgrade esbuild

* Hardcode externals

They’re the same between the packages except for vscode but including an external that’s not ultimately required isn’t an error.

* Reorganize package json

* Replace TSDX with esbuild

* wip

* Simplify script

* Move esbuild into individual packages

* Bump vsce

* Fix packaging

* fixup

* Swap mri for minimist

It’s the same API but maintained

* Update lockfiles

* Add logs

* Bump version

* Update lockfile

* Add test for `extractClassNames`

* fix
2023-10-20 14:17:41 -04:00
Ignace Maes 3c0f17cadd
Add support for Glimmer(#867)
* feat: add glimmer langs

* feat: inject into gjs/gts

* Update changelog

---------

Co-authored-by: Jordan Pittman <jordan@cryptica.me>
2023-10-18 11:33:14 -04:00
dependabot[bot] a4ca640769
Bump @babel/traverse in /packages/tailwindcss-language-service (#869)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.12.1 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-17 10:49:06 -04:00
Jordan Pittman 4dd6a7d57f Update lockfile 2023-10-13 13:39:28 -04:00
Jordan Pittman 83cd162a16 0.10.1 2023-10-11 12:14:36 -04:00
Jordan Pittman 61aa8e16d9 Fix type error 2023-10-11 09:55:46 -04:00
Jordan Pittman 81fcd231e0 Add prettier config 2023-10-11 09:55:19 -04:00
dependabot[bot] 5f697353d7
Bump postcss from 8.3.9 to 8.4.31 (#864)
Bumps [postcss](https://github.com/postcss/postcss) from 8.3.9 to 8.4.31.
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.3.9...8.4.31)

---
updated-dependencies:
- dependency-name: postcss
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-06 16:07:20 -04:00
Brad Cornes 909d097c30 Tidy 2023-09-28 09:23:22 +01:00
Brad Cornes d5dbede4f8 Remove unused function 2023-09-28 09:03:05 +01:00
Brad Cornes d49a90b4e7 Bump `vscode-css-languageservice` 2023-09-26 14:51:48 +01:00
Jonathan Reinink 045dc6080a Update LICENSE 2023-09-20 08:12:50 -04:00
Yt 4bf3af2f9a
Update npm lock files (#853)
* tailwindcss-language-server: update lockfile

* Update package-lock.json

* Update package-lock.json

---------

Co-authored-by: Jonathan Reinink <jonathan@reinink.ca>
2023-09-04 17:01:58 -04:00
Brad Cornes 1cc8e62da3
Add "Sort Selection" command (#851)
* Add `sortSelection` command

* wip

* wip

* wip

* wip

* wip

* wip

* Add test

* Update command name and description

* Don't show sort command if file is excluded
2023-08-31 15:53:20 +01:00
Brad Cornes 2599da8541 Use `move-file-cli` in npm script for compatibility 2023-08-30 14:44:40 +01:00
Brad Cornes 9ccc34d616 0.10.0 2023-08-29 11:30:37 +01:00
Brad Cornes f202bab7b9 Add global test timeout 2023-08-29 11:13:54 +01:00
Brad Cornes 31e28e862f Increase v2 test timeout 2023-08-29 11:04:38 +01:00
Brad Cornes 401a306e16
Fix recommended variant order linting in Tailwind v2 (#849) 2023-08-29 10:42:11 +01:00
Brad Cornes bac7e2e564 Add tests 2023-08-29 10:37:51 +01:00
atgote d5268fd41e
Fix language server initialisation outside of VS Code (#803)
* Remove buggy await call

This is to resolve issue https://github.com/tailwindlabs/tailwindcss-intellisense/issues/802

* Fix unhandled method errors

---------

Co-authored-by: Brad Cornes <hello@bradley.dev>
2023-08-22 12:26:05 +01:00
Brad Cornes 4c702acf85
Fix `classRegex` offset (#846) 2023-08-21 13:05:27 +01:00
Brad Cornes 5faf811489 0.9.13 2023-08-16 23:06:25 +01:00
Brad Cornes 528fb6caba
Fix CSS conflict regression (#842) 2023-08-16 23:02:31 +01:00
Brad Cornes 755eb5fe53 0.9.12 2023-08-16 17:27:02 +01:00
Brad Cornes 47d512edde
Expand `classRegex` search range (#840) 2023-08-16 17:03:36 +01:00
Brad Cornes 5c59d6f59b
Update README.md 2023-08-10 14:55:51 +01:00
dependabot[bot] f3f396bf1d
Bump word-wrap from 1.2.3 to 1.2.4 (#825)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 11:20:09 +01:00
Brad Cornes b3a4df7949 Remove old stuff 2023-07-19 11:14:34 +01:00
Brad Cornes 316357530f
Fix `classRegex` hovers in unknown contexts (#824) 2023-07-18 15:14:51 +01:00
Brad Cornes a6c19d7cb4
Fix IntelliSense following closing script/style tag containing whitespace (#808) 2023-06-27 11:02:17 +01:00
dependabot[bot] 1b8fa09000
Bump semver from 7.3.7 to 7.5.2 (#806)
Bumps [semver](https://github.com/npm/node-semver) from 7.3.7 to 7.5.2.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/main/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v7.3.7...v7.5.2)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-06-27 10:35:38 +01:00
Brad Cornes 1438300d98
Update `editor.quickSuggestions` example in readme 2023-06-09 14:27:11 +01:00
Brad Cornes b6d257c843
Add language mode icon (#794) 2023-05-31 11:26:54 +01:00
Brad Cornes 22209f09c7
Fix diagnostic false-positive when no CSS properties are present (#793) 2023-05-30 09:58:24 +01:00
Brad Cornes 53b81ca460
Fix activation when `files.excludes` contains braces (#789)
* Fix activation when `files.excludes` contains braces

* Fix file exclude when searching for CSS files
2023-05-25 13:24:38 +01:00
Brad Cornes 4d0623ede0
Fix initialisation when using `tailwindcss@^0` (#787) 2023-05-25 10:35:21 +01:00
Max 35b9d115bb
Migrate from deprecated text document (#781)
* Removed instances of deprecated TextDocument

* Replaced TextDocument type in diagnostics
2023-05-15 11:21:43 +01:00
Brad Cornes 460d921ca3
Include pixel equivalents in more places (#775)
* Show pixel equivalents for more `rem`/`em` values

* Add pixel equivalents to media query variant completions
2023-05-02 10:44:37 +01:00
Brad Cornes 5e9cce64ef Update `package-lock.json` 2023-05-02 10:13:02 +01:00
Brad Cornes ae99cbfafc
Enable IntelliSense for `<script lang="tsx">` (#773) 2023-04-28 17:34:36 +01:00
Brad Cornes 9b47dd0597
Fix CSS conflict diagnostics in semicolonless CSS documents (#771) 2023-04-27 18:17:13 +01:00
Brad Cornes 8266d6b0aa
Resolve helper functions in CSS previews (#766) 2023-04-25 16:47:12 +01:00
Brad Cornes 8f45144eb7 Fix culori type 2023-04-25 16:45:03 +01:00
Remco Haszing 752cd5eae4
Use @types/culori (#735)
This removes the need to define types here. Also this allows third
parties to use this package without having to declare type definitions
for culori.
2023-04-24 14:45:06 +01:00
Mark Skelton c5d20ab343
fix: Don't attempt to read from deleted CSS files (#765) 2023-04-24 14:26:52 +01:00
Brad Cornes 6fa8861efd
Fix CSS conflict diagnostic false negatives (#761) 2023-04-18 08:54:14 +01:00
Brad Cornes 105b8b86ec
Increase class search range (#760) 2023-04-17 12:09:05 +01:00
Brad Cornes f3967a72ad Bump language server version 2023-03-31 11:44:45 +01:00
Brad Cornes 1c09f663f5 Update language server notices file 2023-03-31 11:37:12 +01:00