Skip to content

Commit

Permalink
release: 2024-07-17 (#1332)
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] committed Jul 17, 2024
2 parents 40527f8 + 3c95888 commit dbeaf3b
Show file tree
Hide file tree
Showing 175 changed files with 11,329 additions and 10,564 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/chromatic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: .nvmrc
cache: pnpm
Expand All @@ -50,7 +50,7 @@ jobs:

# 👇 Runs Chromatic CLI in ./packages/ui
- name: Publish to Chromatic
uses: chromaui/action@5991575112b472a4fa85429f29cc17e2fb83a2a2 # v11
uses: chromaui/action@fbf458b6cd4dfd06cf25c06e937bea66b93a0587 # v11
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 @@ -25,6 +25,6 @@ jobs:
- name: ⤵️ Check out code from GitHub
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
- name: 🏗 Initialize CodeQL
uses: github/codeql-action/init@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3
uses: github/codeql-action/init@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3
- name: 🚀 Perform CodeQL Analysis
uses: github/codeql-action/analyze@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3
uses: github/codeql-action/analyze@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3
2 changes: 1 addition & 1 deletion .github/workflows/crowdin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Install Node.js
if: github.event_name != 'pull_request' && !startsWith(github.ref_name, 'l10n_')
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: .nvmrc
cache: pnpm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
# standalone: true

- name: Install Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: .nvmrc
cache: pnpm
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/nextjs_bundle_analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
run_install: false

- name: Install Node.js
uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4
with:
node-version-file: .nvmrc
cache: pnpm
Expand Down Expand Up @@ -75,7 +75,7 @@ jobs:
run: npx -p nextjs-bundle-analysis report

- name: Upload bundle
uses: actions/upload-artifact@65462800fd760344b1a7b4382951275a0abb4808 # v4
uses: actions/upload-artifact@0b2256b8c012f0828dc542b3febcab082c67f72b # v4
with:
name: bundle
path: /home/runner/work/InReach/InReach/apps/app/.next/analyze/__bundle_analysis.json
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/njsscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,6 @@ jobs:
with:
args: '. --sarif --output results.sarif || true'
- name: Upload njsscan report
uses: github/codeql-action/upload-sarif@23acc5c183826b7a8a97bce3cecc52db901f8251 # v3
uses: github/codeql-action/upload-sarif@4fa2a7953630fd2f3fb380f21be14ede0169dd4f # v3
with:
sarif_file: results.sarif
3 changes: 0 additions & 3 deletions .husky/post-merge
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

