Skip to content

Commit

Permalink
fix: gh workflow (#130)
Browse files Browse the repository at this point in the history
* fix: gh workflow

* fix: gh workflow

* feat: add eslint
  • Loading branch information
simonas-notcat authored Aug 21, 2023
1 parent 10d7103 commit 34bc196
Show file tree
Hide file tree
Showing 12 changed files with 317 additions and 121 deletions.
11 changes: 11 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
/* eslint-env node */
module.exports = {
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
root: true,
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/ban-ts-comment": "off",
}
};
1 change: 0 additions & 1 deletion .github/workflows/build-electron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,3 @@ jobs:
release: ${{ startsWith(github.ref, 'refs/tags/v') }}
build_script_name: build-electron
package_manager: pnpm
skip_package_manager_install: true
3 changes: 2 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
strict-peer-dependencies=false
strict-peer-dependencies=false
node-linker=hoisted
19 changes: 12 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,12 @@
"mac": {
"category": "your.app.category.type"
},
"publish": [
{
"provider": "github",
"releaseType": "release"
}
],
"files": [
"build/**/*",
"node_modules/**/*",
Expand All @@ -42,15 +48,11 @@
"build-electron": "cross-env PUBLIC_URL=./ craco build",
"electron": "electron .",
"electron-dev": "cross-env ELECTRON_START_URL=http://localhost:3000 electron .",
"electron-dist": "electron-builder"
"electron-dist": "electron-builder",
"lint": "eslint ./src"
},
"homepage": "https://explore.veramo.dev",
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},

"prettier": {
"jsxBracketSameLine": false,
"trailingComma": "all",
Expand Down Expand Up @@ -129,6 +131,8 @@
"@types/react-router-dom": "^5.3.3",
"@types/url-parse": "^1.4.8",
"@types/uuid": "^9.0.1",
"@typescript-eslint/eslint-plugin": "^6.4.0",
"@typescript-eslint/parser": "^6.4.0",
"@veramo-community/react-components": "^1.4.0",
"@veramo-community/veramo-react": "^1.0.82",
"@veramo/core": "5.4.2-next.10",
Expand Down Expand Up @@ -166,6 +170,7 @@
"did-resolver": "^4.1.0",
"electron": "^26.0.0",
"electron-builder": "^24.6.3",
"eslint": "^8.47.0",
"ethr-did-resolver": "^8.0.0",
"https-browserify": "^1.0.0",
"husky": "^8.0.3",
Expand Down
Loading

0 comments on commit 34bc196

Please sign in to comment.