Skip to content

Commit 0f6d4e1

Browse files
committed
Update package versions and dependencies
1 parent 84810b5 commit 0f6d4e1

File tree

17 files changed

+2624
-3983
lines changed

17 files changed

+2624
-3983
lines changed

.github/workflows/deploy.yml

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
---
2+
jobs:
3+
deploy:
4+
env:
5+
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
6+
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
7+
CLOUDFLARE_DIRECTORY: ${{ vars.CLOUDFLARE_DIRECTORY }}
8+
CLOUDFLARE_PROJECT_NAME: ${{ vars.CLOUDFLARE_PROJECT_NAME }}
9+
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
10+
environment:
11+
name: ${{ github.ref_name }}
12+
name: Deploy to Cloudflare Pages
13+
permissions:
14+
contents: read
15+
deployments: write
16+
runs-on: ubuntu-latest
17+
steps:
18+
- uses: actions/checkout@v4
19+
- uses: pnpm/action-setup@v4
20+
with:
21+
version: ^9
22+
- uses: actions/setup-node@v4
23+
with:
24+
cache: pnpm
25+
node-version-file: package.json
26+
- run: pnpm add -g wrangler && SKIP_POSTINSTALL=1 pnpm i && pnpm build:web
27+
env:
28+
SKIP_POSTINSTALL: 1
29+
- id: publish
30+
if: ${{ env.CLOUDFLARE_PROJECT_NAME != '' }}
31+
uses: ptb/cf-pages-action@v1.6.0
32+
with:
33+
accountId: ${{ env.CLOUDFLARE_ACCOUNT_ID }}
34+
apiToken: ${{ env.CLOUDFLARE_API_TOKEN }}
35+
directory: ${{ env.CLOUDFLARE_DIRECTORY }}
36+
environmentName: ${{ github.ref_name }}
37+
projectName: ${{ env.CLOUDFLARE_PROJECT_NAME }}
38+
- if: ${{ env.CLOUDFLARE_PROJECT_NAME != '' }}
39+
uses: mydea/action-wait-for-api@v2
40+
with:
41+
interval: 5
42+
timeout: 40
43+
url: ${{ steps.publish.outputs.url }}
44+
- if: ${{ env.LHCI_GITHUB_APP_TOKEN != '' }}
45+
uses: treosh/lighthouse-ci-action@v12
46+
with:
47+
temporaryPublicStorage: true
48+
urls: |
49+
${{ steps.publish.outputs.url }}
50+
name: Deploy
51+
'on':
52+
push:
53+
branches: [develop, testing, preview, release]

app/package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"dependencies": {
4-
"@expo/metro-config": "0.18.7",
5-
"expo": "51.0.14",
6-
"expo-router": "3.5.16",
4+
"@expo/metro-config": "0.18.10",
5+
"expo": "51.0.24",
6+
"expo-router": "3.5.20",
77
"lodash": "4.17.21",
88
"react": "18.2.0",
9-
"react-native": "0.74.2",
10-
"react-native-safe-area-context": "4.10.5"
9+
"react-native": "0.74.3",
10+
"react-native-safe-area-context": "4.10.8"
1111
},
1212
"devDependencies": {
1313
"@types/babel__core": "7.20.5",
14-
"@types/lodash": "4.17.5",
15-
"@types/node": "20.14.8",
14+
"@types/lodash": "4.17.7",
15+
"@types/node": "20.14.14",
1616
"@types/react": "18.3.3",
17-
"typescript": "5.5.2"
17+
"typescript": "5.5.4"
1818
},
1919
"main": "src/index.ts",
2020
"private": true,

