Skip to content

chore: use nx release #8194

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

Merged
merged 10 commits into from
Jan 6, 2024
Merged

chore: use nx release #8194

merged 10 commits into from
Jan 6, 2024

Conversation

JamesHenry
Copy link
Member

For right now, a pinned header at the top of the changelog file is not supported, so I have removed this in every case to avoid confusion once we do the first release after this goes in:

# Change Log

All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

I'll add support for a pinned header like that into nx release after this and we can bring it back if we want

@typescript-eslint
Copy link
Contributor

Thanks for the PR, @JamesHenry!

typescript-eslint is a 100% community driven project, and we are incredibly grateful that you are contributing to that community.

The core maintainers work on this in their personal time, so please understand that it may not be possible for them to review your work immediately.

Thanks again!


🙏 Please, if you or your company is finding typescript-eslint valuable, help us sustain the project by sponsoring it transparently on https://opencollective.com/typescript-eslint.

Copy link

netlify bot commented Jan 5, 2024

Deploy Preview for typescript-eslint ready!

Name Link
🔨 Latest commit a38f60e
🔍 Latest deploy log https://app.netlify.com/sites/typescript-eslint/deploys/6599331a96369e00085aa2e0
😎 Deploy Preview https://deploy-preview-8194--typescript-eslint.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
Lighthouse
Lighthouse
1 paths audited
Performance: 96 (🔴 down 2 from production)
Accessibility: 100 (no change from production)
Best Practices: 92 (no change from production)
SEO: 98 (no change from production)
PWA: 80 (no change from production)
View the detailed breakdown and full score reports

To edit notification comments on pull requests, go to your Netlify site configuration.

@@ -16,7 +16,6 @@
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["packages/ast-spec/**/*.{mts,cts,ts,tsx}"],
Copy link
Member Author

Choose a reason for hiding this comment

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

The patterns are no longer required, the source files of the project are all eligible to be linted

@JamesHenry JamesHenry marked this pull request as ready for review January 5, 2024 20:33
@JamesHenry
Copy link
Member Author

@typescript-eslint/triage-team any idea why I am getting these integration-test failures?

@@ -1,8 +1,3 @@
# Change Log
Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg Jan 5, 2024

Choose a reason for hiding this comment

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

[Question] While we're here, can we change it to # Changelog? I don't know of any other project that uses two words 😄

Copy link
Member Author

Choose a reason for hiding this comment

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

Ha yeah true

Copy link
Member

@JoshuaKGoldberg JoshuaKGoldberg left a comment

Choose a reason for hiding this comment

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

Awesome to see the Lerna->Nx migration come to a head! 🚀

Requesting changes on moving things to repo-tools and updating the last mention of Lerna from the docs. But I can aquiese if you don't think those should be blocking. 😄

Comment on lines +9 to +10
void (async () => {
try {
Copy link
Member

Choose a reason for hiding this comment

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

[Suggestion] We can avoid these wrappings by changing the file extension to .mts and adding .mts to tsconfig.eslint.json.

Suggested change
void (async () => {
try {

Copy link
Member Author

@JamesHenry JamesHenry Jan 6, 2024

Choose a reason for hiding this comment

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

I did initially and the lint errors went crazy so I punted on that
image

Feel free to adjust in a small follow up if you know what the fix is

Copy link
Member

Choose a reason for hiding this comment

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

It's tsconfig.eslint.json explicitly including only .ts files in this folder, not .mts.

@JoshuaKGoldberg JoshuaKGoldberg added the awaiting response Issues waiting for a reply from the OP or another party label Jan 5, 2024
@JamesHenry
Copy link
Member Author

@JoshuaKGoldberg any thoughts on the failures?

@JoshuaKGoldberg
Copy link
Member

Oh right sorry - it looks like #7890 -> #7891... which is unfortunate because the nx-release branch is up to date. Odd. Maybe a caching issue?

@JamesHenry
Copy link
Member Author

JamesHenry commented Jan 6, 2024

@JoshuaKGoldberg @auvred updated per the PR feedback and now everything is passing except for the TSServer tests for eslint-plugin.

I reran it in case it was flakiness, but the failure seems to be consistent. Any ideas please?

https://github.com/typescript-eslint/typescript-eslint/actions/runs/7431162445/job/20221866549?pr=8194

@auvred
Copy link
Member

auvred commented Jan 6, 2024

Oh, this is a known issue, it's not related to this PR. It should be fixed in #8131 -> #8136

@JamesHenry
Copy link
Member Author

Ah cool thanks, pressing ahead with this then while I still have time to focus on it

@JamesHenry JamesHenry merged commit d0977ab into main Jan 6, 2024
@JamesHenry JamesHenry deleted the nx-release branch January 6, 2024 11:51
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 14, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
awaiting response Issues waiting for a reply from the OP or another party
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants