Skip to content

Commit 1cbb473

Browse files
authored
Merge pull request #1 from Editmode-app/auto
2 parents 316fedf + 64974ec commit 1cbb473

File tree

6 files changed

+6369
-3
lines changed

6 files changed

+6369
-3
lines changed

.all-contributorsrc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"projectName": "editmode-react",
3+
"projectOwner": "Editmode-app",
4+
"repoType": "github",
5+
"repoHost": "https://github.com",
6+
"files": [
7+
"README.md"
8+
],
9+
"imageSize": 40,
10+
"commit": true,
11+
"commitConvention": "none",
12+
"contributors": [],
13+
"contributorsPerLine": 7
14+
}

.github/workflows/release.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Release
2+
3+
on: [push]
4+
5+
jobs:
6+
release:
7+
runs-on: ubuntu-latest
8+
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
9+
steps:
10+
- uses: actions/checkout@v2
11+
12+
- name: Prepare repository
13+
run: git fetch --unshallow --tags
14+
15+
- name: Use Node.js 12.x
16+
uses: actions/setup-node@v1
17+
with:
18+
node-version: 12.x
19+
20+
- name: Cache node modules
21+
uses: actions/cache@v1
22+
with:
23+
path: node_modules
24+
key: yarn-deps-${{ hashFiles('yarn.lock') }}
25+
restore-keys: |
26+
yarn-deps-${{ hashFiles('yarn.lock') }}
27+
28+
- name: Create Release
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
32+
run: |
33+
yarn install --frozen-lockfile
34+
yarn build
35+
npx auto shipit

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,3 +78,16 @@ This will render editable headings containing the name and title and an image co
7878
### Step 3:
7979

8080
You can now edit and save all of the chunks in your React app from within the browser - just add `editmode=1` as a query string parameter to the current URL.
81+
82+
## Contributors ✨
83+
84+
Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/docs/en/emoji-key)):
85+
86+
<!-- ALL-CONTRIBUTORS-LIST:START - Do not remove or modify this section -->
87+
<!-- prettier-ignore-start -->
88+
<!-- markdownlint-disable -->
89+
<!-- markdownlint-enable -->
90+
<!-- prettier-ignore-end -->
91+
<!-- ALL-CONTRIBUTORS-LIST:END -->
92+
93+
This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!

package.json

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
"test": "echo \"Error: no test specified\" && exit 1"
1010
},
1111
"peerDependencies": {
12-
"react": "16.*",
13-
"react-dom": "16.*",
1412
"axios": "^0.19.2",
15-
"dompurify": "^2.0.11"
13+
"dompurify": "^2.0.11",
14+
"react": "16.*",
15+
"react-dom": "16.*"
1616
},
1717
"keywords": [
1818
"Editmode",
@@ -29,10 +29,14 @@
2929
"react-dom": "^16.13.1"
3030
},
3131
"devDependencies": {
32+
"@auto-it/all-contributors": "^9.35.1",
33+
"@auto-it/first-time-contributor": "^9.35.1",
3234
"@babel/core": "^7.9.6",
3335
"@babel/plugin-proposal-class-properties": "^7.8.3",
3436
"@babel/preset-env": "^7.9.6",
3537
"@babel/preset-react": "^7.9.4",
38+
"all-contributors-cli": "^6.14.2",
39+
"auto": "^9.35.1",
3640
"babel-cli": "^6.26.0",
3741
"babel-core": "^6.26.3",
3842
"babel-loader": "^8.1.0",
@@ -42,5 +46,14 @@
4246
"webpack": "^4.43.0",
4347
"webpack-cli": "^3.3.11",
4448
"webpack-node-externals": "^1.7.2"
49+
},
50+
"repository": "Editmode-app/editmode-react",
51+
"auto": {
52+
"plugins": [
53+
"npm",
54+
"all-contributors",
55+
"first-time-contributor",
56+
"released"
57+
]
4558
}
4659
}
File renamed without changes.

0 commit comments

Comments
 (0)