Skip to content

Commit

Permalink
Merge branch 'next' into chore/tr_states
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT authored Jul 14, 2023
2 parents 47f5410 + 12a511c commit ebe78b5
Show file tree
Hide file tree
Showing 29 changed files with 748 additions and 591 deletions.
3 changes: 2 additions & 1 deletion .github/renovate.json5
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
"config:base",
"schedule:earlyMondays",
"group:allNonMajor",
":prHourlyLimitNone"
":prHourlyLimitNone",
"helpers:pinGitHubActionDigests"
],
"labels": ["c: dependencies"],
"reviewersFromCodeOwners": true,
Expand Down
44 changes: 22 additions & 22 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,23 +35,23 @@ jobs:
name: 'Build & Unit Test: node-${{ matrix.node_version }}, ${{ matrix.os }}'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
# Required for docs/versions tests
fetch-depth: 0

- name: Install pnpm (node 14, pnpm 7)
if: matrix.node_version == 14
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # v2.2.4
with:
version: 7

- name: Install pnpm
if: matrix.node_version != 14
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # v2.2.4

- name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ matrix.node_version }}
cache: 'pnpm'
Expand Down Expand Up @@ -90,16 +90,16 @@ jobs:
run: date

- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
# Required for docs/versions tests
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # v2.2.4

- name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: ${{ matrix.node_version }}
cache: 'pnpm'
Expand All @@ -122,10 +122,10 @@ jobs:
name: 'E2E Doc Test: node-18, ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # v2.2.4

- name: Install deps
run: pnpm install
Expand All @@ -143,15 +143,15 @@ jobs:
name: 'Lint: node-18, ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # v2.2.4

- name: Set node version to 18
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
cache: 'pnpm'
Expand All @@ -173,15 +173,15 @@ jobs:
name: 'TS-Check Scripts: node-18, ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # v2.2.4

- name: Set node version to 18
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
cache: 'pnpm'
Expand All @@ -200,15 +200,15 @@ jobs:
name: 'TS-Check Tests: node-18, ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # v2.2.4

- name: Set node version to 18
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
cache: 'pnpm'
Expand All @@ -227,15 +227,15 @@ jobs:
name: 'Codecov: node-18, ubuntu-latest'
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # v2.2.4

- name: Set node version to 18
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
cache: 'pnpm'
Expand All @@ -252,7 +252,7 @@ jobs:
run: pnpm vitest run --coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3.1.4
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: true
4 changes: 2 additions & 2 deletions .github/workflows/comment-issue.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
issues: write
steps:
- name: Add Comment For User Interest
uses: actions/github-script@v6
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
with:
script: |
github.rest.issues.createComment({
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:
})
- name: React to Issue
uses: actions/github-script@v6
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
with:
script: |
github.rest.reactions.createForIssue({
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
pull-requests: write
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
with:
fetch-depth: 0

- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@c3b53f6a16e57305370b4ae5a540c2077a1d50dd # v2.2.4

- name: Set node version to 18
uses: actions/setup-node@v3
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3.6.0
with:
node-version: 18
cache: 'pnpm'
Expand Down Expand Up @@ -53,7 +53,7 @@ jobs:
run: pnpm exec tsc .github/workflows/commentCodeGeneration.ts --outDir .github/workflows

- name: Comment
uses: actions/github-script@v6
uses: actions/github-script@d7906e4ad0b1822421a7e6a35d5ca353c962f410 # v6.4.1
with:
script: |
const script = require('${{ github.workspace }}/.github/workflows/commentCodeGeneration.js')
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/semantic-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
name: Semantic Pull Request
steps:
- name: Validate PR title
uses: amannn/action-semantic-pull-request@v5
uses: amannn/action-semantic-pull-request@c3cd5d1ea3580753008872425915e343e351ab54 # v5.2.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
Expand Down
2 changes: 1 addition & 1 deletion docs/guide/frameworks.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe('reverse array', () => {

## Cypress

[Cypress](https://www.cypress.io/) integration is fairly straighforward as well:
[Cypress](https://www.cypress.io/) integration is fairly straightforward as well:

```ts
import { faker } from '@faker-js/faker/locale/en';
Expand Down
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,31 +93,31 @@
},
"devDependencies": {
"@actions/github": "~5.1.1",
"@algolia/client-search": "~4.17.1",
"@algolia/client-search": "~4.18.0",
"@types/markdown-it": "~12.2.3",
"@types/node": "~20.3.1",
"@types/node": "~20.4.1",
"@types/prettier": "~2.7.3",
"@types/react": "~18.2.8",
"@types/react": "~18.2.14",
"@types/sanitize-html": "~2.9.0",
"@types/semver": "~7.5.0",
"@types/validator": "~13.7.17",
"@typescript-eslint/eslint-plugin": "~5.60.0",
"@typescript-eslint/parser": "~5.60.0",
"@vitest/coverage-v8": "~0.32.2",
"@vitest/ui": "~0.32.2",
"@vueuse/core": "~10.2.0",
"@typescript-eslint/eslint-plugin": "~5.61.0",
"@typescript-eslint/parser": "~5.61.0",
"@vitest/coverage-v8": "~0.33.0",
"@vitest/ui": "~0.33.0",
"@vueuse/core": "~10.2.1",
"conventional-changelog-cli": "~3.0.0",
"cypress": "~12.15.0",
"esbuild": "~0.18.8",
"eslint": "~8.43.0",
"cypress": "~12.17.0",
"esbuild": "~0.18.11",
"eslint": "~8.44.0",
"eslint-config-prettier": "~8.8.0",
"eslint-define-config": "~1.21.0",
"eslint-gitignore": "~0.1.0",
"eslint-plugin-deprecation": "~1.4.1",
"eslint-plugin-jsdoc": "~46.3.0",
"eslint-plugin-jsdoc": "~46.4.3",
"eslint-plugin-prettier": "~4.2.1",
"eslint-plugin-vitest": "~0.2.6",
"glob": "~10.3.0",
"glob": "~10.3.3",
"npm-run-all": "~4.1.5",
"picocolors": "~1.0.0",
"prettier": "2.8.8",
Expand All @@ -126,15 +126,15 @@
"react-dom": "~18.2.0",
"rimraf": "~5.0.1",
"sanitize-html": "~2.11.0",
"semver": "~7.5.3",
"semver": "~7.5.4",
"standard-version": "~9.5.0",
"tsx": "~3.12.7",
"typedoc": "~0.24.8",
"typescript": "~4.9.5",
"validator": "~13.9.0",
"vite": "~4.3.9",
"vitepress": "1.0.0-beta.1",
"vitest": "~0.32.2",
"vite": "~4.4.2",
"vitepress": "1.0.0-beta.5",
"vitest": "~0.33.0",
"vue": "~3.3.4"
},
"packageManager": "pnpm@8.5.1",
Expand Down
Loading

0 comments on commit ebe78b5

Please sign in to comment.