Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit 497c611

Browse files
committed
feat: 1.0.0
1 parent e837845 commit 497c611

29 files changed

+6595
-251
lines changed

.eslintignore

Lines changed: 0 additions & 3 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 23 deletions
This file was deleted.

.github/CONTRIBUTING.md

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Contributing to webserv
2+
3+
We welcome contribution from everyone <br/>
4+
5+
## 1.Issues
6+
7+
- [Reporting a bug in our issues tab](https://github.com/JinMuGo/obsidian-markdown-flip/issues/new/choose)
8+
- [Requesting a new feature or package](https://github.com/JinMuGo/obsidian-markdown-flip/issues/new/choose)
9+
- [Having a look at our issue list](https://github.com/JinMuGo/obsidian-markdown-flip/issues) to see what's to be fixed
10+
11+
## 2. Pull Requests
12+
13+
> [Opening a pull request](https://github.com/JinMuGo/obsidian-markdown-flip/compare) <br/>
14+
15+
You can raise your own PR. The title of your PR should match the following format:
16+
17+
```
18+
<type>[package scope]: <description>
19+
```
20+
21+
[more specific detail](https://github.com/JinMuGo/obsidian-markdown-flip/wiki/Commit-Convention)
22+
23+
### 2.1 Type
24+
25+
**Type must be one of those**
26+
27+
if you changed shipped code :
28+
29+
- feat - for any new functionality additions
30+
- fix - for any fixes that don't add new functionality
31+
32+
if you haven't changed shipped code :
33+
34+
- docs - if you only change documentation
35+
- test - if you only change tests
36+
37+
other :
38+
39+
- chore - anything else
40+
41+
### 2.3 Description
42+
43+
A clear and concise description of what the pr is about.
44+
45+
---
46+
47+
**Note:** this CONTRIBUTING is Referenced by [toss Slash](https://github.com/toss/slash)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Bug report
3+
about: "Report a bug "
4+
title: "[BUG]:"
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
### **Describe the bug**
10+
11+
<!-- A clear and concise description of what the bug is. -->
12+
13+
### **Expected behavior**
14+
15+
<!-- A clear and concise description of what you expected to happen. -->
16+
17+
### **To Reproduce**
18+
19+
<!--
20+
Minimal reproducible code
21+
or describe steps to reproduce.
22+
Optional, but recommended.
23+
-->
24+
25+
### **Possible Solution**
26+
27+
<!-- If you have suggestions on a fix for the bug -->
28+
29+
### **Additional context**
30+
31+
<!-- Add any other context about the problem here. -->
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: "[Feature]:"
5+
labels: ""
6+
assignees: ""
7+
---
8+
9+
### **Overview**
10+
11+
<!-- A clear and concise description about the feature -->
12+
13+
### **Describe the solution you'd like**
14+
15+
<!-- A clear and concise description of what you want to happen -->
16+
17+
### **Additional context**
18+
19+
<!-- Add any other context or screenshots about the feature request here -->
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
---
2+
name: Refactor Request
3+
about: Suggest something that needs to be refactored.
4+
title: ""
5+
labels: discussion, new
6+
assignees: ""
7+
---
8+
9+
<!--
10+
Hi there, nice to meet you!
11+
12+
Before submitting an issue, please search open and closed issues. Existing issues often contain information about workarounds, resolution, or progress updates. If your issue is not addressed feel free to fill out this template.
13+
14+
PS: All the things within the comments section will not be rendered when submitting the issue. These are just some important points to support you by providing us with all the relevant information we need to reproduce and understand your problem better. Feel free to remove these comments.
15+
-->
16+
17+
### Refactor Request
18+
19+
<!--
20+
Is your refactor request related to a problem? Please describe.
21+
22+
A clear and concise description of what the problem is. Ex. I'm having problems reading the code because [...]
23+
-->
24+
25+
### Description of the proposed solution
26+
27+
<!-- If you have a solution in mind, please describe it. -->
28+
29+
### Additional context
30+
31+
<!-- Add any other context about the problem here. -->

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
## Overview
2+
3+
<!--
4+
A clear and concise description of what this pr is about.
5+
-->
6+
7+
## PR Checklist
8+
9+
- [ ] I read and included theses actions below
10+
11+
1. I have read the [Contributing Guide](https://github.com/JinMuGo/obsidian-markdown-flip/blob/main/.github/CONTRIBUTING.md)
12+
2. I have written documents and tests, if needed.

.github/workflows/release.yaml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: Release Obsidian plugin
2+
3+
on:
4+
push:
5+
tags:
6+
- '*'
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/checkout@v3
14+
15+
- name: Install pnpm
16+
uses: pnpm/action-setup@v4
17+
with:
18+
version: 10.8.0
19+
run_install: false
20+
21+
- name: Install Node.js
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: 22
25+
cache: pnpm
26+
27+
- name: Install dependencies
28+
run: pnpm install -no-frozen-lockfile
29+
shell: bash
30+
31+
- name: Build plugin
32+
run: |
33+
pnpm run build
34+
35+
- name: Create release
36+
env:
37+
GITHUB_TOKEN: ${{ secrets.TOKEN }}
38+
run: |
39+
tag="${GITHUB_REF#refs/tags/}"
40+
41+
gh release create "$tag" \
42+
--title="$tag" \
43+
--draft \
44+
main.js manifest.json styles.css

.lefthook.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
pre-commit:
2+
parallel: false # Set to false to run commands sequentially; set to true if you prefer parallel execution.
3+
commands:
4+
build:
5+
run: pnpm run build
6+
test:
7+
run: pnpm test
8+
lint:
9+
run: pnpm run lint

.prettierrc.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
module.exports = {
2+
trailingComma: "all",
3+
printWidth: 120,
4+
tabWidth: 4,
5+
useTabs: false,
6+
singleQuote: false,
7+
bracketSpacing: true,
8+
};

0 commit comments

Comments
 (0)