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

feat: add Lit blueprint #2111

Merged
merged 2 commits into from
Oct 26, 2023
Merged

Conversation

DavideMininni-Fincons
Copy link
Contributor

@DavideMininni-Fincons DavideMininni-Fincons commented Oct 25, 2023

Preflight Checklist

Issue

This PR Closes #

Pull request checklist

Please check if your PR fulfills the following requirements:

  • Tests for the changes have been added (for bug fixes / features)
  • Docs have been reviewed and added / updated if needed (for bug fixes / features)

See Review Guidelines for more information what is checked during review process.

Changes

Changes in this pull request:

  • added templates and script for automatic component generation

Browsers

I tested the build on the following browsers:

  • Firefox Desktop
  • Chrome Desktop
  • Edge Desktop
  • Safari Desktop
  • Chrome Mobile
  • Safari Mobile

Screen readers

I tested the build on the following browsers:

  • JAWS Firefox Desktop
  • JAWS Chrome Desktop
  • NVDA Firefox Desktop
  • NVDA Chrome Desktop
  • VoiceOver Safari Desktop
  • VoiceOver Chrome Desktop
  • VoiceOver Safari Mobile
  • Android Accessibility Suite Chrome Mobile

Pull request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • Documentation content changes
  • Other (please describe):

Does this introduce a breaking change?

  • Yes
  • No

Other information

.prettierignore Outdated
@@ -7,4 +7,5 @@ src/components.d.ts
src/components/*/readme.md
src/global/core/components/*/readme.md
convenience/generate-component/boilerplate/readme.md
convenience/generate-component/boilerplate/component.tsx
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This line is required because prettier strips the apexes before the component name at line 57

@@ -0,0 +1,118 @@
import { join, relative } from 'path';
Copy link
Contributor Author

Choose a reason for hiding this comment

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

The script has been adapted from the old one, changing it to .mts and adapting imports, etc.

@github-actions github-actions bot temporarily deployed to preview-pr2111 October 25, 2023 11:12 Inactive
@codecov-commenter
Copy link

codecov-commenter commented Oct 25, 2023

Codecov Report

❗ No coverage uploaded for pull request base (lit-migration@06fdb52). Click here to learn what that means.
The diff coverage is n/a.

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

@@               Coverage Diff                @@
##             lit-migration    #2111   +/-   ##
================================================
  Coverage                 ?   95.41%           
================================================
  Files                    ?      216           
  Lines                    ?    33738           
  Branches                 ?     1854           
================================================
  Hits                     ?    32190           
  Misses                   ?     1523           
  Partials                 ?       25           

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@jeripeierSBB jeripeierSBB left a comment

Choose a reason for hiding this comment

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

Nice adaption :)

convenience/generate-component/boilerplate/component.tsx Outdated Show resolved Hide resolved
convenience/generate-component/boilerplate/component.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@jeripeierSBB jeripeierSBB left a comment

Choose a reason for hiding this comment

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

LGTM

@DavideMininni-Fincons DavideMininni-Fincons merged commit 9654c3f into lit-migration Oct 26, 2023
10 checks passed
@DavideMininni-Fincons DavideMininni-Fincons deleted the migr/create-new-blueprint branch October 26, 2023 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants