Skip to content

Commit 6ceceda

Browse files
authored
Merge pull request #36 from philoserf/prepare-version-1.0.0
Plugin management transfer and version 1.0.0 release
2 parents 59eda0e + 59b8409 commit 6ceceda

24 files changed

+1079
-321
lines changed

.editorconfig

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
root = true
2+
3+
[*]
4+
charset = utf-8
5+
end_of_line = lf
6+
insert_final_newline = true
7+
indent_style = tab
8+
indent_size = 4
9+
tab_width = 4

.github/FUNDING.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
github: [philoserf]
2+
buy_me_a_coffee: philoserf
Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
---
2+
name: Bug report
3+
about: Report a bug
4+
title: ""
5+
labels: bug
6+
assignees: ""
7+
---
8+
9+
<!-- Before opening a bug report, consider the following steps:
10+
11+
- Disable any plugins or snippets that might be causing a conflict.
12+
- Update Obsidian to the latest version.
13+
- Restart Obsidian.
14+
15+
Now, let’s describe the bug:
16+
17+
- Provide a clear and concise description of the issue.
18+
19+
To reproduce the bug, follow these steps:
20+
21+
- Describe the actions you take to trigger the bug.
22+
23+
- Clearly state what you expect to happen.
24+
25+
If applicable, include screenshots to help illustrate your problem.
26+
27+
Finally, provide any relevant debug information. You can access this information in Obsidian by pressing Ctrl/Cmd-P, selecting “Show debug info,” and clicking “Copy to clipboard.” -->
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
name: Feature request
3+
about: Suggest a new feature
4+
title: ""
5+
labels: enhancement
6+
assignees: ""
7+
---
8+
9+
<!-- Is your feature request related to a specific problem? If so, please provide a clear and concise description of the issue. For instance, I often feel frustrated when […]
10+
11+
Next, describe the solution you envision for this problem. Clearly outline what you would like to achieve. -->

.github/dependabot.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "npm"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"

.github/workflows/codeql.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: ["main"]
6+
pull_request:
7+
branches: ["main"]
8+
schedule:
9+
- cron: "16 15 * * 1"
10+
11+
jobs:
12+
analyze:
13+
name: Analyze (${{ matrix.language }})
14+
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
15+
permissions:
16+
security-events: write
17+
18+
strategy:
19+
fail-fast: false
20+
matrix:
21+
include:
22+
- language: javascript-typescript
23+
build-mode: none
24+
steps:
25+
- name: Checkout repository
26+
uses: actions/checkout@v4
27+
28+
- name: Initialize CodeQL
29+
uses: github/codeql-action/init@v3
30+
with:
31+
languages: ${{ matrix.language }}
32+
build-mode: ${{ matrix.build-mode }}
33+
34+
- name: Perform CodeQL Analysis
35+
uses: github/codeql-action/analyze@v3
36+
with:
37+
category: "/language:${{matrix.language}}"

.github/workflows/release.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: Release
2+
on:
3+
push:
4+
tags: ["*"]
5+
6+
jobs:
7+
build:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: actions/checkout@v4
11+
- uses: actions/setup-node@v4
12+
with:
13+
node-version: "22"
14+
15+
- run: |
16+
npm install
17+
npm run build
18+
19+
- name: Package
20+
run: |
21+
mkdir dist
22+
cp main.js manifest.json README.md dist/
23+
zip -r release.zip dist/
24+
25+
- uses: actions/create-release@v1
26+
id: create_release
27+
env:
28+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
29+
with:
30+
tag_name: ${{ github.ref }}
31+
release_name: ${{ github.ref }}
32+
33+
- uses: actions/upload-release-asset@v1
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36+
with:
37+
upload_url: ${{ steps.create_release.outputs.upload_url }}
38+
asset_path: ./release.zip
39+
asset_name: release-${{ github.ref_name }}.zip
40+
asset_content_type: application/zip

.gitignore

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
1-
# Intellij
2-
*.iml
3-
.idea
4-
5-
# npm
6-
node_modules
7-
package-lock.json
8-
9-
# build
101
main.js
11-
*.js.map
2+
node_modules/
3+
data.json
4+
.obsidian/appearance.json
5+
.obsidian/core-plugins.json
6+
.obsidian/graph.json
7+
.obsidian/workspace.json
8+
CHANGELOG.md

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
.obsidian/

LICENSE

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
MIT License
2+
3+
Copyright 2025 by Mark Ayers
4+
Copyright 2020–2024 by Badr Bouslikhin
5+
6+
Permission is hereby granted, free of charge, to any person obtaining a copy
7+
of this software and associated documentation files (the "Software"), to deal
8+
in the Software without restriction, including without limitation the rights
9+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10+
copies of the Software, and to permit persons to whom the Software is
11+
furnished to do so, subject to the following conditions:
12+
13+
The above copyright notice and this permission notice shall be included in all
14+
copies or substantial portions of the Software.
15+
16+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22+
SOFTWARE.

0 commit comments

Comments
 (0)