Skip to content

Commit

Permalink
bioming
Browse files Browse the repository at this point in the history
  • Loading branch information
SomeAspy committed Sep 19, 2024
1 parent c1d8582 commit b028228
Show file tree
Hide file tree
Showing 20 changed files with 522 additions and 1,137 deletions.
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"biomejs.biome",
"exodiusstudios.comment-anchors",
"streetsidesoftware.code-spell-checker"
]
}
10 changes: 10 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"[*]": {
"editor.defaultFormatter": "biomejs.biome"
},
"cSpell.words": ["arrpc"],
"editor.codeActionsOnSave": {
"quickfix.biome": "explicit",
"source.organizeImports.biome": "explicit"
}
}
33 changes: 33 additions & 0 deletions biome.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"$schema": "https://biomejs.dev/schemas/1.9.2/schema.json",
"vcs": {
"enabled": true,
"clientKind": "git",
"useIgnoreFile": true
},
"files": {
"ignoreUnknown": false,
"ignore": []
},
"formatter": {
"enabled": true,
"indentStyle": "tab"
},
"organizeImports": {
"enabled": true
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"style": {
"noNonNullAssertion": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "double"
}
}
}
16 changes: 0 additions & 16 deletions electron.vite.config.js

This file was deleted.

16 changes: 16 additions & 0 deletions electron.vite.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
import { defineConfig, externalizeDepsPlugin } from "electron-vite";

export default defineConfig(() => {
return {
main: {
plugins: [externalizeDepsPlugin({ include: ["ws"] })],
},
preload: {
build: {
lib: {
entry: "src/preload/preload.mts",
},
},
},
};
});
37 changes: 0 additions & 37 deletions eslint.config.js

This file was deleted.

47 changes: 25 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,27 @@
{
"name": "acorn",
"type": "module",
"version": "0.0.0",
"scripts": {
"start": "electron-vite preview -- --ozone-platform-hint=auto",
"dev": "electron-vite dev -- --ozone-platform-hint=auto",
"prebuild": "electron-vite build",
"lint": "eslint"
},
"main": "./out/main/main.js",
"packageManager": "[email protected]+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c",
"devDependencies": {
"@eslint/js": "^9.10.0",
"@types/node": "^22.5.5",
"electron": "^32.1.0",
"electron-builder": "^25.0.5",
"electron-vite": "^2.3.0",
"eslint": "^9.10.0",
"prettier": "^3.3.3",
"typescript": "^5.6.2",
"typescript-eslint": "^8.5.0"
}
"name": "acorn",
"type": "module",
"version": "0.0.0",
"scripts": {
"start": "electron-vite preview -- --ozone-platform-hint=auto",
"dev": "electron-vite dev -- --ozone-platform-hint=auto",
"prebuild": "electron-vite build",
"lint": "biome lint",
"lint:fix": "biome lint --write",
"format": "biome format",
"format:fix": "biome format --write"
},
"main": "./out/main/main.js",
"packageManager": "[email protected]+sha512.73a29afa36a0d092ece5271de5177ecbf8318d454ecd701343131b8ebc0c1a91c487da46ab77c8e596d6acf1461e3594ced4becedf8921b074fbd8653ed7051c",
"devDependencies": {
"@biomejs/biome": "^1.9.2",
"@types/node": "^22.5.5",
"electron": "^32.1.1",
"electron-builder": "^25.0.5",
"electron-vite": "^2.3.0",
"typescript": "^5.6.2"
},
"dependencies": {
"arrpc": "github:armcord/arrpc"
}
}
Loading

0 comments on commit b028228

Please sign in to comment.