From cf1bf351fe5f3077151821b6bcd4093ed266ea25 Mon Sep 17 00:00:00 2001 From: Ralph Neeleman Date: Tue, 7 Oct 2025 22:57:15 +0200 Subject: [PATCH 1/8] added minimalist rspack/rsbuild/rslib/rspress/rslint icon --- icons/rspack.svg | 1 + src/core/icons/fileIcons.ts | 31 +++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 icons/rspack.svg diff --git a/icons/rspack.svg b/icons/rspack.svg new file mode 100644 index 0000000000..caab443b30 --- /dev/null +++ b/icons/rspack.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/core/icons/fileIcons.ts b/src/core/icons/fileIcons.ts index 3e2bb820fc..f63f067076 100644 --- a/src/core/icons/fileIcons.ts +++ b/src/core/icons/fileIcons.ts @@ -1393,6 +1393,37 @@ export const fileIcons: FileIcons = { webpack: FileNamePattern.Ecmascript, webpackfile: FileNamePattern.Ecmascript, }, + }, + { + name: 'rspack', + fileNames: [ + 'rspack.config.js', + 'rspack.config.ts', + 'rspack.config.cjs', + 'rspack.config.cts', + 'rspack.config.mjs', + 'rspack.config.mts', + 'rsbuild.config.js', + 'rsbuild.config.ts', + 'rsbuild.config.cjs', + 'rsbuild.config.cts', + 'rsbuild.config.mjs', + 'rsbuild.config.mts', + 'rslib.config.js', + 'rslib.config.ts', + 'rslib.config.cjs', + 'rslib.config.cts', + 'rslib.config.mjs', + 'rslib.config.mts', + 'rslib.config.js', + 'rstest.config.ts', + 'rstest.config.cjs', + 'rstest.config.cts', + 'rstest.config.mjs', + 'rstest.config.mts', + 'rslint.json', + 'rslint.jsonc', + ], }, { name: 'ionic', fileNames: ['ionic.config.json', '.io-config.json'] }, { From f148aab1966ad41bdc445f95c1b219b00c2bd979 Mon Sep 17 00:00:00 2001 From: Ralph Neeleman Date: Tue, 7 Oct 2025 23:30:34 +0200 Subject: [PATCH 2/8] renamed to rspack logo to rstack, like web-infra calls it, fixed some config mistakes. --- icons/rspack.svg | 1 - icons/rstack.svg | 1 + src/core/icons/fileIcons.ts | 5 +++-- 3 files changed, 4 insertions(+), 3 deletions(-) delete mode 100644 icons/rspack.svg create mode 100644 icons/rstack.svg diff --git a/icons/rspack.svg b/icons/rspack.svg deleted file mode 100644 index caab443b30..0000000000 --- a/icons/rspack.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/icons/rstack.svg b/icons/rstack.svg new file mode 100644 index 0000000000..ddc9645864 --- /dev/null +++ b/icons/rstack.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/core/icons/fileIcons.ts b/src/core/icons/fileIcons.ts index f63f067076..4c7dd1a36d 100644 --- a/src/core/icons/fileIcons.ts +++ b/src/core/icons/fileIcons.ts @@ -1395,7 +1395,7 @@ export const fileIcons: FileIcons = { }, }, { - name: 'rspack', + name: 'rstack', fileNames: [ 'rspack.config.js', 'rspack.config.ts', @@ -1409,13 +1409,14 @@ export const fileIcons: FileIcons = { 'rsbuild.config.cts', 'rsbuild.config.mjs', 'rsbuild.config.mts', + 'rspress.config.ts', 'rslib.config.js', 'rslib.config.ts', 'rslib.config.cjs', 'rslib.config.cts', 'rslib.config.mjs', 'rslib.config.mts', - 'rslib.config.js', + 'rstest.config.js', 'rstest.config.ts', 'rstest.config.cjs', 'rstest.config.cts', From ea1f6b642aea15cbf9b23e400d06e1bdd6a57ccc Mon Sep 17 00:00:00 2001 From: Ralph Neeleman Date: Wed, 8 Oct 2025 00:00:34 +0200 Subject: [PATCH 3/8] Changed icon color to material design color and font to Open Sans Bold instead of Semibold --- icons/rstack.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icons/rstack.svg b/icons/rstack.svg index ddc9645864..b57c6c972a 100644 --- a/icons/rstack.svg +++ b/icons/rstack.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file From 464b724afaf0c2ecd33a0fa9d81c5290249f6b68 Mon Sep 17 00:00:00 2001 From: Ralph Neeleman Date: Wed, 8 Oct 2025 10:26:20 +0200 Subject: [PATCH 4/8] changed icon to 16px with 1px padding --- icons/rstack.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icons/rstack.svg b/icons/rstack.svg index b57c6c972a..6b5525e4c5 100644 --- a/icons/rstack.svg +++ b/icons/rstack.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file From 75afa333e9186140f5e6a85d88b880be5d7100a4 Mon Sep 17 00:00:00 2001 From: Ralph Neeleman Date: Wed, 8 Oct 2025 10:58:05 +0200 Subject: [PATCH 5/8] fixed my illustrator export --- icons/rstack.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icons/rstack.svg b/icons/rstack.svg index 6b5525e4c5..10072e062b 100644 --- a/icons/rstack.svg +++ b/icons/rstack.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file From 86032bdb7344df110a61b3e60faaa797d0ea4a8f Mon Sep 17 00:00:00 2001 From: Ralph Neeleman Date: Wed, 8 Oct 2025 14:37:53 +0200 Subject: [PATCH 6/8] fixed formatting/linting issues --- src/core/icons/fileIcons.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/icons/fileIcons.ts b/src/core/icons/fileIcons.ts index 4c7dd1a36d..40fc003cac 100644 --- a/src/core/icons/fileIcons.ts +++ b/src/core/icons/fileIcons.ts @@ -1394,7 +1394,7 @@ export const fileIcons: FileIcons = { webpackfile: FileNamePattern.Ecmascript, }, }, - { + { name: 'rstack', fileNames: [ 'rspack.config.js', From fdefa620bd1c8dacc4df426c5c123012a161cd27 Mon Sep 17 00:00:00 2001 From: Ralph Neeleman Date: Thu, 9 Oct 2025 15:48:51 +0200 Subject: [PATCH 7/8] replaced font in icon with pixelperfect font, updated (shrank) patterns --- icons/rstack.svg | 2 +- src/core/icons/fileIcons.ts | 36 +++++++----------------------------- 2 files changed, 8 insertions(+), 30 deletions(-) diff --git a/icons/rstack.svg b/icons/rstack.svg index 10072e062b..ef353a8ba7 100644 --- a/icons/rstack.svg +++ b/icons/rstack.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/src/core/icons/fileIcons.ts b/src/core/icons/fileIcons.ts index 40fc003cac..062b7ef93c 100644 --- a/src/core/icons/fileIcons.ts +++ b/src/core/icons/fileIcons.ts @@ -1396,35 +1396,13 @@ export const fileIcons: FileIcons = { }, { name: 'rstack', - fileNames: [ - 'rspack.config.js', - 'rspack.config.ts', - 'rspack.config.cjs', - 'rspack.config.cts', - 'rspack.config.mjs', - 'rspack.config.mts', - 'rsbuild.config.js', - 'rsbuild.config.ts', - 'rsbuild.config.cjs', - 'rsbuild.config.cts', - 'rsbuild.config.mjs', - 'rsbuild.config.mts', - 'rspress.config.ts', - 'rslib.config.js', - 'rslib.config.ts', - 'rslib.config.cjs', - 'rslib.config.cts', - 'rslib.config.mjs', - 'rslib.config.mts', - 'rstest.config.js', - 'rstest.config.ts', - 'rstest.config.cjs', - 'rstest.config.cts', - 'rstest.config.mjs', - 'rstest.config.mts', - 'rslint.json', - 'rslint.jsonc', - ], + fileNames: ['rspress.config.ts', 'rslint.json', 'rslint.jsonc'], + patterns: { + 'rspack.config': FileNamePattern.Ecmascript, + 'rsbuild.config': FileNamePattern.Ecmascript, + 'rslib.config': FileNamePattern.Ecmascript, + 'rstest.config': FileNamePattern.Ecmascript, + }, }, { name: 'ionic', fileNames: ['ionic.config.json', '.io-config.json'] }, { From 4b57c5533714c929a4f108e2700c8137b71ff661 Mon Sep 17 00:00:00 2001 From: Ralph Neeleman Date: Mon, 13 Oct 2025 22:16:01 +0200 Subject: [PATCH 8/8] Crab only version --- icons/rstack.svg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/icons/rstack.svg b/icons/rstack.svg index ef353a8ba7..bae8218234 100644 --- a/icons/rstack.svg +++ b/icons/rstack.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file