-
Notifications
You must be signed in to change notification settings - Fork 4
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
MI-72: Update template to match with recent changes #1090
Conversation
@kai-nguyen-aligent this looks great, thanks for covering so many things. Should we be importing/extending from |
tools/serverless-plugin/src/generators/service/notification-files/README.md
Outdated
Show resolved
Hide resolved
@tvhees I have successfully update and config this to match with |
@TheOrangePuff @AdamJHall can we get this looked at, I assume it's a devops task? |
@TheOrangePuff @AdamJHall I have added the workflow configuration but not will need your help to add the secret & double check my code at this commit |
Hey @kai-nguyen-aligent, Just to confirm which registry should we be authing against? Is it our internal private registry? If so should we instead be making that package public? |
@AdamJHall Yes, we're authing against our internal private registry to install |
No worries, in the meantime then we just need to update your workflow file from
to
|
@tvhees This is now ready for another review. I have migrated our |
@AdamJHall @kai-nguyen-aligent yeah I agree our code standards could be open source. Not sure why I didn't think of that before. |
@kai-nguyen-aligent having checked the requirements around the private registry, I don't think we should merge this until the code standards are open source. It doesn't feel right to me to have an 'open source' template that requires logging in to our registry, refers to private bitbucket for code standards etc. That's a learning for the future too I suppose. |
@AdamJHall When you have time, could you please help me to remove the NPM token for our internal registry? |
Done :) |
@tvhees Please hold off this PR until we merge the one in |
@kai-nguyen-aligent the linked PR is now merged. Do we need to make any further changes here? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
One thing worth bringing up though is the Nx version. Probably justifies its own ticket, but the migration from 17 to 19 went pretty smooth in my fork - figure we can it in core no issues, since we are updating stuff anyway.
tools/serverless-plugin/src/generators/service/general-files/serverless.yml.template
Show resolved
Hide resolved
Yes, Ryan. Upgrading to latest Nx version should be easy. The other part is migration to |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happy to go ahead with merging this.
@kai-nguyen-aligent does this PR change the standard developer experience at all, or should it be mostly the same in terms of setting up a new service? |
This PR aims to keep our template up to date with the following changes:
.editorconfig
from@aligent/ts-code-standards
packagedevDependencies
& added maintenance notestslib
@nx/lint
with@nx/eslint
vitest
v1.0.4 (match with nx v17.3.0 requirement)tsconfig.base.json
and othertsconfig.json
.serverless.yml.template
to pack lambda individually. This reduce lambda package size.