package.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,19 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"devDependencies": {
4-
"@ptb/eslint-config": "2024.6.24",
5-
"@ptb/prettier-config": "2024.6.24",
6-
"@ptb/typescript-config": "2024.6.24",
7-
"lefthook": "1.6.18",
8-
"typescript": "5.5.2"
4+
"@ptb/eslint-config": "2024.8.1",
5+
"@ptb/prettier-config": "2024.8.1",
6+
"@ptb/typescript-config": "2024.8.1",
7+
"lefthook": "1.7.11",
8+
"typescript": "5.5.4"
99
},
1010
"engines": {
1111
"node": "^20.9 || ^22",
1212
"pnpm": "^9"
1313
},
1414
"private": true,
1515
"scripts": {
16+
"build:web": "pnpm --dir web build",
1617
"check:lint": "eslint --max-warnings 0 --no-warn-ignored --report-unused-disable-directives",
1718
"check:tidy": "prettier --check",
1819
"check:type": "pnpm --parallel --reporter-hide-prefix --stream -r '/check:type/'",

pkg/eslint-config/eslint.config.js

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { join } from "node:path"
55
/** @ts-expect-error: untyped */
66
import { default as nextPlugin } from "@next/eslint-plugin-next"
77
import { default as stylisticPlugin } from "@stylistic/eslint-plugin"
8-
import * as tanstackQueryPlugin from "@tanstack/eslint-plugin-query"
8+
import { default as tanstackQueryPlugin } from "@tanstack/eslint-plugin-query"
99
import { default as typescriptPlugin } from "@typescript-eslint/eslint-plugin"
1010
import { default as typescriptParser } from "@typescript-eslint/parser"
1111
/** @ts-expect-error: untyped */
@@ -35,7 +35,6 @@ import { default as sortKeysPlugin } from "eslint-plugin-sort-keys"
3535
import { default as storybookPlugin } from "eslint-plugin-storybook"
3636
/** @ts-expect-error: untyped */
3737
import { default as typescriptSortKeysPlugin } from "eslint-plugin-typescript-sort-keys"
38-
/** @ts-expect-error: untyped */
3938
import { default as unicornPlugin } from "eslint-plugin-unicorn"
4039
import { default as globals } from "globals"
4140

@@ -983,9 +982,8 @@ export const config = [
983982
files: ["**/*.{cjs,js,jsx,ts,tsx}"],
984983
ignores,
985984
plugins: {
986-
/* prettier-ignore */
987-
"@stylistic":
988-
/** @type {import("eslint").ESLint.Plugin} */ (stylisticPlugin)
985+
/** @ts-expect-error: Types of property 'configs' are incompatible. */
986+
"@stylistic": stylisticPlugin
989987
},
990988
rules: {
991989
"@stylistic/array-bracket-newline": ["warn", "consistent"],

pkg/eslint-config/package.json

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,36 +1,36 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"dependencies": {
4-
"@next/eslint-plugin-next": "14.2.4",
5-
"@stylistic/eslint-plugin": "2.2.2",
6-
"@tanstack/eslint-plugin-query": "5.43.1",
7-
"@typescript-eslint/eslint-plugin": "7.13.1",
8-
"@typescript-eslint/parser": "7.13.1",
4+
"@next/eslint-plugin-next": "14.2.5",
5+
"@stylistic/eslint-plugin": "2.6.1",
6+
"@tanstack/eslint-plugin-query": "5.51.15",
7+
"@typescript-eslint/eslint-plugin": "7.18.0",
8+
"@typescript-eslint/parser": "7.18.0",
99
"eslint": "8.57.0",
10-
"eslint-config-next": "14.2.4",
10+
"eslint-config-next": "14.2.5",
1111
"eslint-plugin-fp": "2.3.0",
1212
"eslint-plugin-import": "npm:eslint-plugin-i@2.29.1",
13-
"eslint-plugin-jsdoc": "48.4.0",
13+
"eslint-plugin-jsdoc": "48.11.0",
1414
"eslint-plugin-jsx-a11y": "6.9.0",
1515
"eslint-plugin-node": "11.1.0",
16-
"eslint-plugin-promise": "6.2.0",
17-
"eslint-plugin-react": "7.34.3",
16+
"eslint-plugin-promise": "7.0.0",
17+
"eslint-plugin-react": "7.35.0",
1818
"eslint-plugin-react-hooks": "4.6.2",
1919
"eslint-plugin-react-native": "4.1.0",
20-
"eslint-plugin-react-refresh": "0.4.7",
20+
"eslint-plugin-react-refresh": "0.4.9",
2121
"eslint-plugin-sort-destructure-keys": "2.0.0",
2222
"eslint-plugin-sort-keys": "2.3.5",
2323
"eslint-plugin-storybook": "0.8.0",
2424
"eslint-plugin-typescript-sort-keys": "3.2.0",
25-
"eslint-plugin-unicorn": "54.0.0",
26-
"globals": "15.6.0",
27-
"next": "14.2.4",
28-
"typescript": "5.5.2"
25+
"eslint-plugin-unicorn": "55.0.0",
26+
"globals": "15.9.0",
27+
"next": "14.2.5",
28+
"typescript": "5.5.4"
2929
},
3030
"devDependencies": {
31-
"@ptb/typescript-config": "2024.6.24",
32-
"@types/eslint": "8.56.10",
33-
"@types/node": "20.14.8"
31+
"@ptb/typescript-config": "2024.8.1",
32+
"@types/eslint": "8.56.11",
33+
"@types/node": "20.14.14"
3434
},
3535
"keywords": [
3636
"eslint",
@@ -40,5 +40,5 @@
4040
"name": "@ptb/eslint-config",
4141
"type": "module",
4242
"types": "./types.d.ts",
43-
"version": "2024.6.24"
43+
"version": "2024.8.1"
4444
}

pkg/playwright-config/package.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"dependencies": {
4-
"@playwright/experimental-ct-react": "1.44.1",
5-
"@ptb/test": "2024.6.24",
6-
"@ptb/vite-config": "2024.6.24"
4+
"@playwright/experimental-ct-react": "1.45.3",
5+
"@ptb/test": "2024.8.1",
6+
"@ptb/vite-config": "2024.8.1"
77
},
88
"devDependencies": {
9-
"@ptb/typescript-config": "2024.6.24",
10-
"@types/node": "20.14.8"
9+
"@ptb/typescript-config": "2024.8.1",
10+
"@types/node": "20.14.14"
1111
},
1212
"main": "./playwright.config.js",
1313
"name": "@ptb/playwright-config",
14-
"scripts": {
15-
"postinstall": "playwright install --with-deps"
16-
},
1714
"type": "module",
1815
"types": "./types.d.ts",
19-
"version": "2024.6.24"
16+
"version": "2024.8.1"
2017
}

pkg/prettier-config/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"dependencies": {
4-
"@typescript-eslint/parser": "7.13.1",
4+
"@typescript-eslint/parser": "7.18.0",
55
"eslint": "8.57.0",
6-
"prettier": "3.3.2",
6+
"prettier": "3.3.3",
77
"prettier-eslint": "16.3.0",
8-
"typescript": "5.5.2"
8+
"typescript": "5.5.4"
99
},
1010
"devDependencies": {
11-
"@ptb/typescript-config": "2024.6.24"
11+
"@ptb/typescript-config": "2024.8.1"
1212
},
1313
"main": "./prettier.config.js",
1414
"name": "@ptb/prettier-config",
1515
"type": "module",
1616
"types": "./types.d.ts",
17-
"version": "2024.6.24"
17+
"version": "2024.8.1"
1818
}

pkg/test/package.json

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,19 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"dependencies": {
4-
"@playwright/experimental-ct-react": "1.44.1",
5-
"@playwright/test": "1.44.1",
6-
"monocart-coverage-reports": "2.8.5",
4+
"@playwright/experimental-ct-react": "1.45.3",
5+
"@playwright/test": "1.45.3",
6+
"monocart-coverage-reports": "2.10.0",
77
"react": "18.3.1"
88
},
99
"devDependencies": {
10-
"@ptb/typescript-config": "2024.6.24",
11-
"@types/node": "20.14.8",
10+
"@ptb/typescript-config": "2024.8.1",
11+
"@types/node": "20.14.14",
1212
"@types/react": "18.3.3"
1313
},
1414
"main": "./index.js",
1515
"name": "@ptb/test",
16-
"scripts": {
17-
"postinstall": "playwright install --with-deps"
18-
},
1916
"type": "module",
2017
"types": "./types.d.ts",
21-
"version": "2024.6.24"
18+
"version": "2024.8.1"
2219
}

