-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitignore
More file actions
78 lines (70 loc) · 1.48 KB
/
Copy path.gitignore
File metadata and controls
78 lines (70 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
# -----------------------------------------------------------------------------
# REVERSED GITIGNORE (Allowlist)
# Usage: Ignore everything by default, then explicitly allow files/directories.
# -----------------------------------------------------------------------------
# 1. Ignore everything in the root directory
/*
# 2. General Exclusions (Apply even inside allowed directories)
# These safeguard against tracking junk files if they appear in allowed folders.
node_modules/
dist/
coverage/
.nyc_output/
.tmp
tmp/
*.tmp
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
hs_err_pid*.log
.DS_Store
Thumbs.db
*.swp
*.swo
*~
*.tsbuildinfo
.env
.env.local
.env.*.local
.npmrc
.idea/
.vscode/
.windsurf/
.junie/
.n8n-docs/
.PublishKey
# -----------------------------------------------------------------------------
# 3. ALLOWLIST - Files and Directories to Keep
# -----------------------------------------------------------------------------
# Configuration Files
!/.editorconfig
!/.eslintrc.js
!/.eslintrc.prepublish.js
!/.gitignore
!/.npmignore
!/.prettierrc.js
!/tsconfig.json
!/tslint.json
# Documentation
!/CHANGELOG.md
!/CODE_OF_CONDUCT.md
!/LICENSE
!/README.md
!/intro.png
# Project Source & Dependencies
!/gulpfile.js
!/index.js
!/package.json
!/pnpm-lock.yaml
# Core Directories
!/credentials/
!/nodes/
!/.github/
# Scripts (Selective)
!/scripts/
# Re-ignore everything inside scripts to only allow specific ones
/scripts/*
!/scripts/update-banner.js
!/scripts/banner.config