-
-
Notifications
You must be signed in to change notification settings - Fork 702
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
Release tooling #821
Comments
Will offer more later, but just want to note for now that (just like adding linting), I consider all of these post-v4 considerations. |
Thanks for making this issue @shvaikalesh. Just FYI, the modules we've been splitting out have been using Browserify, with npm scripts and semantic-release. Take a look at https://github.com/chaijs/check-error, https://github.com/chaijs/pathval, chaijs/deep-eql#14, https://github.com/chaijs/type-detect. If we want to add new tooling, like Rollup, I think we should experiment in the smaller modules for now. While these modules are still integral to chai, they have a much smaller scope and so should be easier to verify results. |
As an aside @shvaikalesh; how would you like to join the chai team as a maintainer? Being a maintainer will give you the ability to approve or reject changes, and close or reopen issues. As you've probably seen already, we ensure every PR is approved by at least 2 maintainers, and we have some maintainers who are more active than others - you will not be expected to have a certain amount of output. Thoughts? |
@shvaikalesh You'd also be required to legally change your first name to Lucas within 6 months of joining the team, but that's just a minor detail. |
I agree with @meeber and @keithamus. Let's add these changes gradually after Chai's project will be able to move pretty fast now we've got such awesome new contributors 😄 |
@keithamus Thanks for the links, I am all for doing this gradually and after |
I'd like to bring up linting again. We've discussed in the past about waiting to introduce linting until we've broken out more of the code into modules. However, my current feeling is that the Chai Team (self-included) have been extra busy lately outside of Chai, and it's unlikely we'll get to the module migration anytime soon. I think we should push forward with linting now. In addition to ESLint, I think it's worth taking a look at https://github.com/prettier/prettier. I like the idea of helping to bring stylistic consistency across major open source projects, especially in regard to a lot of the highly subjective style preferences. (This also means closing #1042 and #1052, since those changes would be resolved via linting.) Pinging @shvaikalesh, @keithamus, @lucasfcosta, @vieiralucas |
My worry of bringing it in, is it causes many large diffs while we fix a bunch of huge files. The purpose of waiting til we split out modules is that as modules are split, they follow better practises of many-small-files and also it means less noise here. That being said, those are just my feelings and if everyone else feels we should move to using eslint right away, then let's do that. |
I have added these tooling-related tasks to our These are the cards related to it: |
I understand that what I am suggesting is quite big and demands a long discussion, but nevertheless:
semantic-release
instead of custom release logic inMakefile
.package.json
withchai
and keep git history oflib/chai.js
clean from version bumps.Makefile
may be considered unwelcoming to JS developers.The text was updated successfully, but these errors were encountered: