mirror of
https://github.com/google/blockly.git
synced 2026-05-31 00:10:07 +02:00
fix: Fix package-lock.json for CI (#9875)
* fix: Maybe fix package-lock.json * fix: Try to fix package-lock.json again * chore: Fix format/lint
This commit is contained in:
Generated
+7762
-3229
File diff suppressed because it is too large
Load Diff
@@ -15,9 +15,10 @@ import {Coordinate} from '../utils/coordinate.js';
|
||||
import {WorkspaceSvg} from '../workspace_svg.js';
|
||||
import * as registry from './registry.js';
|
||||
|
||||
export class WorkspaceCommentPaster
|
||||
implements IPaster<WorkspaceCommentCopyData, RenderedWorkspaceComment>
|
||||
{
|
||||
export class WorkspaceCommentPaster implements IPaster<
|
||||
WorkspaceCommentCopyData,
|
||||
RenderedWorkspaceComment
|
||||
> {
|
||||
static TYPE = 'workspace-comment';
|
||||
|
||||
paste(
|
||||
|
||||
@@ -16,10 +16,7 @@ import {ISelectable} from './i_selectable.js';
|
||||
* A bubble interface.
|
||||
*/
|
||||
export interface IBubble
|
||||
extends IDraggable,
|
||||
IContextMenu,
|
||||
ISelectable,
|
||||
IBoundedElement {
|
||||
extends IDraggable, IContextMenu, ISelectable, IBoundedElement {
|
||||
/**
|
||||
* Return the coordinates of the top-left corner of this bubble's body
|
||||
* relative to the drawing surface's origin (0,0), in workspace units.
|
||||
|
||||
@@ -18,9 +18,7 @@ export enum DragDisposition {
|
||||
* Represents an object that can be dragged.
|
||||
*/
|
||||
export interface IDraggable
|
||||
extends IDragStrategy,
|
||||
IBoundedElement,
|
||||
ISelectable {
|
||||
extends IDragStrategy, IBoundedElement, ISelectable {
|
||||
/**
|
||||
* Returns the current location of the draggable in workspace coordinates.
|
||||
*
|
||||
|
||||
+1
-3
@@ -11,9 +11,7 @@ import type {INavigationPolicy} from '../../interfaces/i_navigation_policy.js';
|
||||
/**
|
||||
* Set of rules controlling keyboard navigation from a CommentBarButton.
|
||||
*/
|
||||
export class CommentBarButtonNavigationPolicy
|
||||
implements INavigationPolicy<CommentBarButton>
|
||||
{
|
||||
export class CommentBarButtonNavigationPolicy implements INavigationPolicy<CommentBarButton> {
|
||||
/**
|
||||
* Returns the first child of the given CommentBarButton.
|
||||
*
|
||||
|
||||
+1
-3
@@ -13,9 +13,7 @@ import type {INavigationPolicy} from '../../interfaces/i_navigation_policy.js';
|
||||
* This is a no-op placeholder (other than isNavigable/isApplicable) since
|
||||
* comment editors handle their own navigation when editing ends.
|
||||
*/
|
||||
export class CommentEditorNavigationPolicy
|
||||
implements INavigationPolicy<CommentEditor>
|
||||
{
|
||||
export class CommentEditorNavigationPolicy implements INavigationPolicy<CommentEditor> {
|
||||
getFirstChild(_current: CommentEditor): IFocusableNode | null {
|
||||
return null;
|
||||
}
|
||||
|
||||
+1
-3
@@ -14,9 +14,7 @@ import {navigateBlock} from './block_navigation_policy.js';
|
||||
/**
|
||||
* Set of rules controlling keyboard navigation from a connection.
|
||||
*/
|
||||
export class ConnectionNavigationPolicy
|
||||
implements INavigationPolicy<RenderedConnection>
|
||||
{
|
||||
export class ConnectionNavigationPolicy implements INavigationPolicy<RenderedConnection> {
|
||||
/**
|
||||
* Returns the first child of a connection.
|
||||
*
|
||||
|
||||
+1
-3
@@ -11,9 +11,7 @@ import type {INavigationPolicy} from '../../interfaces/i_navigation_policy.js';
|
||||
/**
|
||||
* Set of rules controlling keyboard navigation from a flyout button.
|
||||
*/
|
||||
export class FlyoutButtonNavigationPolicy
|
||||
implements INavigationPolicy<FlyoutButton>
|
||||
{
|
||||
export class FlyoutButtonNavigationPolicy implements INavigationPolicy<FlyoutButton> {
|
||||
/**
|
||||
* Returns null since flyout buttons have no children.
|
||||
*
|
||||
|
||||
+1
-3
@@ -12,9 +12,7 @@ import type {INavigationPolicy} from '../../interfaces/i_navigation_policy.js';
|
||||
* Set of rules controlling keyboard navigation from a flyout separator.
|
||||
* This is a no-op placeholder, since flyout separators can't be navigated to.
|
||||
*/
|
||||
export class FlyoutSeparatorNavigationPolicy
|
||||
implements INavigationPolicy<FlyoutSeparator>
|
||||
{
|
||||
export class FlyoutSeparatorNavigationPolicy implements INavigationPolicy<FlyoutSeparator> {
|
||||
getFirstChild(_current: FlyoutSeparator): IFocusableNode | null {
|
||||
return null;
|
||||
}
|
||||
|
||||
+1
-3
@@ -15,9 +15,7 @@ import {
|
||||
/**
|
||||
* Set of rules controlling keyboard navigation from a toolbox item.
|
||||
*/
|
||||
export class ToolboxItemNavigationPolicy
|
||||
implements INavigationPolicy<IToolboxItem>
|
||||
{
|
||||
export class ToolboxItemNavigationPolicy implements INavigationPolicy<IToolboxItem> {
|
||||
/**
|
||||
* Returns the first child of the given toolbox item.
|
||||
*
|
||||
|
||||
+1
-3
@@ -11,9 +11,7 @@ import type {INavigationPolicy} from '../../interfaces/i_navigation_policy.js';
|
||||
/**
|
||||
* Set of rules controlling keyboard navigation from an RenderedWorkspaceComment.
|
||||
*/
|
||||
export class WorkspaceCommentNavigationPolicy
|
||||
implements INavigationPolicy<RenderedWorkspaceComment>
|
||||
{
|
||||
export class WorkspaceCommentNavigationPolicy implements INavigationPolicy<RenderedWorkspaceComment> {
|
||||
/**
|
||||
* Returns the first child of the given workspace comment.
|
||||
*
|
||||
|
||||
+1
-3
@@ -11,9 +11,7 @@ import {WorkspaceSvg} from '../../workspace_svg.js';
|
||||
/**
|
||||
* Set of rules controlling keyboard navigation from a workspace.
|
||||
*/
|
||||
export class WorkspaceNavigationPolicy
|
||||
implements INavigationPolicy<WorkspaceSvg>
|
||||
{
|
||||
export class WorkspaceNavigationPolicy implements INavigationPolicy<WorkspaceSvg> {
|
||||
/**
|
||||
* Returns the first child of the given workspace.
|
||||
*
|
||||
|
||||
@@ -104,8 +104,7 @@ export function loadProcedure<
|
||||
export class ProcedureSerializer<
|
||||
ProcedureModel extends IProcedureModel,
|
||||
ParameterModel extends IParameterModel,
|
||||
> implements ISerializer
|
||||
{
|
||||
> implements ISerializer {
|
||||
public priority = priorities.PROCEDURES;
|
||||
|
||||
/**
|
||||
|
||||
@@ -33,9 +33,9 @@ import type {Workspace} from './workspace.js';
|
||||
* variable types as keys and lists of variables as values. The list of
|
||||
* variables are the type indicated by the key.
|
||||
*/
|
||||
export class VariableMap
|
||||
implements IVariableMap<IVariableModel<IVariableState>>
|
||||
{
|
||||
export class VariableMap implements IVariableMap<
|
||||
IVariableModel<IVariableState>
|
||||
> {
|
||||
/**
|
||||
* A map from variable type to map of IDs to variables. The maps contain
|
||||
* all of the named variables in the workspace, including variables that are
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
* @fileoverview Gulp script to build Blockly for Node & NPM.
|
||||
* Run this script by calling "npm install" in this directory.
|
||||
*/
|
||||
/* eslint-env node */
|
||||
|
||||
// Needed to prevent prettier from munging exports order, due to
|
||||
// https://github.com/simonhaenisch/prettier-plugin-organize-imports/issues/146
|
||||
|
||||
@@ -7,7 +7,6 @@
|
||||
/**
|
||||
* @fileoverview Helper functions for build/test.
|
||||
*/
|
||||
/* eslint-env node */
|
||||
|
||||
const path = require('path');
|
||||
|
||||
|
||||
@@ -22,12 +22,12 @@
|
||||
"@docusaurus/core": "^3.10.1",
|
||||
"@docusaurus/plugin-client-redirects": "^3.10.1",
|
||||
"@docusaurus/preset-classic": "^3.10.1",
|
||||
"@mdx-js/react": "^3.0.1",
|
||||
"@mdx-js/react": "^3.1.1",
|
||||
"clsx": "^2.1.1",
|
||||
"js-yaml": "^4.1.0",
|
||||
"prism-react-renderer": "^2.3.1",
|
||||
"react": "^19.0.0",
|
||||
"react-dom": "^19.0.0",
|
||||
"js-yaml": "^4.1.1",
|
||||
"prism-react-renderer": "^2.4.1",
|
||||
"react": "^19.2.6",
|
||||
"react-dom": "^19.2.6",
|
||||
"remark-directive": "^4.0.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
||||
Reference in New Issue
Block a user