Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hoverinc/hover-javascript
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.57.1
Choose a base ref
...
head repository: hoverinc/hover-javascript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Loading
Showing with 16,527 additions and 7,702 deletions.
  1. +13 −0 .depcheckrc.json
  2. +0 −18 .github/dependabot.yml
  3. +3 −3 .github/workflows/build.yml
  4. +10 −1 .gitignore
  5. +1 −1 .husky/prepare-commit-msg
  6. +1 −1 .kodiak.toml
  7. +1 −1 .node-version
  8. +363 −0 .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
  9. +9 −0 .yarn/plugins/@yarnpkg/plugin-typescript.cjs
  10. +28 −0 .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
  11. +875 −0 .yarn/releases/yarn-3.8.7.cjs
  12. +16 −0 .yarnrc.yml
  13. +38 −2 README.md
  14. +1 −0 api/depcheck.d.ts
  15. +1 −0 api/depcheck.js
  16. +1 −0 eslint/react-strict.js
  17. +0 −10 jest.config.js
  18. +70 −50 package.json
  19. +1 −1 release.js
  20. +19 −0 renovate.json5
  21. +1 −0 src/__tests__/__snapshots__/index.js.snap
  22. +1 −1 src/__tests__/index.js
  23. +28 −12 src/__tests__/utils.js
  24. +1 −0 src/api/__tests__/__fixtures__/ls/dirs/.gitignore
  25. 0 src/api/__tests__/__fixtures__/ls/dirs/node_modules/.gitkeep
  26. +19 −1 src/api/__tests__/commit.js
  27. +0 −11 src/api/__tests__/test.js
  28. +26 −4 src/api/commit.js
  29. +111 −0 src/api/depcheck/depcheck.js
  30. +4 −0 src/api/depcheck/index.js
  31. +71 −0 src/api/depcheck/specials/babel.js
  32. +3 −0 src/api/depcheck/specials/index.js
  33. +0 −1 src/api/test.js
  34. +342 −0 src/config/__tests__/__snapshots__/eslintrc.js.snap
  35. +28 −0 src/config/__tests__/eslintrc.js
  36. +12 −0 src/config/eslintrc-react-strict.js
  37. +10 −1 src/config/eslintrc-react.js
  38. +9 −0 src/config/eslintrc-strict.js
  39. +10 −5 src/config/helpers/build-eslint.js
  40. +2 −2 src/config/helpers/build-lint-staged.js
  41. +30 −26 src/config/jest.config.js
  42. +1 −1 src/config/release.config.js
  43. +1 −23 src/config/tsconfig.json
  44. +7 −7 src/scripts/__tests__/__snapshots__/ci-after-success.js.snap
  45. +6 −6 src/scripts/__tests__/__snapshots__/commit-msg.js.snap
  46. +3 −3 src/scripts/__tests__/__snapshots__/format.js.snap
  47. +4 −4 src/scripts/__tests__/__snapshots__/pre-commit.js.snap
  48. +2 −0 src/scripts/__tests__/__snapshots__/test.js.snap
  49. +18 −15 src/scripts/__tests__/ci-after-success.js
  50. +8 −4 src/scripts/__tests__/commit-msg.js
  51. +1 −1 src/scripts/__tests__/commit.js
  52. +4 −1 src/scripts/__tests__/format.js
  53. +1 −1 src/scripts/__tests__/lint.js
  54. +8 −5 src/scripts/__tests__/pre-commit.js
  55. +22 −11 src/scripts/__tests__/test.js
  56. +1 −1 src/scripts/__tests__/validate.js
  57. +1 −1 src/scripts/ci-after-success.js
  58. +5 −2 src/scripts/commit-msg.js
  59. +144 −0 src/scripts/depcheck.js
  60. +1 −1 src/scripts/format.js
  61. +1 −0 src/scripts/lint.js
  62. +1 −0 src/scripts/pre-commit.js
  63. +8 −1 src/scripts/test.js
  64. +1 −0 src/{scripts/__tests__ → test}/helpers/serializers.js
  65. +1 −1 src/tsconfig.json
  66. +101 −29 src/utils.js
  67. +21 −2 tsconfig.json
  68. +13,996 −7,430 yarn.lock
13 changes: 13 additions & 0 deletions .depcheckrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"specials": ["babel", "bin", "eslint", "jest", "lint-staged", "tslint"],
"ignoreMatches": [
"@types/*",
"concurrently",
"doctoc",
"eslint-config-*",
"eslint-plugin-*",
"jest-github-actions-reporter",
"lint-staged",
"tslib"
]
}
18 changes: 0 additions & 18 deletions .github/dependabot.yml

This file was deleted.

6 changes: 3 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -29,7 +29,7 @@ jobs:
if: ${{ needs.deduplicate.outputs.should_skip != 'true' }}
strategy:
matrix:
node: ['12', '14', '16']
node: ['14', '16', '18']

steps:
- name: Get Yarn cache path
@@ -45,7 +45,7 @@ jobs:
node-version: ${{ matrix.node }}

- name: Load Yarn cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
@@ -59,7 +59,7 @@ jobs:

- name: Upload Coverage / Release
run: yarn ci-after-success
if: ${{ matrix.node == '14' }}
if: ${{ matrix.node == '16' }}
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -5,4 +5,13 @@ dist
.opt-out
.DS_Store
.eslintcache
.idea
.idea

# See: https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.yarn/*
!.yarn/patches
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*
2 changes: 1 addition & 1 deletion .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -3,6 +3,6 @@
# Automates pair commits with git-duet
# See: https://github.com/git-duet/git-duet/#co-authored-by-trailer-support

if [ $(git help -a | grep duet-prepare-msg) ]; then
if [ $(git help -a | grep duet-prepare-commit-msg) ]; then
exec git duet-prepare-commit-msg "$@"
fi
2 changes: 1 addition & 1 deletion .kodiak.toml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@ versions = ["patch"]
usernames = ["dependabot"]

[approve]
auto_approve_usernames = ["dependabot"]
auto_approve_usernames = ["renovate"]

[update]
ignored_usernames = ["dependabot"]
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.13.0
18.20.8
Loading