Skip to content
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

npm: bump the all group with 19 updates #29

Merged
merged 10 commits into from
Dec 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading