Skip to content
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
45 changes: 45 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"projectName": "editmode-react",
"projectOwner": "Editmode-app",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"imageSize": 40,
"commit": true,
"commitConvention": "none",
"contributors": [
{
"login": "ericclemmons",
"name": "Eric Clemmons",
"avatar_url": "https://avatars0.githubusercontent.com/u/15182?v=4",
"profile": "https://ericclemmons.com/",
"contributions": [
"doc",
"infra",
"code"
]
},
{
"login": "puuripurii",
"name": "Jen Villaganas",
"avatar_url": "https://avatars1.githubusercontent.com/u/26903002?v=4",
"profile": "https://github.com/puuripurii",
"contributions": [
"code"
]
},
{
"login": "BosEriko",
"name": "Bos Eriko Reyes",
"avatar_url": "https://avatars1.githubusercontent.com/u/10940193?v=4",
"profile": "http://boseriko.com/",
"contributions": [
"code",
"doc"
]
}
],
"contributorsPerLine": 7
}
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react"],
"plugins": ["@babel/plugin-proposal-class-properties"]
}
37 changes: 37 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Release

on: [push]

jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v2

- name: Prepare repository
run: |
git fetch --unshallow --tags --recurse-submodules
git submodule update --init --recursive --remote

- name: Use Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x

- name: Cache node modules
uses: actions/cache@v1
with:
path: node_modules
key: yarn-deps-${{ hashFiles('yarn.lock') }}
restore-keys: |
yarn-deps-${{ hashFiles('yarn.lock') }}

- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn install --frozen-lockfile
yarn build
npx auto shipit
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.env*
dist
node_modules
package-lock.json
yarn-error.log
4 changes: 4 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
src
demo
.babelrc
webpack.config.js
1 change: 1 addition & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
Loading