@payloadcms/figma 0.0.1-alpha.54 → 0.0.1-alpha.55

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,8 +63,9 @@ function missingOAuthCredential(name) {
63
63
  }
64
64
  export async function buildFigmaConfig(config) {
65
65
  const envConfig = getEnvConfig();
66
- // Resolve contentSystemId: config first, then local store fallback (dev)
66
+ // Resolve contentSystemId: config first, env var, then local store fallback (dev)
67
67
  let { contentSystemId } = config.figma;
68
+ contentSystemId ??= process.env.FIGMA_CONTENT_API_CONTENT_SYSTEM_ID;
68
69
  let bootstrapData = null;
69
70
  if (!contentSystemId) {
70
71
  const projectId = process.env.FIGMA_PROJECT_ID;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@payloadcms/figma",
3
- "version": "0.0.1-alpha.54",
3
+ "version": "0.0.1-alpha.55",
4
4
  "license": "SEE LICENSE IN LICENSE.md",
5
5
  "type": "module",
6
6
  "exports": {