mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-25 01:49:06 -05:00
4931cf06ff
* chore: bootstrap AI agent context files (AGENTS.md + CLAUDE.md)
Adds a three-tier set of AI context files across the monorepo:
- Root AGENTS.md / CLAUDE.md — project overview, workspaces, common
commands, architecture map, code conventions, and CI/CD summary
- Workspace-level pairs for cli/, packages/, npm/, tooling/,
system-tests/, and scripts/
- Package-level pairs for all 33 packages/, 15 npm/, 3 tooling/
packages, and the cli workspace (117 files total)
CLAUDE.md files are thin wrappers (@AGENTS.md import + workflow rules)
so Claude Code picks them up walking upward from cwd. AGENTS.md files
carry the substantive content and are also read natively by Codex CLI
and Cursor.
Command conventions applied throughout:
- No watch / file-watcher commands (agents run once and read results)
- No bare full-suite test runs for large packages; always target a
specific file (<path-to-spec>) or glob ("<glob-pattern>")
- No cypress:open (interactive mode); use cypress:run with --spec
- Test runner syntax varies by package: vitest (test --),
mocha (test-unit/test-integration --), jest (--testPathPattern),
Cypress CT (cypress:run:ct -- --spec)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
* gitignore
* clarify AI internal docs and contribution guidelines
* update TOC
* tweak nvm wording
---------
Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
408 lines
7.5 KiB
Plaintext
408 lines
7.5 KiB
Plaintext
|
|
### Cypress Custom .gitignore ###
|
|
*.log.*
|
|
dist-*
|
|
build
|
|
.history
|
|
.publish
|
|
_test-output
|
|
cypress.zip
|
|
.babel-cache
|
|
|
|
# from config, compiled .js files
|
|
packages/config/src/*.js
|
|
|
|
# from extension
|
|
Cached Theme.pak
|
|
Cached Theme Material Design.pak
|
|
|
|
# from data-context, compiled .js files
|
|
packages/data-context/src/**/*.js
|
|
packages/errors/src/**/*.js
|
|
packages/errors/test/**/*.js
|
|
!packages/errors/test/.mocharc.js
|
|
|
|
# from driver
|
|
packages/driver/cypress/videos
|
|
packages/driver/cypress/screenshots
|
|
|
|
# from launcher, compiled .js files
|
|
packages/launcher/index.js
|
|
packages/launcher/lib/**/*.js
|
|
|
|
# from network, compiled .js files
|
|
packages/network/lib/**/*.js
|
|
|
|
# from net-stubbing, compiled .js files
|
|
packages/net-stubbing/lib/**/*.js
|
|
|
|
# from runner
|
|
packages/runner/cypress/videos
|
|
packages/runner/cypress/screenshots
|
|
|
|
# from proxy, compiled .js files
|
|
packages/proxy/lib/**/*.js
|
|
|
|
# npm packages
|
|
npm/**/cypress/screenshots
|
|
|
|
# from example
|
|
packages/example/app
|
|
packages/example/build
|
|
packages/example/cypress/integration
|
|
|
|
# from frontend-shared
|
|
packages/frontend-shared/cypress/e2e/.projects
|
|
packages/frontend-shared/src/public/shiki/themes/cypress.theme.json
|
|
|
|
# from server
|
|
packages/server/.cy
|
|
packages/server/.projects
|
|
packages/server/support
|
|
packages/server/test/support/fixtures/server/imgs
|
|
packages/server/test/support/fixtures/server/libs
|
|
|
|
# from socket, dist built files
|
|
packages/socket/lib/*.js
|
|
|
|
# from system-tests
|
|
system-tests/.projects
|
|
system-tests/.http-mitm-proxy
|
|
system-tests/fixtures/large-img
|
|
system-tests/lib/fixtureDirs.ts
|
|
|
|
# from npm/react
|
|
/npm/react/bin/*
|
|
/npm/react/cypress/videos
|
|
/npm/react/.babel-cache
|
|
|
|
# from npm/webpack-dev-server
|
|
/npm/webpack-dev-server/cypress/videos
|
|
|
|
# from npm/grep
|
|
/npm/grep/cypress/videos
|
|
|
|
# from errors
|
|
/packages/errors/__snapshot-images__
|
|
/packages/errors/__snapshot-md__
|
|
/packages/errors/__snapshot-html-local__
|
|
|
|
# graphql, auto-generated
|
|
/packages/launchpad/src/generated
|
|
/packages/app/src/generated
|
|
/packages/frontend-shared/src/generated
|
|
/packages/frontend-shared/cypress/e2e/support/e2eProjectDirs.ts
|
|
|
|
# from old npm/create-cypress-tests
|
|
/npm/create-cypress-tests/initial-template
|
|
/npm/create-cypress-tests/src/test-output
|
|
|
|
# Building app binary
|
|
scripts/support
|
|
binary-url.json
|
|
|
|
# Allows us to dynamically create eslint rules that override the default for Decaffeinate scripts
|
|
cli/visual-snapshots
|
|
|
|
# Created by https://www.gitignore.io/api/osx,git,node,windows,intellij,linux
|
|
# Edit at https://www.gitignore.io/?templates=osx,git,node,windows,intellij,linux
|
|
|
|
### Git ###
|
|
# Created by git for backups. To disable backups in Git:
|
|
# $ git config --global mergetool.keepBackup false
|
|
*.orig
|
|
|
|
### Intellij ###
|
|
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and WebStorm
|
|
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
|
|
|
# Fleet
|
|
.fleet/
|
|
|
|
# User-specific stuff
|
|
.idea
|
|
.idea/**/workspace.xml
|
|
.idea/**/tasks.xml
|
|
.idea/**/usage.statistics.xml
|
|
.idea/**/dictionaries
|
|
.idea/**/shelf
|
|
|
|
# Generated files
|
|
.idea/**/contentModel.xml
|
|
|
|
# Sensitive or high-churn files
|
|
.idea/**/dataSources/
|
|
.idea/**/dataSources.ids
|
|
.idea/**/dataSources.local.xml
|
|
.idea/**/sqlDataSources.xml
|
|
.idea/**/dynamic.xml
|
|
.idea/**/uiDesigner.xml
|
|
.idea/**/dbnavigator.xml
|
|
|
|
# Gradle
|
|
.idea/**/gradle.xml
|
|
.idea/**/libraries
|
|
|
|
# Gradle and Maven with auto-import
|
|
# When using Gradle or Maven with auto-import, you should exclude module files,
|
|
# since they will be recreated, and may cause churn. Uncomment if using
|
|
# auto-import.
|
|
# .idea/modules.xml
|
|
# .idea/*.iml
|
|
# .idea/modules
|
|
# *.iml
|
|
# *.ipr
|
|
|
|
# CMake
|
|
cmake-build-*/
|
|
|
|
# Mongo Explorer plugin
|
|
.idea/**/mongoSettings.xml
|
|
|
|
# File-based project format
|
|
*.iws
|
|
|
|
# IntelliJ
|
|
out/
|
|
|
|
# mpeltonen/sbt-idea plugin
|
|
.idea_modules/
|
|
|
|
# JIRA plugin
|
|
atlassian-ide-plugin.xml
|
|
|
|
# Cursive Clojure plugin
|
|
.idea/replstate.xml
|
|
|
|
# Crashlytics plugin (for Android Studio and IntelliJ)
|
|
com_crashlytics_export_strings.xml
|
|
crashlytics.properties
|
|
crashlytics-build.properties
|
|
fabric.properties
|
|
|
|
# Editor-based Rest Client
|
|
.idea/httpRequests
|
|
|
|
# Android studio 3.1+ serialized cache file
|
|
.idea/caches/build_file_checksums.ser
|
|
|
|
### Intellij Patch ###
|
|
# Comment Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-215987721
|
|
|
|
# *.iml
|
|
# modules.xml
|
|
# .idea/misc.xml
|
|
# *.ipr
|
|
|
|
# Sonarlint plugin
|
|
.idea/**/sonarlint/
|
|
|
|
# SonarQube Plugin
|
|
.idea/**/sonarIssues.xml
|
|
|
|
# Markdown Navigator plugin
|
|
.idea/**/markdown-navigator.xml
|
|
.idea/**/markdown-navigator/
|
|
|
|
### Linux ###
|
|
*~
|
|
|
|
# temporary files which can be created if a process still has a handle open of a deleted file
|
|
.fuse_hidden*
|
|
|
|
# KDE directory preferences
|
|
.directory
|
|
|
|
# Linux trash folder which might appear on any partition or disk
|
|
.Trash-*
|
|
|
|
# .nfs files are created when an open file is removed but is still being accessed
|
|
.nfs*
|
|
|
|
### Node ###
|
|
# Logs
|
|
logs
|
|
*.log
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
lerna-debug.log*
|
|
|
|
# Diagnostic reports (https://nodejs.org/api/report.html)
|
|
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
|
|
|
# Runtime data
|
|
pids
|
|
*.pid
|
|
*.seed
|
|
*.pid.lock
|
|
|
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
|
lib-cov
|
|
|
|
# Coverage directory used by tools like istanbul
|
|
coverage
|
|
*.lcov
|
|
|
|
# nyc test coverage
|
|
.nyc_output
|
|
|
|
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
|
.grunt
|
|
|
|
# Bower dependency directory (https://bower.io/)
|
|
bower_components
|
|
|
|
# node-waf configuration
|
|
.lock-wscript
|
|
|
|
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
|
build/Release
|
|
|
|
# Dependency directories
|
|
node_modules/
|
|
jspm_packages/
|
|
|
|
# TypeScript v1 declaration files
|
|
typings/
|
|
|
|
# TypeScript cache
|
|
*.tsbuildinfo
|
|
|
|
# Optional npm cache directory
|
|
.npm
|
|
|
|
# Optional eslint cache
|
|
.eslintcache
|
|
|
|
# Optional REPL history
|
|
.node_repl_history
|
|
|
|
# Output of 'npm pack'
|
|
*.tgz
|
|
|
|
# Yarn files that shouldn't be checked in
|
|
.yarnrc
|
|
.yarn/
|
|
.yarn-integrity
|
|
|
|
# dotenv environment variables file
|
|
.env
|
|
.env.test
|
|
|
|
# parcel-bundler cache (https://parceljs.org/)
|
|
.cache
|
|
|
|
# next.js build output
|
|
.next
|
|
|
|
# rollup.js default build output
|
|
dist/
|
|
|
|
# Uncomment the public line if your project uses Gatsby
|
|
# https://nextjs.org/blog/next-9-1#public-directory-support
|
|
# public
|
|
|
|
# Storybook build outputs
|
|
.out
|
|
.storybook-out
|
|
|
|
# vuepress build output
|
|
.vuepress/dist
|
|
|
|
# Serverless directories
|
|
.serverless/
|
|
|
|
# FuseBox cache
|
|
.fusebox/
|
|
|
|
# DynamoDB Local files
|
|
.dynamodb/
|
|
|
|
# Temporary folders
|
|
tmp/
|
|
temp/
|
|
|
|
### OSX ###
|
|
# General
|
|
.DS_Store
|
|
.AppleDouble
|
|
.LSOverride
|
|
|
|
#Thumbnails
|
|
._*
|
|
|
|
# Files that might appear in the root of a volume
|
|
.DocumentRevisions-V100
|
|
.fseventsd
|
|
.Spotlight-V100
|
|
.TemporaryItems
|
|
.Trashes
|
|
.VolumeIcon.icns
|
|
.com.apple.timemachine.donotpresent
|
|
|
|
# Directories potentially created on remote AFP share
|
|
.AppleDB
|
|
.AppleDesktop
|
|
Network Trash Folder
|
|
Temporary Items
|
|
.apdisk
|
|
|
|
### Windows ###
|
|
# Windows thumbnail cache files
|
|
Thumbs.db
|
|
Thumbs.db:encryptable
|
|
ehthumbs.db
|
|
ehthumbs_vista.db
|
|
|
|
# Dump file
|
|
*.stackdump
|
|
|
|
# Folder config file
|
|
[Dd]esktop.ini
|
|
|
|
# Recycle Bin used on file shares
|
|
$RECYCLE.BIN/
|
|
|
|
# Windows Installer files
|
|
*.cab
|
|
*.msi
|
|
*.msix
|
|
*.msm
|
|
*.msp
|
|
|
|
# Windows shortcuts
|
|
*.lnk
|
|
|
|
# End of https://www.gitignore.io/api/osx,git,node,windows,intellij,linux
|
|
|
|
# Circle cache artifacts
|
|
globbed_node_modules
|
|
|
|
# Autogenerated files, typically from graphql-code-generator
|
|
*.gen.ts
|
|
*.gen.json
|
|
|
|
# Snapshot Binaries
|
|
snapshot_blob.bin
|
|
v8_context_snapshot.x86_64.bin
|
|
|
|
# Legacy snapshot cache files
|
|
tooling/v8-snapshot/cache/dev-darwin
|
|
tooling/v8-snapshot/cache/dev-linux
|
|
tooling/v8-snapshot/cache/dev-win32
|
|
tooling/v8-snapshot/cache/prod-darwin
|
|
tooling/v8-snapshot/cache/prod-linux
|
|
tooling/v8-snapshot/cache/prod-win32
|
|
|
|
# Cloud API validations
|
|
system-tests/lib/validations
|
|
|
|
.nx/cache
|
|
.nx/workspace-data
|
|
|
|
# IDE files
|
|
.cursor/*
|
|
!.cursor/BUGBOT.md
|
|
|
|
settings.local.json |