Skip to content

Commit

Permalink
release: 2023-12-05 (#940)
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Dec 5, 2023
2 parents a83a5ae + 51b3682 commit b67d959
Show file tree
Hide file tree
Showing 91 changed files with 11,588 additions and 3,943 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/approve.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,19 @@ on:

permissions:
pull-requests: write
checks: write
contents: write
statuses: read

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: github/privileged-requester@1029a708aefc8cc53feef67c46df7b72c3b634b6 # v1.1.0
- uses: github/privileged-requester@f8d60d9344e1c10976aad5c1af0c7c977badd677 # v2.1.0
if: ${{ github.event.requested_reviewer.login == 'InReach-svc'}}
with:
myToken: ${{ secrets.GITHUB_TOKEN }}
robotUserToken: ${{ secrets.GH_ACT_PAT }}
github_token: ${{ secrets.GH_ACT_PAT }}
path: .github/autoapprove-config.yaml
prCreator: ${{ github.event.pull_request.user.login }}
prNumber: ${{ github.event.pull_request.number }}
checkCommits: 'false'
checkDiff: 'false'
checkLabels: 'false'
2 changes: 1 addition & 1 deletion .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:

# 👇 Runs Chromatic CLI in ./packages/ui
- name: Publish to Chromatic
uses: chromaui/action@b52e14dd333579901e7099e0094b652e8284dea9 # v1
uses: chromaui/action@2f12dc37555ffc9ed980d883e96b6d03724a2d6a # v10
with:
workingDir: packages/ui
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ jobs:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
- name: 🏗 Initialize CodeQL
uses: github/codeql-action/init@689fdc5193eeb735ecb2e52e819e3382876f93f4 # v2
uses: github/codeql-action/init@407ffafae6a767df3e0230c3df91b6443ae8df75 # v2
- name: 🚀 Perform CodeQL Analysis
uses: github/codeql-action/analyze@689fdc5193eeb735ecb2e52e819e3382876f93f4 # v2
uses: github/codeql-action/analyze@407ffafae6a767df3e0230c3df91b6443ae8df75 # v2
25 changes: 13 additions & 12 deletions .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ on:
- renovate/*
workflow_dispatch:
schedule:
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12 or JAN-DEC)
# │ │ │ │ ┌───────────── day of the week (0 - 6 or SUN-SAT)
# │ │ │ │ │
# │ │ │ │ │
# │ │ │ │ │
- cron: 0 8 * * *

jobs:
Expand Down Expand Up @@ -80,15 +80,15 @@ jobs:

- name: Push sources to Crowdin
if: github.event_name != 'pull_request' && !startsWith(github.ref_name, 'l10n_')
run: crowdin push sources -b ${{ steps.sanitizebranch.outputs.value }}
run: crowdin push sources -b ${{ steps.sanitizebranch.outputs.value }} --no-progress

- name: Synchronize sources to Crowdin
if: steps.sanitizebranch.outputs.value == 'main'
run: crowdin push sources -b ${{ steps.sanitizebranch.outputs.value }}
run: crowdin push sources -b ${{ steps.sanitizebranch.outputs.value }} --no-progress

- name: Pull updated translations from Crowdin
if: (github.event_name != 'pull_request' && github.ref_name == 'dev') || github.event_name == 'scheduled'
run: crowdin pull -b ${{ steps.sanitizebranch.outputs.value }}
run: crowdin pull -b ${{ steps.sanitizebranch.outputs.value }} --no-progress

- name: Check for updated files
if: (github.event_name != 'pull_request' && github.ref_name == 'dev') || github.event_name == 'scheduled'
Expand All @@ -110,6 +110,7 @@ jobs:
if: ((github.event_name != 'pull_request' && github.ref_name == 'dev') || github.event_name == 'scheduled') && steps.verify-changed-files.outputs.files_changed
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # v5
with:
token: ${{ secrets.GH_ACT_PAT }}
commit-message: Updated translations from Crowdin
committer: 'InReach [bot] <[email protected]>'
author: 'InReach [bot] <[email protected]>'
Expand All @@ -124,4 +125,4 @@ jobs:

- name: Delete Crowdin Branch
if: github.event_name == 'pull_request' && github.ref_name != 'l10n_dev' && steps.sanitizebranch.outputs.value != 'dev' && steps.sanitizebranch.outputs.value != 'main'
run: crowdin branch delete ${{ steps.sanitizebranch.outputs.value }}
run: crowdin branch delete ${{ steps.sanitizebranch.outputs.value }} --no-progress
2 changes: 1 addition & 1 deletion .github/workflows/lock.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
name: 🔒 Lock closed issues and PRs
runs-on: ubuntu-latest
steps:
- uses: dessant/lock-threads@d42e5f49803f3c4e14ffee0378e31481265dda22 # v5.0.0
- uses: dessant/lock-threads@1bf7ec25051fe7c00bdd17e6a7cf3d7bfb7dc771 # v5.0.1
with:
github-token: ${{ github.token }}
issue-inactive-days: '30'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/nextjs_bundle_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ jobs:
name: Install pnpm
id: pnpm-install
with:
version: 8
run_install: false

- name: Install Node.js
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.18.2
20.10.0
2 changes: 2 additions & 0 deletions InReach.code-workspace
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,9 @@
},
"files.exclude": {
".next/": true,
".trace/": true,
".turbo/": true,
".vercel/": true,
"*.tsbuildinfo": true,
"**/.DS_Store": true,
"**/.git": true,
Expand Down
14 changes: 9 additions & 5 deletions apps/app/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,15 @@ const nextConfig = {
reactStrictMode: true,
swcMinify: true,
transpilePackages: [
// '@weareinreach/analytics',
'@weareinreach/analytics',
'@weareinreach/api',
'@weareinreach/auth',
// '@weareinreach/crowdin',
'@weareinreach/config',
'@weareinreach/crowdin',
'@weareinreach/db',
// '@weareinreach/env',
'@weareinreach/env',
'@weareinreach/ui',
// '@weareinreach/util',
'@weareinreach/util',
],
compiler: {
...(isVercelProd ? { removeConsole: { exclude: ['error'] } } : {}),
Expand Down Expand Up @@ -72,7 +73,7 @@ const nextConfig = {
tunnelRoute: '/monitoring',

// Hides source maps from generated client bundles
hideSourceMaps: false,
hideSourceMaps: true,

// Automatically tree-shake Sentry logger statements to reduce bundle size
disableLogger: isVercelProd || isVercelActiveDev,
Expand All @@ -81,6 +82,9 @@ const nextConfig = {
if (isServer) {
config.plugins = [...config.plugins, new PrismaPlugin()]
}

config.devtool = 'eval-source-map'

if (!isLocalDev) {
config.plugins.push(
new webpack.DefinePlugin({
Expand Down
58 changes: 29 additions & 29 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@mantine/notifications": "6.0.21",
"@mantine/nprogress": "6.0.21",
"@mantine/utils": "6.0.21",
"@next/bundle-analyzer": "14.0.2",
"@next/bundle-analyzer": "14.0.3",
"@opentelemetry/api": "1.7.0",
"@opentelemetry/core": "1.18.1",
"@opentelemetry/exporter-trace-otlp-http": "0.45.1",
Expand All @@ -45,18 +45,18 @@
"@opentelemetry/sdk-trace-node": "1.18.1",
"@opentelemetry/semantic-conventions": "1.18.1",
"@prisma/instrumentation": "5.6.0",
"@sentry/browser": "7.80.1",
"@sentry/nextjs": "7.80.1",
"@sentry/node": "7.80.1",
"@sentry/opentelemetry": "7.80.1",
"@sentry/opentelemetry-node": "7.80.1",
"@sentry/browser": "7.85.0",
"@sentry/nextjs": "7.85.0",
"@sentry/node": "7.85.0",
"@sentry/opentelemetry": "7.85.0",
"@sentry/opentelemetry-node": "7.85.0",
"@sentry/profiling-node": "1.2.6",
"@tanstack/react-query": "4.36.1",
"@tanstack/react-table": "8.10.7",
"@trpc/client": "10.43.2",
"@trpc/next": "10.43.2",
"@trpc/react-query": "10.43.2",
"@trpc/server": "10.43.2",
"@trpc/client": "10.44.1",
"@trpc/next": "10.44.1",
"@trpc/react-query": "10.44.1",
"@trpc/server": "10.44.1",
"@vercel/analytics": "1.1.1",
"@vercel/edge-config": "0.4.1",
"@vercel/kv": "1.0.0",
Expand All @@ -68,22 +68,22 @@
"@weareinreach/env": "workspace:*",
"@weareinreach/ui": "workspace:*",
"@weareinreach/util": "workspace:*",
"cookies-next": "4.0.0",
"cookies-next": "4.1.0",
"dayjs": "1.11.10",
"embla-carousel-autoplay": "7.1.0",
"embla-carousel-react": "7.1.0",
"flat": "6.0.1",
"i18next": "23.7.6",
"i18next": "23.7.7",
"i18next-browser-languagedetector": "7.2.0",
"i18next-chained-backend": "4.6.2",
"i18next-http-backend": "2.4.1",
"i18next-http-backend": "2.4.2",
"i18next-intervalplural-postprocessor": "3.0.0",
"i18next-multiload-backend-adapter": "2.3.0",
"just-compact": "3.2.0",
"just-compare": "2.3.0",
"luxon": "3.4.4",
"mantine-react-table": "1.3.4",
"next": "14.0.2",
"next": "14.0.3",
"next-auth": "4.24.5",
"next-i18next": "15.0.0",
"next-seo": "6.4.0",
Expand All @@ -94,42 +94,42 @@
"react": "18.2.0",
"react-dom": "18.2.0",
"react-error-boundary": "4.0.11",
"react-hook-consent": "3.5.1",
"react-hook-consent": "3.5.2",
"react-hook-form": "7.48.2",
"react-hook-form-mantine": "2.0.0",
"react-i18next": "13.4.1",
"react-i18next": "13.5.0",
"zod": "3.22.4"
},
"devDependencies": {
"@hookform/devtools": "4.3.1",
"@playwright/test": "1.39.0",
"@playwright/test": "1.40.1",
"@prisma/nextjs-monorepo-workaround-plugin": "5.6.0",
"@tanstack/react-query-devtools": "4.36.1",
"@tanstack/react-table-devtools": "8.7.6",
"@total-typescript/ts-reset": "0.5.1",
"@types/eslint": "8.44.7",
"@types/eslint": "8.44.8",
"@types/gtag.js": "0.0.18",
"@types/luxon": "3.3.4",
"@types/node": "18.18.9",
"@types/react": "18.2.37",
"@types/react-dom": "18.2.15",
"@types/luxon": "3.3.7",
"@types/node": "20.10.3",
"@types/react": "18.2.42",
"@types/react-dom": "18.2.17",
"@types/umami": "0.1.5",
"@typescript-eslint/eslint-plugin": "6.11.0",
"@typescript-eslint/parser": "6.11.0",
"@typescript-eslint/eslint-plugin": "6.13.2",
"@typescript-eslint/parser": "6.13.2",
"@weareinreach/config": "workspace:*",
"@weareinreach/eslint-config": "0.100.0",
"commander": "11.1.0",
"dotenv": "16.3.1",
"eslint": "8.53.0",
"eslint": "8.55.0",
"eslint-plugin-i18next": "6.0.3",
"listr2": "7.0.2",
"listr2": "8.0.0",
"prettier": "3.1.0",
"trpc-client-devtools-link": "0.2.1-next",
"trpc-panel": "1.3.4",
"trpc-playground": "1.0.4",
"type-fest": "4.7.1",
"typescript": "5.2.2",
"webpack-bundle-analyzer": "4.10.0"
"type-fest": "4.8.3",
"typescript": "5.3.2",
"webpack-bundle-analyzer": "4.10.1"
},
"ct3aMetadata": {
"initVersion": "5.10.1"
Expand Down
Loading

0 comments on commit b67d959

Please sign in to comment.