Skip to content

Commit

Permalink
Merge pull request #1221 from tubone24/fix_ad
Browse files Browse the repository at this point in the history
delere asset
  • Loading branch information
tubone24 authored Jan 9, 2023
2 parents d015f1f + b722eb9 commit 0b4037d
Show file tree
Hide file tree
Showing 29 changed files with 351 additions and 100 deletions.
17 changes: 0 additions & 17 deletions .github/CONTRIBUTING.md

This file was deleted.

11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/article_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Article Request
about: Request what you would like to see written in the article.

---

**Describe what is this?**

Please provide a brief description of the product, OSS, service, or other that you would like to see in the article.

If you have any links or references that might be useful, please also attach the relevant article or URL.
17 changes: 10 additions & 7 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
Expand All @@ -21,15 +22,17 @@ A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
48 changes: 48 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# PR title

## Status

**READY/IN DEVELOPMENT/HOLD**

## Description

A few sentences describing the overall goals of the pull request's commits.

## Related PRs

List related PRs against other branches:

| branch | PR |
|------------------|----------|
| other_pr_master | [link]() |
| other_pr_develop | [link]() |

## Todos

- [ ] Tests
- [ ] e2e Tests
- [ ] Storybook
- [ ] Documentation

## Steps to Test or Reproduce

Outline the steps to test or reproduce the PR here.

```sh
git pull --prune
git checkout <feature_branch>
yarn test
```

## Preview Deploy

Describe the URL of the Preview Deploy.

[link]()

## Impacted Areas in Application

List general components of the application that this PR will affect:

- aaa
- bbb
45 changes: 45 additions & 0 deletions .github/workflows/common-lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: common lint

on:
push:
branches:
- master
pull_request:

jobs:
markdown:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16.x
registry-url: https://npm.pkg.github.com/
scope: '@tubone24'
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- name: Cache
uses: actions/cache@v3
with:
path: |
~/.cache
${{ steps.yarn-cache-dir-path.outputs.dir }}
node_modules
key: ${{ runner.os }}-build-${{ env.cache-version }}-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-version }}-${{ hashFiles('**/yarn.lock') }}
${{ runner.os }}-build-${{ env.cache-version }}-
- name: yarn install
run: yarn install --frozen-lockfile
- name: ⬇️ lint markdown files
run: yarn format-md
renovate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: 🧼 lint renovate config
uses: suzuki-shunsuke/[email protected]
with:
config_file_path: 'renovate.json'
3 changes: 2 additions & 1 deletion .github/workflows/previewDeploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,8 @@ jobs:
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Execute textlint for article
run: npx textlint -f checkstyle "src/content/*.md" >> .textlint.log
run: |
npx textlint -f checkstyle "src/content/*.md" >> .textlint.log
- name: Run reviewdog
if: failure()
env:
Expand Down
19 changes: 19 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"default": true,
"MD013": {
"line_length": 10000,
"headings": false,
"code_blocks": false,
"tables": false
},
"MD024": {
"siblings_only": true
},
"MD025": {
"front_matter_title": ""
},
"MD041": false,
"MD033": false,
"MD036": false,
"MD042": false
}
2 changes: 1 addition & 1 deletion .textlintrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"interval": 2
},
"no-mixed-zenkaku-and-hankaku-alphabet": true,
"no-hoso-kinshi-yogo": false,
"no-hoso-kinshi-yogo": true,
"ja-no-inappropriate-words": true,
"terminology": {
"defaultTerms": true,
Expand Down
6 changes: 3 additions & 3 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,13 @@ the community.

This Code of Conduct is adapted from the [Contributor Covenant][homepage],
version 2.0, available at
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
<https://www.contributor-covenant.org/version/2/0/code_of_conduct.html>.

Community Impact Guidelines were inspired by [Mozilla's code of conduct
enforcement ladder](https://github.com/mozilla/diversity).

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see the FAQ at
https://www.contributor-covenant.org/faq. Translations are available at
https://www.contributor-covenant.org/translations.
<https://www.contributor-covenant.org/faq>. Translations are available at
<https://www.contributor-covenant.org/translations>.
51 changes: 51 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# How to Contribute

Thanks for your interest in contributing to `tubone24/blog`! Here are a few general guidelines on contributing and
reporting bugs that we ask you to review. Following these guidelines helps to communicate that you respect the time of
the contributors managing and developing this open source project. In return, they should reciprocate that respect in
addressing your issue, assessing changes, and helping you finalize your pull requests. In that spirit of mutual respect,
we endeavour to review incoming issues and pull requests within 10 days.

Please note that all of your interactions in the project are subject to our [Code of Conduct](CODE_OF_CONDUCT.md). This
includes creation of issues or pull requests, commenting on issues or pull requests, and extends to all interactions in
any real-time space (eg. Slack, Discord, etc).

## Reporting Issues

Before reporting a new issue, please ensure that the issue was not already reported or fixed by searching through our
[issues list](https://github.com/tubone24/blog/issues).

When creating a new issue, please be sure to include a **title and clear description**, as much relevant information as
possible, and, if possible, a test case.

**If you discover a security bug, please do not report it through GitHub. Instead, please see security procedures in
[SECURITY.md](SECURITY.md).**

## Sending Pull Requests

Before sending a new pull request, take a look at existing pull requests and issues to see if the proposed change or fix
has been discussed in the past, or if the change was already implemented but not yet released.

We expect new pull requests to include tests for any affected behavior, and, as we follow semantic versioning, we may
reserve breaking changes until the next major version release.

## Other Ways to Contribute

We welcome anyone that wants to contribute to `tubone24/blog` to triage and reply to open issues to help troubleshoot
and fix existing bugs. Here is what you can do:

- Help ensure that existing issues follows the recommendations from the _[Reporting Issues](#reporting-issues)_ section,
providing feedback to the issue's author on what might be missing.
- Review and update the existing content of our [Wiki](https://github.com/tubone24/blog/wiki) with up-to-date
instructions and code samples.
- Review existing pull requests, and testing patches against real existing applications that use `<project name>`.
- Write a test, or add a missing test case to an existing test.

Thanks again for your interest on contributing to `blog/tubone24`!

## What if I want (or need) a blog post written?

Please do not create a PR, but create an Issue first. The author will examine the [article request issue](.github/ISSUE_TEMPLATE/article_request.md) carefully
and consider whether to publish it as an article before responding.

:heart:
3 changes: 3 additions & 0 deletions MAINTAINERS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Maintainers

- [tubone24](https://github.com/tubone24)
Loading

0 comments on commit 0b4037d

Please sign in to comment.