check_changed() {
if git diff HEAD^ HEAD --exit-code --quiet -- $1; then
echo "📦 No change to $1"
Expand Down
4 changes: 0 additions & 4 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"


pnpm lint:staged
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
20.15.0
20.15.1
2 changes: 2 additions & 0 deletions apps/app/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,5 @@ yarn-error.log*
.sentryclirc

webpack-stats.json

certificates
33 changes: 0 additions & 33 deletions apps/app/instrumentation.node.ts

This file was deleted.

64 changes: 29 additions & 35 deletions apps/app/next.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,8 @@ const nextConfig = {
},
experimental: {
// outputFileTracingRoot: path.join(__dirname, '../../'),
// instrumentationHook: true,
instrumentationHook: true,
webpackBuildWorker: true,
serverComponentsExternalPackages: ['@sentry/profiling-node'],
},
eslint: {
ignoreDuringBuilds: !(isVercelProd || isRenovatePR || isVercelStaging),
Expand Down Expand Up @@ -141,39 +140,34 @@ function defineNextConfig(config) {
* @returns {T}
*/
const defineSentryConfig = (nextConfig) =>
withSentryConfig(
nextConfig,
{
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options

// Suppresses source map uploading logs during build
silent: !process.env.SENTRY_DEBUG,
org: 'weareinreach',
project: 'inreach-app',
},
{
// For all available options, see:
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/

// Upload a larger set of source maps for prettier stack traces (increases build time)
widenClientFileUpload: true,

// Transpiles SDK to be compatible with IE11 (increases bundle size)
transpileClientSDK: false,

// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
tunnelRoute: '/monitoring',

// Hides source maps from generated client bundles
hideSourceMaps: !isLocalDev,

// Automatically tree-shake Sentry logger statements to reduce bundle size
disableLogger: isVercelProd || isVercelActiveDev,
automaticVercelMonitors: true,
autoInstrumentMiddleware: true,
}
)
withSentryConfig(nextConfig, {
// For all available options, see:
// https://github.com/getsentry/sentry-webpack-plugin#options

// Suppresses source map uploading logs during build
silent: !process.env.SENTRY_DEBUG,
org: 'weareinreach',
project: 'inreach-app',
// For all available options, see:
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/

// Upload a larger set of source maps for prettier stack traces (increases build time)
widenClientFileUpload: true,

// Transpiles SDK to be compatible with IE11 (increases bundle size)
transpileClientSDK: false,

// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
tunnelRoute: '/monitoring',

// Hides source maps from generated client bundles
hideSourceMaps: !isLocalDev,

// Automatically tree-shake Sentry logger statements to reduce bundle size
disableLogger: isVercelProd || isVercelActiveDev,
automaticVercelMonitors: true,
autoInstrumentMiddleware: true,
})

export default isLocalDev ? defineNextConfig(nextConfig) : defineSentryConfig(defineNextConfig(nextConfig))
// export default defineSentryConfig(defineNextConfig(nextConfig))
72 changes: 35 additions & 37 deletions apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,18 +26,18 @@
"dependencies": {
"@emotion/react": "11.11.4",
"@emotion/server": "11.11.0",
"@hookform/resolvers": "3.6.0",
"@mantine/carousel": "6.0.21",
"@mantine/core": "6.0.21",
"@mantine/dates": "6.0.21",
"@mantine/form": "6.0.21",
"@mantine/hooks": "6.0.21",
"@mantine/next": "6.0.21",
"@mantine/notifications": "6.0.21",
"@mantine/nprogress": "6.0.21",
"@mantine/utils": "6.0.21",
"@next/bundle-analyzer": "14.2.4",
"@next/third-parties": "14.2.4",
"@hookform/resolvers": "3.9.0",
"@mantine/carousel": "6.0.22",
"@mantine/core": "6.0.22",
"@mantine/dates": "6.0.22",
"@mantine/form": "6.0.22",
"@mantine/hooks": "6.0.22",
"@mantine/next": "6.0.22",
"@mantine/notifications": "6.0.22",
"@mantine/nprogress": "6.0.22",
"@mantine/utils": "6.0.22",
"@next/bundle-analyzer": "14.2.5",
"@next/third-parties": "14.2.5",
"@opentelemetry/api": "1.9.0",
"@opentelemetry/core": "1.25.1",
"@opentelemetry/exporter-trace-otlp-http": "0.52.1",
Expand All @@ -46,16 +46,14 @@
"@opentelemetry/sdk-trace-base": "1.25.1",
"@opentelemetry/sdk-trace-node": "1.25.1",
"@opentelemetry/semantic-conventions": "1.25.1",
"@prisma/instrumentation": "5.16.1",
"@sentry/browser": "7.118.0",
"@sentry/integrations": "7.114.0",
"@sentry/nextjs": "7.118.0",
"@sentry/node": "7.118.0",
"@sentry/opentelemetry": "7.118.0",
"@sentry/opentelemetry-node": "7.114.0",
"@sentry/profiling-node": "7.118.0",
"@prisma/instrumentation": "5.17.0",
"@sentry/browser": "8.18.0",
"@sentry/nextjs": "8.18.0",
"@sentry/node": "8.18.0",
"@sentry/opentelemetry": "8.18.0",
"@sentry/profiling-node": "8.18.0",
"@tanstack/react-query": "4.36.1",
"@tanstack/react-table": "8.17.3",
"@tanstack/react-table": "8.19.3",
"@trpc/client": "10.45.2",
"@trpc/next": "10.45.2",
"@trpc/react-query": "10.45.2",
Expand All @@ -78,7 +76,7 @@
"embla-carousel-autoplay": "7.1.0",
"embla-carousel-react": "7.1.0",
"flat": "6.0.1",
"i18next": "23.11.5",
"i18next": "23.12.1",
"i18next-browser-languagedetector": "8.0.0",
"i18next-chained-backend": "4.6.2",
"i18next-http-backend": "2.5.2",
Expand All @@ -88,54 +86,54 @@
"just-compare": "2.3.0",
"luxon": "3.4.4",
"mantine-react-table": "1.3.4",
"next": "14.2.4",
"next": "14.2.5",
"next-auth": "4.24.7",
"next-i18next": "15.3.0",
"next-seo": "6.5.0",
"nextjs-google-analytics": "2.3.3",
"nextjs-routes": "2.2.1",
"object-sizeof": "2.6.4",
"object-sizeof": "2.6.5",
"pretty-bytes": "6.1.1",
"react": "18.3.1",
"react-dom": "18.3.1",
"react-error-boundary": "4.0.13",
"react-hook-consent": "3.5.3",
"react-hook-form": "7.52.0",
"react-hook-form": "7.52.1",
"react-hook-form-mantine": "2.0.0",
"react-i18next": "14.1.2",
"react-i18next": "15.0.0",
"zod": "3.23.8"
},
"devDependencies": {
"@hookform/devtools": "4.3.1",
"@playwright/test": "1.45.0",
"@prisma/nextjs-monorepo-workaround-plugin": "5.16.1",
"@relative-ci/agent": "4.2.8",
"@playwright/test": "1.45.2",
"@prisma/nextjs-monorepo-workaround-plugin": "5.17.0",
"@relative-ci/agent": "4.2.9",
"@tanstack/react-query-devtools": "4.36.1",
"@tanstack/react-table-devtools": "8.17.3",
"@tanstack/react-table-devtools": "8.19.3",
"@total-typescript/ts-reset": "0.5.1",
"@types/eslint": "8.56.10",
"@types/gtag.js": "0.0.20",
"@types/luxon": "3.4.2",
"@types/node": "20.14.9",
"@types/node": "20.14.11",
"@types/react": "18.3.3",
"@types/react-dom": "18.3.0",
"@typescript-eslint/eslint-plugin": "7.14.1",
"@typescript-eslint/parser": "7.14.1",
"@typescript-eslint/eslint-plugin": "7.16.1",
"@typescript-eslint/parser": "7.16.1",
"@weareinreach/config": "workspace:*",
"@weareinreach/eslint-config": "workspace:*",
"@welldone-software/why-did-you-render": "8.0.3",
"commander": "12.1.0",
"dotenv": "16.4.5",
"eslint": "8.57.0",
"eslint-plugin-i18next": "6.0.3",
"eslint-plugin-i18next": "6.0.9",
"i18next-hmr": "3.1.2",
"jiti": "1.21.6",
"listr2": "8.2.3",
"prettier": "3.3.2",
"prettier": "3.3.3",
"trpc-panel": "1.3.4",
"trpc-playground": "1.0.4",
"type-fest": "4.20.1",
"typescript": "5.5.2",
"type-fest": "4.22.0",
"typescript": "5.5.3",
"webpack-bundle-analyzer": "4.10.2"
},
"ct3aMetadata": {
Expand Down
Loading

1 comment on commit dbeaf3b

@vercel
Copy link

@vercel vercel bot commented on dbeaf3b Jul 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.