Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* initial commit * Toss in everything * fix(PeerDependencies): install them correctly Big changes 1. Use `withCwd` to move around and do things in the right places 2. Stop depending on `yarn list --pattern`, because it's unpredictable (prettier made it return hundreds of packages) 3. Install packages warned about in peerDependencies * Update README.md * Always finish check run, even if it fails * npx standard --fix * Remove withCwd * Don't install peer dependencies if there are none * Add explicit loading path for eslint * Remove note about eslint 6 * Update README.md * 💅 Attempt to install prettier packages, too (#4) * 💅 Attempt to intall prettier packages, too We're seeing some weird prettier errors when linting a project that has eslint configured to run prettier. My theory is that different prettier versions are being installed depending on peer dependencies vs top-level dependencies. 🤞 * Try to nstall babel dependencies, too The same strategy that was used for eslint, applied to babel. Parsing has an impact on linting, so I'm curious to see if this makes the remaining 3 errors on my example branch go away. * Revert "Try to nstall babel dependencies, too" This reverts commit 2df54b0f0b3470abba93bd379d87bae70358106d. * Bump node-fetch from 2.6.0 to 2.6.1 Bumps [node-fetch](https://github.com/bitinn/node-fetch) from 2.6.0 to 2.6.1. - [Release notes](https://github.com/bitinn/node-fetch/releases) - [Changelog](https://github.com/node-fetch/node-fetch/blob/master/docs/CHANGELOG.md) - [Commits](node-fetch/node-fetch@v2.6.0...v2.6.1) Signed-off-by: dependabot[bot] <[email protected]> * Output number of issues found This will be useful for other actions to key off of or use for their own inputs. * Pedantic check name change Matching it up with what the library uses * Add changelog * Release v0.4 * Update README.md * Create CONTRIBUTING.md * Add caching instructions to sample config in README (#8) Worked on with @wassimk and @timhooker * fix: Find peer dependencies that begin with `@` A flaw in the regex for finding peer dependencies meant that any that begin with `@` (e.g. `@babel/core`) would not be found, and would thus not be installed. * fix: Include empty annotations array on error If there is an error, we build a default report object, but it doesn't include an `annotations` property, and so then we get a subsequent error when the `output` attempts to read the length of it. * Allow specifying lowest failure level By default, the check will have passed as long as there are no errors. This commit adds the ability to specify a `failureLevel` which, when set to "warning", will also fail if there are any warnings or errors. * Release v0.5 * Fix github actions typo * 🆕 Support ESLint's new v7 API * Make sure were `await`ing when neccesary * Fix up operators for clairty * Allow ESLint to be installed before requiring it * Don't use relative paths * Setup linter depending on eslint version * Update README.md * Small readme tweaks * Remove redundant bullet point in intro pitch * Bump action versions in sample config * Remove caching step from sample config (shouldn't be necessary with the minimal package.json that the action creates) * Add note about permissions in readme Getting this action working with tools like dependabot that run with reduced permissions takes a bit more configuration. Let's make that clear in the readme. * Restore readme caching suggestion While this action is selective about installing as few dependencies as are necessary for running ESLint, ESLint itself has quite a few dependencies, and if you add more plugins to the mix, even the minimal install can be sizable. In some (many?) cases it could still be beneficial to cache what's installed. This is what used to live in the suggested config, with a note about its optionality. * transition repo to be for typescript * Bump node-fetch from 2.6.1 to 2.6.7 Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7. - [Release notes](https://github.com/node-fetch/node-fetch/releases) - [Commits](node-fetch/node-fetch@v2.6.1...v2.6.7) --- updated-dependencies: - dependency-name: node-fetch dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> * allow for push checks * fix guard * don't throw for error * log more outputs * update reference to bin file * try to track more down * add output * adjust error conclusion * more logging * add annotations * add additional info to annotations * get tsc-silent working * clean out prettified language * yarn everything types come from everything, so we need to install everything * clean up the action.yml file * setup composite runner * move GITHUB_TOKEN to be an input * add branch name * add shell * update way github token is passed * make yarn a nested action * start to allow options for package managing * update api * check if jobs works * remove non-working variables * clean up naming * remove composite nature * reset package versions * update cache name * move to ncc * setup build for main repo * remove node modules from yarn * remove unneeded package.json from yarn project * clean up utils changes * remove unused * update contributing copy * update readme with proper instructions * upgrade node-fetch * refactor to clients * add codeowners Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: Daniel Ma <[email protected]> Co-authored-by: Nick Sheck <[email protected]> Co-authored-by: Dan Ott <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Mo Lawson <[email protected]> Co-authored-by: Shane Bonham <[email protected]> Co-authored-by: Alex Valencia <[email protected]> Co-authored-by: Kevin Thompson <[email protected]>
- Loading branch information