Skip to content

Commit

Permalink
[lit] Update rollup plugins for front_end/third_party/lit
Browse files Browse the repository at this point in the history
https://crrev.com/c/5999255 updated rollup to version 4 but didn't
properly update all the custom configs in `front_end/third_party`.

This CL updates the rollup plugins for the Lit build.

[email protected]

Bug: 397912769
Change-Id: I173290c3cf6800f364cc591d284ccb135d5f3465
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6288506
Auto-Submit: Simon Zünd <[email protected]>
Reviewed-by: Nikolay Vitkov <[email protected]>
Commit-Queue: Nikolay Vitkov <[email protected]>
  • Loading branch information
szuend authored and Devtools-frontend LUCI CQ committed Feb 21, 2025
1 parent d03fb12 commit 9545f9b
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion front_end/third_party/lit/lib/decorators.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -941,4 +941,4 @@ type CustomElementDecorator = {
*/
declare const customElement: (tagName: string) => CustomElementDecorator;

export { CustomElementDecorator, InternalPropertyDeclaration, PropertyDecorator, StateDeclaration, customElement, property, standardProperty, state };
export { type CustomElementDecorator, type InternalPropertyDeclaration, type PropertyDecorator, type StateDeclaration, customElement, property, standardProperty, state };
2 changes: 1 addition & 1 deletion front_end/third_party/lit/lib/directive.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -293,4 +293,4 @@ declare abstract class Directive implements Disconnectable {
update(_part: Part, props: Array<unknown>): unknown;
}

export { AttributePart, AttributePartInfo, BooleanAttributePart, ChildPart, ChildPartInfo, Directive, DirectiveClass, DirectiveParameters, DirectiveResult, ElementPart, ElementPartInfo, EventPart, Part, PartInfo, PartType, PropertyPart, directive };
export { AttributePart, type AttributePartInfo, BooleanAttributePart, ChildPart, type ChildPartInfo, Directive, type DirectiveClass, type DirectiveParameters, type DirectiveResult, ElementPart, type ElementPartInfo, EventPart, type Part, type PartInfo, PartType, PropertyPart, directive };
2 changes: 1 addition & 1 deletion front_end/third_party/lit/lib/directives.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -782,4 +782,4 @@ declare class RefDirective extends AsyncDirective {
*/
declare const ref: (_ref?: RefOrCallback<Element> | undefined) => DirectiveResult<typeof RefDirective>;

export { ClassInfo, ClassMapDirective, ItemTemplate, KeyFn, LiveDirective, Ref, RefDirective, RefOrCallback, RepeatDirective, RepeatDirectiveFn, StyleInfo, StyleMapDirective, UnsafeHTMLDirective, UntilDirective, classMap, createRef, ifDefined, live, ref, repeat, styleMap, unsafeHTML, until };
export { type ClassInfo, ClassMapDirective, type ItemTemplate, type KeyFn, LiveDirective, Ref, RefDirective, type RefOrCallback, RepeatDirective, type RepeatDirectiveFn, type StyleInfo, StyleMapDirective, UnsafeHTMLDirective, UntilDirective, classMap, createRef, ifDefined, live, ref, repeat, styleMap, unsafeHTML, until };
2 changes: 1 addition & 1 deletion front_end/third_party/lit/lib/lit.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1721,4 +1721,4 @@ declare const _$LE: {
*/
declare const isServer = false;

export { AttributePart, BooleanAttributePart, CSSResult, CSSResultArray, CSSResultGroup, CSSResultOrNative, ChildPart, CompiledTemplate, CompiledTemplateResult, ComplexAttributeConverter, DirectiveParent, Disconnectable, ElementPart, EventPart, HTMLTemplateResult, HasChanged, Initializer, LitElement, LitUnstable, MathMLTemplateResult, MaybeCompiledTemplateResult, Part, PropertyDeclaration, PropertyDeclarations, PropertyPart, PropertyValueMap, PropertyValues, ReactiveController, ReactiveControllerHost, ReactiveElement, ReactiveUnstable, RenderOptions, RootPart, SVGTemplateResult, SanitizerFactory, TemplateInstance, TemplateResult, UncompiledTemplateResult, Unstable, ValueSanitizer, WarningKind, _$LE, _$LH, adoptStyles, css, defaultConverter, getCompatibleStyle, html, isServer, mathml, noChange, notEqual, nothing, render, supportsAdoptingStyleSheets, svg, unsafeCSS };
export { AttributePart, BooleanAttributePart, CSSResult, type CSSResultArray, type CSSResultGroup, type CSSResultOrNative, ChildPart, type CompiledTemplate, type CompiledTemplateResult, type ComplexAttributeConverter, type DirectiveParent, type Disconnectable, ElementPart, EventPart, type HTMLTemplateResult, type HasChanged, type Initializer, LitElement, LitUnstable, type MathMLTemplateResult, type MaybeCompiledTemplateResult, type Part, type PropertyDeclaration, type PropertyDeclarations, PropertyPart, type PropertyValueMap, type PropertyValues, type ReactiveController, type ReactiveControllerHost, ReactiveElement, ReactiveUnstable, type RenderOptions, type RootPart, type SVGTemplateResult, type SanitizerFactory, TemplateInstance, type TemplateResult, type UncompiledTemplateResult, Unstable, type ValueSanitizer, type WarningKind, _$LE, _$LH, adoptStyles, css, defaultConverter, getCompatibleStyle, html, isServer, mathml, noChange, notEqual, nothing, render, supportsAdoptingStyleSheets, svg, unsafeCSS };
2 changes: 1 addition & 1 deletion front_end/third_party/lit/lib/static-html.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,4 @@ declare const svg: (strings: TemplateStringsArray, ...values: unknown[]) => Temp
*/
declare const mathml: (strings: TemplateStringsArray, ...values: unknown[]) => TemplateResult;

export { StaticValue, html, literal, mathml, svg, unsafeStatic, withStatic };
export { type StaticValue, html, literal, mathml, svg, unsafeStatic, withStatic };
6 changes: 3 additions & 3 deletions front_end/third_party/lit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"lit": "3.0.2"
},
"devDependencies": {
"@rollup/plugin-node-resolve": "13.3.0",
"@rollup/plugin-terser": "^0.4.4",
"rollup-plugin-dts": "4.2.3"
"@rollup/plugin-node-resolve": "15.3.0",
"@rollup/plugin-terser": "0.4.4",
"rollup-plugin-dts": "6.1.1"
}
}

0 comments on commit 9545f9b

Please sign in to comment.