Skip to content

Commit b7b91db

Browse files
author
Elad Ben-Israel
authored
chore: .gitignore per module (#293)
Since we have multiple languages, using the top-level .gitignore is a really bad habit. For example, many of the .NET ignores would hide everything behind "bin/". Anyway - create a .gitignore file per module.
1 parent 1753910 commit b7b91db

File tree

18 files changed

+162
-398
lines changed

18 files changed

+162
-398
lines changed

.gitignore

Lines changed: 2 additions & 372 deletions
Original file line numberDiff line numberDiff line change
@@ -1,373 +1,3 @@
1-
.vscode
2-
3-
*.snk
4-
*.js
5-
*.d.ts
6-
dist/
7-
pack/
8-
9-
.BUILD_COMPLETED
10-
packages/jsii-dotnet-generator/cli/
11-
12-
# Created by https://www.gitignore.io/api/node,csharp
13-
14-
### Csharp ###
15-
## Ignore Visual Studio temporary files, build results, and
16-
## files generated by popular Visual Studio add-ons.
17-
##
18-
## Get latest from https://github.com/github/gitignore/blob/master/VisualStudio.gitignore
19-
20-
# User-specific files
21-
*.suo
22-
*.user
23-
*.userosscache
24-
*.sln.docstates
25-
26-
# User-specific files (MonoDevelop/Xamarin Studio)
27-
*.userprefs
28-
29-
# Build results
30-
[Dd]ebug/
31-
[Dd]ebugPublic/
32-
[Rr]elease/
33-
[Rr]eleases/
34-
x64/
35-
x86/
36-
bld/
37-
[Bb]in/
38-
[Oo]bj/
39-
[Ll]og/
40-
41-
# Visual Studio 2015 cache/options directory
42-
.vs/
43-
# Uncomment if you have tasks that create the project's static files in wwwroot
44-
#wwwroot/
45-
46-
# MSTest test Results
47-
[Tt]est[Rr]esult*/
48-
[Bb]uild[Ll]og.*
49-
50-
# NUNIT
51-
*.VisualState.xml
52-
TestResult.xml
53-
54-
# Build Results of an ATL Project
55-
[Dd]ebugPS/
56-
[Rr]eleasePS/
57-
dlldata.c
58-
59-
# .NET Core
60-
project.lock.json
61-
project.fragment.lock.json
62-
artifacts/
63-
**/Properties/launchSettings.json
64-
65-
*_i.c
66-
*_p.c
67-
*_i.h
68-
*.ilk
69-
*.meta
70-
*.obj
71-
*.pch
72-
*.pdb
73-
*.pgc
74-
*.pgd
75-
*.rsp
76-
*.sbr
77-
*.tlb
78-
*.tli
79-
*.tlh
80-
*.tmp
81-
*.tmp_proj
82-
*.log
83-
*.vspscc
84-
*.vssscc
85-
.builds
86-
*.pidb
87-
*.svclog
88-
*.scc
89-
90-
# Chutzpah Test files
91-
_Chutzpah*
92-
93-
# Visual C++ cache files
94-
ipch/
95-
*.aps
96-
*.ncb
97-
*.opendb
98-
*.opensdf
99-
*.sdf
100-
*.cachefile
101-
*.VC.db
102-
*.VC.VC.opendb
103-
104-
# Visual Studio profiler
105-
*.psess
106-
*.vsp
107-
*.vspx
108-
*.sap
109-
110-
# TFS 2012 Local Workspace
111-
$tf/
112-
113-
# Guidance Automation Toolkit
114-
*.gpState
115-
116-
# ReSharper is a .NET coding add-in
117-
_ReSharper*/
118-
*.[Rr]e[Ss]harper
119-
*.DotSettings.user
120-
121-
# JustCode is a .NET coding add-in
122-
.JustCode
123-
124-
# TeamCity is a build add-in
125-
_TeamCity*
126-
127-
# DotCover is a Code Coverage Tool
128-
*.dotCover
129-
130-
# Visual Studio code coverage results
131-
*.coverage
132-
*.coveragexml
133-
134-
# NCrunch
135-
_NCrunch_*
136-
.*crunch*.local.xml
137-
nCrunchTemp_*
138-
139-
# MightyMoose
140-
*.mm.*
141-
AutoTest.Net/
142-
143-
# Web workbench (sass)
144-
.sass-cache/
145-
146-
# Installshield output folder
147-
[Ee]xpress/
148-
149-
# DocProject is a documentation generator add-in
150-
DocProject/buildhelp/
151-
DocProject/Help/*.HxT
152-
DocProject/Help/*.HxC
153-
DocProject/Help/*.hhc
154-
DocProject/Help/*.hhk
155-
DocProject/Help/*.hhp
156-
DocProject/Help/Html2
157-
DocProject/Help/html
158-
159-
# Click-Once directory
160-
publish/
161-
162-
# Publish Web Output
163-
*.[Pp]ublish.xml
164-
*.azurePubxml
165-
# TODO: Uncomment the next line to ignore your web deploy settings.
166-
# By default, sensitive information, such as encrypted password
167-
# should be stored in the .pubxml.user file.
168-
#*.pubxml
169-
*.pubxml.user
170-
*.publishproj
171-
172-
# Microsoft Azure Web App publish settings. Comment the next line if you want to
173-
# checkin your Azure Web App publish settings, but sensitive information contained
174-
# in these scripts will be unencrypted
175-
PublishScripts/
176-
177-
# NuGet Packages
178-
*.nupkg
179-
# The packages folder can be ignored because of Package Restore
180-
**/packages/*
181-
# except build/, which is used as an MSBuild target.
182-
!**/packages/build/
183-
# Uncomment if necessary however generally it will be regenerated when needed
184-
#!**/packages/repositories.config
185-
# NuGet v3's project.json files produces more ignorable files
186-
*.nuget.props
187-
*.nuget.targets
188-
189-
# Microsoft Azure Build Output
190-
csx/
191-
*.build.csdef
192-
193-
# Microsoft Azure Emulator
194-
ecf/
195-
rcf/
196-
197-
# Windows Store app package directories and files
198-
AppPackages/
199-
BundleArtifacts/
200-
Package.StoreAssociation.xml
201-
_pkginfo.txt
202-
203-
# Visual Studio cache files
204-
# files ending in .cache can be ignored
205-
*.[Cc]ache
206-
# but keep track of directories ending in .cache
207-
!*.[Cc]ache/
208-
209-
# Others
210-
ClientBin/
211-
~$*
212-
*~
213-
*.dbmdl
214-
*.dbproj.schemaview
215-
*.jfm
216-
*.pfx
217-
*.publishsettings
218-
orleans.codegen.cs
219-
220-
# Since there are multiple workflows, uncomment next line to ignore bower_components
221-
# (https://github.com/github/gitignore/pull/1529#issuecomment-104372622)
222-
#bower_components/
223-
224-
# RIA/Silverlight projects
225-
Generated_Code/
226-
227-
# Backup & report files from converting an old project file
228-
# to a newer Visual Studio version. Backup files are not needed,
229-
# because we have git ;-)
230-
_UpgradeReport_Files/
231-
Backup*/
232-
UpgradeLog*.XML
233-
UpgradeLog*.htm
234-
235-
# SQL Server files
236-
*.mdf
237-
*.ldf
238-
*.ndf
239-
240-
# Business Intelligence projects
241-
*.rdl.data
242-
*.bim.layout
243-
*.bim_*.settings
244-
245-
# Microsoft Fakes
246-
FakesAssemblies/
247-
248-
# GhostDoc plugin setting file
249-
*.GhostDoc.xml
250-
251-
# Node.js Tools for Visual Studio
252-
.ntvs_analysis.dat
2531
node_modules/
254-
255-
# Typescript v1 declaration files
256-
typings/
257-
258-
# Visual Studio 6 build log
259-
*.plg
260-
261-
# Visual Studio 6 workspace options file
262-
*.opt
263-
264-
# Visual Studio 6 auto-generated workspace file (contains which files were open etc.)
265-
*.vbw
266-
267-
# Visual Studio LightSwitch build output
268-
**/*.HTMLClient/GeneratedArtifacts
269-
**/*.DesktopClient/GeneratedArtifacts
270-
**/*.DesktopClient/ModelManifest.xml
271-
**/*.Server/GeneratedArtifacts
272-
**/*.Server/ModelManifest.xml
273-
_Pvt_Extensions
274-
275-
# Paket dependency manager
276-
.paket/paket.exe
277-
paket-files/
278-
279-
# FAKE - F# Make
280-
.fake/
281-
282-
# JetBrains Rider
283-
.idea/
284-
*.sln.iml
285-
286-
# CodeRush
287-
.cr/
288-
289-
# Python Tools for Visual Studio (PTVS)
290-
__pycache__/
291-
*.pyc
292-
293-
# Cake - Uncomment if you are using it
294-
# tools/**
295-
# !tools/packages.config
296-
297-
# Telerik's JustMock configuration file
298-
*.jmconfig
299-
300-
# BizTalk build output
301-
*.btp.cs
302-
*.btm.cs
303-
*.odx.cs
304-
*.xsd.cs
305-
306-
### Node ###
307-
# Logs
308-
logs
309-
npm-debug.log*
310-
yarn-debug.log*
311-
yarn-error.log*
312-
313-
# Runtime data
314-
pids
315-
*.pid
316-
*.seed
317-
*.pid.lock
318-
319-
# Directory for instrumented libs generated by jscoverage/JSCover
320-
lib-cov
321-
322-
# Coverage directory used by tools like istanbul
323-
coverage
324-
325-
# nyc test coverage
326-
.nyc_output
327-
328-
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
329-
.grunt
330-
331-
# Bower dependency directory (https://bower.io/)
332-
bower_components
333-
334-
# node-waf configuration
335-
.lock-wscript
336-
337-
# Compiled binary addons (http://nodejs.org/api/addons.html)
338-
build/Release
339-
340-
# Dependency directories
341-
jspm_packages/
342-
343-
# Typescript v1 declaration files
344-
345-
# Optional npm cache directory
346-
.npm
347-
348-
# Optional eslint cache
349-
.eslintcache
350-
351-
# Optional REPL history
352-
.node_repl_history
353-
354-
# Output of 'npm pack'
355-
*.tgz
356-
357-
# Yarn Integrity file
358-
.yarn-integrity
359-
360-
# dotenv environment variables file
361-
.env
362-
363-
364-
# End of https://www.gitignore.io/api/node,csharp
365-
366-
367-
# Lerna uses the same directory directory name for internal packages
368-
# that NuGet uses for external packages. We don't want to ignore the
369-
# lerna packages.
370-
!/packages/*
371-
372-
#MacOS metadata
373-
.DS_Store
2+
.BUILD_COMPLETED
3+
lerna-debug.log

packages/codemaker/.gitignore

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
*.js
2+
*.d.ts
3+
node_modules/
4+
.nyc_output/
5+
coverage/
6+
17

28
# Created by https://www.gitignore.io/api/node
39

packages/jsii-build-tools/.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
*.js
2+
*.d.ts
3+
node_modules/
4+
.nyc_output/
5+
coverage/

0 commit comments

Comments
 (0)