diff --git a/.github/ISSUE_TEMPLATE/icon-request.yml b/.github/ISSUE_TEMPLATE/1-icon-request.yml similarity index 83% rename from .github/ISSUE_TEMPLATE/icon-request.yml rename to .github/ISSUE_TEMPLATE/1-icon-request.yml index 99b93a9f1b..c30032e865 100644 --- a/.github/ISSUE_TEMPLATE/icon-request.yml +++ b/.github/ISSUE_TEMPLATE/1-icon-request.yml @@ -1,4 +1,4 @@ -name: Icon Request. +name: 🏞️ Icon Request description: Ask for specific icons to be added title: "[Icon Request]: " labels: ["icon-request"] @@ -8,32 +8,30 @@ body: id: icon-type attributes: label: Icon Type + description: What type of icon are you requesting? options: - label: Folder - label: File - required: true - type: textarea id: folder-names attributes: label: Folder names + description: If you are requesting folder icons, please list the folder names here. placeholder: | - folder-name - another-folder-name - ... - validations: - required: false - type: textarea id: file-names attributes: label: File names + description: If you are requesting file icons, please list the file names or file extensions here. placeholder: | - file-name - another-file-name - ... - validations: - required: false - type: textarea id: graphic-ideas @@ -41,8 +39,6 @@ body: label: Graphic ideas description: A clear description of the icon you would like. If the icons are separate for folder and files, please create separate issues. placeholder: Include a link to sample icons if possible - validations: - required: false - type: textarea id: additional-context @@ -50,8 +46,6 @@ body: label: Additional context description: Add any other context about the icons here. placeholder: I consider these icons necessary because ... - validations: - required: false - type: checkboxes id: terms diff --git a/.github/ISSUE_TEMPLATE/bug-report.yml b/.github/ISSUE_TEMPLATE/2-bug-report.yml similarity index 98% rename from .github/ISSUE_TEMPLATE/bug-report.yml rename to .github/ISSUE_TEMPLATE/2-bug-report.yml index c7feef5580..43e43e3b17 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yml +++ b/.github/ISSUE_TEMPLATE/2-bug-report.yml @@ -1,4 +1,4 @@ -name: Bug Report +name: 🐛 Bug Report description: Create a report to help us improve title: "[Bug]: " labels: ["bug"] diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 448e925c64..eed5fae0a0 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -4,5 +4,5 @@ ## Contribution Guidelines -- [ ] By creating this pull request, I acknowledge that I have read the [Contribution Guidelines](../../CONTRIBUTING.md) for this project. -- [ ] I have read the [Code Of Conduct](../../CODE_OF_CONDUCT.md) and promise to abide by these rules +- [ ] By creating this pull request, I acknowledge that I have read the [Contribution Guidelines](https://github.com/material-extensions/vscode-material-icon-theme/blob/main/CONTRIBUTING.md) for this project. +- [ ] I have read the [Code Of Conduct](https://github.com/material-extensions/vscode-material-icon-theme/blob/main/CODE_OF_CONDUCT.md) and promise to abide by these rules diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ef423b3466..5ebea98708 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -15,7 +15,7 @@ jobs: steps: - name: Checkout 🛎️ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: persist-credentials: false diff --git a/.github/workflows/color-check.yml b/.github/workflows/color-check.yml index 037750232f..cf704e8bac 100644 --- a/.github/workflows/color-check.yml +++ b/.github/workflows/color-check.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout 🛎️ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 persist-credentials: false diff --git a/.github/workflows/icon-review.yml b/.github/workflows/icon-review.yml index 561b6b8caa..239a496df6 100644 --- a/.github/workflows/icon-review.yml +++ b/.github/workflows/icon-review.yml @@ -25,7 +25,7 @@ jobs: bun-version: 1.1.20 - name: Checkout Fork 🛎️ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: ref: ${{ github.event.pull_request.head.ref }} repository: ${{ github.event.pull_request.head.repo.full_name }} @@ -34,7 +34,7 @@ jobs: persist-credentials: false - name: Checkout Original 🛎️ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 path: main diff --git a/.github/workflows/pr-closed.yml b/.github/workflows/pr-closed.yml index 959e38b0d2..5347e80149 100644 --- a/.github/workflows/pr-closed.yml +++ b/.github/workflows/pr-closed.yml @@ -29,5 +29,5 @@ jobs: Thanks for your contribution! 🎉 - The changes will be part of the upcoming update on the marketplace.` + The changes will be part of the upcoming update on the Marketplace.` }) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index e5656aec0f..09fa157892 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,7 +16,6 @@ on: permissions: id-token: write contents: read - attestations: write jobs: release: @@ -27,12 +26,20 @@ jobs: permissions: contents: write id-token: write + attestations: write steps: + - uses: actions/create-github-app-token@5d869da34e18e7287c1daad50e0b8ea0f506ce69 # v1.11.0 + id: app-token + with: + app-id: ${{ vars.BOT_APP_ID }} + private-key: ${{ secrets.BOT_PRIVATE_KEY }} + - name: Checkout 🛎️ - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 + uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1 with: fetch-depth: 0 + token: ${{ steps.app-token.outputs.token }} - name: Setup Platform 🛠️ uses: oven-sh/setup-bun@4bc047ad259df6fc24a6c9b0f9a0cb08cf17fbe5 # v2 @@ -64,7 +71,7 @@ jobs: run: bunx @vscode/vsce package - name: Attest artifacts ✅ - uses: actions/attest@2da0b136720d14f01f4dbeeafd1d5a4d76cbe21d # v1.4.0 + uses: actions/attest-build-provenance@1c608d11d69870c2092266b3f9a6f3abbf17002c # v1.4.3 # Read: https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds with: subject-path: '${{ env.NAME }}-${{ env.VERSION }}.vsix' diff --git a/CHANGELOG.md b/CHANGELOG.md index 6f10dd9ca2..07369be595 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -3,6 +3,103 @@ All notable changes to this project will be documented in this file. Dates are displayed in UTC. +#### [v5.11.1](https://github.com/material-extensions/vscode-material-icon-theme/compare/v5.11.0...v5.11.1) + +> September 21, 2024 + +- Fix issue with Svelte JS and TS icons (Closes #2603) [`be58bc47`](https://github.com/material-extensions/vscode-material-icon-theme/commit/be58bc47) +- Update preversion script [`1c7a0847`](https://github.com/material-extensions/vscode-material-icon-theme/commit/1c7a0847) + +#### [v5.11.0](https://github.com/material-extensions/vscode-material-icon-theme/compare/v5.10.0...v5.11.0) + +> September 20, 2024 + +- Update preversion script [`12145f8e`](https://github.com/material-extensions/vscode-material-icon-theme/commit/12145f8e) +- Add .svelte.js and .svelte.ts color variants [`#2600`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2600) +- Remove vscode specific fields from module's package json [`#2602`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2602) +- Fix icon request template [`#2596`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2596) +- feat: ecmascript extension patterns for svelte.config [`#2595`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2595) +- Add icons for Lefthook files and folders [`#2582`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2582) +- build(deps): bump actions/create-github-app-token [`#2591`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2591) +- Add `ts`, `cjs` ext for `quasar` [`#2590`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2590) +- Added icon for `wxt.config.ts` file 🧩 [`#2576`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2576) +- build(deps): bump the github-actions group with 2 updates [`#2583`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2583) +- feat: ✨ .clang-format-ignore file icon [`#2580`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2580) +- Added taze configuration file icon [`#2577`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2577) +- added favicons folder icon [`#2578`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2578) +- Feat: added sway icon [`#2573`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2573) +- added src-tauri folder icon [`#2567`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2567) +- refactor: ♻️ Improve scripts in `package.json` [`#2569`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2569) +- Added freemarker icon [`#2396`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2396) +- Add nest interceptor icon [`#2572`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2572) +- Remove coderabbit config [`9f57e5cc`](https://github.com/material-extensions/vscode-material-icon-theme/commit/9f57e5cc) +- feat: ✨ .markdownlintignore file icon [`#2565`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2565) +- docs: 📝 fix broken links in pull_request_template [`#2566`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2566) + +#### [v5.10.0](https://github.com/material-extensions/vscode-material-icon-theme/compare/v5.9.0...v5.10.0) + +> August 29, 2024 + +- feat: ✨ github actions workflow file icon [`#2559`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2559) +- duc Binary file format [`#2212`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2212) +- Add icon association for UNLICENSE files [`#2556`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2556) +- build(deps): bump actions/attest-build-provenance [`#2554`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2554) +- Update marketplace message capitalization [`#2553`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2553) +- Added coderabbit icon [`#2549`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2549) +- chore: Improve branch protection [`7112da93`](https://github.com/material-extensions/vscode-material-icon-theme/commit/7112da93) +- Added `gemini-ai` icon [`#2548`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2548) +- feat: ✨ gitea folder icon [`#2552`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2552) +- Changed issue templates order [`#2546`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2546) +- Add remote(s) folder icon association [`4a3c324f`](https://github.com/material-extensions/vscode-material-icon-theme/commit/4a3c324f) +- Added emojis in issue template names [`#2532`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2532) +- Collapse the walkthrough of coderabbit [`c61a8d1e`](https://github.com/material-extensions/vscode-material-icon-theme/commit/c61a8d1e) +- Fixed pr template links [`#2531`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2531) +- Add config for coderabbit [`baf6202f`](https://github.com/material-extensions/vscode-material-icon-theme/commit/baf6202f) +- Remove unused dependencies [`b167604c`](https://github.com/material-extensions/vscode-material-icon-theme/commit/b167604c) + +#### [v5.9.0](https://github.com/material-extensions/vscode-material-icon-theme/compare/v5.8.0...v5.9.0) + +> August 10, 2024 + +- Update release workflow [`1959aa1f`](https://github.com/material-extensions/vscode-material-icon-theme/commit/1959aa1f) +- Include 'devtools' in the folder-icon for 'tools' [`#2528`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2528) +- Add VHDL file icon association [`#2522`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2522) +- Add cds icon [`#2520`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2520) +- Added folder-icon for snippet, snippets [`#2510`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2510) +- Add store folder icon [`#2518`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2518) +- feat: ✨ rocket/release icon [`#2519`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2519) +- Feat: Drizzle ORM [`#2127`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2127) +- Show nuxt folder icon without pack [`1c8513c9`](https://github.com/material-extensions/vscode-material-icon-theme/commit/1c8513c9) +- build(deps): bump actions/attest in the github-actions group [`#2517`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2517) +- Added folder-icon for flutter [`#2511`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2511) +- Made pixel-perfect (almost) icons [`#2449`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2449) +- Added artifact attestation [`#2486`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2486) +- Added folder-icon about development. [`#2501`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2501) +- Add Phorm AI badge [`#2508`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2508) +- docs: 📝 fix broken links [`#2507`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2507) +- Fix URL in CONTRIBUTING.md [`#2505`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2505) +- Add 'distribution' to folder-dist [`#2500`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2500) +- Added `jsr` icon [`#2493`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2493) +- Improve icon review workflow [`#2499`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2499) +- Improved hint comments [`#2496`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2496) +- Add conditionally active custom clones [`#2498`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2498) +- Add license field to package.json [`#2495`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2495) +- ci: 🏷️ Add labels for PRs automatically [`#2490`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2490) +- feat: ✨ new rust icon [`#2489`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2489) +- Improve icon preview workflow [`#2485`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2485) +- Add inc64 folder icon [`#2484`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2484) +- Added clangd icon [`#2414`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2414) +- Reduced the size of the extension [`#2476`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2476) +- Added `devcontainer-lock.json` file icon [`#2478`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2478) +- Added `ipynb` folder icon [`#2479`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2479) +- Added `slint` icon [`#2480`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2480) +- fix: 🚑 review comment not being updated [`#2481`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2481) +- Improved text in icon-review [`#2467`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2467) +- Optimized `.vscodeignore` [`#2475`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2475) +- Add angular interceptor icon [`#2474`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2474) +- Add lib64 folder icon [`#2473`](https://github.com/material-extensions/vscode-material-icon-theme/pull/2473) +- feat: add Just icon [`#1950`](https://github.com/material-extensions/vscode-material-icon-theme/pull/1950) + #### [v5.8.0](https://github.com/material-extensions/vscode-material-icon-theme/compare/v5.7.0...v5.8.0) > July 24, 2024 diff --git a/bun.lockb b/bun.lockb index 146e041f30..99f36bd174 100644 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/icons/cds.svg b/icons/cds.svg new file mode 100644 index 0000000000..e637c83121 --- /dev/null +++ b/icons/cds.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/clangd.svg b/icons/clangd.svg index 73c0df1b3a..f6742e9aef 100644 --- a/icons/clangd.svg +++ b/icons/clangd.svg @@ -1,4 +1 @@ - - - - + \ No newline at end of file diff --git a/icons/coderabbit-ai.svg b/icons/coderabbit-ai.svg new file mode 100644 index 0000000000..c5e434028b --- /dev/null +++ b/icons/coderabbit-ai.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/drizzle.svg b/icons/drizzle.svg new file mode 100644 index 0000000000..0de05d7264 --- /dev/null +++ b/icons/drizzle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/duc.svg b/icons/duc.svg new file mode 100644 index 0000000000..cfa947ce15 --- /dev/null +++ b/icons/duc.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-drizzle-open.svg b/icons/folder-drizzle-open.svg new file mode 100644 index 0000000000..a62b0e0a23 --- /dev/null +++ b/icons/folder-drizzle-open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-drizzle.svg b/icons/folder-drizzle.svg new file mode 100644 index 0000000000..2e6a95b3b3 --- /dev/null +++ b/icons/folder-drizzle.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-favicon-open.svg b/icons/folder-favicon-open.svg new file mode 100644 index 0000000000..9501a3eb2f --- /dev/null +++ b/icons/folder-favicon-open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-favicon.svg b/icons/folder-favicon.svg new file mode 100644 index 0000000000..548584999a --- /dev/null +++ b/icons/folder-favicon.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-flutter-open.svg b/icons/folder-flutter-open.svg index 7ef6e178c0..9bff57bf09 100644 --- a/icons/folder-flutter-open.svg +++ b/icons/folder-flutter-open.svg @@ -1 +1 @@ - + \ No newline at end of file diff --git a/icons/folder-flutter.svg b/icons/folder-flutter.svg index 77a327863b..0f460b96c3 100644 --- a/icons/folder-flutter.svg +++ b/icons/folder-flutter.svg @@ -1 +1 @@ - + \ No newline at end of file diff --git a/icons/folder-gitea-open.svg b/icons/folder-gitea-open.svg new file mode 100644 index 0000000000..9969800154 --- /dev/null +++ b/icons/folder-gitea-open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-gitea.svg b/icons/folder-gitea.svg new file mode 100644 index 0000000000..638d14b835 --- /dev/null +++ b/icons/folder-gitea.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-lefthook-open.svg b/icons/folder-lefthook-open.svg new file mode 100644 index 0000000000..fd1e1e7909 --- /dev/null +++ b/icons/folder-lefthook-open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-lefthook.svg b/icons/folder-lefthook.svg new file mode 100644 index 0000000000..d393376186 --- /dev/null +++ b/icons/folder-lefthook.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-powershell-open.svg b/icons/folder-powershell-open.svg new file mode 100644 index 0000000000..ec222033b3 --- /dev/null +++ b/icons/folder-powershell-open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-powershell.svg b/icons/folder-powershell.svg new file mode 100644 index 0000000000..cdc916d6e6 --- /dev/null +++ b/icons/folder-powershell.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-snippet-open.svg b/icons/folder-snippet-open.svg new file mode 100644 index 0000000000..0d8f28209d --- /dev/null +++ b/icons/folder-snippet-open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-snippet.svg b/icons/folder-snippet.svg new file mode 100644 index 0000000000..0aa593529e --- /dev/null +++ b/icons/folder-snippet.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-src-tauri-open.svg b/icons/folder-src-tauri-open.svg new file mode 100644 index 0000000000..fe25fe18df --- /dev/null +++ b/icons/folder-src-tauri-open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-src-tauri.svg b/icons/folder-src-tauri.svg new file mode 100644 index 0000000000..db1d1aa5da --- /dev/null +++ b/icons/folder-src-tauri.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-store-open.svg b/icons/folder-store-open.svg new file mode 100644 index 0000000000..9b64a68a46 --- /dev/null +++ b/icons/folder-store-open.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/folder-store.svg b/icons/folder-store.svg new file mode 100644 index 0000000000..7e10ad45ac --- /dev/null +++ b/icons/folder-store.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/freemarker.svg b/icons/freemarker.svg new file mode 100644 index 0000000000..edf98f6df5 --- /dev/null +++ b/icons/freemarker.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/gemini-ai.svg b/icons/gemini-ai.svg new file mode 100644 index 0000000000..eb0aae4854 --- /dev/null +++ b/icons/gemini-ai.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/github-actions-workflow.svg b/icons/github-actions-workflow.svg new file mode 100644 index 0000000000..0dd1e5b323 --- /dev/null +++ b/icons/github-actions-workflow.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/image.svg b/icons/image.svg index a0da414626..0db408538f 100644 --- a/icons/image.svg +++ b/icons/image.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/icons/jsr.svg b/icons/jsr.svg index e2a7fe3b5d..739f6574e8 100644 --- a/icons/jsr.svg +++ b/icons/jsr.svg @@ -1,3 +1 @@ - - - + \ No newline at end of file diff --git a/icons/jsr_light.svg b/icons/jsr_light.svg index 095dbfe695..c93d452242 100644 --- a/icons/jsr_light.svg +++ b/icons/jsr_light.svg @@ -1,4 +1 @@ - - - - + \ No newline at end of file diff --git a/icons/just.svg b/icons/just.svg index e368219d1f..cd949b6b18 100644 --- a/icons/just.svg +++ b/icons/just.svg @@ -1,3 +1 @@ - - - + \ No newline at end of file diff --git a/icons/lefthook.svg b/icons/lefthook.svg new file mode 100644 index 0000000000..66a444b08a --- /dev/null +++ b/icons/lefthook.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/readme.svg b/icons/readme.svg index d0d4499c32..d377df9dea 100644 --- a/icons/readme.svg +++ b/icons/readme.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/icons/rocket.svg b/icons/rocket.svg new file mode 100644 index 0000000000..bb4fda95a8 --- /dev/null +++ b/icons/rocket.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/rust.svg b/icons/rust.svg index 42b3064f0f..16a404f1f9 100644 --- a/icons/rust.svg +++ b/icons/rust.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/icons/slint.svg b/icons/slint.svg index bd51dfd6e6..b6434ec97e 100644 --- a/icons/slint.svg +++ b/icons/slint.svg @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/icons/stackblitz.svg b/icons/stackblitz.svg new file mode 100644 index 0000000000..c555235636 --- /dev/null +++ b/icons/stackblitz.svg @@ -0,0 +1 @@ + diff --git a/icons/sway.svg b/icons/sway.svg new file mode 100644 index 0000000000..0d93bbbb1b --- /dev/null +++ b/icons/sway.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/systemd.svg b/icons/systemd.svg new file mode 100755 index 0000000000..70c67400ba --- /dev/null +++ b/icons/systemd.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/icons/systemd_light.svg b/icons/systemd_light.svg new file mode 100755 index 0000000000..d538f0f9f6 --- /dev/null +++ b/icons/systemd_light.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/icons/taze.svg b/icons/taze.svg new file mode 100644 index 0000000000..596b76d904 --- /dev/null +++ b/icons/taze.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/wxt.svg b/icons/wxt.svg new file mode 100644 index 0000000000..d43b742831 --- /dev/null +++ b/icons/wxt.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/icons/zeabur.svg b/icons/zeabur.svg new file mode 100644 index 0000000000..623a2a51d2 --- /dev/null +++ b/icons/zeabur.svg @@ -0,0 +1 @@ + diff --git a/icons/zeabur_light.svg b/icons/zeabur_light.svg new file mode 100644 index 0000000000..cf4a88697a --- /dev/null +++ b/icons/zeabur_light.svg @@ -0,0 +1 @@ + diff --git a/images/contributors.png b/images/contributors.png index b9d6757767..9e277aa056 100644 Binary files a/images/contributors.png and b/images/contributors.png differ diff --git a/images/fileIcons.png b/images/fileIcons.png index a2a6f056e4..4c758db3f5 100644 Binary files a/images/fileIcons.png and b/images/fileIcons.png differ diff --git a/images/folderIcons.png b/images/folderIcons.png index 9032427b7b..44106ac00e 100644 Binary files a/images/folderIcons.png and b/images/folderIcons.png differ diff --git a/package.json b/package.json index 133ee81be7..fae635881b 100644 --- a/package.json +++ b/package.json @@ -2,31 +2,31 @@ "name": "material-icon-theme", "displayName": "Material Icon Theme", "description": "Material Design Icons for Visual Studio Code", - "version": "5.8.0", + "version": "5.11.1", "license": "MIT", "scripts": { "precompile": "rimraf dist && bun run verify", "compile": "tsc -p ./", "compile:declarations": "tsc -p ./tsconfig.declarations.json", "postcompile": "bun run compile:declarations && bun run generateJson && bun run generateClones && bun run check", - "build": "bun run compile && bun run ./build/build-with-esbuild.ts", - "watch": "bun run ./build/watch-with-esbuild.ts", - "changelog": "changelog-machine --config changelog.config.json", - "check-colors": "bun run ./src/scripts/svg/checkSvgColors.ts", + "build": "bun run compile && bun ./build/build-with-esbuild.ts", + "watch": "bun ./build/watch-with-esbuild.ts", + "changelog": "changelog-machine --config ./changelog.config.json", + "check-colors": "bun ./src/scripts/svg/checkSvgColors.ts", "check": "bun ./src/scripts/icons/checks/run.ts", "contributors": "bun ./src/scripts/contributors/contributors.ts", - "generateJson": "bun ./src/scripts/icons/generateJson.ts > dist/material-icons.json", + "generateJson": "bun ./src/scripts/icons/generateJson.ts > ./dist/material-icons.json", "generateClones": "bun ./src/scripts/icons/generateClones.ts", - "lint": "bunx @biomejs/biome check --write ./src", - "format": "bunx @biomejs/biome format --write ./src", - "preversion": "bun run contributors && git add images/contributors.png && bun run preview && git add images/fileIcons.png && git add images/folderIcons.png && bun run svgo && git add icons/*.svg", + "lint": "biome check --write ./src", + "format": "biome format --write ./src", + "preversion": "bun run contributors && bun run preview && bun run svgo && git add images/*.png icons/*.svg", "preview": "bun ./src/scripts/preview/run.ts", "svgo": "svgo -i icons -o icons -q", "test": "bun test", "version": "bun run changelog && git add CHANGELOG.md", "vscode:prepublish": "bun run lint && bun run build", - "verify": "bunx sheriff verify", - "prepublishOnly": "bun run ./src/scripts/module/prepare.ts", + "verify": "sheriff verify", + "prepublishOnly": "bun ./src/scripts/module/prepare.ts", "postpublish": "git checkout package.json && git checkout README.md" }, "publisher": "PKief", @@ -55,16 +55,29 @@ "color": "#1e1e1e", "theme": "dark" }, - "categories": ["Themes"], - "keywords": ["icons", "theme", "material", "icon-theme", "customization"], - "extensionKind": ["ui", "workspace"], + "categories": [ + "Themes" + ], + "keywords": [ + "icons", + "theme", + "material", + "icon-theme", + "customization" + ], + "extensionKind": [ + "ui", + "workspace" + ], "capabilities": { "untrustedWorkspaces": { "supported": true }, "virtualWorkspaces": true }, - "activationEvents": ["onStartupFinished"], + "activationEvents": [ + "onStartupFinished" + ], "main": "./dist/extension/desktop/extension.cjs", "browser": "./dist/extension/web/extension.cjs", "module": "./dist/module/index.cjs", @@ -217,7 +230,9 @@ }, "activeForPacks": { "type": "array", - "default": ["angular"], + "default": [ + "angular" + ], "description": "%configuration.customClones.activeForPacks%", "items": { "type": "string", @@ -291,7 +306,11 @@ "%configuration.folders.theme.classic%", "%configuration.folders.theme.none%" ], - "enum": ["specific", "classic", "none"] + "enum": [ + "specific", + "classic", + "none" + ] }, "material-icon-theme.folders.color": { "type": "string", @@ -332,7 +351,11 @@ "material-icon-theme.logLevel": { "type": "string", "default": "info", - "enum": ["info", "error", "debug"], + "enum": [ + "info", + "error", + "debug" + ], "description": "%configuration.logLevel%" } } @@ -347,15 +370,12 @@ "@biomejs/biome": "1.8.2", "@softarc/sheriff-core": "^0.15.1", "@types/chroma-js": "^2.4.4", - "@types/glob": "^7.2.0", "@types/puppeteer": "^5.4.7", "@types/vscode": "~1.55.0", - "@vscode/test-electron": "^2.4.1", "axios": "^1.7.2", "bun-types": "^1.1.20", "changelog-machine": "^1.1.0", "esbuild": "^0.21.5", - "glob": "^8.1.0", "puppeteer": "^22.13.1", "rimraf": "^6.0.1", "svg-color-linter": "^1.4.0", diff --git a/src/core/generator/languageGenerator.ts b/src/core/generator/languageGenerator.ts index fb48a2ad1a..42b83e103f 100644 --- a/src/core/generator/languageGenerator.ts +++ b/src/core/generator/languageGenerator.ts @@ -61,27 +61,19 @@ const setIconDefinitions = ( config: Config, icon: DefaultIcon ) => { - manifest = createIconDefinitions(manifest, config, icon.name); - manifest = merge( - manifest, - icon.light - ? createIconDefinitions( - manifest, - config, - icon.name + lightColorFileEnding - ) - : manifest.light - ); - manifest = merge( - manifest, - icon.highContrast - ? createIconDefinitions( - manifest, - config, - icon.name + highContrastColorFileEnding - ) - : manifest.highContrast - ); + createIconDefinitions(manifest, config, icon.name); + + if (icon.light) { + createIconDefinitions(manifest, config, icon.name + lightColorFileEnding); + } + if (icon.highContrast) { + createIconDefinitions( + manifest, + config, + icon.name + highContrastColorFileEnding + ); + } + return manifest; }; @@ -96,7 +88,6 @@ const createIconDefinitions = ( iconPath: `${iconFolderPath}${iconName}${fileConfigHash}.svg`, }; } - return manifest; }; const setLanguageIdentifiers = (iconName: string, languageIds: string[]) => { diff --git a/src/core/icons/fileIcons.ts b/src/core/icons/fileIcons.ts index c33c1c8447..4b7cd440be 100644 --- a/src/core/icons/fileIcons.ts +++ b/src/core/icons/fileIcons.ts @@ -160,6 +160,21 @@ export const fileIcons: FileIcons = { { name: 'javascript', fileExtensions: ['esx', 'mjs'] }, { name: 'react', fileExtensions: ['jsx'] }, { name: 'react_ts', fileExtensions: ['tsx'] }, + { + name: 'rocket', + fileNames: [ + '.release-it.json', + '.release-it.ts', + '.release-it.js', + '.release-it.cjs', + '.release-it.yaml', + '.release-it.yml', + '.release-it.toml', + 'release.toml', + 'release-plz.toml', + '.release-plz.toml', + ], + }, { name: 'routing', fileExtensions: [ @@ -251,6 +266,7 @@ export const fileIcons: FileIcons = { '.yardopts', 'manifest.mf', '.clang-format', + '.clang-format-ignore', '.clang-tidy', '.conf', ], @@ -454,6 +470,8 @@ export const fileIcons: FileIcons = { 'licence.md', 'licence.rst', 'licence.txt', + 'unlicense', + 'unlicense.txt', ], }, { @@ -932,7 +950,7 @@ export const fileIcons: FileIcons = { { name: 'reason', fileExtensions: ['re', 'rei'] }, { name: 'bucklescript', fileExtensions: ['cmj'] }, { name: 'merlin', fileExtensions: ['merlin'] }, - { name: 'verilog', fileExtensions: ['vhd', 'sv', 'svh'] }, + { name: 'verilog', fileExtensions: ['vhd', 'sv', 'svh', 'vhdl'] }, { name: 'mathematica', fileExtensions: ['nb'] }, { name: 'wolframlanguage', fileExtensions: ['wl', 'wls'] }, { name: 'nunjucks', fileExtensions: ['njk', 'nunjucks'] }, @@ -1152,14 +1170,18 @@ export const fileIcons: FileIcons = { '.env.dist', '.env.prod', '.env.production', + '.env.stg', '.env.stage', '.env.staging', '.env.preview', '.env.test', '.env.testing', + '.env.dev.local', '.env.development.local', '.env.qa.local', + '.env.prod.local', '.env.production.local', + '.env.stg.local', '.env.staging.local', '.env.test.local', '.env.uat', @@ -1693,6 +1715,8 @@ export const fileIcons: FileIcons = { 'vac', 'vdp', 'vox', + 'gltf', + 'glb', ], }, { name: 'buildkite', fileNames: ['buildkite.yml', 'buildkite.yaml'] }, @@ -1710,7 +1734,25 @@ export const fileIcons: FileIcons = { { name: 'svelte', fileExtensions: ['svelte'], - fileNames: ['svelte.config.js', 'svelte.config.cjs'], + patterns: { + 'svelte.config': FileNamePattern.Ecmascript, + }, + }, + { + name: 'svelte_js', + fileExtensions: ['svelte.js'], + clone: { + base: 'svelte', + color: 'amber-400', + }, + }, + { + name: 'svelte_ts', + fileExtensions: ['svelte.ts'], + clone: { + base: 'svelte', + color: 'light-blue-700', + }, }, { name: 'vim', @@ -1815,10 +1857,20 @@ export const fileIcons: FileIcons = { fileExtensions: ['resolver.ts', 'resolver.js'], enabledFor: [IconPack.Nest], }, + { + name: 'nest-interceptor', + clone: { + base: 'nest', + color: 'orange-500', + }, + fileExtensions: ['interceptor.ts', 'interceptor.js'], + enabledFor: [IconPack.Nest], + }, { name: 'moon', fileNames: ['moon.yml'] }, { name: 'moonscript', fileExtensions: ['moon'] }, { name: 'percy', fileNames: ['.percy.yml'] }, { name: 'gitpod', fileNames: ['.gitpod.yml'] }, + { name: 'stackblitz', fileNames: ['.stackblitzrc'] }, { name: 'advpl', fileExtensions: ['prw', 'prx'] }, { name: 'advpl-ptm', @@ -1996,6 +2048,11 @@ export const fileIcons: FileIcons = { { name: 'replit', fileNames: ['.replit'] }, { name: 'rescript', fileExtensions: ['res'] }, { name: 'rescript-interface', fileExtensions: ['resi'] }, + { + name: 'duc', + fileNames: ['duc.fbs'], + fileExtensions: ['duc'], + }, { name: 'snowpack', fileNames: [ @@ -2016,7 +2073,16 @@ export const fileIcons: FileIcons = { { name: 'grain', fileExtensions: ['gr'] }, { name: 'lolcode', fileExtensions: ['lol'] }, { name: 'idris', fileExtensions: ['idr', 'ibc'] }, - { name: 'quasar', fileNames: ['quasar.conf.js', 'quasar.config.js'] }, + { + name: 'quasar', + fileNames: [ + 'quasar.conf.js', + 'quasar.config.js', + 'quasar.conf.ts', + 'quasar.config.ts', + 'quasar.config.cjs', + ], + }, { name: 'dependabot', fileNames: ['dependabot.yml', 'dependabot.yaml'] }, { name: 'pipeline', fileExtensions: ['pipeline'] }, { @@ -2444,6 +2510,14 @@ export const fileIcons: FileIcons = { name: 'abap', fileExtensions: ['abap', 'acds', 'asddls'], }, + { + name: 'drizzle', + fileNames: [ + 'drizzle.config.ts', + 'drizzle.config.js', + 'drizzle.config.json', + ], + }, { name: 'lottie', fileExtensions: ['lottie'] }, { name: 'puppeteer', @@ -2523,6 +2597,10 @@ export const fileIcons: FileIcons = { name: 'clangd', fileNames: ['.clangd'], }, + { + name: 'freemarker', + fileExtensions: ['ftl'], + }, { name: 'markdownlint', fileNames: [ @@ -2534,6 +2612,7 @@ export const fileIcons: FileIcons = { '.markdownlint-cli2.yaml', '.markdownlint-cli2.cjs', '.markdownlint-cli2.mjs', + '.markdownlintignore', ], }, { @@ -2553,6 +2632,10 @@ export const fileIcons: FileIcons = { name: 'hurl', fileExtensions: ['hurl'], }, + { + name: 'cds', + fileExtensions: ['cds'], + }, { name: 'slint', fileExtensions: ['slint', '60'], @@ -2562,5 +2645,60 @@ export const fileIcons: FileIcons = { fileNames: ['jsr.json', 'jsr.jsonc'], light: true, }, + { + name: 'coderabbit-ai', + fileNames: ['.coderabbit.yml', '.coderabbit.yaml'], + }, + { + name: 'gemini-ai', + fileNames: ['.aiexclude'], + }, + { + name: 'taze', + patterns: { + 'taze.config': FileNamePattern.Ecmascript, + }, + }, + { + name: 'wxt', + patterns: { + 'wxt.config': FileNamePattern.Ecmascript, + }, + }, + { + name: 'sway', + fileExtensions: ['sw'], + }, + { + name: 'lefthook', + fileNames: [ + '.lefthook-local.json', + '.lefthook-local.toml', + '.lefthook-local.yaml', + '.lefthook-local.yml', + '.lefthook.json', + '.lefthook.toml', + '.lefthook.yaml', + '.lefthook.yml', + '.lefthookrc', + 'lefthook-local.json', + 'lefthook-local.toml', + 'lefthook-local.yaml', + 'lefthook-local.yml', + 'lefthook.json', + 'lefthook.toml', + 'lefthook.yaml', + 'lefthook.yml', + 'lefthookrc', + ], + }, + { + name: 'zeabur', + fileExtensions: ['zeabur'], + patterns: { + zeabur: FileNamePattern.Configuration, + }, + light: true, + }, ]), }; diff --git a/src/core/icons/folderIcons.ts b/src/core/icons/folderIcons.ts index f6b3852f84..8f361635f6 100644 --- a/src/core/icons/folderIcons.ts +++ b/src/core/icons/folderIcons.ts @@ -20,7 +20,15 @@ export const folderIcons: FolderTheme[] = [ }, { name: 'folder-dist', - folderNames: ['dist', 'out', 'build', 'release', 'bin', 'distribution'], + folderNames: [ + 'dist', + 'out', + 'output', + 'build', + 'release', + 'bin', + 'distribution', + ], }, { name: 'folder-css', @@ -105,6 +113,7 @@ export const folderIcons: FolderTheme[] = [ folderNames: ['git', 'patches', 'githooks', 'submodules'], }, { name: 'folder-github', folderNames: ['github'] }, + { name: 'folder-gitea', folderNames: ['gitea'] }, { name: 'folder-gitlab', folderNames: ['gitlab'] }, { name: 'folder-vscode', folderNames: ['vscode', 'vscode-test'] }, { @@ -487,6 +496,7 @@ export const folderIcons: FolderTheme[] = [ 'toolbox', 'toolboxes', 'tooling', + 'devtools', ], }, { name: 'folder-helper', folderNames: ['helpers', 'helper'] }, @@ -714,7 +724,6 @@ export const folderIcons: FolderTheme[] = [ { name: 'folder-nuxt', folderNames: ['nuxt'], - enabledFor: [IconPack.Vuex, IconPack.Vue], }, { name: 'folder-vue-directives', @@ -767,6 +776,8 @@ export const folderIcons: FolderTheme[] = [ 'connections', 'integration', 'integrations', + 'remote', + 'remotes', ], }, { name: 'folder-quasar', folderNames: ['quasar'] }, @@ -880,6 +891,10 @@ export const folderIcons: FolderTheme[] = [ name: 'folder-taskfile', folderNames: ['taskfile', 'taskfiles'], }, + { + name: 'folder-drizzle', + folderNames: ['drizzle'], + }, { name: 'folder-cloudflare', folderNames: ['cloudflare'], @@ -888,6 +903,11 @@ export const folderIcons: FolderTheme[] = [ name: 'folder-seeders', folderNames: ['seeds', 'seeders', 'seed', 'seeding'], }, + { + name: 'folder-store', + folderNames: ['store', 'stores'], + enabledFor: [IconPack.Angular], + }, { name: 'folder-bicep', folderNames: ['bicep'] }, { name: 'folder-snapcraft', folderNames: ['snap', 'snapcraft'] }, { @@ -899,6 +919,20 @@ export const folderIcons: FolderTheme[] = [ }, }, { name: 'folder-flutter', folderNames: ['flutter'] }, + { name: 'folder-snippet', folderNames: ['snippet', 'snippets'] }, + { + name: 'folder-src-tauri', + folderNames: ['src-tauri'], + }, + { + name: 'folder-favicon', + folderNames: ['favicon', 'favicons'], + }, + { name: 'folder-lefthook', folderNames: ['lefthook', 'lefthook-local'] }, + { + name: 'folder-powershell', + folderNames: ["powershell", "ps", "ps1"] + } ], }, { diff --git a/src/core/icons/languageIcons.ts b/src/core/icons/languageIcons.ts index 095c91a404..4522d0b8a5 100644 --- a/src/core/icons/languageIcons.ts +++ b/src/core/icons/languageIcons.ts @@ -5,15 +5,13 @@ import type { LanguageIcon } from '../models/icons/languages/languageIdentifier' */ export const languageIcons: LanguageIcon[] = [ { icon: { name: 'git' }, ids: ['git', 'git-commit', 'git-rebase', 'ignore'] }, + { + icon: { name: 'github-actions-workflow' }, + ids: ['github-actions-workflow'], + }, { icon: { name: 'yaml' }, - ids: [ - 'yaml', - 'github-actions-workflow', - 'spring-boot-properties-yaml', - 'ansible', - 'ansible-jinja', - ], + ids: ['yaml', 'spring-boot-properties-yaml', 'ansible', 'ansible-jinja'], }, { icon: { name: 'xml' }, ids: ['xml', 'xquery', 'xsl'] }, { icon: { name: 'matlab' }, ids: ['matlab'] }, @@ -153,9 +151,17 @@ export const languageIcons: LanguageIcon[] = [ { icon: { name: 'stylable' }, ids: ['stylable'] }, { icon: { name: 'hjson' }, ids: ['hjson'] }, { icon: { name: 'huff' }, ids: ['huff'] }, + { + icon: { name: 'cds' }, + ids: ['cds', 'capnb', 'cds-markdown-injection'], + }, { icon: { name: 'concourse' }, ids: ['concourse-pipeline-yaml', 'concourse-task-yaml'], }, + { + icon: { name: 'systemd', light: true }, + ids: ['systemd-conf', 'systemd-unit-file'], + }, { icon: { name: 'slint' }, ids: ['slint'] }, ]; diff --git a/src/scripts/module/prepare.ts b/src/scripts/module/prepare.ts index 3486636734..efd506e338 100644 --- a/src/scripts/module/prepare.ts +++ b/src/scripts/module/prepare.ts @@ -9,6 +9,7 @@ import { spawn } from 'bun'; */ const prepareModule = async () => { try { + // Set the main field in the package.json to the correct path const setMain = spawn([ 'npm', 'pkg', @@ -17,6 +18,10 @@ const prepareModule = async () => { ]); await setMain; + // Remove vscode specific fields from package.json + const removeBrowser = spawn(['npm', 'pkg', 'delete', 'browser']); + await removeBrowser; + //copy readme into root directory const readmePath = join(process.cwd(), 'src', 'module', 'README.md'); console.log('Copying README.md to root directory...');