@gitlab/svgs 2.19.0 → 2.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Dangerfile +16 -0
- package/README.md +11 -0
- package/dist/file_icons/LICENSE.md +3 -0
- package/dist/file_icons/file_icons/actionscript.svg +1 -0
- package/dist/file_icons/file_icons/android.svg +1 -0
- package/dist/file_icons/file_icons/angular-component.svg +1 -0
- package/dist/file_icons/file_icons/angular-directive.svg +1 -0
- package/dist/file_icons/file_icons/angular-guard.svg +1 -0
- package/dist/file_icons/file_icons/angular-pipe.svg +1 -0
- package/dist/file_icons/file_icons/angular-resolver.svg +1 -0
- package/dist/file_icons/file_icons/angular-service.svg +1 -0
- package/dist/file_icons/file_icons/angular.svg +1 -0
- package/dist/file_icons/file_icons/apiblueprint.svg +1 -0
- package/dist/file_icons/file_icons/applescript.svg +1 -0
- package/dist/file_icons/file_icons/appveyor.svg +1 -0
- package/dist/file_icons/file_icons/arduino.svg +1 -0
- package/dist/file_icons/file_icons/assembly.svg +1 -0
- package/dist/file_icons/file_icons/audio.svg +1 -0
- package/dist/file_icons/file_icons/aurelia.svg +1 -0
- package/dist/file_icons/file_icons/autohotkey.svg +1 -0
- package/dist/file_icons/file_icons/autoit.svg +1 -0
- package/dist/file_icons/file_icons/babel.svg +1 -0
- package/dist/file_icons/file_icons/bithound.svg +1 -0
- package/dist/file_icons/file_icons/blink.svg +1 -0
- package/dist/file_icons/file_icons/bower.svg +1 -0
- package/dist/file_icons/file_icons/browserlist.svg +1 -0
- package/dist/file_icons/file_icons/bucklescript.svg +1 -0
- package/dist/file_icons/file_icons/c.svg +1 -0
- package/dist/file_icons/file_icons/cabal.svg +1 -0
- package/dist/file_icons/file_icons/cake.svg +1 -0
- package/dist/file_icons/file_icons/certificate.svg +1 -0
- package/dist/file_icons/file_icons/changelog.svg +1 -0
- package/dist/file_icons/file_icons/clojure.svg +1 -0
- package/dist/file_icons/file_icons/cmake.svg +1 -0
- package/dist/file_icons/file_icons/code-climate.svg +1 -0
- package/dist/file_icons/file_icons/coffee.svg +1 -0
- package/dist/file_icons/file_icons/coldfusion.svg +1 -0
- package/dist/file_icons/file_icons/conduct.svg +1 -0
- package/dist/file_icons/file_icons/console.svg +1 -0
- package/dist/file_icons/file_icons/contributing.svg +1 -0
- package/dist/file_icons/file_icons/cpp.svg +1 -0
- package/dist/file_icons/file_icons/credits.svg +1 -0
- package/dist/file_icons/file_icons/crystal.svg +1 -0
- package/dist/file_icons/file_icons/csharp.svg +1 -0
- package/dist/file_icons/file_icons/css-map.svg +1 -0
- package/dist/file_icons/file_icons/css.svg +1 -0
- package/dist/file_icons/file_icons/cucumber.svg +1 -0
- package/dist/file_icons/file_icons/cuda.svg +1 -0
- package/dist/file_icons/file_icons/dart.svg +1 -0
- package/dist/file_icons/file_icons/database.svg +1 -0
- package/dist/file_icons/file_icons/docker.svg +1 -0
- package/dist/file_icons/file_icons/document.svg +1 -0
- package/dist/file_icons/file_icons/drone.svg +1 -0
- package/dist/file_icons/file_icons/editorconfig.svg +1 -0
- package/dist/file_icons/file_icons/elixir.svg +1 -0
- package/dist/file_icons/file_icons/elm.svg +1 -0
- package/dist/file_icons/file_icons/email.svg +1 -0
- package/dist/file_icons/file_icons/erlang.svg +1 -0
- package/dist/file_icons/file_icons/eslint.svg +1 -0
- package/dist/file_icons/file_icons/exe.svg +1 -0
- package/dist/file_icons/file_icons/favicon.svg +1 -0
- package/dist/file_icons/file_icons/firebase.svg +1 -0
- package/dist/file_icons/file_icons/flash.svg +1 -0
- package/dist/file_icons/file_icons/flow.svg +1 -0
- package/dist/file_icons/file_icons/font.svg +1 -0
- package/dist/file_icons/file_icons/fsharp.svg +1 -0
- package/dist/file_icons/file_icons/fusebox.svg +1 -0
- package/dist/file_icons/file_icons/git.svg +1 -0
- package/dist/file_icons/file_icons/gitlab.svg +1 -0
- package/dist/file_icons/file_icons/go.svg +1 -0
- package/dist/file_icons/file_icons/gradle.svg +1 -0
- package/dist/file_icons/file_icons/graphcool.svg +1 -0
- package/dist/file_icons/file_icons/graphql.svg +1 -0
- package/dist/file_icons/file_icons/groovy.svg +1 -0
- package/dist/file_icons/file_icons/gulp.svg +1 -0
- package/dist/file_icons/file_icons/h.svg +1 -0
- package/dist/file_icons/file_icons/hack.svg +1 -0
- package/dist/file_icons/file_icons/haml.svg +1 -0
- package/dist/file_icons/file_icons/handlebars.svg +1 -0
- package/dist/file_icons/file_icons/haskell.svg +1 -0
- package/dist/file_icons/file_icons/haxe.svg +1 -0
- package/dist/file_icons/file_icons/heroku.svg +1 -0
- package/dist/file_icons/file_icons/hpp.svg +1 -0
- package/dist/file_icons/file_icons/html.svg +1 -0
- package/dist/file_icons/file_icons/http.svg +1 -0
- package/dist/file_icons/file_icons/image.svg +1 -0
- package/dist/file_icons/file_icons/ionic.svg +1 -0
- package/dist/file_icons/file_icons/java.svg +1 -0
- package/dist/file_icons/file_icons/javascript-map.svg +1 -0
- package/dist/file_icons/file_icons/javascript.svg +1 -0
- package/dist/file_icons/file_icons/jenkins.svg +1 -0
- package/dist/file_icons/file_icons/json.svg +1 -0
- package/dist/file_icons/file_icons/julia.svg +1 -0
- package/dist/file_icons/file_icons/karma.svg +1 -0
- package/dist/file_icons/file_icons/key.svg +1 -0
- package/dist/file_icons/file_icons/kivy.svg +1 -0
- package/dist/file_icons/file_icons/kl.svg +1 -0
- package/dist/file_icons/file_icons/kotlin.svg +1 -0
- package/dist/file_icons/file_icons/laravel.svg +1 -0
- package/dist/file_icons/file_icons/less.svg +1 -0
- package/dist/file_icons/file_icons/lib.svg +1 -0
- package/dist/file_icons/file_icons/livescript.svg +1 -0
- package/dist/file_icons/file_icons/lock.svg +1 -0
- package/dist/file_icons/file_icons/log.svg +1 -0
- package/dist/file_icons/file_icons/lua.svg +1 -0
- package/dist/file_icons/file_icons/markdown.svg +1 -0
- package/dist/file_icons/file_icons/markojs.svg +1 -0
- package/dist/file_icons/file_icons/mathematica.svg +1 -0
- package/dist/file_icons/file_icons/merlin.svg +1 -0
- package/dist/file_icons/file_icons/mocha.svg +1 -0
- package/dist/file_icons/file_icons/mxml.svg +1 -0
- package/dist/file_icons/file_icons/ngrx-actions.svg +1 -0
- package/dist/file_icons/file_icons/ngrx-effects.svg +1 -0
- package/dist/file_icons/file_icons/ngrx-reducer.svg +1 -0
- package/dist/file_icons/file_icons/ngrx-state.svg +1 -0
- package/dist/file_icons/file_icons/nim.svg +1 -0
- package/dist/file_icons/file_icons/nix.svg +1 -0
- package/dist/file_icons/file_icons/nodejs.svg +1 -0
- package/dist/file_icons/file_icons/nodemon.svg +1 -0
- package/dist/file_icons/file_icons/npm.svg +1 -0
- package/dist/file_icons/file_icons/nunjucks.svg +1 -0
- package/dist/file_icons/file_icons/ocaml.svg +1 -0
- package/dist/file_icons/file_icons/pdf.svg +1 -0
- package/dist/file_icons/file_icons/perl.svg +1 -0
- package/dist/file_icons/file_icons/postcss.svg +1 -0
- package/dist/file_icons/file_icons/powerpoint.svg +1 -0
- package/dist/file_icons/file_icons/powershell.svg +1 -0
- package/dist/file_icons/file_icons/prettier.svg +1 -0
- package/dist/file_icons/file_icons/protractor.svg +1 -0
- package/dist/file_icons/file_icons/pug.svg +1 -0
- package/dist/file_icons/file_icons/puppet.svg +1 -0
- package/dist/file_icons/file_icons/purescript.svg +1 -0
- package/dist/file_icons/file_icons/python.svg +1 -0
- package/dist/file_icons/file_icons/r.svg +1 -0
- package/dist/file_icons/file_icons/raml.svg +1 -0
- package/dist/file_icons/file_icons/react.svg +1 -0
- package/dist/file_icons/file_icons/readme.svg +1 -0
- package/dist/file_icons/file_icons/reason.svg +1 -0
- package/dist/file_icons/file_icons/restql.svg +1 -0
- package/dist/file_icons/file_icons/riot.svg +1 -0
- package/dist/file_icons/file_icons/robot.svg +1 -0
- package/dist/file_icons/file_icons/rollup.svg +1 -0
- package/dist/file_icons/file_icons/ruby.svg +1 -0
- package/dist/file_icons/file_icons/rust.svg +1 -0
- package/dist/file_icons/file_icons/sass.svg +1 -0
- package/dist/file_icons/file_icons/sbt.svg +1 -0
- package/dist/file_icons/file_icons/settings.svg +1 -0
- package/dist/file_icons/file_icons/slim.svg +1 -0
- package/dist/file_icons/file_icons/smarty.svg +1 -0
- package/dist/file_icons/file_icons/snyk.svg +1 -0
- package/dist/file_icons/file_icons/solidity.svg +1 -0
- package/dist/file_icons/file_icons/stylelint.svg +1 -0
- package/dist/file_icons/file_icons/stylus.svg +1 -0
- package/dist/file_icons/file_icons/swc.svg +1 -0
- package/dist/file_icons/file_icons/swift.svg +1 -0
- package/dist/file_icons/file_icons/table.svg +1 -0
- package/dist/file_icons/file_icons/terraform.svg +1 -0
- package/dist/file_icons/file_icons/test-js.svg +1 -0
- package/dist/file_icons/file_icons/test-jsx.svg +1 -0
- package/dist/file_icons/file_icons/test-ts.svg +1 -0
- package/dist/file_icons/file_icons/tex.svg +1 -0
- package/dist/file_icons/file_icons/todo.svg +1 -0
- package/dist/file_icons/file_icons/travis.svg +1 -0
- package/dist/file_icons/file_icons/tune.svg +1 -0
- package/dist/file_icons/file_icons/twig.svg +1 -0
- package/dist/file_icons/file_icons/typescript-def.svg +1 -0
- package/dist/file_icons/file_icons/typescript.svg +1 -0
- package/dist/file_icons/file_icons/url.svg +1 -0
- package/dist/file_icons/file_icons/verilog.svg +1 -0
- package/dist/file_icons/file_icons/vfl.svg +1 -0
- package/dist/file_icons/file_icons/video.svg +1 -0
- package/dist/file_icons/file_icons/virtual.svg +1 -0
- package/dist/file_icons/file_icons/visualstudio.svg +1 -0
- package/dist/file_icons/file_icons/vscode.svg +1 -0
- package/dist/file_icons/file_icons/vue.svg +1 -0
- package/dist/file_icons/file_icons/watchman.svg +1 -0
- package/dist/file_icons/file_icons/webpack.svg +1 -0
- package/dist/file_icons/file_icons/wolframlanguage.svg +1 -0
- package/dist/file_icons/file_icons/word.svg +1 -0
- package/dist/file_icons/file_icons/xaml.svg +1 -0
- package/dist/file_icons/file_icons/xml.svg +1 -0
- package/dist/file_icons/file_icons/yaml.svg +1 -0
- package/dist/file_icons/file_icons/yang.svg +1 -0
- package/dist/file_icons/file_icons/yarn.svg +1 -0
- package/dist/file_icons/file_icons/zip.svg +1 -0
- package/dist/file_icons/file_icons-stacked.svg +1 -0
- package/dist/file_icons/file_icons.json +188 -0
- package/dist/file_icons/file_icons.svg +1 -0
- package/dist/file_icons/file_icons_individual.json +733 -0
- package/dist/icons-stacked.svg +1 -1
- package/dist/icons.json +5 -2
- package/dist/icons.svg +1 -1
- package/dist/icons_individual.json +13 -1
- package/dist/sprite_icons/face-neutral.svg +1 -0
- package/dist/sprite_icons/face-unhappy.svg +1 -0
- package/dist/sprite_icons/upgrade.svg +1 -0
- package/index.js +3 -0
- package/package.json +4 -4
- package/src/file_icon_map.js +617 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"illustrationCount":
|
|
2
|
+
"illustrationCount": 375,
|
|
3
3
|
"illustrations": [
|
|
4
4
|
{
|
|
5
5
|
"name": "sprite_icons/abuse.svg",
|
|
@@ -473,6 +473,14 @@
|
|
|
473
473
|
"name": "sprite_icons/eye.svg",
|
|
474
474
|
"size": 521
|
|
475
475
|
},
|
|
476
|
+
{
|
|
477
|
+
"name": "sprite_icons/face-neutral.svg",
|
|
478
|
+
"size": 349
|
|
479
|
+
},
|
|
480
|
+
{
|
|
481
|
+
"name": "sprite_icons/face-unhappy.svg",
|
|
482
|
+
"size": 450
|
|
483
|
+
},
|
|
476
484
|
{
|
|
477
485
|
"name": "sprite_icons/false-positive.svg",
|
|
478
486
|
"size": 547
|
|
@@ -1457,6 +1465,10 @@
|
|
|
1457
1465
|
"name": "sprite_icons/unstage-all.svg",
|
|
1458
1466
|
"size": 451
|
|
1459
1467
|
},
|
|
1468
|
+
{
|
|
1469
|
+
"name": "sprite_icons/upgrade.svg",
|
|
1470
|
+
"size": 302
|
|
1471
|
+
},
|
|
1460
1472
|
{
|
|
1461
1473
|
"name": "sprite_icons/upload.svg",
|
|
1462
1474
|
"size": 419
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8 14.5a6.5 6.5 0 100-13 6.5 6.5 0 000 13zM8 16A8 8 0 108 0a8 8 0 000 16zm-2.5-5.25a.75.75 0 01.75-.75h3.5a.75.75 0 010 1.5h-3.5a.75.75 0 01-.75-.75zM7 7a1 1 0 11-2 0 1 1 0 012 0zm3 1a1 1 0 100-2 1 1 0 000 2z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M8 14.5a6.5 6.5 0 100-13 6.5 6.5 0 000 13zM8 16A8 8 0 108 0a8 8 0 000 16zm0-7a3 3 0 00-3 3h6a3 3 0 00-3-3zM6.002 5a1.5 1.5 0 00-1.3.747.5.5 0 10.866.502.5.5 0 01.865 0 .5.5 0 00.866-.5A1.5 1.5 0 006.002 5zm3.25.2a1.5 1.5 0 012.047.55.5.5 0 11-.866.5.5.5 0 00-.865-.001.5.5 0 11-.865-.502 1.5 1.5 0 01.55-.547z"/></svg>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M14 6l-1.5-1.5-3.44-3.44L8 0 6.94 1.06 3.5 4.5 2 6h3v7h6V6h3zM8 2.121L10.379 4.5H9.5v7h-3v-7h-.879L8 2.121zM5.75 14.5a.75.75 0 000 1.5h4.5a.75.75 0 000-1.5h-4.5z"/></svg>
|
package/index.js
ADDED
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gitlab/svgs",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.22.0",
|
|
4
4
|
"description": "SVG Assets for GitLab",
|
|
5
|
-
"main": "",
|
|
5
|
+
"main": "./index.js",
|
|
6
6
|
"repository": "git@gitlab.com:gitlab-org/gitlab-svgs.git",
|
|
7
7
|
"author": "GitLab",
|
|
8
8
|
"private": false,
|
|
9
9
|
"license": "MIT",
|
|
10
10
|
"scripts": {
|
|
11
|
-
"svg": "
|
|
11
|
+
"svg": "build_scripts/build-svgs.sh",
|
|
12
12
|
"dev": "yarn run svg && nuxt",
|
|
13
13
|
"build": "nuxt build",
|
|
14
14
|
"start": "nuxt start",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"@arkweid/lefthook": "^0.7.7",
|
|
21
21
|
"@gitlab/eslint-plugin": "12.3.0",
|
|
22
22
|
"bootstrap": "^4.3.1",
|
|
23
|
-
"eslint": "8.
|
|
23
|
+
"eslint": "8.18.0",
|
|
24
24
|
"glob": "^7.1.3",
|
|
25
25
|
"mkdirp": "^0.5.1",
|
|
26
26
|
"nuxt": "^2.2.0",
|
|
@@ -0,0 +1,617 @@
|
|
|
1
|
+
const fileExtensionIcons = {
|
|
2
|
+
html: 'html',
|
|
3
|
+
htm: 'html',
|
|
4
|
+
html_vm: 'html',
|
|
5
|
+
asp: 'html',
|
|
6
|
+
jade: 'pug',
|
|
7
|
+
pug: 'pug',
|
|
8
|
+
md: 'markdown',
|
|
9
|
+
markdown: 'markdown',
|
|
10
|
+
mdown: 'markdown',
|
|
11
|
+
mkd: 'markdown',
|
|
12
|
+
mkdn: 'markdown',
|
|
13
|
+
rst: 'markdown',
|
|
14
|
+
blink: 'blink',
|
|
15
|
+
css: 'css',
|
|
16
|
+
scss: 'sass',
|
|
17
|
+
sass: 'sass',
|
|
18
|
+
less: 'less',
|
|
19
|
+
json: 'json',
|
|
20
|
+
yaml: 'yaml',
|
|
21
|
+
yml: 'yaml',
|
|
22
|
+
xml: 'xml',
|
|
23
|
+
plist: 'xml',
|
|
24
|
+
xsd: 'xml',
|
|
25
|
+
dtd: 'xml',
|
|
26
|
+
xsl: 'xml',
|
|
27
|
+
xslt: 'xml',
|
|
28
|
+
resx: 'xml',
|
|
29
|
+
iml: 'xml',
|
|
30
|
+
xquery: 'xml',
|
|
31
|
+
tmLanguage: 'xml',
|
|
32
|
+
manifest: 'xml',
|
|
33
|
+
project: 'xml',
|
|
34
|
+
png: 'image',
|
|
35
|
+
jpeg: 'image',
|
|
36
|
+
jpg: 'image',
|
|
37
|
+
gif: 'image',
|
|
38
|
+
svg: 'image',
|
|
39
|
+
ico: 'image',
|
|
40
|
+
tif: 'image',
|
|
41
|
+
tiff: 'image',
|
|
42
|
+
psd: 'image',
|
|
43
|
+
psb: 'image',
|
|
44
|
+
ami: 'image',
|
|
45
|
+
apx: 'image',
|
|
46
|
+
bmp: 'image',
|
|
47
|
+
bpg: 'image',
|
|
48
|
+
brk: 'image',
|
|
49
|
+
cur: 'image',
|
|
50
|
+
dds: 'image',
|
|
51
|
+
dng: 'image',
|
|
52
|
+
exr: 'image',
|
|
53
|
+
fpx: 'image',
|
|
54
|
+
gbr: 'image',
|
|
55
|
+
img: 'image',
|
|
56
|
+
jbig2: 'image',
|
|
57
|
+
jb2: 'image',
|
|
58
|
+
jng: 'image',
|
|
59
|
+
jxr: 'image',
|
|
60
|
+
pbm: 'image',
|
|
61
|
+
pgf: 'image',
|
|
62
|
+
pic: 'image',
|
|
63
|
+
raw: 'image',
|
|
64
|
+
webp: 'image',
|
|
65
|
+
js: 'javascript',
|
|
66
|
+
ejs: 'javascript',
|
|
67
|
+
esx: 'javascript',
|
|
68
|
+
jsx: 'react',
|
|
69
|
+
tsx: 'react',
|
|
70
|
+
ini: 'settings',
|
|
71
|
+
dlc: 'settings',
|
|
72
|
+
dll: 'settings',
|
|
73
|
+
config: 'settings',
|
|
74
|
+
conf: 'settings',
|
|
75
|
+
properties: 'settings',
|
|
76
|
+
prop: 'settings',
|
|
77
|
+
settings: 'settings',
|
|
78
|
+
option: 'settings',
|
|
79
|
+
props: 'settings',
|
|
80
|
+
toml: 'settings',
|
|
81
|
+
prefs: 'settings',
|
|
82
|
+
ts: 'typescript',
|
|
83
|
+
marko: 'markojs',
|
|
84
|
+
pdf: 'pdf',
|
|
85
|
+
xlsx: 'table',
|
|
86
|
+
xls: 'table',
|
|
87
|
+
ods: 'table',
|
|
88
|
+
csv: 'table',
|
|
89
|
+
tsv: 'table',
|
|
90
|
+
vscodeignore: 'vscode',
|
|
91
|
+
vsixmanifest: 'vscode',
|
|
92
|
+
vsix: 'vscode',
|
|
93
|
+
suo: 'visualstudio',
|
|
94
|
+
sln: 'visualstudio',
|
|
95
|
+
csproj: 'visualstudio',
|
|
96
|
+
vb: 'visualstudio',
|
|
97
|
+
pdb: 'database',
|
|
98
|
+
sql: 'database',
|
|
99
|
+
pks: 'database',
|
|
100
|
+
pkb: 'database',
|
|
101
|
+
accdb: 'database',
|
|
102
|
+
mdb: 'database',
|
|
103
|
+
sqlite: 'database',
|
|
104
|
+
cs: 'csharp',
|
|
105
|
+
zip: 'zip',
|
|
106
|
+
tar: 'zip',
|
|
107
|
+
gz: 'zip',
|
|
108
|
+
xz: 'zip',
|
|
109
|
+
bzip2: 'zip',
|
|
110
|
+
gzip: 'zip',
|
|
111
|
+
rar: 'zip',
|
|
112
|
+
tgz: 'zip',
|
|
113
|
+
exe: 'exe',
|
|
114
|
+
msi: 'exe',
|
|
115
|
+
java: 'java',
|
|
116
|
+
jar: 'java',
|
|
117
|
+
jsp: 'java',
|
|
118
|
+
c: 'c',
|
|
119
|
+
m: 'c',
|
|
120
|
+
h: 'h',
|
|
121
|
+
cc: 'cpp',
|
|
122
|
+
cpp: 'cpp',
|
|
123
|
+
mm: 'cpp',
|
|
124
|
+
cxx: 'cpp',
|
|
125
|
+
hpp: 'hpp',
|
|
126
|
+
go: 'go',
|
|
127
|
+
py: 'python',
|
|
128
|
+
url: 'url',
|
|
129
|
+
sh: 'console',
|
|
130
|
+
ksh: 'console',
|
|
131
|
+
csh: 'console',
|
|
132
|
+
tcsh: 'console',
|
|
133
|
+
zsh: 'console',
|
|
134
|
+
bash: 'console',
|
|
135
|
+
bat: 'console',
|
|
136
|
+
cmd: 'console',
|
|
137
|
+
ps1: 'powershell',
|
|
138
|
+
psm1: 'powershell',
|
|
139
|
+
psd1: 'powershell',
|
|
140
|
+
ps1xml: 'powershell',
|
|
141
|
+
psc1: 'powershell',
|
|
142
|
+
pssc: 'powershell',
|
|
143
|
+
gradle: 'gradle',
|
|
144
|
+
doc: 'word',
|
|
145
|
+
docx: 'word',
|
|
146
|
+
odt: 'word',
|
|
147
|
+
rtf: 'word',
|
|
148
|
+
cer: 'certificate',
|
|
149
|
+
cert: 'certificate',
|
|
150
|
+
crt: 'certificate',
|
|
151
|
+
pub: 'key',
|
|
152
|
+
key: 'key',
|
|
153
|
+
pem: 'key',
|
|
154
|
+
asc: 'key',
|
|
155
|
+
gpg: 'key',
|
|
156
|
+
woff: 'font',
|
|
157
|
+
woff2: 'font',
|
|
158
|
+
ttf: 'font',
|
|
159
|
+
eot: 'font',
|
|
160
|
+
suit: 'font',
|
|
161
|
+
otf: 'font',
|
|
162
|
+
bmap: 'font',
|
|
163
|
+
fnt: 'font',
|
|
164
|
+
odttf: 'font',
|
|
165
|
+
ttc: 'font',
|
|
166
|
+
font: 'font',
|
|
167
|
+
fonts: 'font',
|
|
168
|
+
sui: 'font',
|
|
169
|
+
ntf: 'font',
|
|
170
|
+
mrf: 'font',
|
|
171
|
+
lib: 'lib',
|
|
172
|
+
bib: 'lib',
|
|
173
|
+
rb: 'ruby',
|
|
174
|
+
erb: 'ruby',
|
|
175
|
+
fs: 'fsharp',
|
|
176
|
+
fsx: 'fsharp',
|
|
177
|
+
fsi: 'fsharp',
|
|
178
|
+
fsproj: 'fsharp',
|
|
179
|
+
swift: 'swift',
|
|
180
|
+
ino: 'arduino',
|
|
181
|
+
dockerignore: 'docker',
|
|
182
|
+
dockerfile: 'docker',
|
|
183
|
+
tex: 'tex',
|
|
184
|
+
cls: 'tex',
|
|
185
|
+
sty: 'tex',
|
|
186
|
+
pptx: 'powerpoint',
|
|
187
|
+
ppt: 'powerpoint',
|
|
188
|
+
pptm: 'powerpoint',
|
|
189
|
+
potx: 'powerpoint',
|
|
190
|
+
pot: 'powerpoint',
|
|
191
|
+
potm: 'powerpoint',
|
|
192
|
+
ppsx: 'powerpoint',
|
|
193
|
+
ppsm: 'powerpoint',
|
|
194
|
+
pps: 'powerpoint',
|
|
195
|
+
ppam: 'powerpoint',
|
|
196
|
+
ppa: 'powerpoint',
|
|
197
|
+
odp: 'powerpoint',
|
|
198
|
+
webm: 'video',
|
|
199
|
+
mkv: 'video',
|
|
200
|
+
flv: 'video',
|
|
201
|
+
vob: 'video',
|
|
202
|
+
ogv: 'video',
|
|
203
|
+
ogg: 'audio',
|
|
204
|
+
gifv: 'video',
|
|
205
|
+
avi: 'video',
|
|
206
|
+
mov: 'video',
|
|
207
|
+
qt: 'video',
|
|
208
|
+
wmv: 'video',
|
|
209
|
+
yuv: 'video',
|
|
210
|
+
rm: 'video',
|
|
211
|
+
rmvb: 'video',
|
|
212
|
+
mp4: 'video',
|
|
213
|
+
m4v: 'video',
|
|
214
|
+
mpg: 'video',
|
|
215
|
+
mp2: 'video',
|
|
216
|
+
mpeg: 'video',
|
|
217
|
+
mpe: 'video',
|
|
218
|
+
mpv: 'video',
|
|
219
|
+
m2v: 'video',
|
|
220
|
+
vdi: 'virtual',
|
|
221
|
+
vbox: 'virtual',
|
|
222
|
+
ics: 'email',
|
|
223
|
+
mp3: 'audio',
|
|
224
|
+
flac: 'audio',
|
|
225
|
+
m4a: 'audio',
|
|
226
|
+
wma: 'audio',
|
|
227
|
+
aiff: 'audio',
|
|
228
|
+
coffee: 'coffee',
|
|
229
|
+
txt: 'document',
|
|
230
|
+
graphql: 'graphql',
|
|
231
|
+
rs: 'rust',
|
|
232
|
+
raml: 'raml',
|
|
233
|
+
xaml: 'xaml',
|
|
234
|
+
hs: 'haskell',
|
|
235
|
+
kt: 'kotlin',
|
|
236
|
+
kts: 'kotlin',
|
|
237
|
+
patch: 'git',
|
|
238
|
+
lua: 'lua',
|
|
239
|
+
clj: 'clojure',
|
|
240
|
+
cljs: 'clojure',
|
|
241
|
+
groovy: 'groovy',
|
|
242
|
+
r: 'r',
|
|
243
|
+
rmd: 'r',
|
|
244
|
+
dart: 'dart',
|
|
245
|
+
as: 'actionscript',
|
|
246
|
+
mxml: 'mxml',
|
|
247
|
+
ahk: 'autohotkey',
|
|
248
|
+
swf: 'flash',
|
|
249
|
+
swc: 'swc',
|
|
250
|
+
cmake: 'cmake',
|
|
251
|
+
asm: 'assembly',
|
|
252
|
+
a51: 'assembly',
|
|
253
|
+
inc: 'assembly',
|
|
254
|
+
nasm: 'assembly',
|
|
255
|
+
s: 'assembly',
|
|
256
|
+
ms: 'assembly',
|
|
257
|
+
agc: 'assembly',
|
|
258
|
+
ags: 'assembly',
|
|
259
|
+
aea: 'assembly',
|
|
260
|
+
argus: 'assembly',
|
|
261
|
+
mitigus: 'assembly',
|
|
262
|
+
binsource: 'assembly',
|
|
263
|
+
vue: 'vue',
|
|
264
|
+
ml: 'ocaml',
|
|
265
|
+
mli: 'ocaml',
|
|
266
|
+
cmx: 'ocaml',
|
|
267
|
+
lock: 'lock',
|
|
268
|
+
hbs: 'handlebars',
|
|
269
|
+
mustache: 'handlebars',
|
|
270
|
+
pl: 'perl',
|
|
271
|
+
pm: 'perl',
|
|
272
|
+
hx: 'haxe',
|
|
273
|
+
pp: 'puppet',
|
|
274
|
+
ex: 'elixir',
|
|
275
|
+
exs: 'elixir',
|
|
276
|
+
ls: 'livescript',
|
|
277
|
+
erl: 'erlang',
|
|
278
|
+
twig: 'twig',
|
|
279
|
+
jl: 'julia',
|
|
280
|
+
elm: 'elm',
|
|
281
|
+
pure: 'purescript',
|
|
282
|
+
tpl: 'smarty',
|
|
283
|
+
styl: 'stylus',
|
|
284
|
+
re: 'reason',
|
|
285
|
+
rei: 'reason',
|
|
286
|
+
cmj: 'bucklescript',
|
|
287
|
+
merlin: 'merlin',
|
|
288
|
+
v: 'verilog',
|
|
289
|
+
vhd: 'verilog',
|
|
290
|
+
sv: 'verilog',
|
|
291
|
+
svh: 'verilog',
|
|
292
|
+
nb: 'mathematica',
|
|
293
|
+
wl: 'wolframlanguage',
|
|
294
|
+
wls: 'wolframlanguage',
|
|
295
|
+
njk: 'nunjucks',
|
|
296
|
+
nunjucks: 'nunjucks',
|
|
297
|
+
robot: 'robot',
|
|
298
|
+
sol: 'solidity',
|
|
299
|
+
au3: 'autoit',
|
|
300
|
+
haml: 'haml',
|
|
301
|
+
yang: 'yang',
|
|
302
|
+
tf: 'terraform',
|
|
303
|
+
tfvars: 'terraform',
|
|
304
|
+
tfstate: 'terraform',
|
|
305
|
+
applescript: 'applescript',
|
|
306
|
+
cake: 'cake',
|
|
307
|
+
feature: 'cucumber',
|
|
308
|
+
nim: 'nim',
|
|
309
|
+
nimble: 'nim',
|
|
310
|
+
apib: 'apiblueprint',
|
|
311
|
+
apiblueprint: 'apiblueprint',
|
|
312
|
+
tag: 'riot',
|
|
313
|
+
vfl: 'vfl',
|
|
314
|
+
kl: 'kl',
|
|
315
|
+
pcss: 'postcss',
|
|
316
|
+
sss: 'postcss',
|
|
317
|
+
todo: 'todo',
|
|
318
|
+
cfml: 'coldfusion',
|
|
319
|
+
cfc: 'coldfusion',
|
|
320
|
+
lucee: 'coldfusion',
|
|
321
|
+
cabal: 'cabal',
|
|
322
|
+
nix: 'nix',
|
|
323
|
+
slim: 'slim',
|
|
324
|
+
http: 'http',
|
|
325
|
+
rest: 'http',
|
|
326
|
+
rql: 'restql',
|
|
327
|
+
restql: 'restql',
|
|
328
|
+
kv: 'kivy',
|
|
329
|
+
graphcool: 'graphcool',
|
|
330
|
+
sbt: 'sbt',
|
|
331
|
+
cr: 'crystal',
|
|
332
|
+
cu: 'cuda',
|
|
333
|
+
cuh: 'cuda',
|
|
334
|
+
log: 'log',
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
const twoFileExtensionIcons = {
|
|
338
|
+
'gradle.kts': 'gradle',
|
|
339
|
+
'md.rendered': 'markdown',
|
|
340
|
+
'markdown.rendered': 'markdown',
|
|
341
|
+
'mdown.rendered': 'markdown',
|
|
342
|
+
'mkd.rendered': 'markdown',
|
|
343
|
+
'mkdn.rendered': 'markdown',
|
|
344
|
+
'YAML-tmLanguage': 'yaml',
|
|
345
|
+
'sln.dotsettings': 'settings',
|
|
346
|
+
'sln.dotsettings.user': 'settings',
|
|
347
|
+
'd.ts': 'typescript-def',
|
|
348
|
+
'code-workplace': 'vscode',
|
|
349
|
+
'7z': 'zip',
|
|
350
|
+
'c++': 'cpp',
|
|
351
|
+
'vbox-prev': 'virtual',
|
|
352
|
+
'js.map': 'javascript-map',
|
|
353
|
+
'css.map': 'css-map',
|
|
354
|
+
'spec.ts': 'test-ts',
|
|
355
|
+
'test.ts': 'test-ts',
|
|
356
|
+
'ts.snap': 'test-ts',
|
|
357
|
+
'spec.tsx': 'test-jsx',
|
|
358
|
+
'test.tsx': 'test-jsx',
|
|
359
|
+
'tsx.snap': 'test-jsx',
|
|
360
|
+
'spec.jsx': 'test-jsx',
|
|
361
|
+
'test.jsx': 'test-jsx',
|
|
362
|
+
'jsx.snap': 'test-jsx',
|
|
363
|
+
'spec.js': 'test-js',
|
|
364
|
+
'test.js': 'test-js',
|
|
365
|
+
'js.snap': 'test-js',
|
|
366
|
+
// 'routing.ts': 'angular-routing',
|
|
367
|
+
// 'routing.js': 'angular-routing',
|
|
368
|
+
'module.ts': 'angular',
|
|
369
|
+
'module.js': 'angular',
|
|
370
|
+
'ng-template': 'angular',
|
|
371
|
+
'component.ts': 'angular-component',
|
|
372
|
+
'component.js': 'angular-component',
|
|
373
|
+
'guard.ts': 'angular-guard',
|
|
374
|
+
'guard.js': 'angular-guard',
|
|
375
|
+
'service.ts': 'angular-service',
|
|
376
|
+
'service.js': 'angular-service',
|
|
377
|
+
'pipe.ts': 'angular-pipe',
|
|
378
|
+
'pipe.js': 'angular-pipe',
|
|
379
|
+
'filter.js': 'angular-pipe',
|
|
380
|
+
'directive.ts': 'angular-directive',
|
|
381
|
+
'directive.js': 'angular-directive',
|
|
382
|
+
'resolver.ts': 'angular-resolver',
|
|
383
|
+
'resolver.js': 'angular-resolver',
|
|
384
|
+
'tf.json': 'terraform',
|
|
385
|
+
'blade.php': 'laravel',
|
|
386
|
+
'inky.php': 'laravel',
|
|
387
|
+
'reducer.ts': 'ngrx-reducer',
|
|
388
|
+
'rootReducer.ts': 'ngrx-reducer',
|
|
389
|
+
'state.ts': 'ngrx-state',
|
|
390
|
+
'actions.ts': 'ngrx-actions',
|
|
391
|
+
'effects.ts': 'ngrx-effects',
|
|
392
|
+
'drone.yml': 'drone',
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
const fileNameIcons = {
|
|
396
|
+
'.jscsrc': 'json',
|
|
397
|
+
'.jshintrc': 'json',
|
|
398
|
+
'tsconfig.json': 'json',
|
|
399
|
+
'tslint.json': 'json',
|
|
400
|
+
'composer.lock': 'json',
|
|
401
|
+
'.jsbeautifyrc': 'json',
|
|
402
|
+
'.esformatter': 'json',
|
|
403
|
+
'cdp.pid': 'json',
|
|
404
|
+
'.htaccess': 'xml',
|
|
405
|
+
'.jshintignore': 'settings',
|
|
406
|
+
'.buildignore': 'settings',
|
|
407
|
+
makefile: 'settings',
|
|
408
|
+
'.mrconfig': 'settings',
|
|
409
|
+
'.yardopts': 'settings',
|
|
410
|
+
'gradle.properties': 'gradle',
|
|
411
|
+
gradlew: 'gradle',
|
|
412
|
+
'gradle-wrapper.properties': 'gradle',
|
|
413
|
+
COPYING: 'certificate',
|
|
414
|
+
'COPYING.LESSER': 'certificate',
|
|
415
|
+
LICENSE: 'certificate',
|
|
416
|
+
LICENCE: 'certificate',
|
|
417
|
+
'LICENSE.md': 'certificate',
|
|
418
|
+
'LICENCE.md': 'certificate',
|
|
419
|
+
'LICENSE.txt': 'certificate',
|
|
420
|
+
'LICENCE.txt': 'certificate',
|
|
421
|
+
'.gitlab-license': 'certificate',
|
|
422
|
+
dockerfile: 'docker',
|
|
423
|
+
'docker-compose.yml': 'docker',
|
|
424
|
+
'.mailmap': 'email',
|
|
425
|
+
'.gitignore': 'git',
|
|
426
|
+
'.gitconfig': 'git',
|
|
427
|
+
'.gitattributes': 'git',
|
|
428
|
+
'.gitmodules': 'git',
|
|
429
|
+
'.gitkeep': 'git',
|
|
430
|
+
'git-history': 'git',
|
|
431
|
+
'.Rhistory': 'r',
|
|
432
|
+
'cmakelists.txt': 'cmake',
|
|
433
|
+
'cmakecache.txt': 'cmake',
|
|
434
|
+
'angular-cli.json': 'angular',
|
|
435
|
+
'.angular-cli.json': 'angular',
|
|
436
|
+
'.vfl': 'vfl',
|
|
437
|
+
'.kl': 'kl',
|
|
438
|
+
'postcss.config.js': 'postcss',
|
|
439
|
+
'.postcssrc.js': 'postcss',
|
|
440
|
+
'project.graphcool': 'graphcool',
|
|
441
|
+
'webpack.js': 'webpack',
|
|
442
|
+
'webpack.ts': 'webpack',
|
|
443
|
+
'webpack.base.js': 'webpack',
|
|
444
|
+
'webpack.base.ts': 'webpack',
|
|
445
|
+
'webpack.config.js': 'webpack',
|
|
446
|
+
'webpack.config.ts': 'webpack',
|
|
447
|
+
'webpack.common.js': 'webpack',
|
|
448
|
+
'webpack.common.ts': 'webpack',
|
|
449
|
+
'webpack.config.common.js': 'webpack',
|
|
450
|
+
'webpack.config.common.ts': 'webpack',
|
|
451
|
+
'webpack.config.common.babel.js': 'webpack',
|
|
452
|
+
'webpack.config.common.babel.ts': 'webpack',
|
|
453
|
+
'webpack.dev.js': 'webpack',
|
|
454
|
+
'webpack.dev.ts': 'webpack',
|
|
455
|
+
'webpack.config.dev.js': 'webpack',
|
|
456
|
+
'webpack.config.dev.ts': 'webpack',
|
|
457
|
+
'webpack.config.dev.babel.js': 'webpack',
|
|
458
|
+
'webpack.config.dev.babel.ts': 'webpack',
|
|
459
|
+
'webpack.prod.js': 'webpack',
|
|
460
|
+
'webpack.prod.ts': 'webpack',
|
|
461
|
+
'webpack.server.js': 'webpack',
|
|
462
|
+
'webpack.server.ts': 'webpack',
|
|
463
|
+
'webpack.client.js': 'webpack',
|
|
464
|
+
'webpack.client.ts': 'webpack',
|
|
465
|
+
'webpack.config.server.js': 'webpack',
|
|
466
|
+
'webpack.config.server.ts': 'webpack',
|
|
467
|
+
'webpack.config.client.js': 'webpack',
|
|
468
|
+
'webpack.config.client.ts': 'webpack',
|
|
469
|
+
'webpack.config.production.babel.js': 'webpack',
|
|
470
|
+
'webpack.config.production.babel.ts': 'webpack',
|
|
471
|
+
'webpack.config.prod.babel.js': 'webpack',
|
|
472
|
+
'webpack.config.prod.babel.ts': 'webpack',
|
|
473
|
+
'webpack.config.prod.js': 'webpack',
|
|
474
|
+
'webpack.config.prod.ts': 'webpack',
|
|
475
|
+
'webpack.config.production.js': 'webpack',
|
|
476
|
+
'webpack.config.production.ts': 'webpack',
|
|
477
|
+
'webpack.config.staging.js': 'webpack',
|
|
478
|
+
'webpack.config.staging.ts': 'webpack',
|
|
479
|
+
'webpack.config.babel.js': 'webpack',
|
|
480
|
+
'webpack.config.babel.ts': 'webpack',
|
|
481
|
+
'webpack.config.base.babel.js': 'webpack',
|
|
482
|
+
'webpack.config.base.babel.ts': 'webpack',
|
|
483
|
+
'webpack.config.base.js': 'webpack',
|
|
484
|
+
'webpack.config.base.ts': 'webpack',
|
|
485
|
+
'webpack.config.staging.babel.js': 'webpack',
|
|
486
|
+
'webpack.config.staging.babel.ts': 'webpack',
|
|
487
|
+
'webpack.config.coffee': 'webpack',
|
|
488
|
+
'webpack.config.test.js': 'webpack',
|
|
489
|
+
'webpack.config.test.ts': 'webpack',
|
|
490
|
+
'webpack.config.vendor.js': 'webpack',
|
|
491
|
+
'webpack.config.vendor.ts': 'webpack',
|
|
492
|
+
'webpack.config.vendor.production.js': 'webpack',
|
|
493
|
+
'webpack.config.vendor.production.ts': 'webpack',
|
|
494
|
+
'webpack.test.js': 'webpack',
|
|
495
|
+
'webpack.test.ts': 'webpack',
|
|
496
|
+
'webpack.dist.js': 'webpack',
|
|
497
|
+
'webpack.dist.ts': 'webpack',
|
|
498
|
+
'webpackfile.js': 'webpack',
|
|
499
|
+
'webpackfile.ts': 'webpack',
|
|
500
|
+
'ionic.config.json': 'ionic',
|
|
501
|
+
'.io-config.json': 'ionic',
|
|
502
|
+
'gulpfile.js': 'gulp',
|
|
503
|
+
'gulpfile.ts': 'gulp',
|
|
504
|
+
'gulpfile.babel.js': 'gulp',
|
|
505
|
+
'package.json': 'nodejs',
|
|
506
|
+
'package-lock.json': 'nodejs',
|
|
507
|
+
'.nvmrc': 'nodejs',
|
|
508
|
+
'.npmignore': 'npm',
|
|
509
|
+
'.npmrc': 'npm',
|
|
510
|
+
'.yarnrc': 'yarn',
|
|
511
|
+
'.yarnrc.yml': 'yarn',
|
|
512
|
+
'yarn.lock': 'yarn',
|
|
513
|
+
'.yarnclean': 'yarn',
|
|
514
|
+
'.yarn-integrity': 'yarn',
|
|
515
|
+
'yarn-error.log': 'yarn',
|
|
516
|
+
'androidmanifest.xml': 'android',
|
|
517
|
+
'.env': 'tune',
|
|
518
|
+
'.env.example': 'tune',
|
|
519
|
+
'.babelrc': 'babel',
|
|
520
|
+
'contributing.md': 'contributing',
|
|
521
|
+
'contributing.md.rendered': 'contributing',
|
|
522
|
+
'readme.md': 'readme',
|
|
523
|
+
'readme.md.rendered': 'readme',
|
|
524
|
+
changelog: 'changelog',
|
|
525
|
+
'changelog.md': 'changelog',
|
|
526
|
+
'changelog.md.rendered': 'changelog',
|
|
527
|
+
CREDITS: 'credits',
|
|
528
|
+
'credits.txt': 'credits',
|
|
529
|
+
'credits.md': 'credits',
|
|
530
|
+
'credits.md.rendered': 'credits',
|
|
531
|
+
'.flowconfig': 'flow',
|
|
532
|
+
'favicon.png': 'favicon',
|
|
533
|
+
'karma.conf.js': 'karma',
|
|
534
|
+
'karma.conf.ts': 'karma',
|
|
535
|
+
'karma.conf.coffee': 'karma',
|
|
536
|
+
'karma.config.js': 'karma',
|
|
537
|
+
'karma.config.ts': 'karma',
|
|
538
|
+
'karma-main.js': 'karma',
|
|
539
|
+
'karma-main.ts': 'karma',
|
|
540
|
+
'.bithoundrc': 'bithound',
|
|
541
|
+
'appveyor.yml': 'appveyor',
|
|
542
|
+
'.travis.yml': 'travis',
|
|
543
|
+
'protractor.conf.js': 'protractor',
|
|
544
|
+
'protractor.conf.ts': 'protractor',
|
|
545
|
+
'protractor.conf.coffee': 'protractor',
|
|
546
|
+
'protractor.config.js': 'protractor',
|
|
547
|
+
'protractor.config.ts': 'protractor',
|
|
548
|
+
'fuse.js': 'fusebox',
|
|
549
|
+
procfile: 'heroku',
|
|
550
|
+
'.editorconfig': 'editorconfig',
|
|
551
|
+
'.gitlab-ci.yml': 'gitlab',
|
|
552
|
+
'.bowerrc': 'bower',
|
|
553
|
+
'bower.json': 'bower',
|
|
554
|
+
'.eslintrc.js': 'eslint',
|
|
555
|
+
'.eslintrc.yaml': 'eslint',
|
|
556
|
+
'.eslintrc.yml': 'eslint',
|
|
557
|
+
'.eslintrc.json': 'eslint',
|
|
558
|
+
'.eslintrc': 'eslint',
|
|
559
|
+
'.eslintignore': 'eslint',
|
|
560
|
+
'code_of_conduct.md': 'conduct',
|
|
561
|
+
'code_of_conduct.md.rendered': 'conduct',
|
|
562
|
+
'.watchmanconfig': 'watchman',
|
|
563
|
+
'aurelia.json': 'aurelia',
|
|
564
|
+
'mocha.opts': 'mocha',
|
|
565
|
+
jenkinsfile: 'jenkins',
|
|
566
|
+
'firebase.json': 'firebase',
|
|
567
|
+
'.firebaserc': 'firebase',
|
|
568
|
+
Rakefile: 'ruby',
|
|
569
|
+
'rollup.config.js': 'rollup',
|
|
570
|
+
'rollup.config.ts': 'rollup',
|
|
571
|
+
'rollup-config.js': 'rollup',
|
|
572
|
+
'rollup-config.ts': 'rollup',
|
|
573
|
+
'rollup.config.prod.js': 'rollup',
|
|
574
|
+
'rollup.config.prod.ts': 'rollup',
|
|
575
|
+
'rollup.config.dev.js': 'rollup',
|
|
576
|
+
'rollup.config.dev.ts': 'rollup',
|
|
577
|
+
'rollup.config.prod.vendor.js': 'rollup',
|
|
578
|
+
'rollup.config.prod.vendor.ts': 'rollup',
|
|
579
|
+
'.hhconfig': 'hack',
|
|
580
|
+
'.stylelintrc': 'stylelint',
|
|
581
|
+
'stylelint.config.js': 'stylelint',
|
|
582
|
+
'.stylelintrc.json': 'stylelint',
|
|
583
|
+
'.stylelintrc.yaml': 'stylelint',
|
|
584
|
+
'.stylelintrc.yml': 'stylelint',
|
|
585
|
+
'.stylelintrc.js': 'stylelint',
|
|
586
|
+
'.stylelintignore': 'stylelint',
|
|
587
|
+
'.codeclimate.yml': 'code-climate',
|
|
588
|
+
'.prettierrc': 'prettier',
|
|
589
|
+
'prettier.config.js': 'prettier',
|
|
590
|
+
'.prettierrc.js': 'prettier',
|
|
591
|
+
'.prettierrc.json': 'prettier',
|
|
592
|
+
'.prettierrc.yaml': 'prettier',
|
|
593
|
+
'.prettierrc.yml': 'prettier',
|
|
594
|
+
'.prettierignore': 'prettier',
|
|
595
|
+
'nodemon.json': 'nodemon',
|
|
596
|
+
// '.sonarrc': 'sonar',
|
|
597
|
+
browserslist: 'browserlist',
|
|
598
|
+
'.browserslistrc': 'browserlist',
|
|
599
|
+
'.snyk': 'snyk',
|
|
600
|
+
'.drone.yml': 'drone',
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
function getIconForFile(name) {
|
|
604
|
+
return (
|
|
605
|
+
fileNameIcons[name] ||
|
|
606
|
+
twoFileExtensionIcons[name ? name.split('.').slice(-2).join('.') : ''] ||
|
|
607
|
+
fileExtensionIcons[name ? name.split('.').pop().toLowerCase() : ''] ||
|
|
608
|
+
''
|
|
609
|
+
);
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
module.exports = {
|
|
613
|
+
fileNameIcons,
|
|
614
|
+
fileExtensionIcons,
|
|
615
|
+
twoFileExtensionIcons,
|
|
616
|
+
getIconForFile,
|
|
617
|
+
};
|