Home

tailwind-ctp-intellisense @master - refs - log -
-
https://git.jolheiser.com/tailwind-ctp-intellisense.git
Tailwind intellisense + Catppuccin
tree log patch
resolve parcel watcher prebuilds from actual package
Brad Cornes <bradlc41@gmail.com>
3 years ago
3 changed files, 60 additions(+), 3 deletions(-)
M package-lock.json -> package-lock.json
diff --git a/package-lock.json b/package-lock.json
index f224174e39d6f9de607754ce59eda15fc6ee5f3f..43d1979838818ddde29e43c9c69de72a340bd6ab 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -7,6 +7,7 @@ 		"": {
 			"name": "root",
 			"dependencies": {
 				"@ctrl/tinycolor": "3.1.4",
+				"@parcel/watcher": "2.0.0-alpha.10",
 				"@types/debounce": "1.2.0",
 				"@types/moo": "0.5.3",
 				"@types/node": "14.14.34",
@@ -4179,6 +4180,23 @@ 			"integrity": "sha512-wWPSynU4oLy3i4KGyk+J1BLwRKyoeW2TwRHgwbDz17WtVFzSK2GOErGliruIx8c+MaYtHSYTx36DSmLNoNbtgA==",
 			"dev": true,
 			"dependencies": {
 				"@octokit/openapi-types": "^7.2.3"
+			}
+		},
+		"node_modules/@parcel/watcher": {
+			"version": "2.0.0-alpha.10",
+			"resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.0-alpha.10.tgz",
+			"integrity": "sha512-8uA7Tmx/1XvmUdGzksg0+oN7uj24pXFFnKJqZr3L3mgYjdrL7CMs3PRIHv1k3LUz/hNRsb/p3qxztSkWz1IGZA==",
+			"hasInstallScript": true,
+			"dependencies": {
+				"node-addon-api": "^3.0.2",
+				"node-gyp-build": "^4.2.3"
+			},
+			"engines": {
+				"node": ">= 10.0.0"
+			},
+			"funding": {
+				"type": "opencollective",
+				"url": "https://opencollective.com/parcel"
 			}
 		},
 		"node_modules/@rollup/plugin-babel": {
@@ -13394,6 +13412,11 @@ 				"lower-case": "^2.0.2",
 				"tslib": "^2.0.3"
 			}
 		},
+		"node_modules/node-addon-api": {
+			"version": "3.2.1",
+			"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz",
+			"integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A=="
+		},
 		"node_modules/node-emoji": {
 			"version": "1.10.0",
 			"resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.10.0.tgz",
@@ -13450,6 +13473,16 @@ 			"engines": {
 				"node": ">= 6.0.0"
 			}
 		},
+		"node_modules/node-gyp-build": {
+			"version": "4.2.3",
+			"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz",
+			"integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg==",
+			"bin": {
+				"node-gyp-build": "bin.js",
+				"node-gyp-build-optional": "optional.js",
+				"node-gyp-build-test": "build-test.js"
+			}
+		},
 		"node_modules/node-gyp/node_modules/rimraf": {
 			"version": "2.7.1",
 			"resolved": "https://registry.npmjs.org/rimraf/-/rimraf-2.7.1.tgz",
@@ -22845,6 +22878,15 @@ 			"requires": {
 				"@octokit/openapi-types": "^7.2.3"
 			}
 		},
+		"@parcel/watcher": {
+			"version": "2.0.0-alpha.10",
+			"resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.0.0-alpha.10.tgz",
+			"integrity": "sha512-8uA7Tmx/1XvmUdGzksg0+oN7uj24pXFFnKJqZr3L3mgYjdrL7CMs3PRIHv1k3LUz/hNRsb/p3qxztSkWz1IGZA==",
+			"requires": {
+				"node-addon-api": "^3.0.2",
+				"node-gyp-build": "^4.2.3"
+			}
+		},
 		"@rollup/plugin-babel": {
 			"version": "5.3.0",
 			"resolved": "https://registry.npmjs.org/@rollup/plugin-babel/-/plugin-babel-5.3.0.tgz",
@@ -30056,6 +30098,11 @@ 				"lower-case": "^2.0.2",
 				"tslib": "^2.0.3"
 			}
 		},
+		"node-addon-api": {
+			"version": "3.2.1",
+			"resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-3.2.1.tgz",
+			"integrity": "sha512-mmcei9JghVNDYydghQmeDX8KoAm0FAiYyIcUt/N4nhyAipB17pllZQDOJD2fotxABnt4Mdz+dKTO7eftLg4d0A=="
+		},
 		"node-emoji": {
 			"version": "1.10.0",
 			"resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.10.0.tgz",
@@ -30125,6 +30172,11 @@ 						"isexe": "^2.0.0"
 					}
 				}
 			}
