-
-
Notifications
You must be signed in to change notification settings - Fork 244
Can we bundle ESLint and Espree directly in this repository on build? #596
Comments
The issue with that is updates to the site that happen outside of regular ESLint release schedule. In that case, we might've already merged some changes into master on ESLint/espree repositories, but haven't yet published them. Site will pull whatever is latest. If we can make it pull from the last known tag, I'd be fine with that (faster release build is always a good thing). |
Should have clarified, but that’s what I was intending above. Definitely should build with the latest published release, not what’s in master on GitHub. |
Relevant discussion here: eslint/eslint#12006 (comment) |
I would love to see if we could have a build/release step which pulls in ESLint and espree and builds them here. Additionally, this repo could be responsible for copying the documentation from the ESLint repository. This would allow ESLint to go back to a mostly standard release (i.e., wouldn't need to add much to what eslint-release already provides), and this repository can then fully "own" the logic for building and deploying the website. |
I really like that idea. We could then change our release build to do the following:
It would be nice if we could bundle eslint/espree directly into the build step bundles (since it could potentially reduce bundle size), but that would require a much more complicated build step (we'd have to specify the eslint version to bundle and clone it from GitHub directly, I think, since we don't necessarily want to update the site's ESLint version on every release). |
Would love to continue this discussion! At this point, would it be best to bring this to the TSC? |
I don't think this requires TSC approval. I'm for trying this out. Seems like a good idea. |
@kaicataldo has this been addressed? It looks like there were some PRs merged related to this, so just checking. |
Ah, yes! We should be good to go here. Thanks. |
We currently bundle
lib/linter/linter.js
andespree
and copy the bundles into this repository during the release script.It would be nice if we could just do all the bundling directly in this repository every time we build.
Some problems to solve:
Benefits:
eslint/eslint
wouldn't have to worry about bundling any moreThe text was updated successfully, but these errors were encountered: