Skip to content

Commit

Permalink
npm: bump the all group with 19 updates (#29)
Browse files Browse the repository at this point in the history
* npm: bump the all group with 19 updates

Bumps the all group with 19 updates:

| Package | From | To |
| --- | --- | --- |
| [@changesets/cli](https://github.com/changesets/changesets) | `2.26.2` | `2.27.11` |
| [@testing-library/react](https://github.com/testing-library/react-testing-library) | `14.0.0` | `16.1.0` |
| [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) | `29.5.6` | `29.5.14` |
| [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) | `6.9.0` | `8.18.2` |
| [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) | `6.9.0` | `8.18.2` |
| [eslint](https://github.com/eslint/eslint) | `8.52.0` | `9.17.0` |
| [eslint-config-grisaia-react](https://github.com/RevoTale/js-package-utils) | `0.6.14` | `0.6.17` |
| [eslint-config-grisaia-typescript](https://github.com/RevoTale/js-package-utils) | `0.6.14` | `0.6.18` |
| [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) | `9.0.0` | `9.1.0` |
| [eslint-plugin-prettier](https://github.com/prettier/eslint-plugin-prettier) | `5.0.1` | `5.2.1` |
| [grisaia-package-builder](https://github.com/RevoTale/js-package-utils) | `0.1.13` | `0.1.17` |
| [prettier](https://github.com/prettier/prettier) | `3.0.3` | `3.4.2` |
| [react](https://github.com/facebook/react/tree/HEAD/packages/react) | `18.2.0` | `19.0.0` |
| [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) | `18.2.31` | `19.0.2` |
| [react-dom](https://github.com/facebook/react/tree/HEAD/packages/react-dom) | `18.2.0` | `19.0.0` |
| [react-test-renderer](https://github.com/facebook/react/tree/HEAD/packages/react-test-renderer) | `18.2.0` | `19.0.0` |
| [ts-jest](https://github.com/kulshekhar/ts-jest) | `29.1.1` | `29.2.5` |
| [ts-node](https://github.com/TypeStrong/ts-node) | `10.9.1` | `10.9.2` |
| [typescript](https://github.com/microsoft/TypeScript) | `5.2.2` | `5.7.2` |


Updates `@changesets/cli` from 2.26.2 to 2.27.11
- [Release notes](https://github.com/changesets/changesets/releases)
- [Changelog](https://github.com/changesets/changesets/blob/main/docs/modifying-changelog-format.md)
- [Commits](https://github.com/changesets/changesets/compare/@changesets/cli@2.26.2...@changesets/cli@2.27.11)

Updates `@testing-library/react` from 14.0.0 to 16.1.0
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](testing-library/react-testing-library@v14.0.0...v16.1.0)

Updates `@types/jest` from 29.5.6 to 29.5.14
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest)

Updates `@typescript-eslint/eslint-plugin` from 6.9.0 to 8.18.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.18.2/packages/eslint-plugin)

Updates `@typescript-eslint/parser` from 6.9.0 to 8.18.2
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.18.2/packages/parser)

Updates `eslint` from 8.52.0 to 9.17.0
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](eslint/eslint@v8.52.0...v9.17.0)

Updates `eslint-config-grisaia-react` from 0.6.14 to 0.6.17
- [Release notes](https://github.com/RevoTale/js-package-utils/releases)
- [Commits](https://github.com/RevoTale/js-package-utils/compare/eslint-config-grisaia-react@0.6.14...eslint-config-grisaia-react@0.6.17)

Updates `eslint-config-grisaia-typescript` from 0.6.14 to 0.6.18
- [Release notes](https://github.com/RevoTale/js-package-utils/releases)
- [Commits](https://github.com/RevoTale/js-package-utils/compare/eslint-config-grisaia-typescript@0.6.14...eslint-config-grisaia-typescript@0.6.18)

Updates `eslint-config-prettier` from 9.0.0 to 9.1.0
- [Changelog](https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/eslint-config-prettier@v9.0.0...v9.1.0)

Updates `eslint-plugin-prettier` from 5.0.1 to 5.2.1
- [Release notes](https://github.com/prettier/eslint-plugin-prettier/releases)
- [Changelog](https://github.com/prettier/eslint-plugin-prettier/blob/master/CHANGELOG.md)
- [Commits](prettier/eslint-plugin-prettier@v5.0.1...v5.2.1)

Updates `grisaia-package-builder` from 0.1.13 to 0.1.17
- [Release notes](https://github.com/RevoTale/js-package-utils/releases)
- [Commits](https://github.com/RevoTale/js-package-utils/compare/grisaia-package-builder@0.1.13...grisaia-package-builder@0.1.17)

Updates `prettier` from 3.0.3 to 3.4.2
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](prettier/prettier@3.0.3...3.4.2)

Updates `react` from 18.2.0 to 19.0.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react)

Updates `@types/react` from 18.2.31 to 19.0.2
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react)

Updates `react-dom` from 18.2.0 to 19.0.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react-dom)

Updates `react-test-renderer` from 18.2.0 to 19.0.0
- [Release notes](https://github.com/facebook/react/releases)
- [Changelog](https://github.com/facebook/react/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/react/commits/v19.0.0/packages/react-test-renderer)

Updates `ts-jest` from 29.1.1 to 29.2.5
- [Release notes](https://github.com/kulshekhar/ts-jest/releases)
- [Changelog](https://github.com/kulshekhar/ts-jest/blob/main/CHANGELOG.md)
- [Commits](kulshekhar/ts-jest@v29.1.1...v29.2.5)

Updates `ts-node` from 10.9.1 to 10.9.2
- [Release notes](https://github.com/TypeStrong/ts-node/releases)
- [Changelog](https://github.com/TypeStrong/ts-node/blob/main/development-docs/release-template.md)
- [Commits](TypeStrong/ts-node@v10.9.1...v10.9.2)

Updates `typescript` from 5.2.2 to 5.7.2
- [Release notes](https://github.com/microsoft/TypeScript/releases)
- [Changelog](https://github.com/microsoft/TypeScript/blob/main/azure-pipelines.release.yml)
- [Commits](microsoft/TypeScript@v5.2.2...v5.7.2)

---
updated-dependencies:
- dependency-name: "@changesets/cli"
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: "@types/jest"
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: eslint
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: eslint-config-grisaia-react
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: eslint-config-grisaia-typescript
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: eslint-config-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: eslint-plugin-prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: grisaia-package-builder
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: react
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: "@types/react"
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: react-dom
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: react-test-renderer
  dependency-type: direct:development
  update-type: version-update:semver-major
  dependency-group: all
- dependency-name: ts-jest
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: ts-node
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: typescript
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>

* Pubp actions

* ignore store

* No frozen lockfile because no pnpm lock

* Fix action version

* Fix action version

* Fix eslint config

* Fix packages

* fix prettier

* add prettier ignore

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: l-you <l-you@revotale.com>
  • Loading branch information
dependabot[bot] and l-you authored Dec 25, 2024
1 parent 8665b66 commit 9017685
Show file tree
Hide file tree
Showing 11 changed files with 4,664 additions and 5,134 deletions.
40 changes: 0 additions & 40 deletions .eslintrc.json

This file was deleted.

80 changes: 40 additions & 40 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
version: 2
updates:
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "weekly"
groups:
all:
patterns:
- "*"
commit-message:
prefix: "php packages"
- package-ecosystem: "github-actions"
directory: /
groups:
all:
patterns:
- "*"
commit-message:
prefix: "github-actions"
schedule:
interval: "weekly"
- package-ecosystem: "npm"
directory: "/"
groups:
all:
patterns:
- "*"
schedule:
interval: "weekly"
commit-message:
prefix: "npm"
- package-ecosystem: "docker"
groups:
all:
patterns:
- "*"
directory: "/"
schedule:
interval: "weekly"
commit-message:
prefix: "docker"
- package-ecosystem: 'composer'
directory: '/'
schedule:
interval: 'weekly'
groups:
all:
patterns:
- '*'
commit-message:
prefix: 'php packages'
- package-ecosystem: 'github-actions'
directory: /
groups:
all:
patterns:
- '*'
commit-message:
prefix: 'github-actions'
schedule:
interval: 'weekly'
- package-ecosystem: 'npm'
directory: '/'
groups:
all:
patterns:
- '*'
schedule:
interval: 'weekly'
commit-message:
prefix: 'npm'
- package-ecosystem: 'docker'
groups:
all:
patterns:
- '*'
directory: '/'
schedule:
interval: 'weekly'
commit-message:
prefix: 'docker'
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,18 +18,18 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- uses: pnpm/action-setup@v2.2.4
- uses: pnpm/action-setup@v4
- name: Setup Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: pnpm

- run: pnpm install --frozen-lockfile
- run: pnpm install

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
os: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2.4.0
- uses: actions/setup-node@v3
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- run: pnpm i --frozen-lockfile
- run: pnpm i
- run: pnpm test
env:
CI: true
Expand All @@ -39,8 +39,8 @@ jobs:
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2.4.0
- uses: actions/setup-node@v3
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: pnpm
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,4 @@ tsconfig.tsbuildinfo
.parcel-cache
.pnp.*
.idea
.pnpm-store
3 changes: 3 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
dist
node_modules
README.md
pnpm-lock.yaml
CHANGELOG.md
48 changes: 24 additions & 24 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,112 +4,112 @@

### Patch Changes

- 0401931: Bump eslint
- 0401931: Bump eslint

## 0.4.5

### Patch Changes

- 407a9c3: Update organization name
- 407a9c3: Update organization name

## 0.4.4

### Patch Changes

- a7cfae4: Make CI more semantic.
- a7cfae4: Make CI more semantic.

## 0.4.3

### Patch Changes

- 055d4dd: Reduce complexity of build process. Gracefully reduce amount of dependenciec and package.json file size.
- 1d90b20: Reduced .eslintrc config size
- 055d4dd: Unnecesarry config removed.
- 055d4dd: Reduce scripts amount. Be eloquent in this question.
- e5d580f: Upgrade rimraf
- 2b42f69: Fixed typo in Readme
- 055d4dd: Reduce complexity of build process. Gracefully reduce amount of dependenciec and package.json file size.
- 1d90b20: Reduced .eslintrc config size
- 055d4dd: Unnecesarry config removed.
- 055d4dd: Reduce scripts amount. Be eloquent in this question.
- e5d580f: Upgrade rimraf
- 2b42f69: Fixed typo in Readme

## 0.4.2

### Patch Changes

- 02b449a: Make consistent naming between npm and github.
- 02b449a: Make consistent naming between npm and github.

## 0.4.1

### Patch Changes

- a9754dc: Add npm provenance as a feature in readme.
- a9754dc: Add npm provenance as a feature in readme.

## 0.4.0

### Minor Changes

- 5ba0ac2: Breaking change! Package renamed from `@rusted/react-recaptcha-v3 to react-grecaptcha-v3.
- 5ba0ac2: Breaking change! Package renamed from `@rusted/react-recaptcha-v3 to react-grecaptcha-v3.

## 0.3.8

### Patch Changes

- 80d4241: Improve documentation
- 80d4241: Improve documentation

## 0.3.7

### Patch Changes

- 5c589fd: Fix the ID-token permission to enable provenance
- 5c589fd: Fix the ID-token permission to enable provenance

## 0.3.6

### Patch Changes

- 7634616: Fixed id-token permissions for CI release process
- 7634616: Fixed id-token permissions for CI release process

## 0.3.5

### Patch Changes

- 51f96f3: Add provenance
- 51f96f3: Add provenance

## 0.3.4

### Patch Changes

- 26d370c: Use peer dependencies for React.
- da25f9a: Fix package to be compatible with older react versions.
- 26d370c: Use peer dependencies for React.
- da25f9a: Fix package to be compatible with older react versions.

## 0.3.3

### Patch Changes

- 7ff8e82: Improved documentation.
- 7ff8e82: Improved documentation.

## 0.3.2

### Patch Changes

- 9b12da5: Fixed bug with not all actions sent on recaptcha load.
- 9b12da5: Fixed bug with not all actions sent on recaptcha load.

## 0.3.1

### Patch Changes

- 9389a2e: Fix cases when window.grecaptcha is set, but no `execute` function
- 9389a2e: Fix cases when window.grecaptcha is set, but no `execute` function

## 0.3.0

### Minor Changes

- 9be3537: Bug fix. Recaptcha events registered during `injectionDelay` did not fire.
- 9be3537: Bug fix. Recaptcha events registered during `injectionDelay` did not fire.

## 0.2.0

### Minor Changes

- 99e7932: New hook added. `useSkipInjectionDelay` allows to ignore timeout set by `injectionDelay`. It forces recaptcha to be loaded immediately.
- 99e7932: New hook added. `useSkipInjectionDelay` allows to ignore timeout set by `injectionDelay`. It forces recaptcha to be loaded immediately.

## 0.1.8

### Patch Changes

- 1a0410a: Release management with changeset package. Publish to NPM with github action workflow.
- 1a0410a: Release management with changeset package. Publish to NPM with github action workflow.
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ Obtain a `siteKey` (your reCaptcha token) before using this library.

## Key Features 🎯

- **Prevent degrading PageSpeed Insights score** with power of `injectionDelay` property.
- **Lazy `siteKey` in case it is provided by back-end AP**I.
- **Lazy load reCaptcha assets** for key points of your application. Function provided by `useSkipInjectionDelay` hook allows to ignore `injectionDelay`
- Clear versioning with help of [Changeset](https://github.com/changesets/changesets).
- Highly tested code with [Typescript](https://github.com/microsoft/TypeScript) and [Jest](https://github.com/jestjs/jest).
- Confirmed [Provenance](https://www.npmjs.com/package/react-grecaptcha-v3#provenance) by npm. It guarantees transparency in a library release process.
- **Prevent degrading PageSpeed Insights score** with power of `injectionDelay` property.
- **Lazy `siteKey` in case it is provided by back-end AP**I.
- **Lazy load reCaptcha assets** for key points of your application. Function provided by `useSkipInjectionDelay` hook allows to ignore `injectionDelay`
- Clear versioning with help of [Changeset](https://github.com/changesets/changesets).
- Highly tested code with [Typescript](https://github.com/microsoft/TypeScript) and [Jest](https://github.com/jestjs/jest).
- Confirmed [Provenance](https://www.npmjs.com/package/react-grecaptcha-v3#provenance) by npm. It guarantees transparency in a library release process.

## How to install?

- `yarn add react-grecaptcha-v3` for [Yarn](https://yarnpkg.com).
- `pnpm add react-grecaptcha-v3` for [pnpm](https://pnpm.io)
- `npm install react-grecaptcha-v3` for [npm](https://www.npmjs.com)
- `yarn add react-grecaptcha-v3` for [Yarn](https://yarnpkg.com).
- `pnpm add react-grecaptcha-v3` for [pnpm](https://pnpm.io)
- `npm install react-grecaptcha-v3` for [npm](https://www.npmjs.com)

## Components documentation

Expand Down
7 changes: 7 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import love from 'eslint-config-love'

export default {
...love,
files: ['./src/**/*.tsx', './src/**/*.ts'],
ignorePatterns: ['/__tests__/sources/**', '**/dist/**'],
}
21 changes: 10 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,13 @@
},
"devDependencies": {
"@changesets/cli": "^2.26.2",
"@testing-library/react": "^14.0.0",
"@testing-library/react": "^16.1.0",
"@testing-library/react-hooks": "^8.0.1",
"@types/jest": "^29.5.6",
"@types/react": "^18.2.31",
"@typescript-eslint/eslint-plugin": "^6.9.0",
"@typescript-eslint/parser": "^6.9.0",
"eslint": "^8.52.0",
"eslint-config-grisaia-react": "^0.6.14",
"eslint-config-grisaia-typescript": "^0.6.14",
"@types/react": "^19.0.2",
"@typescript-eslint/eslint-plugin": "^8.18.2",
"@typescript-eslint/parser": "^8.18.2",
"eslint": "^9.17.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.1",
"grisaia-package-builder": "^0.1.13",
Expand All @@ -37,12 +35,13 @@
"jest-environment-jsdom": "^29.7.0",
"jest-junit": "^16.0.0",
"prettier": "^3.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-test-renderer": "^18.2.0",
"react": "^19.0.0",
"react-dom": "^19.0.0",
"react-test-renderer": "^19.0.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.9.1",
"typescript": "^5.2.2"
"typescript": "^5.2.2",
"eslint-config-love": "^113.0.0"
},
"keywords": [
"react",
Expand Down
Loading

0 comments on commit 9017685

Please sign in to comment.