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

chore: upgrade stencil & migrate from vue-cli to vite #1070

Merged
merged 8 commits into from
Oct 5, 2023

Conversation

janivo
Copy link
Collaborator

@janivo janivo commented Oct 2, 2023

closes #871

Changes to combat CI issues.

Problem was some cryptic error in our pipeline within the elements-vue-example build process:
image
This error occurred in all of our PRs as well as in the master branch but not locally.

Initially, I suspected that the issue might be related to the yarn.lock file. Deleting and rebuilding it did not resolve the problem.

Subsequently, I considered the possibility of a problem related to Stencil. To address this, I upgraded Stencil from version 2.x to the latest version 4.4. Unfortunately, this upgrade did not resolve the error in the pipeline. During this process, I also took the opportunity to update some other dependencies, including React, NX, and Vite. Additionally, I made some changes to the stencil configuration and the Angular Output Target. These changes brought the syntax of the Angular Output Target in line with that of the Vue Output Target, eliminating the need for our previously hand-written ValueAccessors.

Finally, I speculated that the deprecated Vue-CLI might be causing the issue. To test this theory, I replaced Vue-CLI with Vite, and it appears that the issue has been resolved.

@janivo janivo temporarily deployed to github-pages October 4, 2023 08:54 — with GitHub Actions Inactive
@janivo janivo changed the title chore: update yarn lock chore: upgrade stencil & move from vue-cli to vite Oct 4, 2023
@janivo janivo marked this pull request as ready for review October 4, 2023 13:20
@janivo janivo changed the title chore: upgrade stencil & move from vue-cli to vite chore: upgrade stencil & migrate from vue-cli to vite Oct 4, 2023
Copy link
Collaborator

@BingeCode BingeCode left a comment

Choose a reason for hiding this comment

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

Looks great to me and works locally (although I am not sure of all the effects of the changes). Great job!

@janivo janivo merged commit 55c06fb into master Oct 5, 2023
12 checks passed
@janivo janivo deleted the test-yarn-lock-update branch October 5, 2023 08:14
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.

Update Stencil to latest
2 participants