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 script to build type definitions for theme folders #7087

Merged
merged 2 commits into from
Jan 16, 2024

Conversation

web-padawan
Copy link
Member

Description

Fixes #7073

Added a script that does the following:

  1. Renames all.js files in theme folders to .ts
  2. Runs tsc to generates .d.ts files for them
  3. Restores .js files back and removes .ts

Also added .d.ts files to .gitignore so we don't commit them.

Type of change

  • Feature

@web-padawan web-padawan force-pushed the feat/theme-folders-typings branch from b60a382 to e71de2c Compare January 15, 2024 13:58
package.json Outdated Show resolved Hide resolved
@web-padawan web-padawan force-pushed the feat/theme-folders-typings branch from e71de2c to 1074846 Compare January 15, 2024 14:54
Copy link

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@web-padawan web-padawan merged commit 1e0ddf9 into main Jan 16, 2024
9 checks passed
@web-padawan web-padawan deleted the feat/theme-folders-typings branch January 16, 2024 07:54
@vaadin-bot
Copy link
Collaborator

This ticket/PR has been released with Vaadin 24.4.0.alpha2 and is also targeting the upcoming stable 24.4.0 version.

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.

Importing component from theme folder misses types
4 participants