Skip to content
This repository was archived by the owner on Mar 6, 2025. It is now read-only.

Commit 53e1bf1

Browse files
committed
Merge tag 'v2.4.2' into nya
2 parents 09c19cf + 0d9c90c commit 53e1bf1

File tree

342 files changed

+8270
-9554
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

342 files changed

+8270
-9554
lines changed

.env.example

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ DATABASE_URL='postgresql://postgres:postgres@localhost:5432/formbricks?schema=pu
3434
# You can use: `openssl rand -hex 32` to generate a secure one
3535
NEXTAUTH_SECRET=RANDOM_STRING
3636

37-
# Cron Secret (mandatory)
37+
# API Secret for running cron jobs. (mandatory)
3838
# You can use: `openssl rand -hex 32` to generate a secure one
3939
CRON_SECRET=RANDOM_STRING
4040

.github/workflows/chromatic.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: "Chromatic"
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
workflow_dispatch:
8+
9+
jobs:
10+
chromatic:
11+
name: Run Chromatic
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
with:
17+
fetch-depth: 0
18+
- uses: actions/setup-node@v4
19+
with:
20+
node-version: 20
21+
- name: Install pnpm
22+
uses: pnpm/action-setup@v4
23+
- name: Install dependencies
24+
run: pnpm install --config.platform=linux --config.architecture=x64
25+
- name: Run Chromatic
26+
uses: chromaui/action@latest
27+
with:
28+
# ⚠️ Make sure to configure a `CHROMATIC_PROJECT_TOKEN` repository secret
29+
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }}
30+
workingDir: apps/storybook

.github/workflows/release-docker-github-data-migration.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,12 @@
11
name: Docker for Data Migrations
22

3-
# This workflow uses actions that are not certified by GitHub.
4-
# They are provided by a third-party and are governed by
5-
# separate terms of service, privacy policy, and support
6-
# documentation.
7-
83
on:
94
workflow_dispatch:
105
push:
116
tags:
127
- "v*"
138

149
env:
15-
# Use docker.io for Docker Hub if empty
1610
REGISTRY: ghcr.io
1711
IMAGE_NAME: formbricks/data-migrations
1812
DATABASE_URL: "postgresql://postgres:postgres@postgres:5432/formbricks?schema=public"
@@ -23,8 +17,6 @@ jobs:
2317
permissions:
2418
contents: read
2519
packages: write
26-
# This is used to complete the identity challenge
27-
# with sigstore/fulcio when running outside of PRs.
2820
id-token: write
2921

3022
steps:
@@ -50,6 +42,7 @@ jobs:
5042
tags: |
5143
type=ref,event=tag
5244
type=raw,value=${{ github.ref_name }}
45+
type=raw,value=latest
5346
5447
- name: Build and push Docker image
5548
uses: docker/build-push-action@v3
@@ -66,3 +59,4 @@ jobs:
6659
if: ${{ github.event_name != 'pull_request' }}
6760
run: |
6861
cosign sign --yes ghcr.io/${{ env.IMAGE_NAME }}:${{ github.ref_name }}
62+
cosign sign --yes ghcr.io/${{ env.IMAGE_NAME }}:latest

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,5 +56,5 @@ Zone.Identifier
5656
packages/lib/uploads
5757

5858
# Vite Timestamps
59-
vite.config.*.timestamp-*
59+
*vite.config.*.timestamp-*
6060

.husky/pre-commit

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1 @@
1-
#!/usr/bin/env sh
2-
. "$(dirname -- "$0")/_/husky.sh"
3-
41
pnpm lint-staged

apps/demo/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"dependencies": {
1414
"@formbricks/js": "workspace:*",
1515
"@formbricks/ui": "workspace:*",
16-
"lucide-react": "^0.397.0",
17-
"next": "14.2.4",
16+
"lucide-react": "^0.418.0",
17+
"next": "14.2.5",
1818
"react": "18.3.1",
1919
"react-dom": "18.3.1"
2020
},

apps/demo/pages/app/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const AppPage = ({}) => {
6262
return (
6363
<div className="h-screen bg-white px-12 py-6 dark:bg-slate-800">
6464
<div className="flex flex-col justify-between md:flex-row">
65-
<div className="flex items-center gap-2">
65+
<div className="flex flex-col items-center gap-2 sm:flex-row">
6666
<SurveySwitch value="app" formbricks={formbricks} />
6767
<div>
6868
<h1 className="text-2xl font-bold text-slate-900 dark:text-white">

apps/demo/pages/website/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const AppPage = ({}) => {
5858
return (
5959
<div className="h-screen bg-white px-12 py-6 dark:bg-slate-800">
6060
<div className="flex flex-col items-center justify-between md:flex-row">
61-
<div className="flex items-center gap-2">
61+
<div className="flex flex-col items-center gap-2 sm:flex-row">
6262
<SurveySwitch value="website" formbricks={formbricks} />
6363
<div>
6464
<h1 className="text-2xl font-bold text-slate-900 dark:text-white">

apps/demo/public/favicon.ico

-10.3 KB
Binary file not shown.
66.5 KB
Loading

0 commit comments

Comments
 (0)