Skip to content

Commit

Permalink
fix(workflows): ensure similar formatting with pipeline (#2705)
Browse files Browse the repository at this point in the history
  • Loading branch information
PKief committed Nov 13, 2024
1 parent 25fcdc1 commit 246ce37
Show file tree
Hide file tree
Showing 7 changed files with 39 additions and 68 deletions.
3 changes: 3 additions & 0 deletions biome.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@
"lineWidth": 80,
"attributePosition": "auto"
},
"files": {
"ignore": ["dist", "node_modules", "package.json", "bun.lockb"]
},
"organizeImports": { "enabled": true },
"linter": {
"enabled": true,
Expand Down
39 changes: 8 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"contributors": "bun ./src/scripts/contributors/contributors.ts",
"generateJson": "bun ./src/scripts/icons/generateJson.ts > ./dist/material-icons.json",
"generateClones": "bun ./src/scripts/icons/generateClones.ts",
"lint": "biome check --write ./src",
"lint": "biome check",
"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",
Expand Down Expand Up @@ -54,29 +54,16 @@
"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",
Expand Down Expand Up @@ -231,9 +218,7 @@
},
"activeForPacks": {
"type": "array",
"default": [
"angular"
],
"default": ["angular"],
"description": "%configuration.customClones.activeForPacks%",
"items": {
"type": "string",
Expand Down Expand Up @@ -308,11 +293,7 @@
"%configuration.folders.theme.classic%",
"%configuration.folders.theme.none%"
],
"enum": [
"specific",
"classic",
"none"
]
"enum": ["specific", "classic", "none"]
},
"material-icon-theme.folders.color": {
"type": "string",
Expand Down Expand Up @@ -353,11 +334,7 @@
"material-icon-theme.logLevel": {
"type": "string",
"default": "info",
"enum": [
"info",
"error",
"debug"
],
"enum": ["info", "error", "debug"],
"description": "%configuration.logLevel%"
}
}
Expand Down
5 changes: 1 addition & 4 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:base",
"helpers:pinGitHubActionDigests"
],
"extends": ["config:base", "helpers:pinGitHubActionDigests"],
"ignoreDeps": ["@types/vscode"],
"packageRules": [
{
Expand Down
8 changes: 1 addition & 7 deletions src/core/generator/folderGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,13 +191,7 @@ const setIconDefinitions = (
) => {
const isClone = (icon as FolderIcon).clone !== undefined;

manifest = createIconDefinitions(
manifest,
config,
icon.name,
'',
isClone
);
manifest = createIconDefinitions(manifest, config, icon.name, '', isClone);

if (icon.light) {
manifest = merge(
Expand Down
48 changes: 24 additions & 24 deletions src/core/i18n/translations/lang-id.ts
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
import type { Translation } from '../../models/i18n/translation';

export const translation: Translation = {
activate: "Aktifkan",
activated: "Tema Ikon Material aktif.",
activate: 'Aktifkan',
activated: 'Tema Ikon Material aktif.',
iconPacks: {
selectPack: "Pilih paket ikon",
selectPack: 'Pilih paket ikon',
description: "Pilih paket ikon '%0'",
disabled: "Nonaktifkan paket ikon"
disabled: 'Nonaktifkan paket ikon',
},
folders: {
toggleIcons: "Pilih tema folder",
disabled: "Tidak ada ikon folder",
toggleIcons: 'Pilih tema folder',
disabled: 'Tidak ada ikon folder',
theme: {
description: "Pilih tema folder '%0'"
}
description: "Pilih tema folder '%0'",
},
},
colorSelect: {
color: "Pilih warna",
hexCode: "Masukkan kode warna HEX",
wrongHexCode: "Kode warna HEX tidak valid!"
color: 'Pilih warna',
hexCode: 'Masukkan kode warna HEX',
wrongHexCode: 'Kode warna HEX tidak valid!',
},
opacity: {
inputPlaceholder: "Nilai opasitas (antara 0 dan 1)",
wrongValue: "Silakan masukkan angka desimal antara 0 dan 1."
inputPlaceholder: 'Nilai opasitas (antara 0 dan 1)',
wrongValue: 'Silakan masukkan angka desimal antara 0 dan 1.',
},
toggleSwitch: {
on: "AKTIF",
off: "NONAKTIF"
on: 'AKTIF',
off: 'NONAKTIF',
},
explorerArrows: {
toggle: "Alihkan panah folder di Explorer",
enable: "Tampilkan panah folder di Explorer",
disable: "Sembunyikan panah folder di Explorer"
toggle: 'Alihkan panah folder di Explorer',
enable: 'Tampilkan panah folder di Explorer',
disable: 'Sembunyikan panah folder di Explorer',
},
grayscale: {
toggle: "Alihkan ikon grayscale",
enable: "Aktifkan ikon grayscale",
disable: "Nonaktifkan ikon grayscale"
toggle: 'Alihkan ikon grayscale',
enable: 'Aktifkan ikon grayscale',
disable: 'Nonaktifkan ikon grayscale',
},
saturation: {
inputPlaceholder: "Nilai saturasi (antara 0 dan 1)",
wrongValue: "Silakan masukkan angka desimal antara 0 dan 1."
}
inputPlaceholder: 'Nilai saturasi (antara 0 dan 1)',
wrongValue: 'Silakan masukkan angka desimal antara 0 dan 1.',
},
};
2 changes: 1 addition & 1 deletion src/core/icons/fileIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2879,7 +2879,7 @@ export const fileIcons: FileIcons = {
{
name: 'umi',
patterns: {
".umirc": FileNamePattern.Ecmascript,
'.umirc': FileNamePattern.Ecmascript,
},
},
]),
Expand Down
2 changes: 1 addition & 1 deletion src/core/icons/folderIcons.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const folderIcons: FolderTheme[] = [
},
{
name: 'folder-directive',
folderNames: ['directive, directives']
folderNames: ['directive, directives'],
},
{
name: 'folder-jinja',
Expand Down

0 comments on commit 246ce37

Please sign in to comment.