Skip to content

Commit

Permalink
Merge pull request #1 from eyuelberga/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
eyuelberga authored Jun 25, 2021
2 parents 311afad + bc3cc2a commit 85874bd
Show file tree
Hide file tree
Showing 98 changed files with 24,198 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
13 changes: 13 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"$schema": "https://unpkg.com/@changesets/config@1.5.0/schema.json",
"changelog": ["@changesets/changelog-github", { "repo": "eyuelberga/keywrite" }],
"commit": false,
"linked": [],
"access": "public",
"baseBranch": "main",
"updateInternalDependencies": "patch",
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true
},
"ignore": []
}
8 changes: 8 additions & 0 deletions .changeset/twenty-moons-visit.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
'@keywrite/core': patch
'@keywrite/ethiopic-layouts': patch
'@keywrite/layout-generator': patch
'@keywrite/web': patch
---

Initial release
5 changes: 5 additions & 0 deletions .commitlintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": [
"@commitlint/config-conventional"
]
}
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
dist
13 changes: 13 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"rules": {}
}
50 changes: 50 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
name: Report a bug 🐛
about: Something isn't working as expected? Here is the right place to report.
---

<!---
Thanks for creating an issue 😄!
Please search open/closed issues before submitting. Someone
might have asked the same thing before 😉!
-->

# 🐛 Bug report

> Provide a brief description of the bug here
## 💥 Steps to reproduce

> Clear and concise reproduction steps are important for us to be able to triage
> your issue in a timely manner
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

## 💻 Link to reproduction

> Please create a minimal reproduction in CodeSandbox
## 🧐 Expected behavior

> Tell us what you expect to happen.
## 🧭 Possible Solution

> Not compulsory, but suggesting a fix would be great!
## 🌍 System information

| Software | Version(s) |
| ---------------- | ---------- |
| Keywrite | |
| Browser | |
| Operating System | |

## 📝 Additional information

- Screenshots or code
- Notes or link to ideas
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Ask a question
url: https://github.com/eyuelberga/keywrite/discussions
about: Ask questions and discuss topics with other community members
33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Request a feature or enhancement 🙋
about: Want a feature to be added to Keywrite?
---

<!---
Thanks for filing an issue 😄!
Please search open/closed issues before submitting. Someone
might have asked the same thing before 😉!
-->

# 🚀 Feature request

> Please describe your request in one or two sentences.
## 🧱 Problem Statement / Justification

> Please provide valid reason(s) why this should added to Keywrite.
>
> If this feature is related to a problem you've noticed. Mention it as well
## ✅ Proposed solution or API

> Please provide code snippets, gists, or links to the ideal design or API
## ↩️ Alternatives

> What alternative solutions have you considered before making this request?
## 📝 Additional Information

> What resources (links, screenshots, etc.) do you have to assist this effort?
28 changes: 28 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<!---
Thanks for creating an Pull Request 💖!
Please read the following before submitting:
- PRs that adds new external dependencies might take a while to review.
- Keep your PR as small as possible.
- Limit your PR to one type (docs, feature, refactoring, ci, or bugfix)
-->

Closes # <!-- Github issue # here -->

## 📝 Description

> Add a brief description
## ⛳️ Current behavior (updates)

> Please describe the current behavior that you are modifying
## 🚀 New behavior

> Please describe the behavior or changes this PR adds
## 💣 Is this a breaking change (Yes/No):

<!-- If Yes, please describe the impact and migration path for existing keywrite users. -->

## 📝 Additional Information
24 changes: 24 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 30
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 5
# Issues with these labels will never be considered stale
exemptLabels:
- 'not stale'
- 'Priority: High 🚨'
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
Hi!
This issue hasn't seen any activity recently. We close inactive issues after
35 days to manage the volume of issues we receive.
If we missed this issue or you want to keep it open, please reply here. That
will reset the timer and allow more time for this issue to be addressed before
it is closed.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false
unmarkComment: false
only: issues
43 changes: 43 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: PR Workflow

on:
pull_request:
branches:
- main
- develop

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Get Yarn cache path
id: yarn-cache
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Checkout
uses: actions/checkout@v1

- name: Enable node
uses: actions/setup-node@v1
with:
node-version: 12.x

- name: Load Yarn cache
uses: actions/cache@v1
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build packages
run: yarn build

- name: Lint types and code
run: yarn lint

- name: Run tests
run: yarn test
53 changes: 53 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
name: Publish to NPM

on:
push:
paths:
- 'packages/**'
branches:
- main

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- id: yarn-cache
name: Get Yarn cache path
run: echo "::set-output name=dir::$(yarn cache dir)"

- name: Checkout Repo
uses: actions/checkout@main
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0

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

- uses: actions/cache@70655ec8323daeeaa7ef06d7c56e1b9191396cbe
name: Load Yarn cache
with:
path: ${{ steps.yarn-cache.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
run: yarn install --frozen-lockfile

- name: Setup CI Git User
run: |
git config --global user.email "eyuel.berga@yahoo.com"
git config --global user.name "eyuelberga"
- name: Publish packages
uses: changesets/action@main
with:
publish: yarn release
commit: 'chore(release): version packages'
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Loading

0 comments on commit 85874bd

Please sign in to comment.