Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring common tsconfig #9507

Merged
merged 5 commits into from
Nov 12, 2024
Merged

Refactoring common tsconfig #9507

merged 5 commits into from
Nov 12, 2024

Conversation

fungairino
Copy link
Collaborator

@fungairino fungairino commented Nov 12, 2024

What does this PR do?

For more information on our expectations for the PR process, see the
code review principles doc

@fungairino fungairino self-assigned this Nov 12, 2024
@fungairino fungairino changed the title common config Refactoring common tsconfig Nov 12, 2024
Comment on lines +2 to +4
// You can see the full details at https://github.com/sindresorhus/tsconfig/blob/main/tsconfig.json
// Note: `strict: true` enables many flags that aren’t explicitly listed in that file
"extends": "@sindresorhus/tsconfig",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We might want to consider just copying the relevant config values to make them more explicit. We override a fair bit of these anyways

"outDir": null,
"declaration": false,

// TODO: Drop these lines to make TS stricter https://github.com/pixiebrix/pixiebrix-extension/issues/775
Copy link
Contributor

@twschiller twschiller Nov 12, 2024

Choose a reason for hiding this comment

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

NIT: we should consider making some of these stricter in the base config (would require discussion of style)

Copy link
Collaborator

Choose a reason for hiding this comment

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

They've been on my radar for post strictNullChecks

Copy link

No loom links were found in the first post. Please add one there if you'd like to it to appear on Slack.

Do not edit this comment manually.

@twschiller twschiller added this to the 2.2.0 milestone Nov 12, 2024
Copy link

codecov bot commented Nov 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.84%. Comparing base (8318d74) to head (e8026bc).
Report is 492 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9507      +/-   ##
==========================================
+ Coverage   74.24%   75.84%   +1.59%     
==========================================
  Files        1332     1415      +83     
  Lines       40817    42793    +1976     
  Branches     7634     7884     +250     
==========================================
+ Hits        30306    32455    +2149     
+ Misses      10511    10338     -173     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link

github-actions bot commented Nov 12, 2024

Playwright test results

passed  148 passed
flaky  6 flaky
skipped  2 skipped

Details

report  Open report ↗︎
stats  156 tests across 51 suites
duration  13 minutes, 5 seconds
commit  e8026bc
info  For more information on how to debug and view this report, see our readme

Flaky tests

chrome › tests/modLifecycle.spec.ts › create, run, package, and update mod
chrome › tests/pageEditor/addStarterBrick.spec.ts › Add starter brick to mod
chrome › tests/pageEditor/brickActions.spec.ts › brick actions panel behavior
msedge › tests/runtime/insertAtCursor.spec.ts › Insert at Cursor › 8154: can insert at cursor after opening sidebar from selection menu
msedge › tests/runtime/localIntegrations.spec.ts › Local Integrations Page › can create a new integration
msedge › tests/telemetry/errors.spec.ts › can report a service worker error to telemetry service

Skipped tests

chrome › tests/runtime/googleSheetsIntegration.spec.ts › can activate a google spreadsheet mod with config options
msedge › tests/runtime/googleSheetsIntegration.spec.ts › can activate a google spreadsheet mod with config options

@fungairino fungairino enabled auto-merge (squash) November 12, 2024 19:16
@fungairino fungairino merged commit f427855 into main Nov 12, 2024
21 checks passed
@fungairino fungairino deleted the common-config branch November 12, 2024 19:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants