Skip to content

Commit

Permalink
Merge branch 'main' into feat/trigger
Browse files Browse the repository at this point in the history
Signed-off-by: Philipp Kief <[email protected]>
  • Loading branch information
PKief authored Sep 14, 2024
2 parents 117f1e2 + 88a3384 commit 6a6b002
Show file tree
Hide file tree
Showing 13 changed files with 127 additions and 41 deletions.
29 changes: 0 additions & 29 deletions .coderabbit.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
attestations: write

steps:
- uses: actions/create-github-app-token@31c86eb3b33c9b601a1f60f98dcbfd1d70f379b4 # v1.10.3
- uses: actions/create-github-app-token@3378cda945da322a8db4b193e19d46352ebe2de5 # v1.10.4
id: app-token
with:
app-id: ${{ vars.BOT_APP_ID }}
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
run: bunx @vscode/vsce package

- name: Attest artifacts ✅
uses: actions/attest-build-provenance@6149ea5740be74af77f260b9db67e633f6b0a9a1 # v1.4.2
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'
Expand Down
4 changes: 4 additions & 0 deletions icons/folder-favicon-open.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions icons/folder-favicon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/folder-src-tauri-open.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/folder-src-tauri.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions icons/freemarker.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions icons/sway.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions icons/taze.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions icons/wxt.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,24 @@
"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/{contributors,fileIcons,folderIcons}.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",
Expand Down
86 changes: 86 additions & 0 deletions src/core/icons/fileIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ export const fileIcons: FileIcons = {
'.yardopts',
'manifest.mf',
'.clang-format',
'.clang-format-ignore',
'.clang-tidy',
],
},
Expand Down Expand Up @@ -1788,6 +1789,15 @@ 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'] },
Expand Down Expand Up @@ -2474,5 +2484,81 @@ export const fileIcons: FileIcons = {
name: 'grafana-alloy',
fileExtensions: ['alloy'],
},
{
name: 'clangd',
fileNames: ['.clangd'],
},
{
name: 'freemarker',
fileExtensions: ['ftl'],
},
{
name: 'markdownlint',
fileNames: [
'.markdownlint.json',
'.markdownlint.jsonc',
'.markdownlint.yaml',
'.markdownlint.yml',
'.markdownlint-cli2.jsonc',
'.markdownlint-cli2.yaml',
'.markdownlint-cli2.cjs',
'.markdownlint-cli2.mjs',
'.markdownlintignore',
],
},
{
name: 'tsil',
fileExtensions: ['ц'],
},
{
name: 'deepsource',
fileNames: ['.deepsource.toml'],
},
{
name: 'tape',
fileExtensions: ['tape'],
clone: { base: 'video', color: 'purple-300' },
},
{
name: 'hurl',
fileExtensions: ['hurl'],
},
{
name: 'cds',
fileExtensions: ['cds'],
},
{
name: 'slint',
fileExtensions: ['slint', '60'],
},
{
name: 'jsr',
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'],
},
]),
};
8 changes: 8 additions & 0 deletions src/core/icons/folderIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -924,6 +924,14 @@ 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'],
},
],
},
{
Expand Down

0 comments on commit 6a6b002

Please sign in to comment.