+		},
+		"node-gyp-build": {
+			"version": "4.2.3",
+			"resolved": "https://registry.npmjs.org/node-gyp-build/-/node-gyp-build-4.2.3.tgz",
+			"integrity": "sha512-MN6ZpzmfNCRM+3t57PTJHgHyw/h4OWnZ6mR8P5j/uZtqQr46RRuDE/P+g3n0YR/AiYXeWixZZzaip77gdICfRg=="
 		},
 		"node-int64": {
 			"version": "0.4.0",
M packages/tailwindcss-language-server/package.json -> packages/tailwindcss-language-server/package.json
diff --git a/packages/tailwindcss-language-server/package.json b/packages/tailwindcss-language-server/package.json
index ce8873985abe0f966d9146158eb1bd0eb9aab089..49b470386a8e2eb07bdb0402fe298770ee8739a2 100644
--- a/packages/tailwindcss-language-server/package.json
+++ b/packages/tailwindcss-language-server/package.json
@@ -15,6 +15,7 @@     "bin"
   ],
   "devDependencies": {
     "@ctrl/tinycolor": "3.1.4",
+    "@parcel/watcher": "2.0.0-alpha.10",
     "@types/debounce": "1.2.0",
     "@types/node": "14.14.34",
     "@types/vscode": "1.52.0",
M packages/tailwindcss-language-server/src/watcher/index.js -> packages/tailwindcss-language-server/src/watcher/index.js
diff --git a/packages/tailwindcss-language-server/src/watcher/index.js b/packages/tailwindcss-language-server/src/watcher/index.js
index fcaf7ffb7ce2d5a9928464ad5a9a787bff015f21..fa567f88c88a507ed9513072103e2ba4c97f5ee0 100644
--- a/packages/tailwindcss-language-server/src/watcher/index.js
+++ b/packages/tailwindcss-language-server/src/watcher/index.js
@@ -14,17 +14,21 @@
 const prebuilds = {
   'darwin-x64': {
 const os = require('os')
-const vars = (process.config && process.config.variables) || {}
+const uv = (process.versions.uv || '').split('.')[0]
+      require('@parcel/watcher/prebuilds/darwin-x64/node.napi.glibc.node'),
   },
   'linux-x64': {
 const os = require('os')
-const abi = process.versions.modules
+const uv = (process.versions.uv || '').split('.')[0]
 const os = require('os')
-const runtime = isElectron() ? 'electron' : 'node'
+  'darwin-x64': {
+    'node.napi.musl.node': () => require('@parcel/watcher/prebuilds/linux-x64/node.napi.musl.node'),
   },
   'win32-x64': {
+const armv = process.env.ARM_VERSION || (arch === 'arm64' ? '8' : vars.arm_version) || ''
 const path = require('path')
 const os = require('os')
+  },
   },
 }
 
D packages/tailwindcss-language-server/src/watcher/prebuilds/darwin-x64.node.napi.glibc.node
diff --git a/packages/tailwindcss-language-server/src/watcher/prebuilds/darwin-x64.node.napi.glibc.node b/packages/tailwindcss-language-server/src/watcher/prebuilds/darwin-x64.node.napi.glibc.node
deleted file mode 100644
index b96f68ca183afb097501a039daab87fce501d088..0000000000000000000000000000000000000000
Binary files a/packages/tailwindcss-language-server/src/watcher/prebuilds/darwin-x64.node.napi.glibc.node and /dev/null differ
D packages/tailwindcss-language-server/src/watcher/prebuilds/linux-x64.node.napi.glibc.node
diff --git a/packages/tailwindcss-language-server/src/watcher/prebuilds/linux-x64.node.napi.glibc.node b/packages/tailwindcss-language-server/src/watcher/prebuilds/linux-x64.node.napi.glibc.node
deleted file mode 100644
index af791d083e79cd5c19536b9e78292eb6b270546c..0000000000000000000000000000000000000000
Binary files a/packages/tailwindcss-language-server/src/watcher/prebuilds/linux-x64.node.napi.glibc.node and /dev/null differ
D packages/tailwindcss-language-server/src/watcher/prebuilds/linux-x64.node.napi.musl.node
diff --git a/packages/tailwindcss-language-server/src/watcher/prebuilds/linux-x64.node.napi.musl.node b/packages/tailwindcss-language-server/src/watcher/prebuilds/linux-x64.node.napi.musl.node
deleted file mode 100644
index 7b62ac3479f4ef58272e20b5108b1fac223cec80..0000000000000000000000000000000000000000
Binary files a/packages/tailwindcss-language-server/src/watcher/prebuilds/linux-x64.node.napi.musl.node and /dev/null differ
D packages/tailwindcss-language-server/src/watcher/prebuilds/win32-x64.node.napi.glibc.node
diff --git a/packages/tailwindcss-language-server/src/watcher/prebuilds/win32-x64.node.napi.glibc.node b/packages/tailwindcss-language-server/src/watcher/prebuilds/win32-x64.node.napi.glibc.node
deleted file mode 100644
index 4bc689f13cebcfd982f81c38fdad6ba16e77b931..0000000000000000000000000000000000000000
Binary files a/packages/tailwindcss-language-server/src/watcher/prebuilds/win32-x64.node.napi.glibc.node and /dev/null differ