therepo/.gitignore
M. George Hansen 985dbc32cd
Some checks failed
Continuous Integration (CI) / Node 22 (push) Has been cancelled
Continuous Integration (CI) / Node 24 (push) Has been cancelled
chore(repo): implement CI w/ github actions (#4)
2025-08-20 09:15:43 +12:00

70 lines
1.6 KiB
Text

# ==================================================
# Base rules
# ==================================================
# Ignore everything except what is explicitly
# whitelisted, but recurse into subdirectories and
# allow .gitignore files in those subdirectories
# to provide their own rules.
*
!*/
!.gitignore
### Prevent recursing into generated folders ###
**/node_modules/
**/.direnv/
**/dist/
# ==================================================
# Workspace Configuration
# ==================================================
# Root-level workspace configuration.
### Licenses and documentation ###
!/README.md
!/LICENSE
### Editor & code style ###
!/biome.json
!/.editorconfig
!/.vscode/extensions.json
!/.vscode/settings.template.json
!/.vscode/tasks.json
### Development environment ###
!/.envrc
!/flake.nix
!/flake.lock
### Repository configuration ###
!/.github/workflows/*.yml
!/.husky/commit-msg
!/conventional.config.js
### Workspace configuration ###
!/package.json
!/package-lock.json
!/tsconfig*.json
# ==================================================
# Packages
# ==================================================
# Establish a standard package structure which
# individual packages can override or augment with
# their own .gitignore.
### Package configuration ###
!/packages/*/README.md
!/packages/*/LICENSE
!/packages/*/package.json
!/packages/*/tsconfig*.json
!/packages/*/*.config.ts
### Sources ###
!/packages/*/bin/*.js
!/packages/*/src/**/*.ts
!/packages/*/src/**/*.tsx
### Tests ###
!/packages/*/tests/tsconfig.json
!/packages/*/tests/**/*.ts
!/packages/*/tests/**/*.tsx