Skip to content

Commit

Permalink
feat: support for import via absolute path (#35)
Browse files Browse the repository at this point in the history
* feat: support for import via absolute path

* update code

* update code

* update code
  • Loading branch information
buqiyuan committed May 23, 2022
1 parent 2ff4006 commit 8a0baab
Show file tree
Hide file tree
Showing 47 changed files with 241 additions and 198 deletions.
15 changes: 6 additions & 9 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@
],
"parserOptions": {
"project": [
"./tsconfig.serve.json"
// "./tsconfig.serve.json"
],
"createDefaultProgram": true
},
"extends": [
],
"extends": [],
"rules": {
"prefer-arrow/prefer-arrow-functions": 0,
"@angular-eslint/directive-selector": 0,
"@angular-eslint/directive-selector": 0,
"@angular-eslint/component-selector": [
"error",
{
Expand All @@ -34,10 +33,8 @@
"files": [
"*.html"
],
"extends": [
],
"rules": {
}
"extends": [],
"rules": {}
}
]
}
}
4 changes: 2 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"typescript.preferences.importModuleSpecifier": "non-relative",
"eslint.workingDirectories": [
{
"mode": "auto"
}
],
"files.exclude": {
"**/*.js": {
"when": "$(basename).ts"
"when": "$(basename).ts"
},
"**/*.js.map": true,
}
}

56 changes: 28 additions & 28 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 8 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,20 +26,21 @@
"electron:tsc": "tsc -p tsconfig.json"
},
"dependencies": {
"@bqy/node-module-alias": "^1.0.1",
"@electron/remote": "2.0.8",
"content-disposition": "^0.5.4",
"cross-spawn": "^7.0.3",
"crypto-js": "^4.1.1",
"dexie": "3.2.2",
"electron-log": "^4.4.7",
"electron-updater": "^5.0.1",
"fix-path": "3.0.0",
"form-data": "^4.0.0",
"iconv-lite": "^0.6.3",
"ky": "0.30.0",
"resolve": "^1.22.0",
"rxjs": "7.5.5",
"xml2js": "^0.4.23",
"fix-path": "3.0.0"
"xml2js": "^0.4.23"
},
"devDependencies": {
"@types/cross-spawn": "6.0.2",
Expand All @@ -54,10 +55,14 @@
"eslint-plugin-import": "2.26.0",
"eslint-plugin-jsdoc": "39.2.9",
"eslint-plugin-prefer-arrow": "1.2.3",
"module-alias": "2.2.2",
"npm-run-all": "4.1.5",
"ts-node": "10.7.0",
"typescript": "~4.6.4",
"wait-on": "6.0.1"
},
"__npminstall_done": false
"__npminstall_done": false,
"node-module-alias": {
"eo": "./src"
}
}
Loading

0 comments on commit 8a0baab

Please sign in to comment.