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 attribute passing for angular and stencil #1665

Merged

Conversation

nmerget
Copy link
Contributor

@nmerget nmerget commented Jan 16, 2025

Description

Please provide the following information:

Add new feature for Angular and Stencil outputs, see this.

Make sure to follow the PR preparation steps in CONTRIBUTING.md before submitting your PR:

  • format the codebase: from the root, run yarn fmt:prettier.
  • update all snapshots (in core & CLI): from the root, run yarn test:update
  • add Changeset entry: from the root, run yarn g:changeset and follow the CLI instructions. Alternatively, use the Changeset Github Bot to create the file.

@nmerget nmerget requested a review from samijaber as a code owner January 16, 2025 07:14
Copy link

changeset-bot bot commented Jan 16, 2025

🦋 Changeset detected

Latest commit: 15ff2f1

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@builder.io/mitosis Patch
@builder.io/mitosis-cli Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Copy link

nx-cloud bot commented Jan 16, 2025

View your CI Pipeline Execution ↗ for commit 15ff2f1.

Command Status Duration Result
nx run-many --target test ✅ Succeeded 4m 57s View ↗
nx e2e @builder.io/e2e-app ✅ Succeeded 1m 13s View ↗
nx run-many --target build --exclude @builder.i... ✅ Succeeded 3m 42s View ↗
nx build @builder.io/mitosis-site ✅ Succeeded 2m 17s View ↗

☁️ Nx Cloud last updated this comment at 2025-01-20 16:39:32 UTC

Copy link
Contributor

@samijaber samijaber left a comment

Choose a reason for hiding this comment

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

Cool! 🚢

packages/core/src/__tests__/angular.test.ts Show resolved Hide resolved
@samijaber samijaber enabled auto-merge (squash) January 20, 2025 16:27
Comment on lines 14 to 28

/*describe('Angular local', () => {
runTestsForTarget({
options: {
standalone: true,
},
target: 'angular',
generator: componentToAngular,
only: [
// 'basicRefAttributePassing',
'basicRefAttributePassingCustomRef'
],
logOutput: true,
});
});*/
Copy link
Contributor

Choose a reason for hiding this comment

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

I see you use these for quick local testing. Will revert my removal 👍🏽

Suggested change
/*describe('Angular local', () => {
runTestsForTarget({
options: {
standalone: true,
},
target: 'angular',
generator: componentToAngular,
only: [
// 'basicRefAttributePassing',
'basicRefAttributePassingCustomRef'
],
logOutput: true,
});
});*/
/*describe('Angular local', () => {
runTestsForTarget({
options: {
standalone: true,
},
target: 'angular',
generator: componentToAngular,
only: [
// 'basicRefAttributePassing',
'basicRefAttributePassingCustomRef'
],
logOutput: true,
});
});*/

@samijaber samijaber disabled auto-merge January 20, 2025 16:33
@samijaber samijaber merged commit b63279f into BuilderIO:main Jan 20, 2025
7 checks passed
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