From 47050c5ef5e2cd7d9f4795f0125c606efe1c4349 Mon Sep 17 00:00:00 2001 From: "Reuven V. Gonzales" Date: Mon, 5 Jan 2026 07:47:13 +0000 Subject: [PATCH 1/2] chore: re-enable turbo cache by pull plasmic version info --- apps/frontend/.gitignore | 3 ++- apps/frontend/package.json | 4 +++- apps/frontend/plasmic.json | 33 +++++++++++++++++++++++++++++++++ pnpm-lock.yaml | 3 +++ turbo.json | 10 +++++++--- 5 files changed, 48 insertions(+), 5 deletions(-) create mode 100644 apps/frontend/plasmic.json diff --git a/apps/frontend/.gitignore b/apps/frontend/.gitignore index 0422aee8d7..6afd10bc35 100644 --- a/apps/frontend/.gitignore +++ b/apps/frontend/.gitignore @@ -39,4 +39,5 @@ next-env.d.ts storybook-static # build files for pyodide packaging -/.pyodide \ No newline at end of file +/.pyodide +.plasmic-latest-info.txt \ No newline at end of file diff --git a/apps/frontend/package.json b/apps/frontend/package.json index c167fe5528..cea4449111 100644 --- a/apps/frontend/package.json +++ b/apps/frontend/package.json @@ -26,7 +26,8 @@ "test:watch": "jest --watch", "update:deps": "ncu -i", "storybook": "storybook dev -p 3000", - "build:storybook": "storybook build" + "build:storybook": "storybook build", + "plasmic:info": "dotenv -e .env.local -- pnpm plasmic info $PLASMIC_PROJECT_ID >> .plasmic-latest-info.txt" }, "dependencies": { "@ai-sdk/google": "^1.2.22", @@ -146,6 +147,7 @@ "@graphql-typed-document-node/core": "^3.2.0", "@leancodepl/resolve-eslint-flat-config": "^9.6.5", "@parcel/watcher": "^2.5.1", + "@plasmicapp/cli": "0.1.340", "@storybook/addon-a11y": "^9.1.2", "@storybook/addon-docs": "^9.1.2", "@storybook/addon-onboarding": "^9.1.2", diff --git a/apps/frontend/plasmic.json b/apps/frontend/plasmic.json new file mode 100644 index 0000000000..3c383bcb95 --- /dev/null +++ b/apps/frontend/plasmic.json @@ -0,0 +1,33 @@ +{ + "platform": "nextjs", + "code": { + "lang": "ts", + "scheme": "blackbox", + "reactRuntime": "classic" + }, + "style": { + "scheme": "css-modules", + "defaultStyleCssFilePath": "" + }, + "images": { + "scheme": "public-files", + "publicDir": "../public", + "publicUrlPrefix": "/" + }, + "tokens": { + "scheme": "theo", + "tokensFilePath": "plasmic-tokens.theo.json" + }, + "srcDir": "components", + "defaultPlasmicDir": "./plasmic", + "projects": [], + "globalVariants": { + "variantGroups": [] + }, + "wrapPagesWithGlobalContexts": true, + "nextjsConfig": { + "pagesDir": "../pages" + }, + "cliVersion": "0.1.340", + "$schema": "https://unpkg.com/@plasmicapp/cli@0.1.340/dist/plasmic.schema.json" +} diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index fa7e469159..08f17503ed 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -478,6 +478,9 @@ importers: '@parcel/watcher': specifier: ^2.5.1 version: 2.5.1 + '@plasmicapp/cli': + specifier: 0.1.340 + version: 0.1.340 '@storybook/addon-a11y': specifier: ^9.1.2 version: 9.1.2(storybook@9.1.17(@testing-library/dom@10.4.1)(bufferutil@4.0.9)(prettier@3.6.2)(vite@7.1.1(@types/node@24.2.1)(jiti@2.6.1)(lightningcss@1.30.2)(terser@5.43.1)(yaml@2.8.1))) diff --git a/turbo.json b/turbo.json index b263536685..7446e187a2 100644 --- a/turbo.json +++ b/turbo.json @@ -19,12 +19,16 @@ "cache": false }, "test": {}, - "@opensource-observer/frontend#build": { - "dependsOn": ["^build"], - "outputs": ["out/**", ".next/**", "!.next/cache/**", ".pyodide/**"], + "@opensource-observer/frontend#plasmic:info": { + "outputs": [".plasmic-latest-info.txt"], "env": ["PLASMIC_PROJECT_ID", "PLASMIC_PROJECT_API_TOKEN"], "cache": false }, + "@opensource-observer/frontend#build": { + "dependsOn": ["^build", "@opensource-observer/frontend#plasmic:info"], + "outputs": ["out/**", ".next/**", "!.next/cache/**", ".pyodide/**"], + "env": ["PLASMIC_PROJECT_ID", "PLASMIC_PROJECT_API_TOKEN"] + }, "@opensource-observer/frontend#deploy": { "dependsOn": ["^build"], "outputs": ["out/**", ".next/**", "!.next/cache/**", ".pyodide/**"], From a3339456e3ea079416bb382d8fe0b09dc96377a4 Mon Sep 17 00:00:00 2001 From: "Reuven V. Gonzales" Date: Mon, 5 Jan 2026 09:11:33 +0000 Subject: [PATCH 2/2] fix --- apps/frontend/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/frontend/package.json b/apps/frontend/package.json index cea4449111..1250d8d23a 100644 --- a/apps/frontend/package.json +++ b/apps/frontend/package.json @@ -27,7 +27,7 @@ "update:deps": "ncu -i", "storybook": "storybook dev -p 3000", "build:storybook": "storybook build", - "plasmic:info": "dotenv -e .env.local -- pnpm plasmic info $PLASMIC_PROJECT_ID >> .plasmic-latest-info.txt" + "plasmic:info": "dotenv -e .env.local -- bash -c 'pnpm plasmic info -p $PLASMIC_PROJECT_ID >> .plasmic-latest-info.txt'" }, "dependencies": { "@ai-sdk/google": "^1.2.22",