From e0b0af656ed5fa7fda7529dfbae61af20fb53732 Mon Sep 17 00:00:00 2001 From: William Killerud Date: Wed, 21 Aug 2024 19:01:36 +0200 Subject: [PATCH] chore: updated language server --- package-lock.json | 16 +- vscode-extension/package.json | 286 +++++++++++++++++----------------- 2 files changed, 145 insertions(+), 157 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6ac96333..56c41c9e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -21939,11 +21939,11 @@ }, "vscode-extension": { "name": "some-sass", - "version": "3.6.2", + "version": "3.6.3", "license": "MIT", "dependencies": { "fast-glob": "3.3.2", - "some-sass-language-server": "1.5.3", + "some-sass-language-server": "1.5.4", "vscode-css-languageservice": "6.3.0", "vscode-languageclient": "9.0.1", "vscode-uri": "3.0.7" @@ -21961,18 +21961,6 @@ "vscode": "^1.86.0" } }, - "vscode-extension/node_modules/some-sass-language-server": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/some-sass-language-server/-/some-sass-language-server-1.5.3.tgz", - "integrity": "sha512-aVO/Or415CuBGAa8uIRnUSCtsD4IPLhqt0lFalTCn9+XpFc+u33+Mh33M6Fu+2gWe3o4MQlImSd/6jUEz8WJew==", - "license": "MIT", - "bin": { - "some-sass-language-server": "bin/some-sass-language-server" - }, - "engines": { - "node": ">=20" - } - }, "vscode-extension/node_modules/vscode-uri": { "version": "3.0.7", "resolved": "https://registry.npmjs.org/vscode-uri/-/vscode-uri-3.0.7.tgz", diff --git a/vscode-extension/package.json b/vscode-extension/package.json index bf254df1..61e40774 100644 --- a/vscode-extension/package.json +++ b/vscode-extension/package.json @@ -1,144 +1,144 @@ { - "name": "some-sass", - "displayName": "Some Sass: extended support for SCSS and SassDoc", - "description": "Full support for @use and @forward, including aliases, prefixes and hiding. Rich documentation through SassDoc. Workspace-wide code navigation and refactoring.", - "version": "3.6.2", - "private": true, - "publisher": "SomewhatStationery", - "license": "MIT", - "engines": { - "vscode": "^1.86.0" - }, - "icon": "icon.png", - "homepage": "https://wkillerud.github.io/some-sass/", - "repository": { - "type": "git", - "url": "https://github.com/wkillerud/some-sass" - }, - "keywords": [ - "scss", - "sassdoc", - "autocompletion", - "intellisense", - "refactor" - ], - "categories": [ - "Programming Languages" - ], - "activationEvents": [ - "onLanguage:scss", - "onLanguage:vue", - "onLanguage:svelte", - "onLanguage:astro", - "onCommand:_somesass.applyExtractCodeAction" - ], - "capabilities": { - "virtualWorkspaces": true - }, - "browser": "./dist/browser-client.js", - "main": "./dist/node-client.js", - "contributes": { - "configuration": { - "properties": { - "somesass.loadPaths": { - "type": "array", - "items": { - "type": "string" - }, - "default": [], - "description": "List of paths relative to the workspace root that should be treated as load paths" - }, - "somesass.scannerDepth": { - "type": "number", - "default": 30, - "description": "The maximum number of nested directories to scan." - }, - "somesass.scannerExclude": { - "type": "array", - "items": { - "type": "string" - }, - "default": [ - "**/.git/**", - "**/node_modules/**", - "**/bower_components/**" - ], - "description": "List of glob patterns for directories that are excluded when scanning." - }, - "somesass.scanImportedFiles": { - "type": "boolean", - "default": true, - "deprecationMessage": "Will be removed at some point after `@import` becomes CSS-only.", - "description": "Allows scan imported files. Turning this off will severely limit functionality, and is not recommended." - }, - "somesass.suggestionStyle": { - "type": "string", - "default": "all", - "description": "Controls the style of suggestions for mixins and placeholders.", - "enum": [ - "all", - "nobracket", - "bracket" - ], - "enumItemLabels": [ - "All", - "No brackets", - "Only brackets" - ], - "enumDescriptions": [ - "Show all suggestions", - "Only show suggestions without brackets", - "Where brackets are suggested, omit duplicates without brackets" - ] - }, - "somesass.suggestAllFromOpenDocument": { - "type": "boolean", - "default": false, - "description": "VS Code has built-in code suggestions for symbols declared in the open document. If you prefer the suggestions from Some Sass, you can opt in by turning on this setting. There will be duplicates." - }, - "somesass.suggestFromUseOnly": { - "type": "boolean", - "default": false, - "description": "If your project uses the new module system with @use and @forward, you may want to only include suggestions from your used modules." - }, - "somesass.suggestFunctionsInStringContextAfterSymbols": { - "type": "string", - "default": " (+-*%", - "description": "Allows prompt Functions in String context after specified symbols." - } - } - } - }, - "dependencies": { - "fast-glob": "3.3.2", - "some-sass-language-server": "1.5.3", - "vscode-css-languageservice": "6.3.0", - "vscode-languageclient": "9.0.1", - "vscode-uri": "3.0.7" - }, - "devDependencies": { - "@types/mocha": "10.0.7", - "@types/vscode": "1.86.0", - "@vscode/test-electron": "2.4.1", - "@vscode/test-web": "0.0.56", - "assert": "2.1.0", - "mocha": "10.7.0", - "shx": "0.3.4" - }, - "scripts": { - "vscode:prepublish": "npm run clean && webpack --mode production", - "clean": "shx rm -rf dist", - "build": "webpack --mode development", - "start:web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.", - "lint": "eslint \"**/*.ts\" --cache", - "test:e2e": "node ./test/e2e/runTest.js", - "pretest:web": "webpack --config ./webpack.test-web.config.js ", - "test:web": "node ./test/web/runTest.js" - }, - "__metadata": { - "id": "6d35099c-3671-464c-ac0b-34a0c3823927", - "publisherDisplayName": "Somewhat Stationery", - "publisherId": "02638283-c13a-4acf-9f26-24bdcfdfce24", - "isPreReleaseVersion": false - } -} + "name": "some-sass", + "displayName": "Some Sass: extended support for SCSS and SassDoc", + "description": "Full support for @use and @forward, including aliases, prefixes and hiding. Rich documentation through SassDoc. Workspace-wide code navigation and refactoring.", + "version": "3.6.3", + "private": true, + "publisher": "SomewhatStationery", + "license": "MIT", + "engines": { + "vscode": "^1.86.0" + }, + "icon": "icon.png", + "homepage": "https://wkillerud.github.io/some-sass/", + "repository": { + "type": "git", + "url": "https://github.com/wkillerud/some-sass" + }, + "keywords": [ + "scss", + "sassdoc", + "autocompletion", + "intellisense", + "refactor" + ], + "categories": [ + "Programming Languages" + ], + "activationEvents": [ + "onLanguage:scss", + "onLanguage:vue", + "onLanguage:svelte", + "onLanguage:astro", + "onCommand:_somesass.applyExtractCodeAction" + ], + "capabilities": { + "virtualWorkspaces": true + }, + "browser": "./dist/browser-client.js", + "main": "./dist/node-client.js", + "contributes": { + "configuration": { + "properties": { + "somesass.loadPaths": { + "type": "array", + "items": { + "type": "string" + }, + "default": [], + "description": "List of paths relative to the workspace root that should be treated as load paths" + }, + "somesass.scannerDepth": { + "type": "number", + "default": 30, + "description": "The maximum number of nested directories to scan." + }, + "somesass.scannerExclude": { + "type": "array", + "items": { + "type": "string" + }, + "default": [ + "**/.git/**", + "**/node_modules/**", + "**/bower_components/**" + ], + "description": "List of glob patterns for directories that are excluded when scanning." + }, + "somesass.scanImportedFiles": { + "type": "boolean", + "default": true, + "deprecationMessage": "Will be removed at some point after `@import` becomes CSS-only.", + "description": "Allows scan imported files. Turning this off will severely limit functionality, and is not recommended." + }, + "somesass.suggestionStyle": { + "type": "string", + "default": "all", + "description": "Controls the style of suggestions for mixins and placeholders.", + "enum": [ + "all", + "nobracket", + "bracket" + ], + "enumItemLabels": [ + "All", + "No brackets", + "Only brackets" + ], + "enumDescriptions": [ + "Show all suggestions", + "Only show suggestions without brackets", + "Where brackets are suggested, omit duplicates without brackets" + ] + }, + "somesass.suggestAllFromOpenDocument": { + "type": "boolean", + "default": false, + "description": "VS Code has built-in code suggestions for symbols declared in the open document. If you prefer the suggestions from Some Sass, you can opt in by turning on this setting. There will be duplicates." + }, + "somesass.suggestFromUseOnly": { + "type": "boolean", + "default": false, + "description": "If your project uses the new module system with @use and @forward, you may want to only include suggestions from your used modules." + }, + "somesass.suggestFunctionsInStringContextAfterSymbols": { + "type": "string", + "default": " (+-*%", + "description": "Allows prompt Functions in String context after specified symbols." + } + } + } + }, + "dependencies": { + "fast-glob": "3.3.2", + "some-sass-language-server": "1.5.4", + "vscode-css-languageservice": "6.3.0", + "vscode-languageclient": "9.0.1", + "vscode-uri": "3.0.7" + }, + "devDependencies": { + "@types/mocha": "10.0.7", + "@types/vscode": "1.86.0", + "@vscode/test-electron": "2.4.1", + "@vscode/test-web": "0.0.56", + "assert": "2.1.0", + "mocha": "10.7.0", + "shx": "0.3.4" + }, + "scripts": { + "vscode:prepublish": "npm run clean && webpack --mode production", + "clean": "shx rm -rf dist", + "build": "webpack --mode development", + "start:web": "vscode-test-web --browserType=chromium --extensionDevelopmentPath=.", + "lint": "eslint \"**/*.ts\" --cache", + "test:e2e": "node ./test/e2e/runTest.js", + "pretest:web": "webpack --config ./webpack.test-web.config.js ", + "test:web": "node ./test/web/runTest.js" + }, + "__metadata": { + "id": "6d35099c-3671-464c-ac0b-34a0c3823927", + "publisherDisplayName": "Somewhat Stationery", + "publisherId": "02638283-c13a-4acf-9f26-24bdcfdfce24", + "isPreReleaseVersion": false + } +} \ No newline at end of file