fix: env variable for text-to-diagram and use frozen lock file when install deps in excalidraw-app (#7409)

This commit is contained in:
Aakansha Doshi 2023-12-07 19:32:19 +05:30 committed by GitHub
parent f14ad61bd0
commit b7d7ccc929
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -780,7 +780,7 @@ const ExcalidrawWrapper = () => {
try {
const response = await fetch(
`${
import.meta.env.VITE_APP_GIT_SHA
import.meta.env.VITE_APP_AI_BACKEND
}/v1/ai/text-to-diagram/generate`,
{
method: "POST",

View File

@ -93,7 +93,7 @@
"fix:code": "yarn test:code --fix",
"fix:other": "yarn prettier --write",
"fix": "yarn fix:other && yarn fix:code",
"install:deps": "yarn install --frozen-lockfile && yarn --cwd ./excalidraw-app",
"install:deps": "yarn install --frozen-lockfile && yarn --frozen-lockfile --cwd ./excalidraw-app",
"locales-coverage": "node scripts/build-locales-coverage.js",
"locales-coverage:description": "node scripts/locales-coverage-description.js",
"prepare": "husky install",