Less changes in PR (#724)

* remove .js dir

* update .gitigore

* remove .dist

* fix: remove EOL

* clean up json_plugins

* add host bash file

* fix: no need to run json

* add all files after merge

* fix: remove run json from pre-commit

* fix: not need to run git in npm json

* add delay to debug

* fix: git add command

* fix: typo

* update github actions

* fix: missing checkout action

* fix: make .sh executable

* update readme

* fix: git config

* fix: action condition
This commit is contained in:
nyagami
2024-01-25 19:59:30 +07:00
committed by GitHub
parent e46c7d07aa
commit 5d65f51fd3
119 changed files with 81 additions and 35419 deletions
+1 -26
View File
@@ -26,23 +26,6 @@ Repository to host plugins and related issues, and requests for [LNReader](https
- Prerequisites: Nodejs >= 18
1. `npm install`
2. Create `config.json` file in root dir
```json
{
"githubUsername": "<username>",
"githubRepository": "<repo>",
"githubBranch": "<branch>"
}
```
Example
```json
{
"githubUsername": "LNReader",
"githubRepository": "lnreader-sources",
"githubBranch": "master"
}
```
## Contributing
1. Choose your language in [plugins](./plugins)
@@ -61,7 +44,7 @@ Example
### If you want to test in app side.
- Commit and push changes. Check your own json files in github fork: `.dist/<username>/`
- `./host.sh`
- Change these in [pluginManager.ts](https://github.com/LNReader/lnreader/blob/master/src/plugins/pluginManager.ts) (app repo) to yours
@@ -70,15 +53,7 @@ Example
```ts
const githubUsername = 'LNReader';
const githubRepository = 'lnreader-sources';
const githubBranch = 'master';
```
- Note: No need to modify `.dist` folder when opening PR. There's already action for that job.
----------