mirror of
https://github.com/markusmo3/obsidian-private-mode.git
synced 2026-07-22 05:42:42 +00:00
cleanup for 1.0.0
This commit is contained in:
parent
86c370fed7
commit
2db5e4bf0b
6 changed files with 14 additions and 25 deletions
|
|
@ -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": {}
|
||||
}
|
||||
8
.github/workflows/release.yml
vendored
8
.github/workflows/release.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
13
README.md
13
README.md
|
|
@ -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**
|
||||
|
||||

|
||||

|
||||
|
||||
# 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.
|
||||
|
|
|
|||
|
Before Width: | Height: | Size: 81 KiB After Width: | Height: | Size: 81 KiB |
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
"id": "private-mode",
|
||||
"id": "obsidian-private-mode",
|
||||
"name": "Private Mode",
|
||||
"version": "1.0.0",
|
||||
"minAppVersion": "1.6.0",
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
{
|
||||
"1.0.0": "0.15.0"
|
||||
"1.0.0": "1.6.0"
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue