Files
twenty/.gitignore
T
Raphaël Bosi 04a304aa99 Ignore generated Storybook/Argos screenshot output (#21589)
## Context

`packages/twenty-front/screenshots/` (and the equivalent under other
Storybook packages) holds Argos visual-regression baselines that are
generated on demand and not meant to be committed. The existing rules in
`.gitignore` were:

```
screenshots/
!**/screenshots/
```

The `!**/screenshots/` negation was added so app images committed under
`public/screenshots/` (github-connector) and `assets/screenshots/`
(codex-plugin) stay tracked — but it is too broad: it also re-includes
the generated output, so a `git add -A` can accidentally commit hundreds
of baseline PNGs.

## What this does

Narrows the negation to the two locations where screenshots are
intentionally committed:

```
screenshots/
!**/public/screenshots/
!**/assets/screenshots/
```

Generated `screenshots/` directories at package roots (twenty-front,
twenty-ui, twenty-ui-deprecated, twenty-front-component-renderer) are
now ignored again, while committed app images remain tracked. Verified
with `git check-ignore`.

<!-- This is an auto-generated description by cubic. -->
<a
href="https://cubic.dev/pr/twentyhq/twenty/pull/21589?utm_source=github"
target="_blank" rel="noopener noreferrer"
data-no-image-dialog="true"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"><source
media="(prefers-color-scheme: light)"
srcset="https://www.cubic.dev/buttons/review-in-cubic-light.svg"><img
alt="Review in cubic"
src="https://www.cubic.dev/buttons/review-in-cubic-dark.svg"></picture></a>
<!-- End of auto-generated description by cubic. -->
2026-06-15 09:29:40 +00:00

62 lines
771 B
Plaintext

**/**/.env
.DS_Store
/.idea
.claude/
.cursor/debug-*.log
**/**/node_modules/
.cache
# yarn is the recommended package manager across the project
**/**/.package-lock.json
.nx/installation
.nx/cache
.nx/workspace-data
.nx/nxw.js
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
.vercel
.swc
**/**/logs/**
coverage
dist
storybook-static
*.tsbuildinfo
.oxlintcache
.nyc_output
test-results/
dump.rdb
.tinyb
.notes
/data/
/.devenv/
/.direnv/
/.pre-commit-config.yaml
/.envrc
/devenv.nix
/flake.lock
/flake.nix
.crowdin.yml
.react-email/
mcp.json
/.junie/
/.agents/plugins/marketplace.json
TRANSLATION_QA_REPORT.md
.playwright-mcp/
.playwright-cli/
output/playwright/
screenshots/
!**/public/screenshots/
!**/assets/screenshots/