Skip to content

Commit 4fbf28f

Browse files
authored
fix: move audit-log-viewer from examples/ to apps/, wire prod deploy [] (#11274)
* fix: move audit-log-viewer from examples/ to apps/, wire prod deploy 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. * fix: restore missing test fixture and commit lockfile for audit-log-viewer 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).
1 parent 6056560 commit 4fbf28f

60 files changed

Lines changed: 9761 additions & 1 deletion

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,7 @@ build
44
.env.local
55
*_accessKeys.csv
66
contentful-audit-*.json
7+
# synthetic fixture for events.test.ts — not a real customer export
8+
!test-fixtures/contentful-audit-*.json
79
# GCP service-account keys — never commit
810
coffee-review-*.json
File renamed without changes.
File renamed without changes.

examples/audit-log-viewer/functions/__tests__/auditLogBroker.test.ts renamed to apps/audit-log-viewer/functions/__tests__/auditLogBroker.test.ts

File renamed without changes.

examples/audit-log-viewer/functions/__tests__/azure.test.ts renamed to apps/audit-log-viewer/functions/__tests__/azure.test.ts

File renamed without changes.

examples/audit-log-viewer/functions/__tests__/filenames.test.ts renamed to apps/audit-log-viewer/functions/__tests__/filenames.test.ts

File renamed without changes.

examples/audit-log-viewer/functions/__tests__/gcs.test.ts renamed to apps/audit-log-viewer/functions/__tests__/gcs.test.ts

File renamed without changes.

examples/audit-log-viewer/functions/__tests__/s3.test.ts renamed to apps/audit-log-viewer/functions/__tests__/s3.test.ts

File renamed without changes.

0 commit comments

Comments
 (0)