chore: Update libraries ahead of release.

This commit is contained in:
Stephen Granade 2025-10-11 19:01:30 -05:00
parent cefad6aab6
commit 202dead90a
5 changed files with 369 additions and 246 deletions

35
.github/workflow/release.yml vendored Normal file
View file

@ -0,0 +1,35 @@
name: Release Obsidian plugin
on:
push:
tags:
- "*"
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v5
- name: Use Node.js
uses: actions/setup-node@v5
with:
node-version: "22.x"
- name: Build plugin
run: |
npm install
npm run build
- name: Create release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
tag="${GITHUB_REF#refs/tags/}"
gh release create "$tag" \
--title="$tag" \
--draft \
main.js manifest.json

View file

@ -14,6 +14,14 @@ Features:
Each of your stories must be in its own folder. The story's title is the name of the folder. You can write your stories either in a single note or in a collection of notes. Multiple notes will be treated as individual scenes and combined with a scene break (`#`) between each one. To add scene breaks to an individual note, use the Markdown format for horizontal lines (`---`).
One way to keep your notes in order is to number each scene note:
```
01 - At the Surface
02 - Into the Tunnel
03 - The First Encounter
```
> [!WARNING]
> Manuscriptum tries to sort the notes in the same order as they show up in your file explorer, but it will fail if you use a plugin that lets you manually change that sort order like [Custom File Explorer sorting](https://github.com/SebastianMC/obsidian-custom-sort).

View file

@ -2,7 +2,7 @@
"id": "manuscriptum",
"name": "Manuscriptum",
"version": "x.x.x",
"minAppVersion": "1.5.7",
"minAppVersion": "1.5.8",
"description": "Obsidian plugin to create .docx files that contain story and novel manuscripts for submission to magazines or agents.",
"author": "Stephen Granade",
"authorUrl": "https://github.com/sgranade",

562
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,6 +1,6 @@
{
"name": "manuscriptum",
"version": "0.1.0",
"version": "1.0.0",
"description": "Obsidian plugin to create .docx files that contain story and novel manuscripts for submission to magazines or agents.",
"license": "MIT",
"author": {
@ -10,7 +10,7 @@
},
"main": "out/main.js",
"scripts": {
"compile": "npm-run-all check-types esbuild",
"build": "npm-run-all check-types esbuild",
"check-types": "tsc -b --noEmit",
"esbuild": "node esbuild.config.mjs",
"watch": "node esbuild.config.mjs --watch",
@ -29,7 +29,7 @@
"@types/mocha": "^10.0.10",
"@types/node": "^24.3.0",
"chai": "^6.0.1",
"esbuild": "0.25.9",
"esbuild": "^0.25.10",
"eslint": "^9.34.0",
"mocha": "^11.7.1",
"npm-run-all": "^4.1.5",
@ -37,7 +37,7 @@
"prettier": "^3.6.2",
"ts-mockito": "^2.6.1",
"tsx": "^4.20.5",
"type-fest": "^4.41.0",
"type-fest": "^5.0.1",
"typescript": "^5.9.2",
"typescript-eslint": "^8.40.0"
},