-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitignore
44 lines (37 loc) · 1.84 KB
/
.gitignore
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
# Files inside ".jsenv" directory are dynamically generated by jsenv.
# It's a filesystem cache of dynamically generated files.
# -> do not track transient files generated dynamically
/.jsenv/
# Files inside "coverage" directory are generated by "npm run test-with-coverage"
# These files are generated dynamically and meant to be viewed locally
# -> do not track coverage files (feel free to track them if you want)
/coverage/
# Files inside "node_modules" directory are generated by "npm install"
# These files are fetched dynamically by npm and very big
# -> do not track node module files
/node_modules/
# importmap generated by "npm run generate-importmap" is dependent
# of "node_modules" directory content.
# "node_modules" directory content might change often and be non deterministic,
# especially after npm install without using "package-lock.json".
# As this file is generated dynamically and might have non deterministic content
# due to its dependency to "node_modules" it's simpler not to track it.
# -> do not track "node_resolution.importmap"
/node_resolution.importmap
/test/temp
# jsconfig.json is generated by "npm run generate-importmap". jsconfig.json
# tells VSCode where are the files until it natively support import maps.
# -> no need to track a file generated dynamically
/jsconfig.json
# package-lock.json is generated by "npm install".
# It's a good practice to have it tracked by git.
# In practice tracking this file is a pain: git conflicts and random errors.
# Maybe today npm is finally stable and does not randomly fail when package-lock.json
# is tracked by git. Until it's tested again and confirmed I prefer
# to ignore package-lock.json.
# -> do not track package-lock.json
/package-lock.json
# secrets.json is a file where you can put secret data
# that must not be published by git.
# Please don't yell at me for doing this.
/secrets.json