cleanup for 1.0.0

This commit is contained in:
Markus Moser 2024-11-11 15:49:40 +01:00
parent 86c370fed7
commit 2db5e4bf0b
No known key found for this signature in database
GPG key ID: AD411FF94FFE07BD
6 changed files with 14 additions and 25 deletions

View file

@ -1,14 +0,0 @@
{
"env": {
"es2021": true,
"node": true
},
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended", "prettier"],
"parserOptions": {
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"root": true
},
"ignorePatterns": ["./tsconfig.json", "**/*.json5"],
"rules": {}
}

View file

@ -1,7 +1,4 @@
# Source: https://docs.obsidian.md/Plugins/Releasing/Release+your+plugin+with+GitHub+Actions
# to trigger it use:
# git tag -a 1.0.1 -m "1.0.1"
# git push origin 1.0.1
name: Release Obsidian plugin
on:
push:
@ -39,7 +36,4 @@ jobs:
zip -r "${PLUGIN_NAME}".zip "$PLUGIN_NAME"
tag="${GITHUB_REF#refs/tags/}"
gh release create "$tag" \
--title="$tag" \
--draft \
${PLUGIN_NAME}.zip
gh release create "$tag" --generate-notes ${PLUGIN_NAME}.zip

View file

@ -5,7 +5,7 @@ All files, links and search results tagged with #private will get a blurred out
**This plugin requires the obsidian plugin [Supercharged Links](https://github.com/mdelobelle/obsidian_supercharged_links) to work**
![showcase.png](showcase.png)
![docs/showcase.png](docs/showcase.png)
# Features
* Supported on Obsidian Mobile
@ -22,5 +22,14 @@ The plugin is not available on the community page, as its mostly for me personal
* to compile the scss you can use sass `npm install -g sass` and `sass styles.scss styles.css`
5. Enable the plugin in your Obsidian in the Settings panel "Community Plugins"
# Releasing
There is an automatic GitHub release workflow in place that gets triggered on a push of a tag.
To push a tag:
```bash
git tag 1.0.1
git push origin 1.0.1
```
# Credits
Huge thanks to [Privacy Glasses](https://github.com/jillalberts/privacy-glasses/tree/master) for the groundwork and being licensed under MIT. Use that plugin if you want a more in depth configuration. I personally didn't need or want that much customization and overhead in my plugin. Also i found the "flickering" of all files to be distracting, so i created a simpler version for myself.
Huge thanks to [Privacy Glasses](https://github.com/jillalberts/privacy-glasses/tree/master) for the groundwork and being licensed under MIT. Use that plugin if you want a more in depth configuration. I personally didn't need or want that much customization and overhead in my plugin. Also i found the "flickering" when opening any file to be too distracting, so i created a simpler version for myself.

View file

Before

Width:  |  Height:  |  Size: 81 KiB

After

Width:  |  Height:  |  Size: 81 KiB

View file

@ -1,5 +1,5 @@
{
"id": "private-mode",
"id": "obsidian-private-mode",
"name": "Private Mode",
"version": "1.0.0",
"minAppVersion": "1.6.0",

View file

@ -1,3 +1,3 @@
{
"1.0.0": "0.15.0"
"1.0.0": "1.6.0"
}