Skip to content

Commit

Permalink
🐛 Fix ProgressBar not working after Obsidian version 1.6.0 (#184)
Browse files Browse the repository at this point in the history
  • Loading branch information
mokeyish authored Jun 11, 2024
1 parent 0826ea7 commit 9bb2427
Show file tree
Hide file tree
Showing 10 changed files with 3,061 additions and 2,084 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ jobs:
bump:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal access token.
fetch-depth: 0 # otherwise, there would be errors pushing refs to the destination repository.
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
- name: Create local changes
run: |
npm run version ${{ github.event.inputs.version }}
Expand All @@ -42,17 +42,20 @@ jobs:
runs-on: ubuntu-latest
needs: [ "bump"]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.inputs.version }}
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 18
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Build
id: build
run: |
npm install
pnpm install
npm run build
mkdir ${{ env.PLUGIN_NAME }}
cp dist/* ${{ env.PLUGIN_NAME }}
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,19 +13,22 @@ jobs:

strategy:
matrix:
node-version: [16.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: pnpm/action-setup@v4
with:
version: 9
- name: Install Pandoc
run: |
wget https://github.com/jgm/pandoc/releases/download/3.1.11.1/pandoc-3.1.11.1-1-amd64.deb
sudo dpkg -i pandoc-3.1.11.1-1-amd64.deb
- name: Install Dependencies
run: npm install
run: pnpm install
- name: Test
run: npm test
File renamed without changes.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"id": "obsidian-enhancing-export",
"name": "Enhancing Export",
"version": "1.10.5",
"minAppVersion": "0.12.0",
"minAppVersion": "1.6.3",
"description": "This is a enhancing export plugin for Obsidian. It allows to export to formats like Html, DOCX, ePub and PDF or Markdown(Hugo) etc.",
"author": "YISH",
"authorUrl": "https://github.com/mokeyish",
Expand Down
9 changes: 5 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"author": "YISH",
"license": "MIT",
"repository": "https://github.com/mokeyish/obsidian-enhancing-export",
"type": "module",
"devDependencies": {
"@types/jest": "^29.5.1",
"@types/node": "^16.18.34",
Expand All @@ -33,13 +34,13 @@
"ts-jest": "^29.1.0",
"tslib": "2.3.1",
"typescript": "5.0.4",
"vite": "^4.3.9",
"vite-plugin-solid": "^2.7.0",
"vite-plugin-static-copy": "^0.15.0"
"vite": "^5.2.13",
"vite-plugin-solid": "^2.10.2",
"vite-plugin-static-copy": "^1.0.5"
},
"dependencies": {
"semver": "^7.5.1",
"solid-js": "^1.7.5",
"solid-js": "^1.8.17",
"yargs-parser": "^21.1.1"
}
}
Loading

0 comments on commit 9bb2427

Please sign in to comment.