From 54c9a2471752c4205cc1cc99050600894d20874d Mon Sep 17 00:00:00 2001 From: suyanlong <592938410@qq.com> Date: Mon, 15 Aug 2022 15:55:35 +0800 Subject: [PATCH] make fmt --- .eslintrc.js | 1 + .github/dependabot.yml | 8 +- .github/workflows/build.yaml | 14 +- .prettierignore | 5 + .prettierrc | 4 +- .vscode/launch.json | 22 +- .vscode/tasks.json | 55 +- CHANGELOG.md | 2 +- Makefile | 3 + README.md | 11 +- package.json | 6 +- src/commands.ts | 20 +- src/compiler.ts | 37 +- src/downloader.ts | 16 +- src/extension.ts | 43 +- src/formatter.ts | 275 ++++--- src/logger.ts | 85 +-- src/prettier.ts | 4 +- themes/dark_sva_default_highlights.json | 731 +++++++++--------- themes/light_defaults.json | 42 +- themes/light_sva_default_highlights.json | 719 +++++++++--------- themes/light_vs.json | 734 +++++++++--------- themes/solarized-light-color-theme.json | 916 +++++++++++------------ tsconfig.json | 33 +- webpack.config.js | 62 +- yarn.lock | 420 ++++++++++- 26 files changed, 2359 insertions(+), 1909 deletions(-) create mode 100644 .eslintrc.js diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 0000000..84ac63a --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1 @@ +/*.eslintrc.js*/ diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 41a7f50..674161a 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -1,11 +1,11 @@ version: 2 updates: - - package-ecosystem: "github-actions" - directory: "/" + - package-ecosystem: 'github-actions' + directory: '/' schedule: interval: weekly day: sunday - time: "01:00" + time: '01:00' labels: - scope:dependency - target-branch: "main" \ No newline at end of file + target-branch: 'main' diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 9248625..f1a730e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -3,7 +3,7 @@ name: BUILD # Controls when the action will run. Workflow runs when manually triggered using the UI # or API. -on: [push,pull_request] +on: [push, pull_request] # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -13,13 +13,13 @@ jobs: fail-fast: false matrix: os: - - "ubuntu-latest" + - 'ubuntu-latest' node: # Run tests on minimal version we support - - "17.6.0" + - '17.6.0' NPM_CLIENT: # - "yarn" - - "npm" + - 'npm' # - "pnpm" env: INSTALL_PACKAGE: true @@ -34,7 +34,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node }} - cache: "yarn" + cache: 'yarn' # - name: Install Dependencies # run: yarn install --frozen-lockfile @@ -49,11 +49,9 @@ jobs: - name: build run: make build - - name : Upload artifact bin + - name: Upload artifact bin uses: actions/upload-artifact@v3 with: name: ralph-vscode path: | ralph-vscode-*.vsix - - diff --git a/.prettierignore b/.prettierignore index e69de29..5ab0c9f 100644 --- a/.prettierignore +++ b/.prettierignore @@ -0,0 +1,5 @@ + node_modules + build + public + dist +snippets/snippets.code-snippets \ No newline at end of file diff --git a/.prettierrc b/.prettierrc index f62e834..32ebab4 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,4 +1,4 @@ { - "singleQuote": true, - "trailingComma": "none" + "singleQuote": true, + "trailingComma": "none" } diff --git a/.vscode/launch.json b/.vscode/launch.json index 0e191b5..4058e69 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -3,15 +3,13 @@ // Hover to view descriptions of existing attributes. // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 { - "version": "0.2.0", - "configurations": [ - { - "name": "Extension", - "type": "extensionHost", - "request": "launch", - "args": [ - "--extensionDevelopmentPath=${workspaceFolder}" - ] - } - ] -} \ No newline at end of file + "version": "0.2.0", + "configurations": [ + { + "name": "Extension", + "type": "extensionHost", + "request": "launch", + "args": ["--extensionDevelopmentPath=${workspaceFolder}"] + } + ] +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 7159120..7f5b171 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -1,32 +1,29 @@ { - "version": "2.0.0", - "tasks": [ - { - "type": "npm", - "script": "compile", - "group": "build", - "presentation": { - "panel": "dedicated", - "reveal": "never" - }, - "problemMatcher": ["$tsc"] + "version": "2.0.0", + "tasks": [ + { + "type": "npm", + "script": "compile", + "group": "build", + "presentation": { + "panel": "dedicated", + "reveal": "never" }, - { - "type": "npm", - "script": "watch", - "isBackground": true, - "group": { - "kind": "build", - "isDefault": true - }, - "presentation": { - "panel": "dedicated", - "reveal": "never" - }, - "problemMatcher": ["$tsc-watch"] - } - ] + "problemMatcher": ["$tsc"] + }, + { + "type": "npm", + "script": "watch", + "isBackground": true, + "group": { + "kind": "build", + "isDefault": true + }, + "presentation": { + "panel": "dedicated", + "reveal": "never" + }, + "problemMatcher": ["$tsc-watch"] + } + ] } - - - \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index b357f57..8b9b281 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,4 +6,4 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how ## [Unreleased] -- Initial release \ No newline at end of file +- Initial release diff --git a/Makefile b/Makefile index 6874a25..7e896d6 100644 --- a/Makefile +++ b/Makefile @@ -16,3 +16,6 @@ publish: clean: rm -rf ./ralph-vscode-*.vsix + +fmt: + yarn run fmt \ No newline at end of file diff --git a/README.md b/README.md index 5be33cf..33a1209 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,11 @@ # Ralph Language for VS Code ## Overview + Ralph is the language used in alephium to create smart contracts, ralph-vscode is vscode extension. ## Features + - Highlighting ✅ - Snippet ✅ - Formatting ✅(simple format) @@ -12,9 +14,13 @@ Ralph is the language used in alephium to create smart contracts, ralph-vscode i - Linting / Error Checking ⏳ - Debugging ⏳ - Deploy ⏳ + ## Extension Settings -* seting themes + +- seting themes + ## FAQ + https://github.com/suyanlong/ralph-vscode/issues ## Contribution @@ -23,7 +29,8 @@ See [CONTRIBUTING.md](https://github.com/suyanlong/ralph-vscode/blob/main/CONTRI ## License -[GNU3]([LICENSE](https://github.com/suyanlong/ralph-vscode/blob/main/LICENSE)) +[GNU3](<[LICENSE](https://github.com/suyanlong/ralph-vscode/blob/main/LICENSE)>) ## References + https://github.com/alephium diff --git a/package.json b/package.json index 7a8e65b..8aac4cb 100644 --- a/package.json +++ b/package.json @@ -131,14 +131,15 @@ ] }, "scripts": { - "vscode:prepublish": "npm run package", + "vscode:prepublish": "yarn run package", "compile": "webpack", "watch": "webpack --watch", "package": "webpack --mode production --devtool hidden-source-map", "test-compile": "tsc -p ./", "test-watch": "tsc -watch -p ./", - "pretest": "npm run test-compile && npm run lint", + "pretest": "yarn run test-compile && yarn run lint", "lint": "eslint src --ext ts", + "fmt": "yarn prettier --write .", "test": "node ./out/test/runTest.js" }, "dependencies": { @@ -151,6 +152,7 @@ "@types/vscode": "^1.69.0", "eslint": "^8.20.0", "prettier": "^2.7.1", + "prettier-eslint": "^15.0.1", "ts-loader": "^9.3.1", "typescript": "^4.7.4", "vsce": "^2.10.0", diff --git a/src/commands.ts b/src/commands.ts index 9bb465e..7ed04b3 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -1,17 +1,17 @@ -import { CommonOptions } from "child_process"; +'use strict'; + +import { CommonOptions } from 'child_process'; interface Command { - command: string, - title: string, + command: string; + title: string; } - const commands: Command[] = [ - { - "command": "format-code.format.ralph", - "title": "Format Ralph" - } -] + { + command: 'format-code.format.ralph', + title: 'Format Ralph' + } +]; export default commands; - diff --git a/src/compiler.ts b/src/compiler.ts index 758fdb6..2d85a88 100644 --- a/src/compiler.ts +++ b/src/compiler.ts @@ -1,3 +1,4 @@ +'use strict'; import * as vscode from 'vscode'; import { Downloader } from './downloader'; import * as logger from './logger'; @@ -8,23 +9,25 @@ export class Complier { log: logger.Logger; constructor() { this.log = new logger.Logger('Complier'); - this.cmd = vscode.workspace.getConfiguration().get('ralph.compiler.command'); + this.cmd = vscode.workspace + .getConfiguration() + .get('ralph.compiler.command'); } - complier(editor: vscode.TextEditor){ + complier(editor: vscode.TextEditor) { let fullFileName = editor.document.fileName; if (!fullFileName.endsWith('.ral')) { - return; + return; } if (editor.document.isDirty) { - editor.document.save(); + editor.document.save(); } - if (!this.cmd && vscode.workspace.rootPath){ - const d = new Downloader(); - d.showQuickPick(); - const jar = path.join(vscode.workspace.rootPath, d.config.target); - this.cmd = `java -jar ${jar} -f ${fullFileName}` + if (!this.cmd && vscode.workspace.rootPath) { + const d = new Downloader(); + d.showQuickPick(); + const jar = path.join(vscode.workspace.rootPath, d.config.target); + this.cmd = `java -jar ${jar} -f ${fullFileName}`; } this.log.info(`Complier.cmd: ${this.cmd}`); @@ -32,14 +35,14 @@ export class Complier { vscode.window.setStatusBarMessage(`Execute command: ${this.cmd}`); - exec(this.cmd,(_error: any, stdout: string, stderr: string) =>{ - if (stderr) { - this.log.info(stderr); - console.log(stderr); - } else if (stdout) { - this.log.info(stdout); - console.log(stderr); - } + exec(this.cmd, (_error: any, stdout: string, stderr: string) => { + if (stderr) { + this.log.info(stderr); + console.log(stderr); + } else if (stdout) { + this.log.info(stdout); + console.log(stderr); + } }); } } diff --git a/src/downloader.ts b/src/downloader.ts index 596a1bb..9a3355b 100644 --- a/src/downloader.ts +++ b/src/downloader.ts @@ -1,13 +1,12 @@ -"use strict"; +'use strict'; import * as vscode from 'vscode'; import * as path from 'path'; -import {createWriteStream} from 'node:fs'; +import { createWriteStream } from 'node:fs'; import fetch from 'node-fetch'; import * as logger from './logger'; import { existsSync } from 'fs'; - type Config = { name: string; url: string; @@ -24,7 +23,8 @@ export class Downloader { private loadConfig() { const config = vscode.workspace - .getConfiguration().get('ralph.downloader.config') as Config; + .getConfiguration() + .get('ralph.downloader.config') as Config; this.config = config; } @@ -36,12 +36,12 @@ export class Downloader { async download() { const dir = vscode.workspace.rootPath; if (dir) { - const targetPath = path.join(dir, this.config.target); - if (!existsSync(targetPath) ){ - this.log.info("download :" + this.config.url) + const targetPath = path.join(dir, this.config.target); + if (!existsSync(targetPath)) { + this.log.info('download :' + this.config.url); const targetStream = createWriteStream(targetPath); const response = await fetch(this.config.url); - response.body?.pipe(targetStream) + response.body?.pipe(targetStream); } } } diff --git a/src/extension.ts b/src/extension.ts index 695218c..5b61220 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -1,33 +1,38 @@ +'use strict'; + // The module 'vscode' contains the VS Code extensibility API // Import the module and reference it with the alias vscode in your code below import * as vscode from 'vscode'; // import commands from "./commands"; -import { SFormatterProvider } from "./formatter"; +import { SFormatterProvider } from './formatter'; import { Downloader } from './downloader'; import { Complier } from './compiler'; // this method is called when your extension is activated // your extension is activated the very first time the command is executed export function activate(context: vscode.ExtensionContext) { - // Use the console to output diagnostic information (console.log) and errors (console.error) - // This line of code will only be executed once when your extension is activated - console.log('Congratulations, your extension is now active!'); + // Use the console to output diagnostic information (console.log) and errors (console.error) + // This line of code will only be executed once when your extension is activated + console.log('Congratulations, your extension is now active!'); - // The command has been defined in the package.json file - // Now provide the implementation of the command with registerCommand - // The commandId parameter must match the command field in package.json - context.subscriptions.push( - vscode.commands.registerCommand("ralph.downloader", () => { - const download = new Downloader(); - download.showQuickPick(); - }), - vscode.commands.registerCommand("ralph.compile", () => { - vscode.window.activeTextEditor && new Complier().complier(vscode.window.activeTextEditor); - }), - - ); - vscode.languages.registerDocumentFormattingEditProvider({ scheme: 'file', language: 'ralph' }, new SFormatterProvider()); + // The command has been defined in the package.json file + // Now provide the implementation of the command with registerCommand + // The commandId parameter must match the command field in package.json + context.subscriptions.push( + vscode.commands.registerCommand('ralph.downloader', () => { + const download = new Downloader(); + download.showQuickPick(); + }), + vscode.commands.registerCommand('ralph.compile', () => { + vscode.window.activeTextEditor && + new Complier().complier(vscode.window.activeTextEditor); + }) + ); + vscode.languages.registerDocumentFormattingEditProvider( + { scheme: 'file', language: 'ralph' }, + new SFormatterProvider() + ); } // this method is called when your extension is deactivated -export function deactivate() { } +export function deactivate() {} diff --git a/src/formatter.ts b/src/formatter.ts index 3650343..e5fc7c7 100644 --- a/src/formatter.ts +++ b/src/formatter.ts @@ -1,111 +1,176 @@ +'use strict'; + import * as vscode from 'vscode'; import * as logger from './logger'; -export class SFormatterProvider implements vscode.DocumentFormattingEditProvider { - private functions: Array = []; - private keywords: Array = []; - private types: Array = []; - private ends: Array = []; - private skipString: Array = []; - - provideDocumentFormattingEdits(document: vscode.TextDocument) { - if (vscode.window.visibleTextEditors.every((e) => e.document.fileName !== document.fileName)) { - return []; - } - - let out = []; - this.functions = [ - 'assert!', - '[A-Za-z_]*(_TO_)[A-Za-z_]*' - ]; - - this.keywords = [ - 'let', 'mut', 'const', 'for', 'event', 'emit', 'struct', 'TxScript', 'TxContract', 'Contract', 'AssetScript', 'enum', - 'Interface', 'fn', 'pub', 'payable', 'extends', 'Abstract', 'implements', - 'import', 'if', 'else', 'while', 'for', 'return', 'alph', - ]; - - this.types = []; - - this.ends = []; - - // Do not format this strings - this.skipString = [ - `["']{1}[^\"\'\\\\]*(?:\\\\[\\s\\S][^"'\\\\]*)*["']{1}`, - '\\(\\*[\\s\\S]*?\\*\\)', - '\\/\\*[\\s\\S]*?\\*\\/', - '\\/\\/[^\\n]*\\n' // All single line comments - ]; - - let text = document.getText(); - text = this.spaces(text); - - out.push( - new vscode.TextEdit(new vscode.Range( - new vscode.Position(0, 0), - document.lineAt(document.lineCount - 1).range.end), text - ) - ); - - return out; +export class SFormatterProvider + implements vscode.DocumentFormattingEditProvider +{ + private functions: Array = []; + private keywords: Array = []; + private types: Array = []; + private ends: Array = []; + private skipString: Array = []; + + provideDocumentFormattingEdits(document: vscode.TextDocument) { + if ( + vscode.window.visibleTextEditors.every( + (e) => e.document.fileName !== document.fileName + ) + ) { + return []; } - spaces(text: string): string { - let log = new logger.Logger("test"); - // Delete space between func name and ( - // ABS ( to ABS( - let regEx = new RegExp(`\\b(?:${this.functions.join('|')})\\b\\s+\\(`, "ig"); - text = text.replace(regEx, (match) => { - return match.replace(/\s+/, ''); - }); - - // Add space after keywords - // if( to if ( - regEx = new RegExp(`\\b(if|while)\\s*\\(`, "ig"); - text = text.replace(regEx, (match, key) => { - return key !== undefined ? key + ' (' : match; - }); - - // } else { - regEx = new RegExp(`}\\s*else\\s*{`, "ig"); - text = text.replace(regEx, (match, key) => key !== undefined ? '} else {' : match); - - let addSpace = { - csb: ['\\*\\)', '\\*\\/', '\\/\\/', '\\(\\*', '\\/\\*'], - csa: ['\\(\\*', '\\/\\*', '\\/\\/'], - ss: ['--', '\\+\\+', '&&', '\\|\\|', '==', '->', '<=', '>=', '!=', '\\*', '%', '=', '\\+', '-', '&', '>', '<', '\\|'] - }; - - regEx = new RegExp(`(? " " + sign); - - regEx = new RegExp(`(${addSpace.csb.join('|')})(?! )`, "ig"); - text = text.replace(regEx, (match, sign) => sign + " "); - - // operator - regEx = new RegExp(`${addSpace.ss.map(val => `\\s*${val}\\s*`).join('|')}`, "ig"); - text = text.replace(regEx, (match, sign) => sign !== undefined ? " " + match.trim() + " " : match); - - //: - regEx = new RegExp(`\\s*\\:\\s*`, "ig"); - text = text.replace(regEx, ': '); - - //. - regEx = new RegExp(`\\s*\\.\\s*`, "ig"); - text = text.replace(regEx, '.'); - - //, - regEx = new RegExp(`\\s*,`, "ig"); - text = text.replace(regEx, ','); - - //) extends - regEx = new RegExp(`\\)\\s*extends\\s*`, "ig"); - text = text.replace(regEx, ') extends '); - - // keyword - regEx = new RegExp(`${this.keywords.map(val => `${val}\\s{1,}`).join('|')}`, "ig"); - text = text.replace(regEx, (match, sign) => sign !== undefined ? match.trim() + " " : match); - - return text; - } + let out = []; + this.functions = ['assert!', '[A-Za-z_]*(_TO_)[A-Za-z_]*']; + + this.keywords = [ + 'let', + 'mut', + 'const', + 'for', + 'event', + 'emit', + 'struct', + 'TxScript', + 'TxContract', + 'Contract', + 'AssetScript', + 'enum', + 'Interface', + 'fn', + 'pub', + 'payable', + 'extends', + 'Abstract', + 'implements', + 'import', + 'if', + 'else', + 'while', + 'for', + 'return', + 'alph' + ]; + + this.types = []; + + this.ends = []; + + // Do not format this strings + this.skipString = [ + `["']{1}[^\"\'\\\\]*(?:\\\\[\\s\\S][^"'\\\\]*)*["']{1}`, + '\\(\\*[\\s\\S]*?\\*\\)', + '\\/\\*[\\s\\S]*?\\*\\/', + '\\/\\/[^\\n]*\\n' // All single line comments + ]; + + let text = document.getText(); + text = this.spaces(text); + + out.push( + new vscode.TextEdit( + new vscode.Range( + new vscode.Position(0, 0), + document.lineAt(document.lineCount - 1).range.end + ), + text + ) + ); + + return out; + } + + spaces(text: string): string { + let log = new logger.Logger('test'); + // Delete space between func name and ( + // ABS ( to ABS( + let regEx = new RegExp( + `\\b(?:${this.functions.join('|')})\\b\\s+\\(`, + 'ig' + ); + text = text.replace(regEx, (match) => { + return match.replace(/\s+/, ''); + }); + + // Add space after keywords + // if( to if ( + regEx = new RegExp(`\\b(if|while)\\s*\\(`, 'ig'); + text = text.replace(regEx, (match, key) => { + return key !== undefined ? key + ' (' : match; + }); + + // } else { + regEx = new RegExp(`}\\s*else\\s*{`, 'ig'); + text = text.replace(regEx, (match, key) => + key !== undefined ? '} else {' : match + ); + + let addSpace = { + csb: ['\\*\\)', '\\*\\/', '\\/\\/', '\\(\\*', '\\/\\*'], + csa: ['\\(\\*', '\\/\\*', '\\/\\/'], + ss: [ + '--', + '\\+\\+', + '&&', + '\\|\\|', + '==', + '->', + '<=', + '>=', + '!=', + '\\*', + '%', + '=', + '\\+', + '-', + '&', + '>', + '<', + '\\|' + ] + }; + + regEx = new RegExp(`(? ' ' + sign); + + regEx = new RegExp(`(${addSpace.csb.join('|')})(?! )`, 'ig'); + text = text.replace(regEx, (match, sign) => sign + ' '); + + // operator + regEx = new RegExp( + `${addSpace.ss.map((val) => `\\s*${val}\\s*`).join('|')}`, + 'ig' + ); + text = text.replace(regEx, (match, sign) => + sign !== undefined ? ' ' + match.trim() + ' ' : match + ); + + //: + regEx = new RegExp(`\\s*\\:\\s*`, 'ig'); + text = text.replace(regEx, ': '); + + //. + regEx = new RegExp(`\\s*\\.\\s*`, 'ig'); + text = text.replace(regEx, '.'); + + //, + regEx = new RegExp(`\\s*,`, 'ig'); + text = text.replace(regEx, ','); + + //) extends + regEx = new RegExp(`\\)\\s*extends\\s*`, 'ig'); + text = text.replace(regEx, ') extends '); + + // keyword + regEx = new RegExp( + `${this.keywords.map((val) => `${val}\\s{1,}`).join('|')}`, + 'ig' + ); + text = text.replace(regEx, (match, sign) => + sign !== undefined ? match.trim() + ' ' : match + ); + + return text; + } } diff --git a/src/logger.ts b/src/logger.ts index fa3e701..d8eccac 100644 --- a/src/logger.ts +++ b/src/logger.ts @@ -1,59 +1,60 @@ +'use strict'; import { window } from 'vscode'; export enum LogLevel { - debug = 0, - info, - warn, - error + debug = 0, + info, + warn, + error } export class Logger { - public static readonly outputChannel = - window.createOutputChannel('ralph-vscode-log'); + public static readonly outputChannel = + window.createOutputChannel('ralph-vscode-log'); - public static logLevel = LogLevel.info; + public static logLevel = LogLevel.info; - public constructor(public source: string) { } + public constructor(public source: string) {} - public debug(message: string): void { - Logger.callLog(LogLevel.debug, this.source, message); - } + public debug(message: string): void { + Logger.callLog(LogLevel.debug, this.source, message); + } - public info(message: string): void { - Logger.callLog(LogLevel.info, this.source, message); - } + public info(message: string): void { + Logger.callLog(LogLevel.info, this.source, message); + } - public warn(message: string): void { - Logger.callLog(LogLevel.warn, this.source, message); - } + public warn(message: string): void { + Logger.callLog(LogLevel.warn, this.source, message); + } - public error(error: Error): void; - public error(message: string): void; - public error(errorOrMessage: string | Error): void { - let message: string = errorOrMessage.toString(); - if (errorOrMessage instanceof Error) { - message = `${errorOrMessage}::${errorOrMessage.message}`; - } - - Logger.callLog(LogLevel.error, this.source, message); + public error(error: Error): void; + public error(message: string): void; + public error(errorOrMessage: string | Error): void { + let message: string = errorOrMessage.toString(); + if (errorOrMessage instanceof Error) { + message = `${errorOrMessage}::${errorOrMessage.message}`; } - private static callLog( - level: LogLevel, - source: string, - message: string - ): void { - if (level >= this.logLevel) { - this.outputChannel.appendLine( - `[${this.getTimestamp()} ${LogLevel[level].padEnd( - 5, - '.' - )}] (${source}) ${message}` - ); - } + Logger.callLog(LogLevel.error, this.source, message); + } + + private static callLog( + level: LogLevel, + source: string, + message: string + ): void { + if (level >= this.logLevel) { + this.outputChannel.appendLine( + `[${this.getTimestamp()} ${LogLevel[level].padEnd( + 5, + '.' + )}] (${source}) ${message}` + ); } + } - private static getTimestamp(): string { - return new Date().toTimeString().split(' ')[0]; - } + private static getTimestamp(): string { + return new Date().toTimeString().split(' ')[0]; + } } diff --git a/src/prettier.ts b/src/prettier.ts index 7604dc3..037e0ba 100644 --- a/src/prettier.ts +++ b/src/prettier.ts @@ -1,3 +1,5 @@ +'use strict'; + /* defaultOptions: { tabWidth: 2; @@ -50,4 +52,4 @@ module.exports = { // - Indent nested props? }; -*/ \ No newline at end of file +*/ diff --git a/themes/dark_sva_default_highlights.json b/themes/dark_sva_default_highlights.json index 20e896b..553ba5a 100644 --- a/themes/dark_sva_default_highlights.json +++ b/themes/dark_sva_default_highlights.json @@ -1,366 +1,367 @@ { - "$schema":"vscode://schemas/color-theme", - "name":"SVA - Dark Default Highlights", - "tokenColors":[{ - "name":"visibility: public, memory, ..", - "scope":"storage.type.modifier.keyword.ralph", - "settings":{ - "foreground":"#84f56293", - "fontStyle":"underline" - } - }, - { - "name":"external visibility", - "scope":"storage.type.modifier.keyword.extendedscope.ralph", - "settings":{ - "foreground":"#f56262", - "fontStyle":"underline" - } - }, - { - "name":"emit, new, delete", - "scope":"keyword.control.ralph", - "settings":{ - "foreground":"#fffffff5", - "fontStyle":"bold" - } - }, - { - "name":"function contract", - "scope":"entity.name.function.ralph", - "settings":{ - "foreground":"#fae674d7", - "fontStyle":"" - } - }, - { - "name":"transaction vars (inconclusive)", - "scope":"variable.language.transaction.ralph", - "settings":{ - "foreground":"#ffc570", - "fontStyle":"bold underline" - } - }, - { - "name":"transaction vars (sec)", - "scope":"variable.language.transaction.security.ralph", - "settings":{ - "foreground":"#f56262", - "fontStyle":"bold underline" - } - }, - { - "name":"transaction function (sec)", - "scope":"support.function.transaction.security.ralph", - "settings":{ - "foreground":"#f56262", - "fontStyle":"bold underline" - } - }, - { - "name":"transaction function (safe)", - "scope":"support.function.transaction.ralph", - "settings":{ - "foreground":"#ffc570", - "fontStyle":"bold" - } - }, - { - "name":"assembly", - "scope":"keyword.control.assembly.ralph", - "settings":{ - "foreground":"#ff5e5ed3", - "fontStyle":"bold underline" - } - }, - { - "name":"unchecked", - "scope":"keyword.control.unchecked.ralph", - "settings":{ - "foreground":"#ff5e5ed3", - "fontStyle":"bold underline" - } - }, - { - "name":"let", - "scope":"keyword.control.let.ralph", - "settings":{ - "foreground":"#ff5e5ed3", - "fontStyle":"bold underline" - } - }, - { - "name":"todos and dev notes", - "scope":"keyword.comment.todo.ralph", - "settings":{ - "foreground":"#ff5e5ed3", - "fontStyle":"bold underline italic" - } - }, - { - "name":"assert/require", - "scope":"keyword.control.exceptions.ralph", - "settings":{ - "foreground":"#84f56293", - "fontStyle":"underline" - } - }, - { - "name":"modifier function", - "scope":"entity.name.modifier.ralph", - "settings":{ - "foreground":"#84f56293" - } - }, - { - "name":"this", - "scope":"variable.language.this.ralph", - "settings":{ - "fontStyle":"bold underline" - } - }, - { - "name":"super", - "scope":"variable.language.super.ralph", - "settings":{ - "fontStyle":"bold underline" - } - }, - { - "name":"selfdestruct", - "scope":"keyword.control.contract.ralph", - "settings":{ - "foreground":"#ff5e5ed3", - "fontStyle":"bold underline" - } - }, - { - "name":"builtin math", - "scope":"support.function.math.ralph", - "settings":{ - "fontStyle":"bold italic" - } - }, - { - "name":"arithm", - "scope":"keyword.operator.arithmetic.ralph", - "settings":{ - "foreground":"#8aa9ffe5", - "fontStyle":"bold" - } - }, - { - "name":"assign", - "scope":"keyword.operator.assignment.ralph", - "settings":{ - "foreground":"#8aa9ffe5", - "fontStyle":"bold" - } - }, - { - "name":"logic", - "scope":"keyword.operator.logic.ralph", - "settings":{ - "foreground":"#ffbc65e5", - "fontStyle":"bold" - } - }, - { - "name":"using", - "scope":"keyword.control.using.ralph", - "settings":{ - "fontStyle":"underline" - } - }, - { - "name":"import", - "scope":"keyword.control.import.ralph", - "settings":{ - "foreground":"#fc8a56a6", - "fontStyle":"bold italic" - } - }, - { - "name":"pragma", - "scope":"keyword.control.pragma.ralph", - "settings":{ - "foreground":"#fc8a56a6", - "fontStyle":"bold italic" - } - }, - { - "name":"underscore placeholder", - "scope":"constant.other.underscore.ralph", - "settings":{ - "fontStyle":"bold underline" - } - }, - { - "name":"const time", - "scope":"constant.language.time.ralph", - "settings":{ - "foreground":"#fca076ea", - "fontStyle":"underline" - } - }, - { - "name":"const currency", - "scope":"constant.language.currency.ralph", - "settings":{ - "foreground":"#fca076ea", - "fontStyle":"underline" - } - }, - { - "name":"contract", - "scope":"storage.type.contract.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"is", - "scope":"storage.modifier.is.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"interface", - "scope":"storage.type.interface.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"library", - "scope":"storage.type.library.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"struct", - "scope":"storage.type.struct.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"event", - "scope":"storage.type.event.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"constructor", - "scope":"storage.type.constructor.ralph", - "settings":{ - "foreground":"#fae674d7", - "fontStyle":"bold underline" - } - }, - { - "name":"fallback", - "scope":"storage.type.function.fallback.ralph", - "settings":{ - "foreground":"#fae674d7", - "fontStyle":"underline bold" - } - }, - { - "name":"receive", - "scope":"storage.type.function.receive.ralph", - "settings":{ - "foreground":"#fae674d7", - "fontStyle":"underline bold" - } - }, - { - "name":"enum", - "scope":"entity.name.type.enum.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"function", - "scope":"storage.type.function.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"visibility: public, memory, ..", - "scope":"constant.language.ucase.ralph", - "settings":{ - "foreground":"#9db4c2", - "fontStyle":"italic" - } - }, - { - "name":"modifier", - "scope":"storage.type.modifier.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"natspec param", - "scope":"storage.type.title.natspec", - "settings":{ - "foreground":"#ffffff8e" - } - }, - { - "name":"natspec param", - "scope":"storage.type.author.natspec", - "settings":{ - "foreground":"#ffffff8e" - } - }, - { - "name":"natspec param", - "scope":"storage.type.dev.natspec", - "settings":{ - "foreground":"#ffffff8e" - } - }, - { - "name":"natspec param", - "scope":"storage.type.dev.natspec", - "settings":{ - "foreground":"#ffffff8e" - } - }, - { - "name":"natspec param", - "scope":"storage.type.return.natspec", - "settings":{ - "foreground":"#ffffff8e" - } - }, - { - "name":"natspec param", - "scope":"storage.type.param.natspec", - "settings":{ - "foreground":"#ffffff8e" - } - }, - { - "name":"natspec value", - "scope":"variable.other.natspec", - "settings":{ - "foreground":"#ffc4469a" - } - }, - { - "name":"natspec value", - "scope":"punctuation.block.ralph", - "settings":{ - "foreground":"#ffed4abd" - } - } - ] -} \ No newline at end of file + "$schema": "vscode://schemas/color-theme", + "name": "SVA - Dark Default Highlights", + "tokenColors": [ + { + "name": "visibility: public, memory, ..", + "scope": "storage.type.modifier.keyword.ralph", + "settings": { + "foreground": "#84f56293", + "fontStyle": "underline" + } + }, + { + "name": "external visibility", + "scope": "storage.type.modifier.keyword.extendedscope.ralph", + "settings": { + "foreground": "#f56262", + "fontStyle": "underline" + } + }, + { + "name": "emit, new, delete", + "scope": "keyword.control.ralph", + "settings": { + "foreground": "#fffffff5", + "fontStyle": "bold" + } + }, + { + "name": "function contract", + "scope": "entity.name.function.ralph", + "settings": { + "foreground": "#fae674d7", + "fontStyle": "" + } + }, + { + "name": "transaction vars (inconclusive)", + "scope": "variable.language.transaction.ralph", + "settings": { + "foreground": "#ffc570", + "fontStyle": "bold underline" + } + }, + { + "name": "transaction vars (sec)", + "scope": "variable.language.transaction.security.ralph", + "settings": { + "foreground": "#f56262", + "fontStyle": "bold underline" + } + }, + { + "name": "transaction function (sec)", + "scope": "support.function.transaction.security.ralph", + "settings": { + "foreground": "#f56262", + "fontStyle": "bold underline" + } + }, + { + "name": "transaction function (safe)", + "scope": "support.function.transaction.ralph", + "settings": { + "foreground": "#ffc570", + "fontStyle": "bold" + } + }, + { + "name": "assembly", + "scope": "keyword.control.assembly.ralph", + "settings": { + "foreground": "#ff5e5ed3", + "fontStyle": "bold underline" + } + }, + { + "name": "unchecked", + "scope": "keyword.control.unchecked.ralph", + "settings": { + "foreground": "#ff5e5ed3", + "fontStyle": "bold underline" + } + }, + { + "name": "let", + "scope": "keyword.control.let.ralph", + "settings": { + "foreground": "#ff5e5ed3", + "fontStyle": "bold underline" + } + }, + { + "name": "todos and dev notes", + "scope": "keyword.comment.todo.ralph", + "settings": { + "foreground": "#ff5e5ed3", + "fontStyle": "bold underline italic" + } + }, + { + "name": "assert/require", + "scope": "keyword.control.exceptions.ralph", + "settings": { + "foreground": "#84f56293", + "fontStyle": "underline" + } + }, + { + "name": "modifier function", + "scope": "entity.name.modifier.ralph", + "settings": { + "foreground": "#84f56293" + } + }, + { + "name": "this", + "scope": "variable.language.this.ralph", + "settings": { + "fontStyle": "bold underline" + } + }, + { + "name": "super", + "scope": "variable.language.super.ralph", + "settings": { + "fontStyle": "bold underline" + } + }, + { + "name": "selfdestruct", + "scope": "keyword.control.contract.ralph", + "settings": { + "foreground": "#ff5e5ed3", + "fontStyle": "bold underline" + } + }, + { + "name": "builtin math", + "scope": "support.function.math.ralph", + "settings": { + "fontStyle": "bold italic" + } + }, + { + "name": "arithm", + "scope": "keyword.operator.arithmetic.ralph", + "settings": { + "foreground": "#8aa9ffe5", + "fontStyle": "bold" + } + }, + { + "name": "assign", + "scope": "keyword.operator.assignment.ralph", + "settings": { + "foreground": "#8aa9ffe5", + "fontStyle": "bold" + } + }, + { + "name": "logic", + "scope": "keyword.operator.logic.ralph", + "settings": { + "foreground": "#ffbc65e5", + "fontStyle": "bold" + } + }, + { + "name": "using", + "scope": "keyword.control.using.ralph", + "settings": { + "fontStyle": "underline" + } + }, + { + "name": "import", + "scope": "keyword.control.import.ralph", + "settings": { + "foreground": "#fc8a56a6", + "fontStyle": "bold italic" + } + }, + { + "name": "pragma", + "scope": "keyword.control.pragma.ralph", + "settings": { + "foreground": "#fc8a56a6", + "fontStyle": "bold italic" + } + }, + { + "name": "underscore placeholder", + "scope": "constant.other.underscore.ralph", + "settings": { + "fontStyle": "bold underline" + } + }, + { + "name": "const time", + "scope": "constant.language.time.ralph", + "settings": { + "foreground": "#fca076ea", + "fontStyle": "underline" + } + }, + { + "name": "const currency", + "scope": "constant.language.currency.ralph", + "settings": { + "foreground": "#fca076ea", + "fontStyle": "underline" + } + }, + { + "name": "contract", + "scope": "storage.type.contract.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "is", + "scope": "storage.modifier.is.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "interface", + "scope": "storage.type.interface.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "library", + "scope": "storage.type.library.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "struct", + "scope": "storage.type.struct.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "event", + "scope": "storage.type.event.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "constructor", + "scope": "storage.type.constructor.ralph", + "settings": { + "foreground": "#fae674d7", + "fontStyle": "bold underline" + } + }, + { + "name": "fallback", + "scope": "storage.type.function.fallback.ralph", + "settings": { + "foreground": "#fae674d7", + "fontStyle": "underline bold" + } + }, + { + "name": "receive", + "scope": "storage.type.function.receive.ralph", + "settings": { + "foreground": "#fae674d7", + "fontStyle": "underline bold" + } + }, + { + "name": "enum", + "scope": "entity.name.type.enum.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "function", + "scope": "storage.type.function.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "visibility: public, memory, ..", + "scope": "constant.language.ucase.ralph", + "settings": { + "foreground": "#9db4c2", + "fontStyle": "italic" + } + }, + { + "name": "modifier", + "scope": "storage.type.modifier.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "natspec param", + "scope": "storage.type.title.natspec", + "settings": { + "foreground": "#ffffff8e" + } + }, + { + "name": "natspec param", + "scope": "storage.type.author.natspec", + "settings": { + "foreground": "#ffffff8e" + } + }, + { + "name": "natspec param", + "scope": "storage.type.dev.natspec", + "settings": { + "foreground": "#ffffff8e" + } + }, + { + "name": "natspec param", + "scope": "storage.type.dev.natspec", + "settings": { + "foreground": "#ffffff8e" + } + }, + { + "name": "natspec param", + "scope": "storage.type.return.natspec", + "settings": { + "foreground": "#ffffff8e" + } + }, + { + "name": "natspec param", + "scope": "storage.type.param.natspec", + "settings": { + "foreground": "#ffffff8e" + } + }, + { + "name": "natspec value", + "scope": "variable.other.natspec", + "settings": { + "foreground": "#ffc4469a" + } + }, + { + "name": "natspec value", + "scope": "punctuation.block.ralph", + "settings": { + "foreground": "#ffed4abd" + } + } + ] +} diff --git a/themes/light_defaults.json b/themes/light_defaults.json index 1ca3008..ccaa676 100644 --- a/themes/light_defaults.json +++ b/themes/light_defaults.json @@ -4,24 +4,24 @@ Changelog: + load default token coloring from 'light_sva_default_highlights.json' */ { - "$schema": "vscode://schemas/color-theme", - "name": "SVA - Light Default Colors", - "include": "./light_sva_default_highlights.json", - "colors": { - "editor.background": "#FFFFFF", - "editor.foreground": "#000000", - "editor.inactiveSelectionBackground": "#E5EBF1", - "editorIndentGuide.background": "#D3D3D3", - "editorIndentGuide.activeBackground": "#939393", - "editor.selectionHighlightBackground": "#ADD6FF80", - "editorSuggestWidget.background": "#F3F3F3", - "activityBarBadge.background": "#007ACC", - "sideBarTitle.foreground": "#6F6F6F", - "list.hoverBackground": "#E8E8E8", - "input.placeholderForeground": "#767676", - "settings.textInputBorder": "#CECECE", - "settings.numberInputBorder": "#CECECE", - "statusBarItem.remoteForeground": "#FFF", - "statusBarItem.remoteBackground": "#16825D" - } -} \ No newline at end of file + "$schema": "vscode://schemas/color-theme", + "name": "SVA - Light Default Colors", + "include": "./light_sva_default_highlights.json", + "colors": { + "editor.background": "#FFFFFF", + "editor.foreground": "#000000", + "editor.inactiveSelectionBackground": "#E5EBF1", + "editorIndentGuide.background": "#D3D3D3", + "editorIndentGuide.activeBackground": "#939393", + "editor.selectionHighlightBackground": "#ADD6FF80", + "editorSuggestWidget.background": "#F3F3F3", + "activityBarBadge.background": "#007ACC", + "sideBarTitle.foreground": "#6F6F6F", + "list.hoverBackground": "#E8E8E8", + "input.placeholderForeground": "#767676", + "settings.textInputBorder": "#CECECE", + "settings.numberInputBorder": "#CECECE", + "statusBarItem.remoteForeground": "#FFF", + "statusBarItem.remoteBackground": "#16825D" + } +} diff --git a/themes/light_sva_default_highlights.json b/themes/light_sva_default_highlights.json index 118f344..ecf091c 100644 --- a/themes/light_sva_default_highlights.json +++ b/themes/light_sva_default_highlights.json @@ -1,360 +1,361 @@ { - "$schema": "vscode://schemas/color-theme", - "name": "SVA - Light Default Highlights", - "tokenColors": [{ - "name":"visibility: public, memory, ..", - "scope":"storage.type.modifier.keyword.ralph", - "settings":{ - "foreground":"#2a9b0e", - "fontStyle":"underline" - } - }, - { - "name":"external visibility", - "scope":"storage.type.modifier.keyword.extendedscope.ralph", - "settings":{ - "foreground":"#d65353", - "fontStyle":"underline" - } - }, - { - "name":"emit, new, delete", - "scope":"keyword.control.ralph", - "settings":{ - "foreground":"#c200b2ad", - "fontStyle":"bold" - } - }, - { - "name":"function contract", - "scope":"entity.name.function.ralph", - "settings":{ - //"foreground":"#fae674d7", - "fontStyle":"" - } - }, - { - "name":"transaction vars (inconclusive)", - "scope":"variable.language.transaction.ralph", - "settings":{ - "foreground":"#e4a13c", - "fontStyle":"bold underline" - } - }, - { - "name":"transaction vars (sec)", - "scope":"variable.language.transaction.security.ralph", - "settings":{ - "foreground":"#e05959", - "fontStyle":"bold underline" - } - }, - { - "name":"transaction function (sec)", - "scope":"support.function.transaction.security.ralph", - "settings":{ - "foreground":"#e05959", - "fontStyle":"bold underline" - } - }, - { - "name":"transaction function (safe)", - "scope":"support.function.transaction.ralph", - "settings":{ - "foreground":"#e4a13c", - "fontStyle":"bold" - } - }, - { - "name":"assembly", - "scope":"keyword.control.assembly.ralph", - "settings":{ - "foreground":"#e05959", - "fontStyle":"bold underline" - } - }, - { - "name":"unchecked", - "scope":"keyword.control.unchecked.ralph", - "settings":{ - "foreground":"#e05959", - "fontStyle":"bold underline" - } - }, - { - "name":"let", - "scope":"keyword.control.let.ralph", - "settings":{ - "foreground":"#e05959", - "fontStyle":"bold underline" - } - }, - { - "name":"todos and dev notes", - "scope":"keyword.comment.todo.ralph", - "settings":{ - "foreground":"#e05959", - "fontStyle":"bold underline italic" - } - }, - { - "name":"assert/require", - "scope":"keyword.control.exceptions.ralph", - "settings":{ - "foreground":"#2a9b0e", - "fontStyle":"underline" - } - }, - { - "name":"modifier function", - "scope":"entity.name.modifier.ralph", - "settings":{ - "foreground":"#2a9b0e", - } - }, - { - "name":"this", - "scope":"variable.language.this.ralph", - "settings":{ - "fontStyle":"bold underline" - } - }, - { - "name":"super", - "scope":"variable.language.super.ralph", - "settings":{ - "fontStyle":"bold underline" - } - }, - { - "name":"selfdestruct", - "scope":"keyword.control.contract.ralph", - "settings":{ - "foreground":"#e05959", - "fontStyle":"bold underline" - } - }, - { - "name":"builtin math", - "scope":"support.function.math.ralph", - "settings":{ - "fontStyle":"bold italic" - } - }, - { - "name":"arithm", - "scope":"keyword.operator.arithmetic.ralph", - "settings":{ - "foreground":"#2654d2", - "fontStyle":"bold" - } - }, - { - "name":"assign", - "scope":"keyword.operator.assignment.ralph", - "settings":{ - "foreground":"#6bac04", - "fontStyle":"bold" - } - }, - { - "name":"logic", - "scope":"keyword.operator.logic.ralph", - "settings":{ - "foreground":"#e09c43", - "fontStyle":"bold" - } - }, - { - "name":"using", - "scope":"keyword.control.using.ralph", - "settings":{ - "fontStyle":"underline" - } - }, - { - "name":"import", - "scope":"keyword.control.import.ralph", - "settings":{ - //"foreground":"#fc8a56a6", - "fontStyle":"bold italic" - } - }, - { - "name":"pragma", - "scope":"keyword.control.pragma.ralph", - "settings":{ - //"foreground":"#fc8a56a6", - "fontStyle":"bold italic" - } - }, - { - "name":"underscore placeholder", - "scope":"constant.other.underscore.ralph", - "settings":{ - "fontStyle":"bold underline" - } - }, - { - "name":"const time", - "scope":"constant.language.time.ralph", - "settings":{ - "foreground":"#d68661ea", - "fontStyle":"underline" - } - }, - { - "name":"const currency", - "scope":"constant.language.currency.ralph", - "settings":{ - "foreground":"#d68661ea", - "fontStyle":"underline" - } - }, - { - "name":"contract", - "scope":"storage.type.contract.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"is", - "scope":"storage.modifier.is.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"interface", - "scope":"storage.type.interface.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"library", - "scope":"storage.type.library.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"struct", - "scope":"storage.type.struct.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"event", - "scope":"storage.type.event.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"constructor", - "scope":"storage.type.constructor.ralph", - "settings":{ - "foreground":"#268BD2", - "fontStyle":"bold underline" - } - }, - { - "name":"fallback", - "scope":"storage.type.function.fallback.ralph", - "settings":{ - "foreground":"#268BD2", - "fontStyle":"underline bold" - } - }, - { - "name":"receive", - "scope":"storage.type.function.receive.ralph", - "settings":{ - "foreground":"#268BD2", - "fontStyle":"underline bold" - } - }, - { - "name":"enum", - "scope":"entity.name.type.enum.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"function", - "scope":"storage.type.function.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"visibility: public, memory, ..", - "scope":"constant.language.ucase.ralph", - "settings":{ - "foreground":"#6098c0", - "fontStyle":"italic" - } - }, - { - "name":"modifier", - "scope":"storage.type.modifier.ralph", - "settings":{ - "fontStyle":"italic" - } - }, - { - "name":"natspec param", - "scope":"storage.type.title.natspec", - "settings":{ - "foreground":"#8c8c8c" - } - }, - { - "name":"natspec param", - "scope":"storage.type.author.natspec", - "settings":{ - "foreground":"#8c8c8c" - } - }, - { - "name":"natspec param", - "scope":"storage.type.dev.natspec", - "settings":{ - "foreground":"#8c8c8c" - } - }, - { - "name":"natspec param", - "scope":"storage.type.return.natspec", - "settings":{ - "foreground":"#8c8c8c" - } - }, - { - "name":"natspec param", - "scope":"storage.type.param.natspec", - "settings":{ - "foreground":"#8c8c8c" - } - }, - { - "name":"natspec value", - "scope":"variable.other.natspec", - "settings":{ - "foreground":"#535353" - } - }, - { - "name":"block", - "scope":"punctuation.block.ralph", - "settings":{ - "foreground":"#0000008f", - "fontStyle": "bold" - } - } - ] -} \ No newline at end of file + "$schema": "vscode://schemas/color-theme", + "name": "SVA - Light Default Highlights", + "tokenColors": [ + { + "name": "visibility: public, memory, ..", + "scope": "storage.type.modifier.keyword.ralph", + "settings": { + "foreground": "#2a9b0e", + "fontStyle": "underline" + } + }, + { + "name": "external visibility", + "scope": "storage.type.modifier.keyword.extendedscope.ralph", + "settings": { + "foreground": "#d65353", + "fontStyle": "underline" + } + }, + { + "name": "emit, new, delete", + "scope": "keyword.control.ralph", + "settings": { + "foreground": "#c200b2ad", + "fontStyle": "bold" + } + }, + { + "name": "function contract", + "scope": "entity.name.function.ralph", + "settings": { + //"foreground":"#fae674d7", + "fontStyle": "" + } + }, + { + "name": "transaction vars (inconclusive)", + "scope": "variable.language.transaction.ralph", + "settings": { + "foreground": "#e4a13c", + "fontStyle": "bold underline" + } + }, + { + "name": "transaction vars (sec)", + "scope": "variable.language.transaction.security.ralph", + "settings": { + "foreground": "#e05959", + "fontStyle": "bold underline" + } + }, + { + "name": "transaction function (sec)", + "scope": "support.function.transaction.security.ralph", + "settings": { + "foreground": "#e05959", + "fontStyle": "bold underline" + } + }, + { + "name": "transaction function (safe)", + "scope": "support.function.transaction.ralph", + "settings": { + "foreground": "#e4a13c", + "fontStyle": "bold" + } + }, + { + "name": "assembly", + "scope": "keyword.control.assembly.ralph", + "settings": { + "foreground": "#e05959", + "fontStyle": "bold underline" + } + }, + { + "name": "unchecked", + "scope": "keyword.control.unchecked.ralph", + "settings": { + "foreground": "#e05959", + "fontStyle": "bold underline" + } + }, + { + "name": "let", + "scope": "keyword.control.let.ralph", + "settings": { + "foreground": "#e05959", + "fontStyle": "bold underline" + } + }, + { + "name": "todos and dev notes", + "scope": "keyword.comment.todo.ralph", + "settings": { + "foreground": "#e05959", + "fontStyle": "bold underline italic" + } + }, + { + "name": "assert/require", + "scope": "keyword.control.exceptions.ralph", + "settings": { + "foreground": "#2a9b0e", + "fontStyle": "underline" + } + }, + { + "name": "modifier function", + "scope": "entity.name.modifier.ralph", + "settings": { + "foreground": "#2a9b0e" + } + }, + { + "name": "this", + "scope": "variable.language.this.ralph", + "settings": { + "fontStyle": "bold underline" + } + }, + { + "name": "super", + "scope": "variable.language.super.ralph", + "settings": { + "fontStyle": "bold underline" + } + }, + { + "name": "selfdestruct", + "scope": "keyword.control.contract.ralph", + "settings": { + "foreground": "#e05959", + "fontStyle": "bold underline" + } + }, + { + "name": "builtin math", + "scope": "support.function.math.ralph", + "settings": { + "fontStyle": "bold italic" + } + }, + { + "name": "arithm", + "scope": "keyword.operator.arithmetic.ralph", + "settings": { + "foreground": "#2654d2", + "fontStyle": "bold" + } + }, + { + "name": "assign", + "scope": "keyword.operator.assignment.ralph", + "settings": { + "foreground": "#6bac04", + "fontStyle": "bold" + } + }, + { + "name": "logic", + "scope": "keyword.operator.logic.ralph", + "settings": { + "foreground": "#e09c43", + "fontStyle": "bold" + } + }, + { + "name": "using", + "scope": "keyword.control.using.ralph", + "settings": { + "fontStyle": "underline" + } + }, + { + "name": "import", + "scope": "keyword.control.import.ralph", + "settings": { + //"foreground":"#fc8a56a6", + "fontStyle": "bold italic" + } + }, + { + "name": "pragma", + "scope": "keyword.control.pragma.ralph", + "settings": { + //"foreground":"#fc8a56a6", + "fontStyle": "bold italic" + } + }, + { + "name": "underscore placeholder", + "scope": "constant.other.underscore.ralph", + "settings": { + "fontStyle": "bold underline" + } + }, + { + "name": "const time", + "scope": "constant.language.time.ralph", + "settings": { + "foreground": "#d68661ea", + "fontStyle": "underline" + } + }, + { + "name": "const currency", + "scope": "constant.language.currency.ralph", + "settings": { + "foreground": "#d68661ea", + "fontStyle": "underline" + } + }, + { + "name": "contract", + "scope": "storage.type.contract.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "is", + "scope": "storage.modifier.is.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "interface", + "scope": "storage.type.interface.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "library", + "scope": "storage.type.library.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "struct", + "scope": "storage.type.struct.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "event", + "scope": "storage.type.event.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "constructor", + "scope": "storage.type.constructor.ralph", + "settings": { + "foreground": "#268BD2", + "fontStyle": "bold underline" + } + }, + { + "name": "fallback", + "scope": "storage.type.function.fallback.ralph", + "settings": { + "foreground": "#268BD2", + "fontStyle": "underline bold" + } + }, + { + "name": "receive", + "scope": "storage.type.function.receive.ralph", + "settings": { + "foreground": "#268BD2", + "fontStyle": "underline bold" + } + }, + { + "name": "enum", + "scope": "entity.name.type.enum.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "function", + "scope": "storage.type.function.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "visibility: public, memory, ..", + "scope": "constant.language.ucase.ralph", + "settings": { + "foreground": "#6098c0", + "fontStyle": "italic" + } + }, + { + "name": "modifier", + "scope": "storage.type.modifier.ralph", + "settings": { + "fontStyle": "italic" + } + }, + { + "name": "natspec param", + "scope": "storage.type.title.natspec", + "settings": { + "foreground": "#8c8c8c" + } + }, + { + "name": "natspec param", + "scope": "storage.type.author.natspec", + "settings": { + "foreground": "#8c8c8c" + } + }, + { + "name": "natspec param", + "scope": "storage.type.dev.natspec", + "settings": { + "foreground": "#8c8c8c" + } + }, + { + "name": "natspec param", + "scope": "storage.type.return.natspec", + "settings": { + "foreground": "#8c8c8c" + } + }, + { + "name": "natspec param", + "scope": "storage.type.param.natspec", + "settings": { + "foreground": "#8c8c8c" + } + }, + { + "name": "natspec value", + "scope": "variable.other.natspec", + "settings": { + "foreground": "#535353" + } + }, + { + "name": "block", + "scope": "punctuation.block.ralph", + "settings": { + "foreground": "#0000008f", + "fontStyle": "bold" + } + } + ] +} diff --git a/themes/light_vs.json b/themes/light_vs.json index 9d488fd..65b8b33 100644 --- a/themes/light_vs.json +++ b/themes/light_vs.json @@ -2,373 +2,367 @@ original taken from https://raw.githubusercontent.com/microsoft/vscode/7a5bca9fafbbb23de289179be95e9c4832540c02/extensions/theme-defaults/themes/light_vs.json */ { - "$schema": "vscode://schemas/color-theme", - "name": "Light (Visual Studio)", - "include": "./light_defaults.json", - "tokenColors": [ - { - "scope": ["meta.embedded", "source.groovy.embedded"], - "settings": { - "foreground": "#000000ff" - } - }, - { - "scope": "emphasis", - "settings": { - "fontStyle": "italic" - } - }, - { - "scope": "strong", - "settings": { - "fontStyle": "bold" - } - }, - { - "scope": "meta.diff.header", - "settings": { - "foreground": "#000080" - } - }, - { - "scope": "comment", - "settings": { - "foreground": "#008000" - } - }, - { - "scope": "constant.language", - "settings": { - "foreground": "#0000ff" - } - }, - { - "scope": [ - "constant.numeric" - ], - "settings": { - "foreground": "#09885a" - } - }, - { - "scope": "constant.regexp", - "settings": { - "foreground": "#811f3f" - } - }, - { - "name": "css tags in selectors, xml tags", - "scope": "entity.name.tag", - "settings": { - "foreground": "#800000" - } - }, - { - "scope": "entity.name.selector", - "settings": { - "foreground": "#800000" - } - }, - { - "scope": "entity.other.attribute-name", - "settings": { - "foreground": "#ff0000" - } - }, - { - "scope": [ - "entity.other.attribute-name.class.css", - "entity.other.attribute-name.class.mixin.css", - "entity.other.attribute-name.id.css", - "entity.other.attribute-name.parent-selector.css", - "entity.other.attribute-name.pseudo-class.css", - "entity.other.attribute-name.pseudo-element.css", - "source.css.less entity.other.attribute-name.id", - "entity.other.attribute-name.attribute.scss", - "entity.other.attribute-name.scss" - ], - "settings": { - "foreground": "#800000" - } - }, - { - "scope": "invalid", - "settings": { - "foreground": "#cd3131" - } - }, - { - "scope": "markup.underline", - "settings": { - "fontStyle": "underline" - } - }, - { - "scope": "markup.bold", - "settings": { - "fontStyle": "bold", - "foreground": "#000080" - } - }, - { - "scope": "markup.heading", - "settings": { - "fontStyle": "bold", - "foreground": "#800000" - } - }, - { - "scope": "markup.italic", - "settings": { - "fontStyle": "italic" - } - }, - { - "scope": "markup.inserted", - "settings": { - "foreground": "#09885a" - } - }, - { - "scope": "markup.deleted", - "settings": { - "foreground": "#a31515" - } - }, - { - "scope": "markup.changed", - "settings": { - "foreground": "#0451a5" - } - }, - { - "scope": [ - "punctuation.definition.quote.begin.markdown", - "punctuation.definition.list.begin.markdown" - ], - "settings": { - "foreground": "#0451a5" - } - }, - { - "scope": "markup.inline.raw", - "settings": { - "foreground": "#800000" - } - }, - { - "name": "brackets of XML/HTML tags", - "scope": "punctuation.definition.tag", - "settings": { - "foreground": "#800000" - } - }, - { - "scope": "meta.preprocessor", - "settings": { - "foreground": "#0000ff" - } - }, - { - "scope": "meta.preprocessor.string", - "settings": { - "foreground": "#a31515" - } - }, - { - "scope": "meta.preprocessor.numeric", - "settings": { - "foreground": "#09885a" - } - }, - { - "scope": "meta.structure.dictionary.key.python", - "settings": { - "foreground": "#0451a5" - } - }, - { - "scope": "storage", - "settings": { - "foreground": "#0000ff" - } - }, - { - "scope": "storage.type", - "settings": { - "foreground": "#0000ff" - } - }, - { - "scope": "storage.modifier", - "settings": { - "foreground": "#0000ff" - } - }, - { - "scope": "string", - "settings": { - "foreground": "#a31515" - } - }, - { - "scope": [ - "string.comment.buffered.block.pug", - "string.quoted.pug", - "string.interpolated.pug", - "string.unquoted.plain.in.yaml", - "string.unquoted.plain.out.yaml", - "string.unquoted.block.yaml", - "string.quoted.single.yaml", - "string.quoted.double.xml", - "string.quoted.single.xml", - "string.unquoted.cdata.xml", - "string.quoted.double.html", - "string.quoted.single.html", - "string.unquoted.html", - "string.quoted.single.handlebars", - "string.quoted.double.handlebars" - ], - "settings": { - "foreground": "#0000ff" - } - }, - { - "scope": "string.regexp", - "settings": { - "foreground": "#811f3f" - } - }, - { - "name": "String interpolation", - "scope": [ - "punctuation.definition.template-expression.begin", - "punctuation.definition.template-expression.end", - "punctuation.section.embedded" - ], - "settings": { - "foreground": "#0000ff" - } - }, - { - "name": "Reset JavaScript string interpolation expression", - "scope": [ - "meta.template.expression" - ], - "settings": { - "foreground": "#000000" - } - }, - { - "scope": [ - "support.constant.property-value", - "support.constant.font-name", - "support.constant.media-type", - "support.constant.media", - "constant.other.color.rgb-value", - "constant.other.rgb-value", - "support.constant.color" - ], - "settings": { - "foreground": "#0451a5" - } - }, - { - "scope": [ - "support.type.vendored.property-name", - "support.type.property-name", - "variable.css", - "variable.scss", - "variable.other.less", - "source.coffee.embedded" - ], - "settings": { - "foreground": "#ff0000" - } - }, - { - "scope": [ - "support.type.property-name.json" - ], - "settings": { - "foreground": "#0451a5" - } - }, - { - "scope": "keyword", - "settings": { - "foreground": "#0000ff" - } - }, - { - "scope": "keyword.control", - "settings": { - "foreground": "#0000ff" - } - }, - { - "scope": "keyword.operator", - "settings": { - "foreground": "#000000" - } - }, - { - "scope": [ - "keyword.operator.new", - "keyword.operator.expression", - "keyword.operator.cast", - "keyword.operator.sizeof", - "keyword.operator.instanceof", - "keyword.operator.logical.python" - ], - "settings": { - "foreground": "#0000ff" - } - }, - { - "scope": "keyword.other.unit", - "settings": { - "foreground": "#09885a" - } - }, - { - "scope": [ - "punctuation.section.embedded.begin.php", - "punctuation.section.embedded.end.php" - ], - "settings": { - "foreground": "#800000" - } - }, - { - "scope": "support.function.git-rebase", - "settings": { - "foreground": "#0451a5" - } - }, - { - "scope": "constant.sha.git-rebase", - "settings": { - "foreground": "#09885a" - } - }, - { - "name": "coloring of the Java import and package identifiers", - "scope": [ - "storage.modifier.import.java", - "variable.language.wildcard.java", - "storage.modifier.package.java" - ], - "settings": { - "foreground": "#000000" - } - }, - { - "name": "this.self", - "scope": "variable.language", - "settings": { - "foreground": "#0000ff" - } - } - ] -} \ No newline at end of file + "$schema": "vscode://schemas/color-theme", + "name": "Light (Visual Studio)", + "include": "./light_defaults.json", + "tokenColors": [ + { + "scope": ["meta.embedded", "source.groovy.embedded"], + "settings": { + "foreground": "#000000ff" + } + }, + { + "scope": "emphasis", + "settings": { + "fontStyle": "italic" + } + }, + { + "scope": "strong", + "settings": { + "fontStyle": "bold" + } + }, + { + "scope": "meta.diff.header", + "settings": { + "foreground": "#000080" + } + }, + { + "scope": "comment", + "settings": { + "foreground": "#008000" + } + }, + { + "scope": "constant.language", + "settings": { + "foreground": "#0000ff" + } + }, + { + "scope": ["constant.numeric"], + "settings": { + "foreground": "#09885a" + } + }, + { + "scope": "constant.regexp", + "settings": { + "foreground": "#811f3f" + } + }, + { + "name": "css tags in selectors, xml tags", + "scope": "entity.name.tag", + "settings": { + "foreground": "#800000" + } + }, + { + "scope": "entity.name.selector", + "settings": { + "foreground": "#800000" + } + }, + { + "scope": "entity.other.attribute-name", + "settings": { + "foreground": "#ff0000" + } + }, + { + "scope": [ + "entity.other.attribute-name.class.css", + "entity.other.attribute-name.class.mixin.css", + "entity.other.attribute-name.id.css", + "entity.other.attribute-name.parent-selector.css", + "entity.other.attribute-name.pseudo-class.css", + "entity.other.attribute-name.pseudo-element.css", + "source.css.less entity.other.attribute-name.id", + "entity.other.attribute-name.attribute.scss", + "entity.other.attribute-name.scss" + ], + "settings": { + "foreground": "#800000" + } + }, + { + "scope": "invalid", + "settings": { + "foreground": "#cd3131" + } + }, + { + "scope": "markup.underline", + "settings": { + "fontStyle": "underline" + } + }, + { + "scope": "markup.bold", + "settings": { + "fontStyle": "bold", + "foreground": "#000080" + } + }, + { + "scope": "markup.heading", + "settings": { + "fontStyle": "bold", + "foreground": "#800000" + } + }, + { + "scope": "markup.italic", + "settings": { + "fontStyle": "italic" + } + }, + { + "scope": "markup.inserted", + "settings": { + "foreground": "#09885a" + } + }, + { + "scope": "markup.deleted", + "settings": { + "foreground": "#a31515" + } + }, + { + "scope": "markup.changed", + "settings": { + "foreground": "#0451a5" + } + }, + { + "scope": [ + "punctuation.definition.quote.begin.markdown", + "punctuation.definition.list.begin.markdown" + ], + "settings": { + "foreground": "#0451a5" + } + }, + { + "scope": "markup.inline.raw", + "settings": { + "foreground": "#800000" + } + }, + { + "name": "brackets of XML/HTML tags", + "scope": "punctuation.definition.tag", + "settings": { + "foreground": "#800000" + } + }, + { + "scope": "meta.preprocessor", + "settings": { + "foreground": "#0000ff" + } + }, + { + "scope": "meta.preprocessor.string", + "settings": { + "foreground": "#a31515" + } + }, + { + "scope": "meta.preprocessor.numeric", + "settings": { + "foreground": "#09885a" + } + }, + { + "scope": "meta.structure.dictionary.key.python", + "settings": { + "foreground": "#0451a5" + } + }, + { + "scope": "storage", + "settings": { + "foreground": "#0000ff" + } + }, + { + "scope": "storage.type", + "settings": { + "foreground": "#0000ff" + } + }, + { + "scope": "storage.modifier", + "settings": { + "foreground": "#0000ff" + } + }, + { + "scope": "string", + "settings": { + "foreground": "#a31515" + } + }, + { + "scope": [ + "string.comment.buffered.block.pug", + "string.quoted.pug", + "string.interpolated.pug", + "string.unquoted.plain.in.yaml", + "string.unquoted.plain.out.yaml", + "string.unquoted.block.yaml", + "string.quoted.single.yaml", + "string.quoted.double.xml", + "string.quoted.single.xml", + "string.unquoted.cdata.xml", + "string.quoted.double.html", + "string.quoted.single.html", + "string.unquoted.html", + "string.quoted.single.handlebars", + "string.quoted.double.handlebars" + ], + "settings": { + "foreground": "#0000ff" + } + }, + { + "scope": "string.regexp", + "settings": { + "foreground": "#811f3f" + } + }, + { + "name": "String interpolation", + "scope": [ + "punctuation.definition.template-expression.begin", + "punctuation.definition.template-expression.end", + "punctuation.section.embedded" + ], + "settings": { + "foreground": "#0000ff" + } + }, + { + "name": "Reset JavaScript string interpolation expression", + "scope": ["meta.template.expression"], + "settings": { + "foreground": "#000000" + } + }, + { + "scope": [ + "support.constant.property-value", + "support.constant.font-name", + "support.constant.media-type", + "support.constant.media", + "constant.other.color.rgb-value", + "constant.other.rgb-value", + "support.constant.color" + ], + "settings": { + "foreground": "#0451a5" + } + }, + { + "scope": [ + "support.type.vendored.property-name", + "support.type.property-name", + "variable.css", + "variable.scss", + "variable.other.less", + "source.coffee.embedded" + ], + "settings": { + "foreground": "#ff0000" + } + }, + { + "scope": ["support.type.property-name.json"], + "settings": { + "foreground": "#0451a5" + } + }, + { + "scope": "keyword", + "settings": { + "foreground": "#0000ff" + } + }, + { + "scope": "keyword.control", + "settings": { + "foreground": "#0000ff" + } + }, + { + "scope": "keyword.operator", + "settings": { + "foreground": "#000000" + } + }, + { + "scope": [ + "keyword.operator.new", + "keyword.operator.expression", + "keyword.operator.cast", + "keyword.operator.sizeof", + "keyword.operator.instanceof", + "keyword.operator.logical.python" + ], + "settings": { + "foreground": "#0000ff" + } + }, + { + "scope": "keyword.other.unit", + "settings": { + "foreground": "#09885a" + } + }, + { + "scope": [ + "punctuation.section.embedded.begin.php", + "punctuation.section.embedded.end.php" + ], + "settings": { + "foreground": "#800000" + } + }, + { + "scope": "support.function.git-rebase", + "settings": { + "foreground": "#0451a5" + } + }, + { + "scope": "constant.sha.git-rebase", + "settings": { + "foreground": "#09885a" + } + }, + { + "name": "coloring of the Java import and package identifiers", + "scope": [ + "storage.modifier.import.java", + "variable.language.wildcard.java", + "storage.modifier.package.java" + ], + "settings": { + "foreground": "#000000" + } + }, + { + "name": "this.self", + "scope": "variable.language", + "settings": { + "foreground": "#0000ff" + } + } + ] +} diff --git a/themes/solarized-light-color-theme.json b/themes/solarized-light-color-theme.json index 0cdddf7..c02d058 100644 --- a/themes/solarized-light-color-theme.json +++ b/themes/solarized-light-color-theme.json @@ -4,496 +4,474 @@ changelog: + load default token coloring from 'light_sva_default_highlights.json' */ { - "name": "Solarized (light)", - "include": "./light_sva_default_highlights.json", - "tokenColors": [ - { - "settings": { - "background": "#FDF6E3", - "foreground": "#657B83" - } - }, - { - "scope": ["meta.embedded", "source.groovy.embedded"], - "settings": { - "background": "#FDF6E3", - "foreground": "#657B83" - } - }, - { - "name": "Comment", - "scope": "comment", - "settings": { - "fontStyle": "italic", - "foreground": "#93A1A1" - } - }, - { - "name": "String", - "scope": "string", - "settings": { - "foreground": "#2AA198" - } - }, - { - "name": "Regexp", - "scope": "string.regexp", - "settings": { - "foreground": "#D30102" - } - }, - { - "name": "Number", - "scope": "constant.numeric", - "settings": { - "foreground": "#D33682" - } - }, - { - "name": "Variable", - "scope": [ - "variable.language", - "variable.other" - ], - "settings": { - "foreground": "#268BD2" - } - }, - { - "name": "Keyword", - "scope": "keyword", - "settings": { - "foreground": "#859900" - } - }, - { - "name": "Storage", - "scope": "storage", - "settings": { - "fontStyle": "bold", - "foreground": "#073642" - } - }, - { - "name": "Class name", - "scope": [ - "entity.name.class", - "entity.name.type", - "entity.name.namespace", - "entity.name.scope-resolution" - ], - "settings": { - "foreground": "#268BD2" - } - }, - { - "name": "Function name", - "scope": "entity.name.function", - "settings": { - "foreground": "#268BD2" - } - }, - { - "name": "Variable start", - "scope": "punctuation.definition.variable", - "settings": { - "foreground": "#859900" - } - }, - { - "name": "Embedded code markers", - "scope": [ - "punctuation.section.embedded.begin", - "punctuation.section.embedded.end" - ], - "settings": { - "foreground": "#D30102" - } - }, - { - "name": "Built-in constant", - "scope": [ - "constant.language", - "meta.preprocessor" - ], - "settings": { - "foreground": "#B58900" - } - }, - { - "name": "Support.construct", - "scope": [ - "support.function.construct", - "keyword.other.new" - ], - "settings": { - "foreground": "#D30102" - } - }, - { - "name": "User-defined constant", - "scope": [ - "constant.character", - "constant.other" - ], - "settings": { - "foreground": "#CB4B16" - } - }, - { - "name": "Inherited class", - "scope": "entity.other.inherited-class", - "settings": {} - }, - { - "name": "Function argument", - "scope": "variable.parameter", - "settings": {} - }, - { - "name": "Tag name", - "scope": "entity.name.tag", - "settings": { - "foreground": "#268BD2" - } - }, - { - "name": "Tag start/end", - "scope": [ - "punctuation.definition.tag.begin", - "punctuation.definition.tag.end" - ], - "settings": { - "foreground": "#93A1A1" - } - }, - { - "name": "Tag attribute", - "scope": "entity.other.attribute-name", - "settings": { - "foreground": "#93A1A1" - } - }, - { - "name": "Library function", - "scope": "support.function", - "settings": { - "foreground": "#268BD2" - } - }, - { - "name": "Continuation", - "scope": "punctuation.separator.continuation", - "settings": { - "foreground": "#D30102" - } - }, - { - "name": "Library constant", - "scope": "support.constant", - "settings": {} - }, - { - "name": "Library class/type", - "scope": [ - "support.type", - "support.class" - ], - "settings": { - "foreground": "#859900" - } - }, - { - "name": "Library Exception", - "scope": "support.type.exception", - "settings": { - "foreground": "#CB4B16" - } - }, - { - "name": "Library variable", - "scope": "support.other.variable", - "settings": {} - }, - { - "name": "Invalid", - "scope": "invalid", - "settings": {} - }, - { - "name": "diff: header", - "scope": [ - "meta.diff", - "meta.diff.header" - ], - "settings": { - "background": "#b58900", - "fontStyle": "italic", - "foreground": "#E0EDDD" - } - }, - { - "name": "diff: deleted", - "scope": "markup.deleted", - "settings": { - "background": "#eee8d5", - "fontStyle": "", - "foreground": "#dc322f" - } - }, - { - "name": "diff: changed", - "scope": "markup.changed", - "settings": { - "background": "#eee8d5", - "fontStyle": "", - "foreground": "#cb4b16" - } - }, - { - "name": "diff: inserted", - "scope": "markup.inserted", - "settings": { - "background": "#eee8d5", - "foreground": "#219186" - } - }, - { - "name": "Markup Quote", - "scope": "markup.quote", - "settings": { - "foreground": "#859900" - } - }, - { - "name": "Markup Lists", - "scope": "markup.list", - "settings": { - "foreground": "#B58900" - } - }, - { - "name": "Markup Styling", - "scope": [ - "markup.bold", - "markup.italic" - ], - "settings": { - "foreground": "#D33682" - } - }, - { - "name": "Markup Inline", - "scope": "markup.inline.raw", - "settings": { - "fontStyle": "", - "foreground": "#2AA198" - } - }, - { - "name": "Markup Headings", - "scope": "markup.heading", - "settings": { - "foreground": "#268BD2" - } - }, - { - "name": "Markup Setext Header", - "scope": "markup.heading.setext", - "settings": { - "fontStyle": "", - "foreground": "#268BD2" - } - } - ], - "colors": { + "name": "Solarized (light)", + "include": "./light_sva_default_highlights.json", + "tokenColors": [ + { + "settings": { + "background": "#FDF6E3", + "foreground": "#657B83" + } + }, + { + "scope": ["meta.embedded", "source.groovy.embedded"], + "settings": { + "background": "#FDF6E3", + "foreground": "#657B83" + } + }, + { + "name": "Comment", + "scope": "comment", + "settings": { + "fontStyle": "italic", + "foreground": "#93A1A1" + } + }, + { + "name": "String", + "scope": "string", + "settings": { + "foreground": "#2AA198" + } + }, + { + "name": "Regexp", + "scope": "string.regexp", + "settings": { + "foreground": "#D30102" + } + }, + { + "name": "Number", + "scope": "constant.numeric", + "settings": { + "foreground": "#D33682" + } + }, + { + "name": "Variable", + "scope": ["variable.language", "variable.other"], + "settings": { + "foreground": "#268BD2" + } + }, + { + "name": "Keyword", + "scope": "keyword", + "settings": { + "foreground": "#859900" + } + }, + { + "name": "Storage", + "scope": "storage", + "settings": { + "fontStyle": "bold", + "foreground": "#073642" + } + }, + { + "name": "Class name", + "scope": [ + "entity.name.class", + "entity.name.type", + "entity.name.namespace", + "entity.name.scope-resolution" + ], + "settings": { + "foreground": "#268BD2" + } + }, + { + "name": "Function name", + "scope": "entity.name.function", + "settings": { + "foreground": "#268BD2" + } + }, + { + "name": "Variable start", + "scope": "punctuation.definition.variable", + "settings": { + "foreground": "#859900" + } + }, + { + "name": "Embedded code markers", + "scope": [ + "punctuation.section.embedded.begin", + "punctuation.section.embedded.end" + ], + "settings": { + "foreground": "#D30102" + } + }, + { + "name": "Built-in constant", + "scope": ["constant.language", "meta.preprocessor"], + "settings": { + "foreground": "#B58900" + } + }, + { + "name": "Support.construct", + "scope": ["support.function.construct", "keyword.other.new"], + "settings": { + "foreground": "#D30102" + } + }, + { + "name": "User-defined constant", + "scope": ["constant.character", "constant.other"], + "settings": { + "foreground": "#CB4B16" + } + }, + { + "name": "Inherited class", + "scope": "entity.other.inherited-class", + "settings": {} + }, + { + "name": "Function argument", + "scope": "variable.parameter", + "settings": {} + }, + { + "name": "Tag name", + "scope": "entity.name.tag", + "settings": { + "foreground": "#268BD2" + } + }, + { + "name": "Tag start/end", + "scope": [ + "punctuation.definition.tag.begin", + "punctuation.definition.tag.end" + ], + "settings": { + "foreground": "#93A1A1" + } + }, + { + "name": "Tag attribute", + "scope": "entity.other.attribute-name", + "settings": { + "foreground": "#93A1A1" + } + }, + { + "name": "Library function", + "scope": "support.function", + "settings": { + "foreground": "#268BD2" + } + }, + { + "name": "Continuation", + "scope": "punctuation.separator.continuation", + "settings": { + "foreground": "#D30102" + } + }, + { + "name": "Library constant", + "scope": "support.constant", + "settings": {} + }, + { + "name": "Library class/type", + "scope": ["support.type", "support.class"], + "settings": { + "foreground": "#859900" + } + }, + { + "name": "Library Exception", + "scope": "support.type.exception", + "settings": { + "foreground": "#CB4B16" + } + }, + { + "name": "Library variable", + "scope": "support.other.variable", + "settings": {} + }, + { + "name": "Invalid", + "scope": "invalid", + "settings": {} + }, + { + "name": "diff: header", + "scope": ["meta.diff", "meta.diff.header"], + "settings": { + "background": "#b58900", + "fontStyle": "italic", + "foreground": "#E0EDDD" + } + }, + { + "name": "diff: deleted", + "scope": "markup.deleted", + "settings": { + "background": "#eee8d5", + "fontStyle": "", + "foreground": "#dc322f" + } + }, + { + "name": "diff: changed", + "scope": "markup.changed", + "settings": { + "background": "#eee8d5", + "fontStyle": "", + "foreground": "#cb4b16" + } + }, + { + "name": "diff: inserted", + "scope": "markup.inserted", + "settings": { + "background": "#eee8d5", + "foreground": "#219186" + } + }, + { + "name": "Markup Quote", + "scope": "markup.quote", + "settings": { + "foreground": "#859900" + } + }, + { + "name": "Markup Lists", + "scope": "markup.list", + "settings": { + "foreground": "#B58900" + } + }, + { + "name": "Markup Styling", + "scope": ["markup.bold", "markup.italic"], + "settings": { + "foreground": "#D33682" + } + }, + { + "name": "Markup Inline", + "scope": "markup.inline.raw", + "settings": { + "fontStyle": "", + "foreground": "#2AA198" + } + }, + { + "name": "Markup Headings", + "scope": "markup.heading", + "settings": { + "foreground": "#268BD2" + } + }, + { + "name": "Markup Setext Header", + "scope": "markup.heading.setext", + "settings": { + "fontStyle": "", + "foreground": "#268BD2" + } + } + ], + "colors": { + // Base + // "foreground": "", + "focusBorder": "#D3AF86", + // "contrastActiveBorder": "", + // "contrastBorder": "", - // Base - // "foreground": "", - "focusBorder": "#D3AF86", - // "contrastActiveBorder": "", - // "contrastBorder": "", + // "widget.shadow": "", - // "widget.shadow": "", + "input.background": "#DDD6C1", + // "input.border": "", + "input.foreground": "#586E75", + "input.placeholderForeground": "#586E75AA", + "inputOption.activeBorder": "#D3AF86", + // "inputValidation.infoBorder": "", + // "inputValidation.infoBackground": "", + // "inputValidation.warningBackground": "", + // "inputValidation.warningBorder": "", + // "inputValidation.errorBackground": "", + // "inputValidation.errorBorder": "", - "input.background": "#DDD6C1", - // "input.border": "", - "input.foreground": "#586E75", - "input.placeholderForeground": "#586E75AA", - "inputOption.activeBorder": "#D3AF86", - // "inputValidation.infoBorder": "", - // "inputValidation.infoBackground": "", - // "inputValidation.warningBackground": "", - // "inputValidation.warningBorder": "", - // "inputValidation.errorBackground": "", - // "inputValidation.errorBorder": "", + "badge.background": "#B58900AA", + "progressBar.background": "#B58900", - "badge.background": "#B58900AA", - "progressBar.background": "#B58900", + "dropdown.background": "#EEE8D5", + // "dropdown.foreground": "", + "dropdown.border": "#D3AF86", - "dropdown.background": "#EEE8D5", - // "dropdown.foreground": "", - "dropdown.border": "#D3AF86", + "button.background": "#AC9D57", + // "button.foreground": "", - "button.background": "#AC9D57", - // "button.foreground": "", + "selection.background": "#CCC4B0", - "selection.background": "#CCC4B0", + "list.activeSelectionBackground": "#DFCA88", + "list.activeSelectionForeground": "#6C6C6C", + "list.focusBackground": "#DFCA8866", + "list.hoverBackground": "#DFCA8844", + "list.inactiveSelectionBackground": "#D1CBB8", + "list.highlightForeground": "#B58900", - "list.activeSelectionBackground": "#DFCA88", - "list.activeSelectionForeground": "#6C6C6C", - "list.focusBackground": "#DFCA8866", - "list.hoverBackground": "#DFCA8844", - "list.inactiveSelectionBackground": "#D1CBB8", - "list.highlightForeground": "#B58900", + // "scrollbar.shadow": "", + // "scrollbarSlider.activeBackground": "", + // "scrollbarSlider.background": "", + // "scrollbarSlider.hoverBackground": "", - // "scrollbar.shadow": "", - // "scrollbarSlider.activeBackground": "", - // "scrollbarSlider.background": "", - // "scrollbarSlider.hoverBackground": "", + // Editor + "editor.background": "#FDF6E3", + // "editor.foreground": "#6688cc", + "editorWidget.background": "#EEE8D5", + "editorCursor.foreground": "#657B83", + "editorWhitespace.foreground": "#586E7580", + "editor.lineHighlightBackground": "#EEE8D5", + "editor.selectionBackground": "#EEE8D5", + "editorIndentGuide.background": "#586E7580", + "editorIndentGuide.activeBackground": "#081E2580", + "editorHoverWidget.background": "#CCC4B0", + "editorLineNumber.activeForeground": "#567983", + // "editorHoverWidget.border": "", + // "editorLineNumber.foreground": "", + // "editorMarkerNavigation.background": "", + // "editorMarkerNavigationError.background": "", + // "editorMarkerNavigationWarning.background": "", + // "editorLink.activeForeground": "", + // "editor.findMatchBackground": "", + // "editor.findMatchHighlightBackground": "", + // "editor.findRangeHighlightBackground": "", + // "editor.hoverHighlightBackground": "", + // "editor.inactiveSelectionBackground": "", + // "editor.lineHighlightBorder": "", + // "editor.rangeHighlightBackground": "", + // "editor.selectionHighlightBackground": "", + // "editor.wordHighlightBackground": "", + // "editor.wordHighlightStrongBackground": "", - // Editor - "editor.background": "#FDF6E3", - // "editor.foreground": "#6688cc", - "editorWidget.background": "#EEE8D5", - "editorCursor.foreground": "#657B83", - "editorWhitespace.foreground": "#586E7580", - "editor.lineHighlightBackground": "#EEE8D5", - "editor.selectionBackground": "#EEE8D5", - "editorIndentGuide.background": "#586E7580", - "editorIndentGuide.activeBackground": "#081E2580", - "editorHoverWidget.background": "#CCC4B0", - "editorLineNumber.activeForeground": "#567983", - // "editorHoverWidget.border": "", - // "editorLineNumber.foreground": "", - // "editorMarkerNavigation.background": "", - // "editorMarkerNavigationError.background": "", - // "editorMarkerNavigationWarning.background": "", - // "editorLink.activeForeground": "", - // "editor.findMatchBackground": "", - // "editor.findMatchHighlightBackground": "", - // "editor.findRangeHighlightBackground": "", - // "editor.hoverHighlightBackground": "", - // "editor.inactiveSelectionBackground": "", - // "editor.lineHighlightBorder": "", - // "editor.rangeHighlightBackground": "", - // "editor.selectionHighlightBackground": "", - // "editor.wordHighlightBackground": "", - // "editor.wordHighlightStrongBackground": "", + // Editor: Suggest Widget + // "editorSuggestWidget.background": "", + // "editorSuggestWidget.border": "", + // "editorSuggestWidget.foreground": "", + // "editorSuggestWidget.highlightForeground": "", + // "editorSuggestWidget.selectedBackground": "", - // Editor: Suggest Widget - // "editorSuggestWidget.background": "", - // "editorSuggestWidget.border": "", - // "editorSuggestWidget.foreground": "", - // "editorSuggestWidget.highlightForeground": "", - // "editorSuggestWidget.selectedBackground": "", + // Editor: Peek View + "peekViewResult.background": "#EEE8D5", + // "peekViewResult.lineForeground": "", + // "peekViewResult.selectionBackground": "", + // "peekViewResult.selectionForeground": "", + "peekViewEditor.background": "#FFFBF2", + "peekViewTitle.background": "#EEE8D5", + "peekView.border": "#B58900", + "peekViewEditor.matchHighlightBackground": "#7744AA40", + // "peekViewResult.fileForeground": "", + // "peekViewResult.matchHighlightBackground": "", + // "peekViewTitleLabel.foreground": "", + // "peekViewTitleDescription.foreground": "", - // Editor: Peek View - "peekViewResult.background": "#EEE8D5", - // "peekViewResult.lineForeground": "", - // "peekViewResult.selectionBackground": "", - // "peekViewResult.selectionForeground": "", - "peekViewEditor.background": "#FFFBF2", - "peekViewTitle.background": "#EEE8D5", - "peekView.border": "#B58900", - "peekViewEditor.matchHighlightBackground": "#7744AA40", - // "peekViewResult.fileForeground": "", - // "peekViewResult.matchHighlightBackground": "", - // "peekViewTitleLabel.foreground": "", - // "peekViewTitleDescription.foreground": "", + // Editor: Diff + // "diffEditor.insertedTextBackground": "", + // "diffEditor.insertedTextBorder": "", + // "diffEditor.removedTextBackground": "", + // "diffEditor.removedTextBorder": "", - // Editor: Diff - // "diffEditor.insertedTextBackground": "", - // "diffEditor.insertedTextBorder": "", - // "diffEditor.removedTextBackground": "", - // "diffEditor.removedTextBorder": "", + // Workbench: Title + "titleBar.activeBackground": "#EEE8D5", + // "titleBar.activeForeground": "", + // "titleBar.inactiveBackground": "", + // "titleBar.inactiveForeground": "", - // Workbench: Title - "titleBar.activeBackground": "#EEE8D5", - // "titleBar.activeForeground": "", - // "titleBar.inactiveBackground": "", - // "titleBar.inactiveForeground": "", + // Workbench: Editors + // "editorGroupHeader.noTabsBackground": "", + "editorGroup.border": "#DDD6C1", + "editorGroup.dropBackground": "#DDD6C1AA", + "editorGroupHeader.tabsBackground": "#D9D2C2", - // Workbench: Editors - // "editorGroupHeader.noTabsBackground": "", - "editorGroup.border": "#DDD6C1", - "editorGroup.dropBackground": "#DDD6C1AA", - "editorGroupHeader.tabsBackground": "#D9D2C2", + // Workbench: Tabs + "tab.border": "#DDD6C1", + "tab.activeBackground": "#FDF6E3", + "tab.inactiveForeground": "#586E75", + "tab.inactiveBackground": "#D3CBB7", + "tab.modifiedBorder": "#cb4b16", + // "tab.activeBackground": "", + // "tab.activeForeground": "", + // "tab.inactiveForeground": "", - // Workbench: Tabs - "tab.border": "#DDD6C1", - "tab.activeBackground": "#FDF6E3", - "tab.inactiveForeground": "#586E75", - "tab.inactiveBackground": "#D3CBB7", - "tab.modifiedBorder": "#cb4b16", - // "tab.activeBackground": "", - // "tab.activeForeground": "", - // "tab.inactiveForeground": "", + // Workbench: Activity Bar + "activityBar.background": "#DDD6C1", + "activityBar.foreground": "#584c27", + "activityBar.dropBackground": "#EEE8D5", + "activityBarBadge.background": "#B58900", + // "activityBarBadge.foreground": "", - // Workbench: Activity Bar - "activityBar.background": "#DDD6C1", - "activityBar.foreground": "#584c27", - "activityBar.dropBackground": "#EEE8D5", - "activityBarBadge.background": "#B58900", - // "activityBarBadge.foreground": "", + // Workbench: Panel + // "panel.background": "", + "panel.border": "#DDD6C1", + // "panelTitle.activeBorder": "", + // "panelTitle.activeForeground": "", + // "panelTitle.inactiveForeground": "", - // Workbench: Panel - // "panel.background": "", - "panel.border": "#DDD6C1", - // "panelTitle.activeBorder": "", - // "panelTitle.activeForeground": "", - // "panelTitle.inactiveForeground": "", + // Workbench: Side Bar + "sideBar.background": "#EEE8D5", + "sideBarTitle.foreground": "#586E75", + // "sideBarSectionHeader.background": "", - // Workbench: Side Bar - "sideBar.background": "#EEE8D5", - "sideBarTitle.foreground": "#586E75", - // "sideBarSectionHeader.background": "", + // Workbench: Status Bar + "statusBar.foreground": "#586E75", + "statusBar.background": "#EEE8D5", + "statusBar.debuggingBackground": "#EEE8D5", + "statusBar.noFolderBackground": "#EEE8D5", + // "statusBar.foreground": "", + "statusBarItem.remoteBackground": "#AC9D57", + "statusBarItem.prominentBackground": "#DDD6C1", + "statusBarItem.prominentHoverBackground": "#DDD6C199", + // "statusBarItem.activeBackground": "", + // "statusBarItem.hoverBackground": "", - // Workbench: Status Bar - "statusBar.foreground": "#586E75", - "statusBar.background": "#EEE8D5", - "statusBar.debuggingBackground": "#EEE8D5", - "statusBar.noFolderBackground": "#EEE8D5", - // "statusBar.foreground": "", - "statusBarItem.remoteBackground": "#AC9D57", - "statusBarItem.prominentBackground": "#DDD6C1", - "statusBarItem.prominentHoverBackground": "#DDD6C199", - // "statusBarItem.activeBackground": "", - // "statusBarItem.hoverBackground": "", + // Workbench: Debug + "debugToolBar.background": "#DDD6C1", + "debugExceptionWidget.background": "#DDD6C1", + "debugExceptionWidget.border": "#AB395B", - // Workbench: Debug - "debugToolBar.background": "#DDD6C1", - "debugExceptionWidget.background": "#DDD6C1", - "debugExceptionWidget.border": "#AB395B", + // Workbench: Quick Open + "pickerGroup.border": "#2AA19899", + "pickerGroup.foreground": "#2AA19899", - // Workbench: Quick Open - "pickerGroup.border": "#2AA19899", - "pickerGroup.foreground": "#2AA19899", + // Extensions + "extensionButton.prominentBackground": "#b58900", + "extensionButton.prominentHoverBackground": "#584c27aa", - // Extensions - "extensionButton.prominentBackground": "#b58900", - "extensionButton.prominentHoverBackground": "#584c27aa", + // Workbench: Terminal + // Colors sourced from the official palette http://ethanschoonover.com/solarized + "terminal.ansiBlack": "#073642", + "terminal.ansiRed": "#dc322f", + "terminal.ansiGreen": "#859900", + "terminal.ansiYellow": "#b58900", + "terminal.ansiBlue": "#268bd2", + "terminal.ansiMagenta": "#d33682", + "terminal.ansiCyan": "#2aa198", + "terminal.ansiWhite": "#eee8d5", + "terminal.ansiBrightBlack": "#586e75", + "terminal.ansiBrightRed": "#cb4b16", + "terminal.ansiBrightGreen": "#586e75", + "terminal.ansiBrightYellow": "#657b83", + "terminal.ansiBrightBlue": "#839496", + "terminal.ansiBrightMagenta": "#6c71c4", + "terminal.ansiBrightCyan": "#93a1a1", + "terminal.ansiBrightWhite": "#eee8d5", - // Workbench: Terminal - // Colors sourced from the official palette http://ethanschoonover.com/solarized - "terminal.ansiBlack": "#073642", - "terminal.ansiRed": "#dc322f", - "terminal.ansiGreen": "#859900", - "terminal.ansiYellow": "#b58900", - "terminal.ansiBlue": "#268bd2", - "terminal.ansiMagenta": "#d33682", - "terminal.ansiCyan": "#2aa198", - "terminal.ansiWhite": "#eee8d5", - "terminal.ansiBrightBlack": "#586e75", - "terminal.ansiBrightRed": "#cb4b16", - "terminal.ansiBrightGreen": "#586e75", - "terminal.ansiBrightYellow": "#657b83", - "terminal.ansiBrightBlue": "#839496", - "terminal.ansiBrightMagenta": "#6c71c4", - "terminal.ansiBrightCyan": "#93a1a1", - "terminal.ansiBrightWhite": "#eee8d5", - - // Interactive Playground - "walkThrough.embeddedEditorBackground": "#00000014" - } -} \ No newline at end of file + // Interactive Playground + "walkThrough.embeddedEditorBackground": "#00000014" + } +} diff --git a/tsconfig.json b/tsconfig.json index 1b11805..791abbf 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,21 +1,16 @@ { - "compilerOptions": { - "module": "commonjs", - "target": "es6", - "outDir": "dist", - "lib": [ - "es6" - ], - "sourceMap": true, - "rootDir": "src", - "strict": true /* enable all strict type-checking options */ - /* Additional Checks */ - // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ - // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ - // "noUnusedParameters": true, /* Report errors on unused parameters. */ - }, - "exclude": [ - "node_modules", - ".vscode-test" - ] + "compilerOptions": { + "module": "commonjs", + "target": "es6", + "outDir": "dist", + "lib": ["es6"], + "sourceMap": true, + "rootDir": "src", + "strict": true /* enable all strict type-checking options */ + /* Additional Checks */ + // "noImplicitReturns": true, /* Report error when not all code paths in function return a value. */ + // "noFallthroughCasesInSwitch": true, /* Report errors for fallthrough cases in switch statement. */ + // "noUnusedParameters": true, /* Report errors on unused parameters. */ + }, + "exclude": ["node_modules", ".vscode-test"] } diff --git a/webpack.config.js b/webpack.config.js index 569a53e..1d85525 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -6,36 +6,36 @@ const path = require('path'); /**@type {import('webpack').Configuration}*/ const config = { - target: 'node', // vscode extensions run in a Node.js-context 📖 -> https://webpack.js.org/configuration/node/ - mode: 'none', // this leaves the source code as close as possible to the original (when packaging we set this to 'production') + target: 'node', // vscode extensions run in a Node.js-context 📖 -> https://webpack.js.org/configuration/node/ + mode: 'none', // this leaves the source code as close as possible to the original (when packaging we set this to 'production') - entry: './src/extension.ts', // the entry point of this extension, 📖 -> https://webpack.js.org/configuration/entry-context/ - output: { - // the bundle is stored in the 'dist' folder (check package.json), 📖 -> https://webpack.js.org/configuration/output/ - path: path.resolve(__dirname, 'dist'), - filename: 'extension.js', - libraryTarget: 'commonjs2' - }, - devtool: 'nosources-source-map', - externals: { - vscode: 'commonjs vscode' // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/ - }, - resolve: { - // support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader - extensions: ['.ts', '.js'] - }, - module: { - rules: [ - { - test: /\.ts$/, - exclude: /node_modules/, - use: [ - { - loader: 'ts-loader' - } - ] - } - ] - } + entry: './src/extension.ts', // the entry point of this extension, 📖 -> https://webpack.js.org/configuration/entry-context/ + output: { + // the bundle is stored in the 'dist' folder (check package.json), 📖 -> https://webpack.js.org/configuration/output/ + path: path.resolve(__dirname, 'dist'), + filename: 'extension.js', + libraryTarget: 'commonjs2' + }, + devtool: 'nosources-source-map', + externals: { + vscode: 'commonjs vscode' // the vscode-module is created on-the-fly and must be excluded. Add other modules that cannot be webpack'ed, 📖 -> https://webpack.js.org/configuration/externals/ + }, + resolve: { + // support reading TypeScript and JavaScript files, 📖 -> https://github.com/TypeStrong/ts-loader + extensions: ['.ts', '.js'] + }, + module: { + rules: [ + { + test: /\.ts$/, + exclude: /node_modules/, + use: [ + { + loader: 'ts-loader' + } + ] + } + ] + } }; -module.exports = config; \ No newline at end of file +module.exports = config; diff --git a/yarn.lock b/yarn.lock index 8899c77..ef0c8ba 100644 --- a/yarn.lock +++ b/yarn.lock @@ -22,6 +22,15 @@ minimatch "^3.1.2" strip-json-comments "^3.1.1" +"@humanwhocodes/config-array@^0.10.4": + version "0.10.4" + resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.10.4.tgz#01e7366e57d2ad104feea63e72248f22015c520c" + integrity sha512-mXAIHxZT3Vcpg83opl1wGlVZ9xydbfZO3r5YfRSH6Gpp2J/PfdBP0wbDa2sO6/qRbcalpoevVyW6A/fI6LfeMw== + dependencies: + "@humanwhocodes/object-schema" "^1.2.1" + debug "^4.1.1" + minimatch "^3.0.4" + "@humanwhocodes/config-array@^0.9.2": version "0.9.5" resolved "https://registry.yarnpkg.com/@humanwhocodes/config-array/-/config-array-0.9.5.tgz#2cbaf9a89460da24b5ca6531b8bbfc23e1df50c7" @@ -31,6 +40,11 @@ debug "^4.1.1" minimatch "^3.0.4" +"@humanwhocodes/gitignore-to-minimatch@^1.0.2": + version "1.0.2" + resolved "https://registry.yarnpkg.com/@humanwhocodes/gitignore-to-minimatch/-/gitignore-to-minimatch-1.0.2.tgz#316b0a63b91c10e53f242efb4ace5c3b34e8728d" + integrity sha512-rSqmMJDdLFUsyxR6FMtD00nfQKKLFb1kv+qBbOVKqErvloEIJLo5bDTJTQNTYgeyp78JsA7u/NPi5jT1GR/MuA== + "@humanwhocodes/object-schema@^1.2.1": version "1.2.1" resolved "https://registry.yarnpkg.com/@humanwhocodes/object-schema/-/object-schema-1.2.1.tgz#b520529ec21d8e5945a1851dfd1c32e94e39ff45" @@ -76,6 +90,27 @@ "@jridgewell/resolve-uri" "^3.0.3" "@jridgewell/sourcemap-codec" "^1.4.10" +"@nodelib/fs.scandir@2.1.5": + version "2.1.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5" + integrity sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g== + dependencies: + "@nodelib/fs.stat" "2.0.5" + run-parallel "^1.1.9" + +"@nodelib/fs.stat@2.0.5", "@nodelib/fs.stat@^2.0.2": + version "2.0.5" + resolved "https://registry.yarnpkg.com/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz#5bd262af94e9d25bd1e71b05deed44876a222e8b" + integrity sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A== + +"@nodelib/fs.walk@^1.2.3": + version "1.2.8" + resolved "https://registry.yarnpkg.com/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz#e95737e8bb6746ddedf69c556953494f196fe69a" + integrity sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg== + dependencies: + "@nodelib/fs.scandir" "2.1.5" + fastq "^1.6.0" + "@sindresorhus/is@^5.2.0": version "5.3.0" resolved "https://registry.yarnpkg.com/@sindresorhus/is/-/is-5.3.0.tgz#0ec9264cf54a527671d990eb874e030b55b70dcc" @@ -111,7 +146,7 @@ "@types/eslint" "*" "@types/estree" "*" -"@types/eslint@*": +"@types/eslint@*", "@types/eslint@^8.4.2": version "8.4.5" resolved "https://registry.yarnpkg.com/@types/eslint/-/eslint-8.4.5.tgz#acdfb7dd36b91cc5d812d7c093811a8f3d9b31e4" integrity sha512-dhsC09y1gpJWnK+Ff4SGvCuSnk9DaU0BJZSzOwa6GVSg65XtTugLBITDAAzRU5duGBoXBHpdR/9jHGxJjNflJQ== @@ -156,6 +191,11 @@ resolved "https://registry.yarnpkg.com/@types/node/-/node-18.6.1.tgz#828e4785ccca13f44e2fb6852ae0ef11e3e20ba5" integrity sha512-z+2vB6yDt1fNwKOeGbckpmirO+VBDuQqecXkgeIqDlaOtmKn6hPR/viQ8cxCfqLU4fTlvM3+YjM367TukWdxpg== +"@types/prettier@^2.6.0": + version "2.7.0" + resolved "https://registry.yarnpkg.com/@types/prettier/-/prettier-2.7.0.tgz#ea03e9f0376a4446f44797ca19d9c46c36e352dc" + integrity sha512-RI1L7N4JnW5gQw2spvL7Sllfuf1SaHdrZpCHiBlCXjIlufi1SMNnbu2teze3/QE67Fg2tBlH7W+mi4hVNk4p0A== + "@types/responselike@*", "@types/responselike@^1.0.0": version "1.0.0" resolved "https://registry.yarnpkg.com/@types/responselike/-/responselike-1.0.0.tgz#251f4fe7d154d2bad125abe1b429b23afd262e29" @@ -168,6 +208,50 @@ resolved "https://registry.yarnpkg.com/@types/vscode/-/vscode-1.69.0.tgz#a472011af392fbcf82cbb82f60b4c239c21b921c" integrity sha512-RlzDAnGqUoo9wS6d4tthNyAdZLxOIddLiX3djMoWk29jFfSA1yJbIwr0epBYqqYarWB6s2Z+4VaZCQ80Jaa3kA== +"@typescript-eslint/parser@^5.10.0": + version "5.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-5.33.0.tgz#26ec3235b74f0667414613727cb98f9b69dc5383" + integrity sha512-cgM5cJrWmrDV2KpvlcSkelTBASAs1mgqq+IUGKJvFxWrapHpaRy5EXPQz9YaKF3nZ8KY18ILTiVpUtbIac86/w== + dependencies: + "@typescript-eslint/scope-manager" "5.33.0" + "@typescript-eslint/types" "5.33.0" + "@typescript-eslint/typescript-estree" "5.33.0" + debug "^4.3.4" + +"@typescript-eslint/scope-manager@5.33.0": + version "5.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-5.33.0.tgz#509d7fa540a2c58f66bdcfcf278a3fa79002e18d" + integrity sha512-/Jta8yMNpXYpRDl8EwF/M8It2A9sFJTubDo0ATZefGXmOqlaBffEw0ZbkbQ7TNDK6q55NPHFshGBPAZvZkE8Pw== + dependencies: + "@typescript-eslint/types" "5.33.0" + "@typescript-eslint/visitor-keys" "5.33.0" + +"@typescript-eslint/types@5.33.0": + version "5.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-5.33.0.tgz#d41c584831805554b063791338b0220b613a275b" + integrity sha512-nIMt96JngB4MYFYXpZ/3ZNU4GWPNdBbcB5w2rDOCpXOVUkhtNlG2mmm8uXhubhidRZdwMaMBap7Uk8SZMU/ppw== + +"@typescript-eslint/typescript-estree@5.33.0": + version "5.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-5.33.0.tgz#02d9c9ade6f4897c09e3508c27de53ad6bfa54cf" + integrity sha512-tqq3MRLlggkJKJUrzM6wltk8NckKyyorCSGMq4eVkyL5sDYzJJcMgZATqmF8fLdsWrW7OjjIZ1m9v81vKcaqwQ== + dependencies: + "@typescript-eslint/types" "5.33.0" + "@typescript-eslint/visitor-keys" "5.33.0" + debug "^4.3.4" + globby "^11.1.0" + is-glob "^4.0.3" + semver "^7.3.7" + tsutils "^3.21.0" + +"@typescript-eslint/visitor-keys@5.33.0": + version "5.33.0" + resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-5.33.0.tgz#fbcbb074e460c11046e067bc3384b5d66b555484" + integrity sha512-/XsqCzD4t+Y9p5wd9HZiptuGKBlaZO5showwqODii5C0nZawxWLF+Q6k5wYHBrQv96h6GYKyqqMHCSTqta8Kiw== + dependencies: + "@typescript-eslint/types" "5.33.0" + eslint-visitor-keys "^3.3.0" + "@webassemblyjs/ast@1.11.1": version "1.11.1" resolved "https://registry.yarnpkg.com/@webassemblyjs/ast/-/ast-1.11.1.tgz#2bfd767eae1a6996f432ff7e8d7fc75679c0b6a7" @@ -326,7 +410,7 @@ acorn-jsx@^5.3.2: resolved "https://registry.yarnpkg.com/acorn-jsx/-/acorn-jsx-5.3.2.tgz#7ed5bb55908b3b2f1bc55c6af1653bada7f07937" integrity sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ== -acorn@^8.5.0, acorn@^8.7.1: +acorn@^8.5.0, acorn@^8.7.1, acorn@^8.8.0: version "8.8.0" resolved "https://registry.yarnpkg.com/acorn/-/acorn-8.8.0.tgz#88c0187620435c7f6015803f5539dae05a9dbea8" integrity sha512-QOxyigPVrpZ2GXT+PFyZTl6TtOFc5egxHIP9IlQ+RbupQuX4RkT/Bee4/kQuC02Xkzg84JcT7oLYtDIQxp+v7w== @@ -360,12 +444,27 @@ ajv@^6.10.0, ajv@^6.12.4, ajv@^6.12.5: json-schema-traverse "^0.4.1" uri-js "^4.2.2" +ansi-regex@^2.0.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-2.1.1.tgz#c3b33ab5ee360d86e0e628f0468ae7ef27d654df" + integrity sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA== + +ansi-regex@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-3.0.1.tgz#123d6479e92ad45ad897d4054e3c7ca7db4944e1" + integrity sha512-+O9Jct8wf++lXxxFc4hc8LsjaSq0HFzzL7cVsw8pRDIPdjKD2mT4ytDZlLuSBZ4cLKZFXIrMGO7DbQCtMJJMKw== + ansi-regex@^5.0.1: version "5.0.1" resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== -ansi-styles@^3.2.1: +ansi-styles@^2.2.1: + version "2.2.1" + resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-2.2.1.tgz#b432dd3358b634cf75e1e4664368240533c1ddbe" + integrity sha512-kmCevFghRiWM7HB5zTPULl4r9bVFSWjz62MhqizDGUrq2NWuNMQyuv4tHHoKJHs69M/MF64lEcHdYIocrdWQYA== + +ansi-styles@^3.2.0, ansi-styles@^3.2.1: version "3.2.1" resolved "https://registry.yarnpkg.com/ansi-styles/-/ansi-styles-3.2.1.tgz#41fbb20243e50b12be0f04b8dedbf07520ce841d" integrity sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA== @@ -384,6 +483,11 @@ argparse@^2.0.1: resolved "https://registry.yarnpkg.com/argparse/-/argparse-2.0.1.tgz#246f50f3ca78a3240f6c997e8a9bd1eac49e4b38" integrity sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q== +array-union@^2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" + integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== + azure-devops-node-api@^11.0.1: version "11.2.0" resolved "https://registry.yarnpkg.com/azure-devops-node-api/-/azure-devops-node-api-11.2.0.tgz#bf04edbef60313117a0507415eed4790a420ad6b" @@ -500,6 +604,17 @@ caniuse-lite@^1.0.30001366: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001370.tgz#0a30d4f20d38b9e108cc5ae7cc62df9fe66cd5ba" integrity sha512-3PDmaP56wz/qz7G508xzjx8C+MC2qEm4SYhSEzC9IBROo+dGXFWRuaXkWti0A9tuI00g+toiriVqxtWMgl350g== +chalk@^1.1.3: + version "1.1.3" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-1.1.3.tgz#a8115c55e4a702fe4d150abd3872822a7e09fc98" + integrity sha512-U3lRVLMSlsCfjqYPbLyVv11M9CPW4I728d6TCKMAOJueEeB9/8o+eSsMnxPJD+Q+K909sdESg7C+tIkoH6on1A== + dependencies: + ansi-styles "^2.2.1" + escape-string-regexp "^1.0.2" + has-ansi "^2.0.0" + strip-ansi "^3.0.0" + supports-color "^2.0.0" + chalk@^2.4.2: version "2.4.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-2.4.2.tgz#cd42541677a54333cf541a49108c1432b44c9424" @@ -617,6 +732,11 @@ commander@^7.0.0: resolved "https://registry.yarnpkg.com/commander/-/commander-7.2.0.tgz#a36cb57d0b501ce108e4d20559a150a391d97ab7" integrity sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw== +common-tags@^1.4.0: + version "1.8.2" + resolved "https://registry.yarnpkg.com/common-tags/-/common-tags-1.8.2.tgz#94ebb3c076d26032745fd54face7f688ef5ac9c6" + integrity sha512-gk/Z852D2Wtb//0I+kRFNKKE9dIIVirjoqPoA1wJU+XePVXZfGeBpk45+A1rKO4Q43prqWBNY/MiIeRLbPWUaA== + compress-brotli@^1.3.8: version "1.3.8" resolved "https://registry.yarnpkg.com/compress-brotli/-/compress-brotli-1.3.8.tgz#0c0a60c97a989145314ec381e84e26682e7b38db" @@ -667,7 +787,7 @@ debug@3.1.0: dependencies: ms "2.0.0" -debug@4, debug@^4.1.1, debug@^4.3.2: +debug@4, debug@^4.1.1, debug@^4.3.2, debug@^4.3.4: version "4.3.4" resolved "https://registry.yarnpkg.com/debug/-/debug-4.3.4.tgz#1319f6579357f2338d3337d2cdd4914bb5dcc865" integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ== @@ -713,6 +833,18 @@ diff@3.5.0: resolved "https://registry.yarnpkg.com/diff/-/diff-3.5.0.tgz#800c0dd1e0a8bfbc95835c202ad220fe317e5a12" integrity sha512-A46qtFgd+g7pDZinpnwiRJtxbC1hpgf0uzP3iG89scHk0AUC7A1TGxf5OiiOUv/JMZR8GOt8hL900hV0bOy5xA== +dir-glob@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/dir-glob/-/dir-glob-3.0.1.tgz#56dbf73d992a4a93ba1584f4534063fd2e41717f" + integrity sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA== + dependencies: + path-type "^4.0.0" + +dlv@^1.1.0: + version "1.1.3" + resolved "https://registry.yarnpkg.com/dlv/-/dlv-1.1.3.tgz#5c198a8a11453596e751494d49874bc7732f2e79" + integrity sha512-+HlytyjlPKnIG8XuRG8WvmBP8xs8P71y+SKKS6ZXWoEgLuePxtDoUEiH7WkdePWrQ5JBpE6aoVqfZfJUQkjXwA== + doctrine@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/doctrine/-/doctrine-3.0.0.tgz#addebead72a6574db783639dc87a121773973961" @@ -807,7 +939,7 @@ escalade@^3.1.1: resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40" integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw== -escape-string-regexp@1.0.5, escape-string-regexp@^1.0.5: +escape-string-regexp@1.0.5, escape-string-regexp@^1.0.2, escape-string-regexp@^1.0.5: version "1.0.5" resolved "https://registry.yarnpkg.com/escape-string-regexp/-/escape-string-regexp-1.0.5.tgz#1b61c0562190a8dff6ae3bb2cf0200ca130b86d4" integrity sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg== @@ -825,7 +957,7 @@ eslint-scope@5.1.1: esrecurse "^4.3.0" estraverse "^4.1.1" -eslint-scope@^7.1.1: +eslint-scope@^7.0.0, eslint-scope@^7.1.1: version "7.1.1" resolved "https://registry.yarnpkg.com/eslint-scope/-/eslint-scope-7.1.1.tgz#fff34894c2f65e5226d3041ac480b4513a163642" integrity sha512-QKQM/UXpIiHcLqJ5AOyIW7XZmzjkzQXYE54n1++wb0u9V/abW3l9uQnxX8Z5Xd18xyKIMTUAyQ0k1e8pz6LUrw== @@ -845,7 +977,7 @@ eslint-visitor-keys@^2.0.0: resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-2.1.0.tgz#f65328259305927392c938ed44eb0a5c9b2bd303" integrity sha512-0rSmRBzXgDzIsD6mGdJgevzgezI534Cer5L/vyMX0kHzT/jiB43jRhd9YUlMGYLQy2zprNmoT8qasCGtY+QaKw== -eslint-visitor-keys@^3.3.0: +eslint-visitor-keys@^3.1.0, eslint-visitor-keys@^3.3.0: version "3.3.0" resolved "https://registry.yarnpkg.com/eslint-visitor-keys/-/eslint-visitor-keys-3.3.0.tgz#f6480fa6b1f30efe2d1968aa8ac745b862469826" integrity sha512-mQ+suqKJVyeuwGYHAdjMFqjCyfl8+Ldnxuyp3ldiMBFKkvytrXUZWaiPCEav8qDHKty44bD+qV1IP4T+w+xXRA== @@ -891,6 +1023,60 @@ eslint@^8.20.0: text-table "^0.2.0" v8-compile-cache "^2.0.3" +eslint@^8.7.0: + version "8.22.0" + resolved "https://registry.yarnpkg.com/eslint/-/eslint-8.22.0.tgz#78fcb044196dfa7eef30a9d65944f6f980402c48" + integrity sha512-ci4t0sz6vSRKdmkOGmprBo6fmI4PrphDFMy5JEq/fNS0gQkJM3rLmrqcp8ipMcdobH3KtUP40KniAE9W19S4wA== + dependencies: + "@eslint/eslintrc" "^1.3.0" + "@humanwhocodes/config-array" "^0.10.4" + "@humanwhocodes/gitignore-to-minimatch" "^1.0.2" + ajv "^6.10.0" + chalk "^4.0.0" + cross-spawn "^7.0.2" + debug "^4.3.2" + doctrine "^3.0.0" + escape-string-regexp "^4.0.0" + eslint-scope "^7.1.1" + eslint-utils "^3.0.0" + eslint-visitor-keys "^3.3.0" + espree "^9.3.3" + esquery "^1.4.0" + esutils "^2.0.2" + fast-deep-equal "^3.1.3" + file-entry-cache "^6.0.1" + find-up "^5.0.0" + functional-red-black-tree "^1.0.1" + glob-parent "^6.0.1" + globals "^13.15.0" + globby "^11.1.0" + grapheme-splitter "^1.0.4" + ignore "^5.2.0" + import-fresh "^3.0.0" + imurmurhash "^0.1.4" + is-glob "^4.0.0" + js-yaml "^4.1.0" + json-stable-stringify-without-jsonify "^1.0.1" + levn "^0.4.1" + lodash.merge "^4.6.2" + minimatch "^3.1.2" + natural-compare "^1.4.0" + optionator "^0.9.1" + regexpp "^3.2.0" + strip-ansi "^6.0.1" + strip-json-comments "^3.1.0" + text-table "^0.2.0" + v8-compile-cache "^2.0.3" + +espree@^9.0.0, espree@^9.3.3: + version "9.3.3" + resolved "https://registry.yarnpkg.com/espree/-/espree-9.3.3.tgz#2dd37c4162bb05f433ad3c1a52ddf8a49dc08e9d" + integrity sha512-ORs1Rt/uQTqUKjDdGCyrtYxbazf5umATSf/K4qxjmZHORR6HJk+2s/2Pqe+Kk49HHINC/xNIrGfgh8sZcll0ng== + dependencies: + acorn "^8.8.0" + acorn-jsx "^5.3.2" + eslint-visitor-keys "^3.3.0" + espree@^9.3.2: version "9.3.2" resolved "https://registry.yarnpkg.com/espree/-/espree-9.3.2.tgz#f58f77bd334731182801ced3380a8cc859091596" @@ -959,6 +1145,17 @@ fast-deep-equal@^3.1.1, fast-deep-equal@^3.1.3: resolved "https://registry.yarnpkg.com/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz#3a7d56b559d6cbc3eb512325244e619a65c6c525" integrity sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q== +fast-glob@^3.2.9: + version "3.2.11" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" + integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== + dependencies: + "@nodelib/fs.stat" "^2.0.2" + "@nodelib/fs.walk" "^1.2.3" + glob-parent "^5.1.2" + merge2 "^1.3.0" + micromatch "^4.0.4" + fast-json-stable-stringify@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz#874bf69c6f404c2b5d99c481341399fd55892633" @@ -974,6 +1171,13 @@ fastest-levenshtein@^1.0.12: resolved "https://registry.yarnpkg.com/fastest-levenshtein/-/fastest-levenshtein-1.0.14.tgz#9054384e4b7a78c88d01a4432dc18871af0ac859" integrity sha512-tFfWHjnuUfKE186Tfgr+jtaFc0mZTApEgKDOeyN+FwOqRkO/zK/3h1AiRd8u8CY53owL3CUmGr/oI9p/RdyLTA== +fastq@^1.6.0: + version "1.13.0" + resolved "https://registry.yarnpkg.com/fastq/-/fastq-1.13.0.tgz#616760f88a7526bdfc596b7cab8c18938c36b98c" + integrity sha512-YpkpUnK8od0o1hmeSc7UUs/eB/vIPWJYjKck2QKIzAf71Vm1AAQ3EbuZB3g2JIy+pg+ERD0vqI79KyZiB2e2Nw== + dependencies: + reusify "^1.0.4" + fd-slicer@~1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/fd-slicer/-/fd-slicer-1.1.0.tgz#25c7c89cb1f9077f8891bbe61d8f390eae256f1e" @@ -1011,6 +1215,14 @@ find-up@^4.0.0: locate-path "^5.0.0" path-exists "^4.0.0" +find-up@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/find-up/-/find-up-5.0.0.tgz#4c92819ecb7083561e4f4a240a86be5198f536fc" + integrity sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng== + dependencies: + locate-path "^6.0.0" + path-exists "^4.0.0" + flat-cache@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" @@ -1082,6 +1294,13 @@ github-from-package@0.0.0: resolved "https://registry.yarnpkg.com/github-from-package/-/github-from-package-0.0.0.tgz#97fb5d96bfde8973313f20e8288ef9a167fa64ce" integrity sha512-SyHy3T1v2NUXn29OsWdxmK6RwHD+vkj3v8en8AOBZ1wBQ/hCAQ5bAQTD02kW4W9tUp/3Qh6J8r9EvntiyCmOOw== +glob-parent@^5.1.2: + version "5.1.2" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-5.1.2.tgz#869832c58034fe68a4093c17dc15e8340d8401c4" + integrity sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow== + dependencies: + is-glob "^4.0.1" + glob-parent@^6.0.1: version "6.0.2" resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-6.0.2.tgz#6d237d99083950c79290f24c7642a3de9a28f9e3" @@ -1125,6 +1344,18 @@ globals@^13.15.0: dependencies: type-fest "^0.20.2" +globby@^11.1.0: + version "11.1.0" + resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" + integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== + dependencies: + array-union "^2.1.0" + dir-glob "^3.0.1" + fast-glob "^3.2.9" + ignore "^5.2.0" + merge2 "^1.4.1" + slash "^3.0.0" + got@^12.3.1: version "12.3.1" resolved "https://registry.yarnpkg.com/got/-/got-12.3.1.tgz#79d6ebc0cb8358c424165698ddb828be56e74684" @@ -1149,11 +1380,23 @@ graceful-fs@^4.1.2, graceful-fs@^4.2.4, graceful-fs@^4.2.9: resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.10.tgz#147d3a006da4ca3ce14728c7aefc287c367d7a6c" integrity sha512-9ByhssR2fPVsNZj478qUUbKfmL0+t5BDVyjShtyZZLiK7ZDAArFFfopyOTj0M05wE2tJPisA4iTnnXl2YoPvOA== +grapheme-splitter@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" + integrity sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ== + growl@1.10.5: version "1.10.5" resolved "https://registry.yarnpkg.com/growl/-/growl-1.10.5.tgz#f2735dc2283674fa67478b10181059355c369e5e" integrity sha512-qBr4OuELkhPenW6goKVXiv47US3clb3/IbuWF9KNKEijAy9oeHxU9IgzjvJhHkUzhaj7rOUD7+YGWqUjLp5oSA== +has-ansi@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/has-ansi/-/has-ansi-2.0.0.tgz#34f5049ce1ecdf2b0649af3ef24e45ed35416d91" + integrity sha512-C8vBJ8DwUCx19vhm7urhTuUsr4/IyP6l4VzNQDv+ryHQObW3TTTp9yB68WpYgRe2bbaGuZ/se74IqFeVnMnLZg== + dependencies: + ansi-regex "^2.0.0" + has-flag@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/has-flag/-/has-flag-3.0.0.tgz#b5d454dc2199ae225699f3467e5a07f3b955bafd" @@ -1280,6 +1523,11 @@ imurmurhash@^0.1.4: resolved "https://registry.yarnpkg.com/imurmurhash/-/imurmurhash-0.1.4.tgz#9218b9b2b928a238b13dc4fb6b6d576f231453ea" integrity sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA== +indent-string@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/indent-string/-/indent-string-4.0.0.tgz#624f8f4497d619b2d9768531d58f4122854d7251" + integrity sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg== + inflight@^1.0.4: version "1.0.6" resolved "https://registry.yarnpkg.com/inflight/-/inflight-1.0.6.tgz#49bd6331d7d02d0c09bc910a1075ba8165b56df9" @@ -1315,7 +1563,7 @@ is-extglob@^2.1.1: resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-2.1.1.tgz#a88c02535791f02ed37c76a1b9ea9773c833f8c2" integrity sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ== -is-glob@^4.0.0, is-glob@^4.0.3: +is-glob@^4.0.0, is-glob@^4.0.1, is-glob@^4.0.3: version "4.0.3" resolved "https://registry.yarnpkg.com/is-glob/-/is-glob-4.0.3.tgz#64f61e42cbbb2eec2071a9dac0b28ba1e65d5084" integrity sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg== @@ -1438,11 +1686,36 @@ locate-path@^5.0.0: dependencies: p-locate "^4.1.0" -lodash.merge@^4.6.2: +locate-path@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/locate-path/-/locate-path-6.0.0.tgz#55321eb309febbc59c4801d931a72452a681d286" + integrity sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw== + dependencies: + p-locate "^5.0.0" + +lodash.merge@^4.6.0, lodash.merge@^4.6.2: version "4.6.2" resolved "https://registry.yarnpkg.com/lodash.merge/-/lodash.merge-4.6.2.tgz#558aa53b43b661e1925a0afdfa36a9a1085fe57a" integrity sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ== +lodash@^4.17.21: + version "4.17.21" + resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" + integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== + +loglevel-colored-level-prefix@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/loglevel-colored-level-prefix/-/loglevel-colored-level-prefix-1.0.0.tgz#6a40218fdc7ae15fc76c3d0f3e676c465388603e" + integrity sha512-u45Wcxxc+SdAlh4yeF/uKlC1SPUPCy0gullSNKXod5I4bmifzk+Q4lSLExNEVn19tGaJipbZ4V4jbFn79/6mVA== + dependencies: + chalk "^1.1.3" + loglevel "^1.4.1" + +loglevel@^1.4.1: + version "1.8.0" + resolved "https://registry.yarnpkg.com/loglevel/-/loglevel-1.8.0.tgz#e7ec73a57e1e7b419cb6c6ac06bf050b67356114" + integrity sha512-G6A/nJLRgWOuuwdNuA6koovfEV1YpqqAG4pRUlFaz3jj2QNZ8M4vBqnVA+HBTmU/AMNUtlOsMmSpF6NyOjztbA== + lowercase-keys@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/lowercase-keys/-/lowercase-keys-2.0.0.tgz#2603e78b7b4b0006cbca2fbcc8a3202558ac9479" @@ -1481,7 +1754,12 @@ merge-stream@^2.0.0: resolved "https://registry.yarnpkg.com/merge-stream/-/merge-stream-2.0.0.tgz#52823629a14dd00c9770fb6ad47dc6310f2c1f60" integrity sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w== -micromatch@^4.0.0: +merge2@^1.3.0, merge2@^1.4.1: + version "1.4.1" + resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" + integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== + +micromatch@^4.0.0, micromatch@^4.0.4: version "4.0.5" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-4.0.5.tgz#bc8999a7cbbf77cdc89f132f6e467051b49090c6" integrity sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA== @@ -1702,6 +1980,13 @@ p-limit@^2.2.0: dependencies: p-try "^2.0.0" +p-limit@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/p-limit/-/p-limit-3.1.0.tgz#e1daccbe78d0d1388ca18c64fea38e3e57e3706b" + integrity sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ== + dependencies: + yocto-queue "^0.1.0" + p-locate@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-4.1.0.tgz#a3428bb7088b3a60292f66919278b7c297ad4f07" @@ -1709,6 +1994,13 @@ p-locate@^4.1.0: dependencies: p-limit "^2.2.0" +p-locate@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/p-locate/-/p-locate-5.0.0.tgz#83c8315c6785005e3bd021839411c9e110e6d834" + integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw== + dependencies: + p-limit "^3.0.2" + p-try@^2.0.0: version "2.2.0" resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6" @@ -1768,6 +2060,11 @@ path-parse@^1.0.7: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== +path-type@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/path-type/-/path-type-4.0.0.tgz#84ed01c0a7ba380afe09d90a8c180dcd9d03043b" + integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw== + pend@~1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/pend/-/pend-1.2.0.tgz#7a57eb550a6783f9115331fcf4663d5c8e007a50" @@ -1813,11 +2110,39 @@ prelude-ls@^1.2.1: resolved "https://registry.yarnpkg.com/prelude-ls/-/prelude-ls-1.2.1.tgz#debc6489d7a6e6b0e7611888cec880337d316396" integrity sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g== -prettier@^2.7.1: +prettier-eslint@^15.0.1: + version "15.0.1" + resolved "https://registry.yarnpkg.com/prettier-eslint/-/prettier-eslint-15.0.1.tgz#2543a43e9acec2a9767ad6458165ce81f353db9c" + integrity sha512-mGOWVHixSvpZWARqSDXbdtTL54mMBxc5oQYQ6RAqy8jecuNJBgN3t9E5a81G66F8x8fsKNiR1HWaBV66MJDOpg== + dependencies: + "@types/eslint" "^8.4.2" + "@types/prettier" "^2.6.0" + "@typescript-eslint/parser" "^5.10.0" + common-tags "^1.4.0" + dlv "^1.1.0" + eslint "^8.7.0" + indent-string "^4.0.0" + lodash.merge "^4.6.0" + loglevel-colored-level-prefix "^1.0.0" + prettier "^2.5.1" + pretty-format "^23.0.1" + require-relative "^0.8.7" + typescript "^4.5.4" + vue-eslint-parser "^8.0.1" + +prettier@^2.5.1, prettier@^2.7.1: version "2.7.1" resolved "https://registry.yarnpkg.com/prettier/-/prettier-2.7.1.tgz#e235806850d057f97bb08368a4f7d899f7760c64" integrity sha512-ujppO+MkdPqoVINuDFDRLClm7D78qbDt0/NR+wp5FqEZOoTNAjPHWj17QRhu7geIHJfcNhRk1XVQmF8Bp3ye+g== +pretty-format@^23.0.1: + version "23.6.0" + resolved "https://registry.yarnpkg.com/pretty-format/-/pretty-format-23.6.0.tgz#5eaac8eeb6b33b987b7fe6097ea6a8a146ab5760" + integrity sha512-zf9NV1NSlDLDjycnwm6hpFATCGl/K1lt0R/GdkAK2O5LN/rwJoB+Mh93gGJjut4YbmecbfgLWVGSTCr0Ewvvbw== + dependencies: + ansi-regex "^3.0.0" + ansi-styles "^3.2.0" + pump@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/pump/-/pump-3.0.0.tgz#b4a2116815bde2f4e1ea602354e8c75565107a64" @@ -1838,6 +2163,11 @@ qs@^6.9.1: dependencies: side-channel "^1.0.4" +queue-microtask@^1.2.2: + version "1.2.3" + resolved "https://registry.yarnpkg.com/queue-microtask/-/queue-microtask-1.2.3.tgz#4929228bbc724dfac43e0efb058caf7b6cfb6243" + integrity sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A== + quick-lru@^5.1.1: version "5.1.1" resolved "https://registry.yarnpkg.com/quick-lru/-/quick-lru-5.1.1.tgz#366493e6b3e42a3a6885e2e99d18f80fb7a8c932" @@ -1888,6 +2218,11 @@ regexpp@^3.2.0: resolved "https://registry.yarnpkg.com/regexpp/-/regexpp-3.2.0.tgz#0425a2768d8f23bad70ca4b90461fa2f1213e1b2" integrity sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg== +require-relative@^0.8.7: + version "0.8.7" + resolved "https://registry.yarnpkg.com/require-relative/-/require-relative-0.8.7.tgz#7999539fc9e047a37928fa196f8e1563dabd36de" + integrity sha512-AKGr4qvHiryxRb19m3PsLRGuKVAbJLUD7E6eOaHkfKhwc+vSgVOCY5xNvm9EkolBKTOf0GrQAZKLimOCz81Khg== + resolve-alpn@^1.2.0: version "1.2.1" resolved "https://registry.yarnpkg.com/resolve-alpn/-/resolve-alpn-1.2.1.tgz#b7adbdac3546aaaec20b45e7d8265927072726f9" @@ -1926,6 +2261,11 @@ responselike@^2.0.0: dependencies: lowercase-keys "^2.0.0" +reusify@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/reusify/-/reusify-1.0.4.tgz#90da382b1e126efc02146e90845a88db12925d76" + integrity sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw== + rimraf@^3.0.0, rimraf@^3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-3.0.2.tgz#f1a5402ba6220ad52cc1282bac1ae3aa49fd061a" @@ -1933,6 +2273,13 @@ rimraf@^3.0.0, rimraf@^3.0.2: dependencies: glob "^7.1.3" +run-parallel@^1.1.9: + version "1.2.0" + resolved "https://registry.yarnpkg.com/run-parallel/-/run-parallel-1.2.0.tgz#66d1368da7bdf921eb9d95bd1a9229e7f21a43ee" + integrity sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA== + dependencies: + queue-microtask "^1.2.2" + safe-buffer@^5.0.1, safe-buffer@^5.1.0, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" @@ -1957,7 +2304,7 @@ semver@^5.1.0, semver@^5.4.1: resolved "https://registry.yarnpkg.com/semver/-/semver-5.7.1.tgz#a954f931aeba508d307bbf069eff0c01c96116f7" integrity sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ== -semver@^7.3.4, semver@^7.3.5: +semver@^7.3.4, semver@^7.3.5, semver@^7.3.7: version "7.3.7" resolved "https://registry.yarnpkg.com/semver/-/semver-7.3.7.tgz#12c5b649afdbf9049707796e22a4028814ce523f" integrity sha512-QlYTucUYOews+WeEujDoEGziz4K6c47V/Bd+LjSSYcA94p+DmINdf7ncaUinThfvZyu13lN9OY1XDxt8C0Tw0g== @@ -2018,6 +2365,11 @@ simple-get@^4.0.0: once "^1.3.1" simple-concat "^1.0.0" +slash@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" + integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== + source-map-support@^0.5.0, source-map-support@~0.5.20: version "0.5.21" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" @@ -2038,6 +2390,13 @@ string_decoder@^1.1.1: dependencies: safe-buffer "~5.2.0" +strip-ansi@^3.0.0: + version "3.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-3.0.1.tgz#6a385fb8853d952d5ff05d0e8aaf94278dc63dcf" + integrity sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg== + dependencies: + ansi-regex "^2.0.0" + strip-ansi@^6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-6.0.1.tgz#9e26c63d30f53443e9489495b2105d37b67a85d9" @@ -2067,6 +2426,11 @@ supports-color@5.4.0: dependencies: has-flag "^3.0.0" +supports-color@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-2.0.0.tgz#535d045ce6b6363fa40117084629995e9df324c7" + integrity sha512-KKNVtd6pCYgPIKU4cp2733HWYCpplQhddZLBUryaAHou723x+FRzQ5Df824Fj+IyyuiQTRoub4SnIFfIcrp70g== + supports-color@^5.3.0: version "5.5.0" resolved "https://registry.yarnpkg.com/supports-color/-/supports-color-5.5.0.tgz#e2e69a44ac8772f78a1ec0b35b689df6530efc8f" @@ -2169,6 +2533,18 @@ ts-loader@^9.3.1: micromatch "^4.0.0" semver "^7.3.4" +tslib@^1.8.1: + version "1.14.1" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" + integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== + +tsutils@^3.21.0: + version "3.21.0" + resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" + integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA== + dependencies: + tslib "^1.8.1" + tunnel-agent@^0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/tunnel-agent/-/tunnel-agent-0.6.0.tgz#27a5dea06b36b04a0a9966774b290868f0fc40fd" @@ -2202,7 +2578,7 @@ typed-rest-client@^1.8.4: tunnel "0.0.6" underscore "^1.12.1" -typescript@^4.7.4: +typescript@^4.5.4, typescript@^4.7.4: version "4.7.4" resolved "https://registry.yarnpkg.com/typescript/-/typescript-4.7.4.tgz#1a88596d1cf47d59507a1bcdfb5b9dfe4d488235" integrity sha512-C0WQT0gezHuw6AdY1M2jxUO83Rjf0HP7Sk1DtXj6j1EwkQNZrHAg2XPWlq62oqEhYvONq5pkC2Y9oPljWToLmQ== @@ -2294,6 +2670,19 @@ vscode@^1.1.37: source-map-support "^0.5.0" vscode-test "^0.4.1" +vue-eslint-parser@^8.0.1: + version "8.3.0" + resolved "https://registry.yarnpkg.com/vue-eslint-parser/-/vue-eslint-parser-8.3.0.tgz#5d31129a1b3dd89c0069ca0a1c88f970c360bd0d" + integrity sha512-dzHGG3+sYwSf6zFBa0Gi9ZDshD7+ad14DGOdTLjruRVgZXe2J+DcZ9iUhyR48z5g1PqRa20yt3Njna/veLJL/g== + dependencies: + debug "^4.3.2" + eslint-scope "^7.0.0" + eslint-visitor-keys "^3.1.0" + espree "^9.0.0" + esquery "^1.4.0" + lodash "^4.17.21" + semver "^7.3.5" + watchpack@^2.4.0: version "2.4.0" resolved "https://registry.yarnpkg.com/watchpack/-/watchpack-2.4.0.tgz#fa33032374962c78113f93c7f2fb4c54c9862a5d" @@ -2422,3 +2811,8 @@ yazl@^2.2.2: integrity sha512-phENi2PLiHnHb6QBVot+dJnaAZ0xosj7p3fWl+znIjBDlnMI2PsZCJZ306BPTFOaHf5qdDEI8x5qFrSOBN5vrw== dependencies: buffer-crc32 "~0.2.3" + +yocto-queue@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" + integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==