Skip to content

Commit

Permalink
chore: prep for beta and update husky hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
IT-MikeS committed May 4, 2021
1 parent c8bad87 commit aa6d1e1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run pretty-quick --staged
10 changes: 4 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,11 @@
"build-platform": "tsc --project ./tsconfig.electron.json",
"build-runtime": "tsc --project ./tsconfig.runtime.json",
"generate-changelog": "conventional-changelog -o CHANGELOG.md -r 0 --config changelog.config.js",
"deploy-changelog": "bash ./deployChangeLog.sh"
"deploy-changelog": "bash ./deployChangeLog.sh",
"prepare": "husky install",
"pretty-quick": "pretty-quick"
},
"license": "MIT",
"husky": {
"hooks": {
"pre-commit": "pretty-quick --staged"
}
},
"author": "IT-MikeS",
"devDependencies": {
"@types/fs-extra": "~9.0.11",
Expand All @@ -38,6 +35,7 @@
"prettier": "~2.2.1",
"pretty-quick": "~3.1.0",
"rimraf": "~3.0.2",
"tslib": "~2.2.0",
"typescript": "~4.2.4"
},
"dependencies": {
Expand Down
1 change: 1 addition & 0 deletions src/runtime/electron-rt.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
//*
console.log('Running ELECTRON-RT.TS Injection (This message will be removed after alpha/beta)')
import { addPlatform, setPlatform } from "@capacitor/core";

addPlatform("electron", {
Expand Down

0 comments on commit aa6d1e1

Please sign in to comment.