Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 0 additions & 54 deletions .github/workflows/build.yml

This file was deleted.

78 changes: 0 additions & 78 deletions .github/workflows/pre-release.yml

This file was deleted.

54 changes: 0 additions & 54 deletions .github/workflows/pull.yml

This file was deleted.

70 changes: 35 additions & 35 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
cache: npm

- name: Install dependencies
run: npm ci
run: npm install --force

- name: Install electron-builder
run: npm i electron-builder -g

Expand Down Expand Up @@ -54,36 +54,36 @@ jobs:
publish_on_macos:
runs-on: macOS-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Node v20
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm

- name: Install Python
run: brew install python@3.11
- name: "Install Python setuptools"
run: brew install python-setuptools

- name: Install Build Tools
run: |
brew install libtool automake autoconf
sudo xcode-select --reset

- name: Update node-gyp
run: npm install -g node-gyp

- name: Install dependencies
run: npm ci

- name: Install electron-builder
run: npm i electron-builder -g

- name: Publish
env:
GH_TOKEN: ${{ secrets.TOKEN }}
run: npm run publish:mac
- name: Checkout repository
uses: actions/checkout@v3

- name: Install Node v20
uses: actions/setup-node@v3
with:
node-version: 20
cache: npm

- name: Install Python
run: brew install python@3.11

- name: "Install Python setuptools"
run: brew install python-setuptools

- name: Install Build Tools
run: |
brew install libtool automake autoconf
sudo xcode-select --reset

- name: Update node-gyp
run: npm install -g node-gyp

- name: Install dependencies
run: npm ci

- name: Install electron-builder
run: npm i electron-builder -g

- name: Publish
env:
GH_TOKEN: ${{ secrets.TOKEN }}
run: npm run publish:mac
81 changes: 66 additions & 15 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,21 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
"$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
"vcs": {
"enabled": false,
"clientKind": "git",
"useIgnoreFile": false
},
"files": {
"ignoreUnknown": false,
"ignore": []
"ignoreUnknown": false
},
"formatter": {
"enabled": true,
"indentStyle": "tab"
},
"organizeImports": {
"enabled": true
"indentStyle": "tab",
"indentWidth": 4,
"lineWidth": 90,
"lineEnding": "lf",
"attributePosition": "auto",
"formatWithErrors": false
},
"linter": {
"enabled": true,
Expand All @@ -25,26 +26,76 @@
"useButtonType": "off",
"useKeyWithClickEvents": "off",
"noSvgWithoutTitle": "off",
"noLabelWithoutControl": "off"
"noLabelWithoutControl": "off",
"noStaticElementInteractions": "off",
"useAriaPropsSupportedByRole": "off"
},
"style": {
"useSelfClosingElements": "off",
"useImportType": "off"
"noParameterAssign": "off",
"useConst": "off",
"useTemplate": "off"
},
"suspicious": {
"noExplicitAny": "off",
"noArrayIndexKey": "off",
"noDoubleEquals": "off"
"noArrayIndexKey": "off"
},
"correctness": {
"useExhaustiveDependencies": "off",
"noUnusedVariables": "warn",
"noUnusedImports": "warn",
"useUniqueElementIds": "off"
},
"complexity": {
"noUselessCatch": "off"
"noUselessTernary": "off",
"noImportantStyles": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"semicolons": "asNeeded"
"semicolons": "asNeeded",
"trailingCommas": "es5",
"quoteProperties": "asNeeded",
"bracketSpacing": true,
"bracketSameLine": false,
"arrowParentheses": "always",
"jsxQuoteStyle": "double"
}
},
"json": {
"formatter": {
"trailingCommas": "none",
"indentStyle": "tab",
"indentWidth": 4
}
},
"assist": {
"actions": {
"source": {
"organizeImports": "off"
}
}
},
"overrides": [
{
"includes": ["*.tsx", "*.jsx"],
"javascript": {
"formatter": {
"jsxQuoteStyle": "double",
"bracketSameLine": false
}
}
},
{
"includes": ["package.json", "tsconfig.json"],
"json": {
"formatter": {
"indentStyle": "space",
"indentWidth": 2
}
}
}
}
}
]
}
Loading