Open tscpp opened 5 months ago
cc @ondrejmirtes
Stage 1 completed 🥳
How can I test this please?
How can I test this please?
I haven't completely figured this out yet. You can test the functionally from within the repo, but I need to document how to test the packages outside of the repo.
I am working on a contributing guide (not merged yet): https://github.com/kolint/next/blob/3e56000/contributing.md
@ondrejmirtes
Can you publish the final form (a kolint CLI command basically as it's known today) so I can test it and give feedback? It'd be useful before the other stages.
Can you publish the final form (a kolint CLI command basically as it's known today) so I can test it and give feedback? It'd be useful before the other stages.
Sure. I'll pre-release a major.
@ondrejmirtes
@tscpp A tip: It's worth it to automate the process as much as possible in GitHub Actions, so that releasing a new version is basically done by pushing a new Git tag, or manually running a workflow (workflow_dispatch).
You could release versions such as 0.0.1, 0.0.2 etc. so that it's easy to test these changes easily, and give feedback. Thanks!
@tscpp A tip: It's worth it to automate the process as much as possible in GitHub Actions, so that releasing a new version is basically done by pushing a new Git tag, or manually running a workflow (workflow_dispatch).
You could release versions such as 0.0.1, 0.0.2 etc. so that it's easy to test these changes easily, and give feedback. Thanks!
@ondrejmirtes
I have some experience managing monorepos, and I basically fear using automated releases. They always manages to break. Plus, some packages are versioned independently (e.g. eslint-plugin) so tagging won't work.
It's possible I'll configure this in the future, but from my experience, it always manages to steal way too much time. Thanks for the tip though! 🙂
For now, I think Nx works great for this. So it's no harder than running nx release
from the command line.
I'm working on getting the release to work right now
All kolint packages are published under the @kolint/
scope now. @kolint/check
is the package containing the CLI for checking files. I will maybe rename the package to @kolint/lint
or @kolint/linter
later.
I have not fully tested all packages yet, but I have at least made sure it runs. Stuff may be broken after the refactoring. I am writing tests, but not everything is covered yet.
npm i -D @kolint/check@beta
npx kolint view.html
cc @ondrejmirtes
Thanks! I'm going to be opening issues with the problems I find.
Stage 1
Stage 2
Fix version commit to include pre.jsonDon't auto-commit changesetsStage 3
Stage 4
...