kolint / next

Modern toolchain for enhancing usage of Knockout.js
https://kolint.github.io/next/
MIT License
1 stars 1 forks source link

Roadmap #1

Open tscpp opened 5 months ago

tscpp commented 5 months ago

Stage 1

Stage 2

Stage 3

Stage 4

...

tscpp commented 5 months ago

cc @ondrejmirtes

tscpp commented 5 months ago

Stage 1 completed 🥳

ondrejmirtes commented 5 months ago

How can I test this please?

tscpp commented 5 months ago

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

ondrejmirtes commented 5 months ago

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.

tscpp commented 5 months ago

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

ondrejmirtes commented 5 months ago

@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 commented 5 months ago

@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

tscpp commented 5 months ago

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

ondrejmirtes commented 5 months ago

Thanks! I'm going to be opening issues with the problems I find.