chore: Prepare Formbricks 1.3.2 release (#1686)

This commit is contained in:
Matti Nannt
2023-11-27 15:52:36 +01:00
committed by GitHub
parent 45fbdd58af
commit 4f8a94bfe7
10 changed files with 257 additions and 250 deletions

View File

@@ -13,7 +13,7 @@
"dependencies": {
"@formbricks/js": "workspace:*",
"@heroicons/react": "^2.0.18",
"next": "14.0.0",
"next": "14.0.3",
"react": "18.2.0",
"react-dom": "18.2.0"
},

View File

@@ -8,6 +8,7 @@ import { createMembership } from "@formbricks/lib/membership/service";
import { createProduct } from "@formbricks/lib/product/service";
import { createShortUrl } from "@formbricks/lib/shortUrl/service";
import { canUserAccessSurvey, verifyUserRoleAccess } from "@formbricks/lib/survey/auth";
import { surveyCache } from "@formbricks/lib/survey/cache";
import { deleteSurvey, duplicateSurvey, getSurvey } from "@formbricks/lib/survey/service";
import { createTeam, getTeamByEnvironmentId } from "@formbricks/lib/team/service";
import { AuthenticationError, AuthorizationError, ResourceNotFoundError } from "@formbricks/types/errors";
@@ -205,6 +206,11 @@ export async function copyToOtherEnvironmentAction(
verifyEmail: existingSurvey.verifyEmail ?? prismaClient.JsonNull,
},
});
surveyCache.revalidate({
id: newSurvey.id,
environmentId: targetEnvironmentId,
});
return newSurvey;
}

View File

@@ -1,6 +1,6 @@
{
"name": "@formbricks/web",
"version": "1.3.1",
"version": "1.3.2",
"private": true,
"scripts": {
"clean": "rimraf .turbo node_modules .next",
@@ -26,7 +26,7 @@
"@radix-ui/react-collapsible": "^1.0.3",
"@radix-ui/react-dropdown-menu": "^2.0.6",
"@react-email/components": "^0.0.11",
"@sentry/nextjs": "^7.80.1",
"@sentry/nextjs": "^7.81.1",
"@vercel/og": "^0.5.20",
"bcryptjs": "^2.4.3",
"dotenv": "^16.3.1",
@@ -35,13 +35,13 @@
"googleapis": "^128.0.0",
"jsonwebtoken": "^9.0.2",
"lodash": "^4.17.21",
"lru-cache": "^10.0.2",
"lucide-react": "^0.292.0",
"lru-cache": "^10.1.0",
"lucide-react": "^0.293.0",
"mime": "^3.0.0",
"next": "13.5.6",
"nodemailer": "^6.9.7",
"otplib": "^12.0.1",
"posthog-js": "^1.91.1",
"posthog-js": "^1.93.2",
"prismjs": "^1.29.0",
"qrcode": "^1.5.3",
"react": "18.2.0",
@@ -58,8 +58,8 @@
"devDependencies": {
"@formbricks/tsconfig": "workspace:*",
"@types/bcryptjs": "^2.4.6",
"@types/lodash": "^4.14.201",
"@types/markdown-it": "^13.0.6",
"@types/lodash": "^4.14.202",
"@types/markdown-it": "^13.0.7",
"@types/qrcode": "^1.5.5",
"eslint-config-formbricks": "workspace:*"
}

View File

@@ -35,7 +35,7 @@
"@formbricks/tsconfig": "workspace:*",
"eslint-config-formbricks": "workspace:*",
"terser": "^5.24.0",
"vite": "^5.0.0",
"vite": "^5.0.2",
"vite-plugin-dts": "^3.6.3"
}
}

View File

@@ -42,7 +42,7 @@
"@formbricks/surveys": "workspace:*",
"@formbricks/tsconfig": "workspace:*",
"@formbricks/types": "workspace:*",
"@types/jest": "^29.5.9",
"@types/jest": "^29.5.10",
"@typescript-eslint/eslint-plugin": "^6.12.0",
"@typescript-eslint/parser": "^6.12.0",
"babel-jest": "^29.7.0",
@@ -53,7 +53,7 @@
"jest-environment-jsdom": "^29.7.0",
"jest-fetch-mock": "^3.0.3",
"terser": "^5.24.0",
"vite": "^5.0.0",
"vite": "^5.0.2",
"vite-plugin-dts": "^3.6.3"
},
"jest": {

View File

@@ -12,9 +12,9 @@
"lint:report": "eslint . --format json --output-file ../../lint-results/app-store.json"
},
"dependencies": {
"@aws-sdk/s3-presigned-post": "^3.454.0",
"@aws-sdk/client-s3": "3.454.0",
"@aws-sdk/s3-request-presigner": "3.454.0",
"@aws-sdk/s3-presigned-post": "^3.458.0",
"@aws-sdk/client-s3": "3.458.0",
"@aws-sdk/s3-request-presigner": "3.458.0",
"@t3-oss/env-nextjs": "^0.7.1",
"mime": "3.0.0",
"@formbricks/api": "*",

View File

@@ -33,7 +33,7 @@
"preact": "^10.19.2",
"tailwindcss": "^3.3.5",
"terser": "^5.24.0",
"vite": "^5.0.0",
"vite": "^5.0.2",
"vite-plugin-dts": "^3.6.3",
"vite-tsconfig-paths": "^4.2.1"
}

View File

@@ -7,9 +7,9 @@
"clean": "rimraf node_modules dist turbo"
},
"devDependencies": {
"@types/node": "20.9.3",
"@types/node": "20.10.0",
"@types/react": "18.2.38",
"@types/react-dom": "18.2.16",
"@types/react-dom": "18.2.17",
"typescript": "^5.3.2"
}
}

View File

@@ -41,7 +41,7 @@
"clsx": "^2.0.0",
"cmdk": "^0.2.0",
"lexical": "^0.12.4",
"lucide-react": "^0.292.0",
"lucide-react": "^0.293.0",
"react-colorful": "^5.6.1",
"react-confetti": "^6.1.0",
"react-day-picker": "^8.9.1",

465
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff