Merge branch 'main' into thyeggman/cronstrue-hover
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@github/actions-expressions",
|
"name": "@github/actions-expressions",
|
||||||
"version": "0.1.91",
|
"version": "0.1.92",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"source": "./src/index.ts",
|
"source": "./src/index.ts",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@github/actions-languageserver",
|
"name": "@github/actions-languageserver",
|
||||||
"version": "0.1.91",
|
"version": "0.1.92",
|
||||||
"description": "Language server for GitHub Actions",
|
"description": "Language server for GitHub Actions",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
@@ -38,8 +38,8 @@
|
|||||||
"watch": "tsc --build tsconfig.build.json --watch"
|
"watch": "tsc --build tsconfig.build.json --watch"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@github/actions-languageservice": "^0.1.91",
|
"@github/actions-languageservice": "^0.1.92",
|
||||||
"@github/actions-workflow-parser": "^0.1.91",
|
"@github/actions-workflow-parser": "^0.1.92",
|
||||||
"@octokit/rest": "^19.0.5",
|
"@octokit/rest": "^19.0.5",
|
||||||
"vscode-languageserver": "^8.0.2",
|
"vscode-languageserver": "^8.0.2",
|
||||||
"vscode-languageserver-textdocument": "^1.0.7",
|
"vscode-languageserver-textdocument": "^1.0.7",
|
||||||
|
|||||||
@@ -23,6 +23,7 @@ import {TTLCache} from "./utils/cache";
|
|||||||
import {valueProviders} from "./value-providers";
|
import {valueProviders} from "./value-providers";
|
||||||
import {getActionInputs} from "./value-providers/action-inputs";
|
import {getActionInputs} from "./value-providers/action-inputs";
|
||||||
import {Commands} from "./commands";
|
import {Commands} from "./commands";
|
||||||
|
import {descriptionProvider} from "./description-provider";
|
||||||
|
|
||||||
export function initConnection(connection: Connection) {
|
export function initConnection(connection: Connection) {
|
||||||
const documents: TextDocuments<TextDocument> = new TextDocuments(TextDocument);
|
const documents: TextDocuments<TextDocument> = new TextDocuments(TextDocument);
|
||||||
@@ -120,7 +121,9 @@ export function initConnection(connection: Connection) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
connection.onHover(async ({position, textDocument}: HoverParams): Promise<Hover | null> => {
|
connection.onHover(async ({position, textDocument}: HoverParams): Promise<Hover | null> => {
|
||||||
return hover(documents.get(textDocument.uri)!, position);
|
return hover(documents.get(textDocument.uri)!, position, {
|
||||||
|
descriptionProvider: descriptionProvider(sessionToken, cache)
|
||||||
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
connection.onRequest("workspace/executeCommand", (params: ExecuteCommandParams) => {
|
connection.onRequest("workspace/executeCommand", (params: ExecuteCommandParams) => {
|
||||||
|
|||||||
@@ -0,0 +1,26 @@
|
|||||||
|
import {DescriptionProvider} from "@github/actions-languageservice/hover";
|
||||||
|
import {Octokit} from "@octokit/rest";
|
||||||
|
import {TTLCache} from "./utils/cache";
|
||||||
|
import {getActionInputDescription} from "./description-providers/action-input";
|
||||||
|
|
||||||
|
export function descriptionProvider(sessionToken: string | undefined, cache: TTLCache): DescriptionProvider {
|
||||||
|
const octokit =
|
||||||
|
sessionToken &&
|
||||||
|
new Octokit({
|
||||||
|
auth: sessionToken
|
||||||
|
});
|
||||||
|
|
||||||
|
const getDescription: DescriptionProvider["getDescription"] = async (context, token, path) => {
|
||||||
|
if (!octokit) {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
const parent = path[path.length - 1];
|
||||||
|
if (context.step && parent.definition?.key === "step-with") {
|
||||||
|
return await getActionInputDescription(octokit, cache, context.step, token);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
return {
|
||||||
|
getDescription
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -0,0 +1,53 @@
|
|||||||
|
import {parseActionReference} from "@github/actions-languageservice/action";
|
||||||
|
import {isString} from "@github/actions-workflow-parser";
|
||||||
|
import {isActionStep} from "@github/actions-workflow-parser/model/type-guards";
|
||||||
|
import {Step} from "@github/actions-workflow-parser/model/workflow-template";
|
||||||
|
import {TemplateToken} from "@github/actions-workflow-parser/templates/tokens/template-token";
|
||||||
|
import {Octokit} from "@octokit/rest";
|
||||||
|
import {fetchActionMetadata} from "../utils/action-metadata";
|
||||||
|
import {TTLCache} from "../utils/cache";
|
||||||
|
|
||||||
|
export async function getActionInputDescription(
|
||||||
|
client: Octokit,
|
||||||
|
cache: TTLCache,
|
||||||
|
step: Step,
|
||||||
|
token: TemplateToken
|
||||||
|
): Promise<string | undefined> {
|
||||||
|
if (!isActionStep(step)) {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
const action = parseActionReference(step.uses.value);
|
||||||
|
if (!action) {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
const inputName = isString(token) && token.value;
|
||||||
|
if (!inputName) {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
const metadata = await fetchActionMetadata(client, cache, action);
|
||||||
|
if (!metadata?.inputs) {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
const input = metadata.inputs[inputName];
|
||||||
|
if (!input) {
|
||||||
|
return undefined;
|
||||||
|
}
|
||||||
|
|
||||||
|
let description = input.description;
|
||||||
|
|
||||||
|
const deprecated = input.deprecationMessage !== undefined;
|
||||||
|
|
||||||
|
if (deprecated) {
|
||||||
|
// Validation will include the deprecation message, so don't duplicate it here
|
||||||
|
description += `\n\n**Deprecated**`;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (input.required) {
|
||||||
|
description += "\n\n**Required**";
|
||||||
|
}
|
||||||
|
|
||||||
|
return description;
|
||||||
|
}
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@github/actions-languageservice",
|
"name": "@github/actions-languageservice",
|
||||||
"version": "0.1.91",
|
"version": "0.1.92",
|
||||||
"description": "Language service for GitHub Actions",
|
"description": "Language service for GitHub Actions",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
@@ -38,8 +38,8 @@
|
|||||||
"watch": "tsc --build tsconfig.build.json --watch"
|
"watch": "tsc --build tsconfig.build.json --watch"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@github/actions-expressions": "^0.1.91",
|
"@github/actions-expressions": "^0.1.92",
|
||||||
"@github/actions-workflow-parser": "^0.1.91",
|
"@github/actions-workflow-parser": "^0.1.92",
|
||||||
"vscode-languageserver-textdocument": "^1.0.7",
|
"vscode-languageserver-textdocument": "^1.0.7",
|
||||||
"vscode-languageserver-types": "^3.17.2",
|
"vscode-languageserver-types": "^3.17.2",
|
||||||
"yaml": "^2.1.1"
|
"yaml": "^2.1.1"
|
||||||
|
|||||||
@@ -1,6 +1,25 @@
|
|||||||
import {hover} from "./hover";
|
import {isString} from "@github/actions-workflow-parser/.";
|
||||||
|
import {StringToken} from "@github/actions-workflow-parser/templates/tokens/string-token";
|
||||||
|
import {DescriptionProvider, hover, HoverConfig} from "./hover";
|
||||||
import {getPositionFromCursor} from "./test-utils/cursor-position";
|
import {getPositionFromCursor} from "./test-utils/cursor-position";
|
||||||
|
|
||||||
|
function testHoverConfig(tokenValue: string, tokenKey: string, description?: string) {
|
||||||
|
return {
|
||||||
|
descriptionProvider: {
|
||||||
|
getDescription: async (_, token, __) => {
|
||||||
|
if (!isString(token)) {
|
||||||
|
throw new Error("Test provider only supports string tokens");
|
||||||
|
}
|
||||||
|
|
||||||
|
expect((token as StringToken).value).toEqual(tokenValue);
|
||||||
|
expect(token.definition!.key).toEqual(tokenKey);
|
||||||
|
|
||||||
|
return description;
|
||||||
|
}
|
||||||
|
} satisfies DescriptionProvider
|
||||||
|
} satisfies HoverConfig
|
||||||
|
}
|
||||||
|
|
||||||
describe("hover", () => {
|
describe("hover", () => {
|
||||||
it("on a key", async () => {
|
it("on a key", async () => {
|
||||||
const input = `o|n: push
|
const input = `o|n: push
|
||||||
@@ -111,3 +130,37 @@ jobs:
|
|||||||
expect(result?.contents).toEqual("Invalid cron expression");
|
expect(result?.contents).toEqual("Invalid cron expression");
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
describe("hover with description provider", () => {
|
||||||
|
it("uses the description provider", async () => {
|
||||||
|
const input = `
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: [self-hosted]
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
with:
|
||||||
|
ref|: main
|
||||||
|
`;
|
||||||
|
|
||||||
|
const result = await hover(...getPositionFromCursor(input), testHoverConfig("ref", "string", "The branch, tag or SHA to checkout."));
|
||||||
|
expect(result).not.toBeUndefined();
|
||||||
|
expect(result?.contents).toEqual("The branch, tag or SHA to checkout.");
|
||||||
|
});
|
||||||
|
|
||||||
|
it("falls back to the token description", async () => {
|
||||||
|
const input = `
|
||||||
|
on: push
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: [self-hosted]
|
||||||
|
steps:
|
||||||
|
- uses|: actions/checkout@v2
|
||||||
|
`;
|
||||||
|
|
||||||
|
const result = await hover(...getPositionFromCursor(input), testHoverConfig("uses", "non-empty-string", undefined));
|
||||||
|
expect(result).not.toBeUndefined();
|
||||||
|
expect(result?.contents).toEqual("Selects an action to run as part of a step in your job. An action is a reusable unit of code. You can use an action defined in the same repository as the workflow, a public repository, or in a published Docker container image.");
|
||||||
|
});
|
||||||
|
});
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
import {parseWorkflow} from "@github/actions-workflow-parser";
|
import {convertWorkflowTemplate, parseWorkflow, ParseWorkflowResult} from "@github/actions-workflow-parser";
|
||||||
|
import {ErrorPolicy} from "@github/actions-workflow-parser/model/convert";
|
||||||
import {TemplateToken} from "@github/actions-workflow-parser/templates/tokens/template-token";
|
import {TemplateToken} from "@github/actions-workflow-parser/templates/tokens/template-token";
|
||||||
import {TokenResult} from "./utils/find-token";
|
import {TokenResult} from "./utils/find-token";
|
||||||
import {File} from "@github/actions-workflow-parser/workflows/file";
|
import {File} from "@github/actions-workflow-parser/workflows/file";
|
||||||
@@ -6,14 +7,23 @@ import {isString} from "@github/actions-workflow-parser/templates/tokens/type-gu
|
|||||||
import {StringToken} from "@github/actions-workflow-parser/templates/tokens/string-token";
|
import {StringToken} from "@github/actions-workflow-parser/templates/tokens/string-token";
|
||||||
import {Position, TextDocument} from "vscode-languageserver-textdocument";
|
import {Position, TextDocument} from "vscode-languageserver-textdocument";
|
||||||
import {Hover} from "vscode-languageserver-types";
|
import {Hover} from "vscode-languageserver-types";
|
||||||
|
import {getWorkflowContext, WorkflowContext} from "./context/workflow-context";
|
||||||
import {info} from "./log";
|
import {info} from "./log";
|
||||||
import {nullTrace} from "./nulltrace";
|
import {nullTrace} from "./nulltrace";
|
||||||
import {findToken} from "./utils/find-token";
|
import {findToken} from "./utils/find-token";
|
||||||
import {mapRange} from "./utils/range";
|
import {mapRange} from "./utils/range";
|
||||||
import {getSentence} from "@github/actions-workflow-parser/model/converter/cron";
|
import {getSentence} from "@github/actions-workflow-parser/model/converter/cron";
|
||||||
|
|
||||||
|
export type DescriptionProvider = {
|
||||||
|
getDescription(context: WorkflowContext, token: TemplateToken, path: TemplateToken[]): Promise<string | undefined>;
|
||||||
|
};
|
||||||
|
|
||||||
|
export type HoverConfig = {
|
||||||
|
descriptionProvider?: DescriptionProvider;
|
||||||
|
};
|
||||||
|
|
||||||
// Render value description and Context when hovering over a key in a MappingToken
|
// Render value description and Context when hovering over a key in a MappingToken
|
||||||
export async function hover(document: TextDocument, position: Position): Promise<Hover | null> {
|
export async function hover(document: TextDocument, position: Position, config?: HoverConfig): Promise<Hover | null> {
|
||||||
const file: File = {
|
const file: File = {
|
||||||
name: document.uri,
|
name: document.uri,
|
||||||
content: document.getText()
|
content: document.getText()
|
||||||
@@ -21,18 +31,13 @@ export async function hover(document: TextDocument, position: Position): Promise
|
|||||||
const result = parseWorkflow(file.name, [file], nullTrace);
|
const result = parseWorkflow(file.name, [file], nullTrace);
|
||||||
|
|
||||||
const tokenResult = findToken(position, result.value);
|
const tokenResult = findToken(position, result.value);
|
||||||
|
|
||||||
if (result.value) {
|
|
||||||
return getHover(tokenResult);
|
|
||||||
}
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
|
|
||||||
function getHover(tokenResult: TokenResult): Hover | null {
|
|
||||||
const token = tokenResult.token;
|
const token = tokenResult.token;
|
||||||
if (!token) {
|
if (!token?.definition) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
info(`Calculating hover for token with definition ${token.definition.key}`);
|
||||||
|
|
||||||
if (tokenResult.parent && isCronMappingValue(tokenResult)) {
|
if (tokenResult.parent && isCronMappingValue(tokenResult)) {
|
||||||
const tokenValue = (token as StringToken).value
|
const tokenValue = (token as StringToken).value
|
||||||
let description = getSentence(tokenValue);
|
let description = getSentence(tokenValue);
|
||||||
@@ -50,13 +55,8 @@ function getHover(tokenResult: TokenResult): Hover | null {
|
|||||||
range: mapRange(token.range)
|
range: mapRange(token.range)
|
||||||
} as Hover;
|
} as Hover;
|
||||||
}
|
}
|
||||||
if (token.definition) {
|
|
||||||
info(`Calculating hover for token with definition ${token.definition.key}`);
|
|
||||||
|
|
||||||
let description = "";
|
let description = await getDescription(document, config, result, token, tokenResult.path);
|
||||||
if (token.description) {
|
|
||||||
description = token.description;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (token.definition.evaluatorContext.length > 0) {
|
if (token.definition.evaluatorContext.length > 0) {
|
||||||
// Only add padding if there is a description
|
// Only add padding if there is a description
|
||||||
@@ -68,9 +68,25 @@ function getHover(tokenResult: TokenResult): Hover | null {
|
|||||||
return {
|
return {
|
||||||
contents: description,
|
contents: description,
|
||||||
range: mapRange(token.range)
|
range: mapRange(token.range)
|
||||||
} as Hover;
|
} satisfies Hover;
|
||||||
|
}
|
||||||
|
|
||||||
|
async function getDescription(
|
||||||
|
document: TextDocument,
|
||||||
|
config: HoverConfig | undefined,
|
||||||
|
result: ParseWorkflowResult | undefined,
|
||||||
|
token: TemplateToken,
|
||||||
|
path: TemplateToken[]
|
||||||
|
) {
|
||||||
|
const defaultDescription = token.description || "";
|
||||||
|
if (!result?.value || !config?.descriptionProvider) {
|
||||||
|
return defaultDescription;
|
||||||
}
|
}
|
||||||
return null;
|
|
||||||
|
const template = convertWorkflowTemplate(result.context, result.value, ErrorPolicy.TryConversion);
|
||||||
|
const workflowContext = getWorkflowContext(document.uri, template, path);
|
||||||
|
const description = await config.descriptionProvider.getDescription(workflowContext, token, path);
|
||||||
|
return description || defaultDescription;
|
||||||
}
|
}
|
||||||
|
|
||||||
function isCronMappingValue(tokenResult: TokenResult): boolean {
|
function isCronMappingValue(tokenResult: TokenResult): boolean {
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ export interface Value {
|
|||||||
/** Label of this value */
|
/** Label of this value */
|
||||||
label: string;
|
label: string;
|
||||||
|
|
||||||
/** Optional description to show when auto-completing or hovering */
|
/** Optional description to show when auto-completing */
|
||||||
description?: string;
|
description?: string;
|
||||||
|
|
||||||
/** Whether this value is deprecated */
|
/** Whether this value is deprecated */
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@github/actions-workflow-parser",
|
"name": "@github/actions-workflow-parser",
|
||||||
"version": "0.1.91",
|
"version": "0.1.92",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"source": "./src/index.ts",
|
"source": "./src/index.ts",
|
||||||
@@ -40,7 +40,7 @@
|
|||||||
"watch": "tsc --build tsconfig.build.json --watch"
|
"watch": "tsc --build tsconfig.build.json --watch"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@github/actions-expressions": "^0.1.91",
|
"@github/actions-expressions": "^0.1.92",
|
||||||
"yaml": "^2.0.0-8"
|
"yaml": "^2.0.0-8"
|
||||||
},
|
},
|
||||||
"engines": {
|
"engines": {
|
||||||
|
|||||||
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "browser-playground",
|
"name": "browser-playground",
|
||||||
"version": "0.1.91",
|
"version": "0.1.92",
|
||||||
"description": "",
|
"description": "",
|
||||||
"private": true,
|
"private": true,
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@github/actions-languageserver": "^0.1.91",
|
"@github/actions-languageserver": "^0.1.92",
|
||||||
"monaco-editor-webpack-plugin": "^7.0.1",
|
"monaco-editor-webpack-plugin": "^7.0.1",
|
||||||
"monaco-editor-workers": "^0.34.2",
|
"monaco-editor-workers": "^0.34.2",
|
||||||
"monaco-languageclient": "^4.0.3",
|
"monaco-languageclient": "^4.0.3",
|
||||||
|
|||||||
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
|
||||||
"useWorkspaces": true,
|
"useWorkspaces": true,
|
||||||
"version": "0.1.91"
|
"version": "0.1.92"
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+17
-17
@@ -21,7 +21,7 @@
|
|||||||
},
|
},
|
||||||
"actions-expressions": {
|
"actions-expressions": {
|
||||||
"name": "@github/actions-expressions",
|
"name": "@github/actions-expressions",
|
||||||
"version": "0.1.91",
|
"version": "0.1.92",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/jest": "^29.0.3",
|
"@types/jest": "^29.0.3",
|
||||||
@@ -37,11 +37,11 @@
|
|||||||
},
|
},
|
||||||
"actions-languageserver": {
|
"actions-languageserver": {
|
||||||
"name": "@github/actions-languageserver",
|
"name": "@github/actions-languageserver",
|
||||||
"version": "0.1.91",
|
"version": "0.1.92",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@github/actions-languageservice": "^0.1.91",
|
"@github/actions-languageservice": "^0.1.92",
|
||||||
"@github/actions-workflow-parser": "^0.1.91",
|
"@github/actions-workflow-parser": "^0.1.92",
|
||||||
"@octokit/rest": "^19.0.5",
|
"@octokit/rest": "^19.0.5",
|
||||||
"vscode-languageserver": "^8.0.2",
|
"vscode-languageserver": "^8.0.2",
|
||||||
"vscode-languageserver-textdocument": "^1.0.7",
|
"vscode-languageserver-textdocument": "^1.0.7",
|
||||||
@@ -62,11 +62,11 @@
|
|||||||
},
|
},
|
||||||
"actions-languageservice": {
|
"actions-languageservice": {
|
||||||
"name": "@github/actions-languageservice",
|
"name": "@github/actions-languageservice",
|
||||||
"version": "0.1.91",
|
"version": "0.1.92",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@github/actions-expressions": "^0.1.91",
|
"@github/actions-expressions": "^0.1.92",
|
||||||
"@github/actions-workflow-parser": "^0.1.91",
|
"@github/actions-workflow-parser": "^0.1.92",
|
||||||
"vscode-languageserver-textdocument": "^1.0.7",
|
"vscode-languageserver-textdocument": "^1.0.7",
|
||||||
"vscode-languageserver-types": "^3.17.2",
|
"vscode-languageserver-types": "^3.17.2",
|
||||||
"yaml": "^2.1.1"
|
"yaml": "^2.1.1"
|
||||||
@@ -85,10 +85,10 @@
|
|||||||
},
|
},
|
||||||
"actions-workflow-parser": {
|
"actions-workflow-parser": {
|
||||||
"name": "@github/actions-workflow-parser",
|
"name": "@github/actions-workflow-parser",
|
||||||
"version": "0.1.91",
|
"version": "0.1.92",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@github/actions-expressions": "^0.1.91",
|
"@github/actions-expressions": "^0.1.92",
|
||||||
"yaml": "^2.0.0-8"
|
"yaml": "^2.0.0-8"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
@@ -107,10 +107,10 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"browser-playground": {
|
"browser-playground": {
|
||||||
"version": "0.1.91",
|
"version": "0.1.92",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@github/actions-languageserver": "^0.1.91",
|
"@github/actions-languageserver": "^0.1.92",
|
||||||
"monaco-editor-webpack-plugin": "^7.0.1",
|
"monaco-editor-webpack-plugin": "^7.0.1",
|
||||||
"monaco-editor-workers": "^0.34.2",
|
"monaco-editor-workers": "^0.34.2",
|
||||||
"monaco-languageclient": "^4.0.3",
|
"monaco-languageclient": "^4.0.3",
|
||||||
@@ -14439,8 +14439,8 @@
|
|||||||
"@github/actions-languageserver": {
|
"@github/actions-languageserver": {
|
||||||
"version": "file:actions-languageserver",
|
"version": "file:actions-languageserver",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@github/actions-languageservice": "^0.1.91",
|
"@github/actions-languageservice": "^0.1.92",
|
||||||
"@github/actions-workflow-parser": "^0.1.91",
|
"@github/actions-workflow-parser": "^0.1.92",
|
||||||
"@octokit/rest": "^19.0.5",
|
"@octokit/rest": "^19.0.5",
|
||||||
"@types/jest": "^29.0.3",
|
"@types/jest": "^29.0.3",
|
||||||
"jest": "^29.0.3",
|
"jest": "^29.0.3",
|
||||||
@@ -14457,8 +14457,8 @@
|
|||||||
"@github/actions-languageservice": {
|
"@github/actions-languageservice": {
|
||||||
"version": "file:actions-languageservice",
|
"version": "file:actions-languageservice",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@github/actions-expressions": "^0.1.91",
|
"@github/actions-expressions": "^0.1.92",
|
||||||
"@github/actions-workflow-parser": "^0.1.91",
|
"@github/actions-workflow-parser": "^0.1.92",
|
||||||
"@types/jest": "^29.0.3",
|
"@types/jest": "^29.0.3",
|
||||||
"jest": "^29.0.3",
|
"jest": "^29.0.3",
|
||||||
"prettier": "^2.7.1",
|
"prettier": "^2.7.1",
|
||||||
@@ -14473,7 +14473,7 @@
|
|||||||
"@github/actions-workflow-parser": {
|
"@github/actions-workflow-parser": {
|
||||||
"version": "file:actions-workflow-parser",
|
"version": "file:actions-workflow-parser",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@github/actions-expressions": "^0.1.91",
|
"@github/actions-expressions": "^0.1.92",
|
||||||
"@types/jest": "^29.0.3",
|
"@types/jest": "^29.0.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^5.40.0",
|
"@typescript-eslint/eslint-plugin": "^5.40.0",
|
||||||
"@typescript-eslint/parser": "^5.40.0",
|
"@typescript-eslint/parser": "^5.40.0",
|
||||||
@@ -17400,7 +17400,7 @@
|
|||||||
"browser-playground": {
|
"browser-playground": {
|
||||||
"version": "file:browser-playground",
|
"version": "file:browser-playground",
|
||||||
"requires": {
|
"requires": {
|
||||||
"@github/actions-languageserver": "^0.1.91",
|
"@github/actions-languageserver": "^0.1.92",
|
||||||
"css-loader": "^6.7.2",
|
"css-loader": "^6.7.2",
|
||||||
"monaco-editor-webpack-plugin": "^7.0.1",
|
"monaco-editor-webpack-plugin": "^7.0.1",
|
||||||
"monaco-editor-workers": "^0.34.2",
|
"monaco-editor-workers": "^0.34.2",
|
||||||
|
|||||||
Reference in New Issue
Block a user