Skip to content

fix: move audit-log-viewer from examples/ to apps/, wire prod deploy [] - #11274

Merged
Mitch Goudy (mgoudy91) merged 2 commits into
masterfrom
mgoudy/move-audit-log-viewer-to-apps
Aug 13, 2026
Merged

fix: move audit-log-viewer from examples/ to apps/, wire prod deploy []#11274
Mitch Goudy (mgoudy91) merged 2 commits into
masterfrom
mgoudy/move-audit-log-viewer-to-apps

Conversation

@mgoudy91

Copy link
Copy Markdown
Contributor

Summary

  • Moves audit-log-viewer from examples/ to apps/ — lerna's package glob is apps/**/* (see lerna.json), so the app was invisible to build/test/lint/deploy in feat: add audit-log-viewer example app [] #11271.
  • Renames the package from audit-log-viewer-example to audit-log-viewer since it's no longer an example.
  • Adds a deploy script wired to the real prod app definition id (7xmKcOcvWM7l2vVhjUpmwB), matching the pattern used by bulk-exporter and locale-field-populator, so the existing lerna/CircleCI pipeline can publish it.

Test plan

  • CI build/test/lint picks up apps/audit-log-viewer (previously skipped)
  • npm run deploy (lerna) publishes the bundle to app definition 7xmKcOcvWM7l2vVhjUpmwB on merge to master

Andrew's PR landed the app under examples/, which lerna's package glob
(apps/**/*) doesn't cover, so build/test/lint/deploy never picked it
up. Moves it to apps/audit-log-viewer, drops the now-inaccurate
"-example" suffix from the package name, and adds the deploy script
pointing at the real prod app definition id (7xmKcOcvWM7l2vVhjUpmwB)
so the existing lerna/CircleCI pipeline can publish it.
@mgoudy91
Mitch Goudy (mgoudy91) requested review from a team as code owners August 13, 2026 21:12
@mgoudy91 Mitch Goudy (mgoudy91) changed the title fix: move audit-log-viewer from examples/ to apps/, wire prod deploy fix: move audit-log-viewer from examples/ to apps/, wire prod deploy [] Aug 13, 2026
…iewer

events.test.ts reads test-fixtures/contentful-audit-TESTORG-*.json, but
that file was never committed: the repo-wide .gitignore rule
contentful-audit-*.json (meant to keep real customer audit-log exports
out of git) also matched this synthetic fixture. It only worked
locally because the file happened to exist on disk; since the app
lived under examples/, CI never ran its tests to catch the gap. Adds
a narrow negation for the fixture path and recreates the file.

Also commits package-lock.json, matching every other app under apps/
(examples/**/package-lock.json is gitignored, but apps/ apps commit
their lockfile for reproducible CI installs).
@wiz-inc-38d59fb8d7

Copy link
Copy Markdown

Wiz Scan Summary

Scanner Findings
Vulnerability Finding Vulnerabilities -
Data Finding Sensitive Data 1 Medium
Secret Finding Secrets -
IaC Misconfiguration IaC Misconfigurations -
SAST Finding SAST Findings -
Software Management Finding Software Management Findings -
Total 1 Medium

View scan details in Wiz

To detect these findings earlier in the dev lifecycle, try the Wiz Code extension for VS Code, JetBrains, or Visual Studio.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@mgoudy91
Mitch Goudy (mgoudy91) merged commit 4fbf28f into master Aug 13, 2026
15 checks passed
@mgoudy91
Mitch Goudy (mgoudy91) deleted the mgoudy/move-audit-log-viewer-to-apps branch August 13, 2026 21:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants