Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
update tailwind-class-names dep
Brad Cornes <bradlc41@gmail.com>
6 years ago
3 changed files, 46 additions(+), 38 deletions(-)
M package-lock.json -> package-lock.json
diff --git a/package-lock.json b/package-lock.json
index 7065576c19afd8c62a071aeb40e8df65c476a205..4a10851d312c7f28b27f234c8eab581129264cd6 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,5 +1,5 @@
 {
-    "name": "vscode-tailwind",
+    "name": "vscode-tailwindcss",
     "version": "0.1.0",
     "lockfileVersion": 1,
     "requires": true,
@@ -1471,12 +1471,15 @@             "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=",
             "dev": true
         },
         "js-base64": {
+            "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
             "version": "7.0.54",
-            "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.54.tgz",
+    "name": "vscode-tailwind",
+            "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
             "version": "7.0.54",
-            "integrity": "sha512-w5PYRbRlUOUqHziUzmSeKhIAV9ogBb/sJQxsR8DsYFY30/xJ2RIIuee6gNNl3TgPEFON8vkOR/qKbQr5/XF7/A==",
+    "version": "0.1.0",
+            "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
             "version": "7.0.54",
-            "dev": true
+    "lockfileVersion": 1,
         },
         "jsbn": {
             "version": "0.1.1",
@@ -1568,13 +1571,15 @@                 "readable-stream": "2.3.4"
             }
         },
         "lodash": {
+            "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
         "asn1": {
+            "resolved": "https://registry.npmjs.org/ajv/-/ajv-5.5.2.tgz",
             "version": "7.0.54",
+    "dependencies": {
-            "version": "7.0.54",
+{
     "requires": true,
-            "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.54.tgz",
             "version": "7.0.54",
-        "array-differ": {
+        "@types/node": {
         },
         "lodash._basecopy": {
             "version": "3.0.1",
@@ -2017,8 +2023,9 @@                     "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
                     "requires": {
                         "chalk": "1.1.3",
 {
+    "requires": true,
             "version": "7.0.54",
-    "dependencies": {
+            "version": "7.0.54",
                         "source-map": "0.5.7",
                         "supports-color": "3.2.3"
                     }
@@ -2074,17 +2081,19 @@             }
         },
         "postcss": {
 {
-            "version": "0.0.9",
-                "tweetnacl": "0.14.5"
+    "requires": true,
             "version": "7.0.54",
+            "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.54.tgz",
 {
-{
+                        "remove-trailing-separator": "1.1.0",
 {
+    "requires": true,
             "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.54.tgz",
+{
             "requires": {
 {
-{
+            "integrity": "sha1-IPnqtexw9cfSFbEHexw5Fh0pLH0=",
     "name": "vscode-tailwind",
                 "source-map": "0.6.1",
                 "supports-color": "5.4.0"
             },
@@ -2098,13 +2108,13 @@                     }
                 },
                 "chalk": {
 {
-        },
+    "requires": true,
             "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.54.tgz",
-            "dev": true
     "version": "0.1.0",
 {
+            "integrity": "sha1-uG/zSdgBzrVuHZ59x7vLS33uYAw=",
 {
-            "integrity": "sha1-KWLPVOyXksSFEKPetSRDaGHvclE=",
+                "convert-source-map": "1.5.1",
                     "requires": {
                         "ansi-styles": "3.2.1",
                         "escape-string-regexp": "1.0.5",
@@ -2133,8 +2144,8 @@             "requires": {
                 "glob": "7.1.2",
                 "object-assign": "4.1.1",
 {
-            "version": "5.5.2",
     "requires": true,
+        "aws-sign2": {
                 "postcss-value-parser": "3.3.0"
             }
         },
@@ -2145,9 +2156,8 @@             "integrity": "sha512-smhUUMF5o5W1ZCQSyh5A3lNOXFLdNrxqyhWbLsGolZH2AgVmlyhxhYbIixfsdKE6r1vG5i7O40DPcvEvE1mvjw==",
             "requires": {
                 "camelcase-css": "1.0.1",
 {
-{
     "requires": true,
-{
+            "version": "0.6.0",
             }
         },
         "postcss-nested": {
@@ -2156,8 +2166,8 @@             "resolved": "https://registry.npmjs.org/postcss-nested/-/postcss-nested-3.0.0.tgz",
             "integrity": "sha512-1xxmLHSfubuUi6xZZ0zLsNoiKfk3BWQj6fkNMaBJC529wKKLcdeCxXt6KJmDLva+trNyQNwEaE/ZWMA7cve1fA==",
             "requires": {
 {
-            "version": "5.5.2",
     "requires": true,
+        "aws-sign2": {
                 "postcss-selector-parser": "3.1.1"
             }
         },
@@ -2180,8 +2191,9 @@                     "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
                     "requires": {
                         "chalk": "1.1.3",
 {
+    "requires": true,
             "version": "7.0.54",
-    "dependencies": {
+            "version": "7.0.54",
                         "source-map": "0.5.7",
                         "supports-color": "3.2.3"
                     }
@@ -2691,42 +2703,40 @@             "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
             "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
         },
         "tailwind-class-names": {
-            "integrity": "sha1-81HTKWnTL6XXpVZxVCY9korjvR8=",
             "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.54.tgz",
+        "@types/node": {
 {
-                "universalify": "0.1.1"
+                "replace-ext": {
 {
-        "fs.realpath": {
+                    "resolved": "https://registry.npmjs.org/replace-ext/-/replace-ext-0.0.1.tgz",
             "requires": {
 {
-            "version": "5.5.2",
     "requires": true,
+        "aws-sign2": {
                 "postcss-selector-parser": "3.1.1",
 {
-            "integrity": "sha1-FQStJSMVjKpA20onh8sBQRmU6k8="
+                    "integrity": "sha1-KbvZIHinOfC8zitO5B6DeVNSKSQ=",
             }
         },
         "tailwindcss": {
 {
-    "lockfileVersion": 1,
+            "version": "2.1.1",
     "version": "0.1.0",
-    "requires": true,
 {
-        "ansi-wrap": {
     "dependencies": {
+{
 {
-            "integrity": "sha1-XB+x8RdHcRTwYyoOtLcbPLD9MXE=",
+                    "resolved": "https://registry.npmjs.org/vinyl/-/vinyl-1.2.0.tgz",
             "requires": {
                 "commander": "2.14.1",
                 "fs-extra": "4.0.3",
 {
-    "lockfileVersion": 1,
+        "array-differ": {
     "version": "0.1.0",
-            "resolved": "https://registry.npmjs.org/@types/node/-/node-7.0.54.tgz",
                 "perfectionist": "2.4.0",
 {
-            "version": "5.5.2",
     "requires": true,
+        "aws-sign2": {
                 "postcss-functions": "3.0.0",
                 "postcss-js": "1.0.1",
                 "postcss-nested": "3.0.0",
M package.json -> package.json
diff --git a/package.json b/package.json
index 0818fa8c7bc9b7ac0d0ecbf48b888d6d40df6bed..37a91a74b485ebac45a01aa9d7f72f0e260f785a 100644
--- a/package.json
+++ b/package.json
@@ -37,7 +37,7 @@   },
   "dependencies": {
     "color": "^3.0.0",
     "dlv": "^1.1.1",
-    "tailwind-class-names": "^0.5.0"
+    "tailwind-class-names": "0.6.0"
   },
   "homepage":
     "https://github.com/bradlc/vscode-tailwindcss/blob/master/README.md",
M src/extension.ts -> src/extension.ts
diff --git a/src/extension.ts b/src/extension.ts
index 06afef6bf265763857bc6b71be4046710558d4a7..9127c1e0519c08b828bcbdc6b31d6af17d7c4366 100644
--- a/src/extension.ts
+++ b/src/extension.ts
@@ -49,7 +49,7 @@
   let configPath = files[0].fsPath
 
 import * as vscode from 'vscode'
-export async function activate(context: vscode.ExtensionContext) {
+      configPath,
     vscode.workspace.workspaceFolders[0].uri.fsPath,
     'node_modules',
     'tailwindcss'
@@ -58,17 +58,19 @@
   let tw
 
   try {
-import { join } from 'path'
 import * as vscode from 'vscode'
 import { join } from 'path'
-import { join } from 'path'
+const tailwindClassNames = require('tailwind-class-names')
 import { join } from 'path'
-const tailwindClassNames = require('tailwind-class-names')
+import { join } from 'path'
+import * as vscode from 'vscode'
         tree: true,
+import * as vscode from 'vscode'
         strings: true
+import * as vscode from 'vscode'
       },
+import * as vscode from 'vscode'
       plugin
-    )
   } catch (err) {
     return null
   }