Skip to content

Commit

Permalink
chore: bump and fix
Browse files Browse the repository at this point in the history
Signed-off-by: Joey Yu <joey@jyu.dev>
  • Loading branch information
itsjoeoui committed Dec 1, 2023
1 parent f2ba2cd commit d423b93
Show file tree
Hide file tree
Showing 8 changed files with 579 additions and 799 deletions.
7 changes: 5 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ const exit = (msg) => {
/**
* Executes the provided shell command and redirects stdout/stderr to the console
*/
const run = (cmd, cwd) => execSync(cmd, { encoding: "utf8", stdio: "inherit", cwd });
const run = (cmd, cwd) =>
execSync(cmd, { encoding: "utf8", stdio: "inherit", cwd });

/**
* Determines the current operating system (one of ["mac", "windows", "linux"])
Expand Down Expand Up @@ -131,7 +132,9 @@ const runAction = () => {
}

log(`Building${release ? " and releasing" : ""} the Electron app…`);
const cmd = useVueCli ? "vue-cli-service electron:build" : `electron-package:${platform}`;
const cmd = useVueCli
? "vue-cli-service electron:build"
: `electron-package:${platform}`;
for (let i = 0; i < maxAttempts; i += 1) {
try {
run(
Expand Down
16 changes: 6 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,16 +17,13 @@
"format": "prettier --ignore-path ./.gitignore --list-different \"**/*.{css,html,js,json,jsx,less,md,scss,ts,tsx,vue,yaml,yml}\"",
"format:fix": "pnpm run format --write"
},
"dependencies": {},
"peerDependencies": {},
"devDependencies": {
"@samuelmeuli/eslint-config": "^6.0.0",
"@samuelmeuli/prettier-config": "^2.0.1",
"eslint": "6.8.0",
"eslint-config-airbnb-base": "14.1.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-import": "^2.20.2",
"prettier": "^2.0.4"
"eslint": "8.54.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"prettier": "^3.1.0"
},
"eslintConfig": {
"root": true,
Expand All @@ -38,6 +35,5 @@
"eslintIgnore": [
"node_modules/",
"test/"
],
"prettier": "@samuelmeuli/prettier-config"
]
}
Loading

0 comments on commit d423b93

Please sign in to comment.