Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: merge main changes #20

Merged
merged 8 commits into from
Jun 30, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .github/bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
tasks:
- name: remove-label
on:
issue_comment:
types: [created]
config:
label: 'needs reply',
exclude-labeler: true
- name: add-contributors
on:
push:
branches: [main]
config:
base: main
commitMsg: 'chore(readme): add a new contributor'
24 changes: 24 additions & 0 deletions .github/workflows/capacitor-community-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Capacitor Community Bot

on:
push:
branches: [main]
issues:
types: [opened, edited]
issue_comment:
types: [created]

jobs:
bot:
name: ${{ github.event_name }}/${{ github.event.action }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: ionic-team/bot@main
with:
repo-token: ${{ secrets.BOT_TOKEN }}
env:
GIT_AUTHOR_NAME: Capacitor Community Bot
GIT_AUTHOR_EMAIL: hi@ionicframework.com
GIT_COMMITTER_NAME: Capacitor Community Bot
GIT_COMMITTER_EMAIL: hi@ionicframework.com
20 changes: 20 additions & 0 deletions .github/workflows/needs-reply.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Close old issues that need reply

on:
schedule:
- cron: "0 0 * * *"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Close old issues that need reply
uses: dwieeb/needs-reply@master
with:
repo-token: ${{ secrets.BOT_TOKEN }}
issue-label: 'needs reply'
close-message: |
It looks like this issue didn't get the information it needed, so I'll close it for now. If I made a mistake, sorry! I am just a bot.

Have a great day!
Capacitor Community Bot 💙
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.github/
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## DISCLAIMER: This platform is currently in a preview state for installation and will be supported through the Capacitor CLI in an upcomming release of Capacitor.

<br />
<br />

<p align="center">
<img src="https://user-images.githubusercontent.com/20338451/84775741-91e30a00-afad-11ea-8f37-92a7bfd6cd54.png" width="392" height="150" /><br />
</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/CreateElectronPluginGuide.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# How to create a Capacitor Electron Plugin.

1. Generate plungin starter with `npx @capacitor/cli plugin:generate`.
2. Run `npm i -D rollup rollup-plugin-node-resolve` in the new project directory created by the CLI.
2. Run `npm i -D rollup rollup-plugin-node-resolve electron @types/node@^12.0.0 tslib@^1.13.0` in the new project directory created by the CLI.
3. Create a `electron` folder in the root of the new project directory created by the CLI.
4. Create a `tsconfig.json` file containing the below in the `electron` folder.
```json
Expand Down Expand Up @@ -29,7 +29,7 @@
```javascript
import nodeResolve from "rollup-plugin-node-resolve";
export default {
input: "dist/esm/index.js",
input: "dist/esm/electron/src/index.js",
output: {
file: "dist/plugin.js",
format: "iife",
Expand Down