Skip to content

Add opal-frontend package#8170

Open
kevinpschaaf wants to merge 1 commit intomainfrom
new-opal-frontend
Open

Add opal-frontend package#8170
kevinpschaaf wants to merge 1 commit intomainfrom
new-opal-frontend

Conversation

@kevinpschaaf
Copy link
Copy Markdown
Collaborator

New closure-compatible setup for integration into internal codebases

@github-actions
Copy link
Copy Markdown

📊 Coverage Report

Metric PR Main Delta
Lines 98.34% 98.34% ⚪ +0.00%
Functions 98.18% 98.18% ⚪ +0.00%
Branches 94.14% 94.14% ⚪ +0.00%

@@ -0,0 +1,47 @@
/**
* @license
* Copyright 2025 Google LLC
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2026


override connectedCallback() {
super.connectedCallback();
setInterval(() => {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I know this is just a test, but the timer needs to get closed on disconnectedCallback

"dependencies": [
"typescript-files-and-deps"
],
"files": [
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has no "output", so it can never get cached by wireit

"output": []
}
},
"repository": {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: more idiomatic to have the package metadata the the top

"moduleResolution": "nodenext",
"resolveJsonModule": true,
"isolatedModules": true,
"strict": true,
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may want to make sure we have all the same strictness checks enabled externally as internal.

@@ -0,0 +1,20 @@
{
"compilerOptions": {
"target": "ES2022",
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's bump to 2024 for target and lib?

@@ -0,0 +1,26 @@
/**
* @license
* Copyright 2025 Google LLC
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants