From 18888ca993296c7a5b4eb80fe156bed7b1d41d4b Mon Sep 17 00:00:00 2001 From: Jamie Haywood Date: Tue, 9 May 2023 12:01:44 +0100 Subject: [PATCH 1/6] feat: add syncpack icon --- icons/syncpack.svg | 6 ++++++ src/icons/fileIcons.ts | 10 ++++++++++ 2 files changed, 16 insertions(+) create mode 100644 icons/syncpack.svg diff --git a/icons/syncpack.svg b/icons/syncpack.svg new file mode 100644 index 0000000000..3330e93d99 --- /dev/null +++ b/icons/syncpack.svg @@ -0,0 +1,6 @@ + + + + \ No newline at end of file diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index b8ed28ca59..c744db187b 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -2334,5 +2334,15 @@ export const fileIcons: FileIcons = { { name: 'ifanr-cloud', fileNames: ['.mincloudrc'] }, { name: 'qwik', fileExtensions: ['tsx'], enabledFor: [IconPack.Qwik] }, { name: 'mermaid', fileExtensions: ['mmd', 'mermaid'] }, + { name: 'syncpack', fileExtensions: [ + '.syncpackrc', + 'syncpackrc.json', + '.syncpackrc.yaml', + '.syncpackrc.yml', + '.syncpackrc.js', + '.syncpackrc.cjs', + 'syncpack.config.js', + 'syncpack.config.cjs', + ]} ], }; From 4c1a5dc2aca2335b3b9ff093d050625449568bbd Mon Sep 17 00:00:00 2001 From: Jamie Haywood Date: Mon, 22 May 2023 17:15:39 +0100 Subject: [PATCH 2/6] chore: lint fileIcons properly --- src/icons/fileIcons.ts | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index c744db187b..27ad0352ed 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -2334,15 +2334,18 @@ export const fileIcons: FileIcons = { { name: 'ifanr-cloud', fileNames: ['.mincloudrc'] }, { name: 'qwik', fileExtensions: ['tsx'], enabledFor: [IconPack.Qwik] }, { name: 'mermaid', fileExtensions: ['mmd', 'mermaid'] }, - { name: 'syncpack', fileExtensions: [ - '.syncpackrc', - 'syncpackrc.json', - '.syncpackrc.yaml', - '.syncpackrc.yml', - '.syncpackrc.js', - '.syncpackrc.cjs', - 'syncpack.config.js', - 'syncpack.config.cjs', - ]} + { + name: 'syncpack', + fileExtensions: [ + '.syncpackrc', + 'syncpackrc.json', + '.syncpackrc.yaml', + '.syncpackrc.yml', + '.syncpackrc.js', + '.syncpackrc.cjs', + 'syncpack.config.js', + 'syncpack.config.cjs', + ], + }, ], }; From 5d624cb3368e8f7f933f53d804515b13cffb0317 Mon Sep 17 00:00:00 2001 From: Philipp Kief Date: Fri, 16 Jun 2023 09:12:46 +0200 Subject: [PATCH 3/6] Update fileIcons.ts --- src/icons/fileIcons.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index 3fc90b463c..ca5c5df6a4 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -2367,6 +2367,7 @@ export const fileIcons: FileIcons = { '.syncpackrc.cjs', 'syncpack.config.js', 'syncpack.config.cjs', + ], }, { name: 'mojo', From 7aec7be210a4c3b05fe4bcf46f8ae7f4f89b4d1f Mon Sep 17 00:00:00 2001 From: Jamie Date: Sat, 3 Feb 2024 10:04:18 +0000 Subject: [PATCH 4/6] refactor: update syncpack icon --- icons/syncpack.svg | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/icons/syncpack.svg b/icons/syncpack.svg index 3330e93d99..c8b98788ae 100644 --- a/icons/syncpack.svg +++ b/icons/syncpack.svg @@ -1,6 +1,8 @@ - - - + + + + + \ No newline at end of file From ed2857a5dab6a06690bf33e74d2dde56810e022d Mon Sep 17 00:00:00 2001 From: Jamie Date: Sat, 3 Feb 2024 10:06:04 +0000 Subject: [PATCH 5/6] refactor: change fileExtensions to fileNames --- src/icons/fileIcons.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/icons/fileIcons.ts b/src/icons/fileIcons.ts index ca5c5df6a4..032d34c05b 100644 --- a/src/icons/fileIcons.ts +++ b/src/icons/fileIcons.ts @@ -2358,7 +2358,7 @@ export const fileIcons: FileIcons = { { name: 'mermaid', fileExtensions: ['mmd', 'mermaid'] }, { name: 'syncpack', - fileExtensions: [ + fileNames: [ '.syncpackrc', 'syncpackrc.json', '.syncpackrc.yaml', From cb6b637c4baf0dafc1bc8c78ff79595c46882dcc Mon Sep 17 00:00:00 2001 From: Philipp Kief Date: Wed, 7 Feb 2024 10:57:13 +0100 Subject: [PATCH 6/6] Update colors and alignment --- icons/syncpack.svg | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/icons/syncpack.svg b/icons/syncpack.svg index c8b98788ae..45a9be7815 100644 --- a/icons/syncpack.svg +++ b/icons/syncpack.svg @@ -1,8 +1,6 @@ - - - - - - \ No newline at end of file + + + + + +