pkg/typescript-config/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"dependencies": {
4-
"typescript": "5.5.2"
4+
"typescript": "5.5.4"
55
},
66
"main": "./tsconfig.json",
77
"name": "@ptb/typescript-config",
88
"type": "module",
9-
"version": "2024.6.24"
9+
"version": "2024.8.1"
1010
}

pkg/vite-config/package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
22
"$schema": "https://json.schemastore.org/package.json",
33
"dependencies": {
4-
"@ptb/test": "2024.6.24",
5-
"@ptb/typescript-config": "2024.6.24",
4+
"@ptb/test": "2024.8.1",
5+
"@ptb/typescript-config": "2024.8.1",
66
"@vitejs/plugin-react": "4.3.1",
77
"react": "18.3.1",
88
"react-dom": "18.3.1",
9-
"vike": "0.4.177",
10-
"vike-react": "0.4.14",
11-
"vite": "5.3.1",
9+
"vike": "0.4.182",
10+
"vike-react": "0.5.0",
11+
"vite": "5.3.5",
1212
"vite-plugin-babel-macros": "1.0.6",
1313
"vite-plugin-istanbul": "6.0.2",
1414
"vitest": "1.6.0",
1515
"vitest-monocart-coverage": "1.1.2"
1616
},
1717
"devDependencies": {
18-
"@ptb/eslint-config": "2024.6.24",
19-
"@ptb/prettier-config": "2024.6.24",
20-
"@types/node": "20.14.8",
18+
"@ptb/eslint-config": "2024.8.1",
19+
"@ptb/prettier-config": "2024.8.1",
20+
"@types/node": "20.14.14",
2121
"@types/react": "18.3.3",
2222
"@types/react-dom": "18.3.0",
23-
"typescript": "5.5.2"
23+
"typescript": "5.5.4"
2424
},
2525
"main": "./vite.config.js",
2626
"name": "@ptb/vite-config",
2727
"type": "module",
2828
"types": "./types.d.ts",
29-
"version": "2024.6.24"
29+
"version": "2024.8.1"
3030
}

0 commit comments

Comments
 (0)