Commit 4fbf28f
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
File tree
- apps/audit-log-viewer
- assets
- functions
- __tests__
- lib
- storage
- scripts
- src
- components
- lib
- locations
- test-fixtures
- test/mocks
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 number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
7 | 9 | | |
8 | 10 | | |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
0 commit comments