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

Fixes build sequence to include Angular build #57

Merged
merged 4 commits into from
Mar 20, 2024
Merged

Fixes build sequence to include Angular build #57

merged 4 commits into from
Mar 20, 2024

Conversation

AlexeyOplachko
Copy link
Collaborator

Successful release: https://github.com/AlexeyOplachko/grafana-flow/releases/tag/v10.0.11
Validated that it includes changes that were missing due to angular build issues

  • All three exports successfully work
  • Both fixes for "copy" action are included
  • Virtual scroll

package.json Outdated
@@ -3,7 +3,7 @@
"version": "10.0.11",
"description": "Test plugin to lern dev enveroument",
"scripts": {
"build": "webpack -c ./.config/webpack/webpack.config.ts --env production",
"build": "cd ./ngx-flow && npm run build:component && cd .. && webpack -c ./.config/webpack/webpack.config.ts --env production",
Copy link
Contributor

Choose a reason for hiding this comment

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

I would propose splitting this in two scripts we can call in sequence ie: build-ngx and build rather than mixing them together and then in the action npm run build-npx && npm run build

@lmangani lmangani merged commit 685cc15 into metrico:main Mar 20, 2024
1 check passed
@AlexeyOplachko
Copy link
Collaborator Author

Separated build into two stages, one for Angular plugin and one for whole package
New ci.yml result: https://github.com/AlexeyOplachko/grafana-flow/actions/runs/8361527583/job/22889820110
New release.yml result: https://github.com/AlexeyOplachko/grafana-flow/actions/runs/8361536138/job/22889853412

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