generated from frostime/plugin-sample-vite-solidjs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c3dfbe7
Showing
33 changed files
with
3,048 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
name: Create Release on Tag Push | ||
|
||
on: | ||
push: | ||
tags: | ||
- "v*" | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Checkout | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
|
||
# Install Node.js | ||
- name: Install Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 20 | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
# Install pnpm | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
id: pnpm-install | ||
with: | ||
version: 8 | ||
run_install: false | ||
|
||
# Get pnpm store directory | ||
- name: Get pnpm store directory | ||
id: pnpm-cache | ||
shell: bash | ||
run: | | ||
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT | ||
# Setup pnpm cache | ||
- name: Setup pnpm cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ${{ steps.pnpm-cache.outputs.STORE_PATH }} | ||
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||
restore-keys: | | ||
${{ runner.os }}-pnpm-store- | ||
# Install dependencies | ||
- name: Install dependencies | ||
run: pnpm install | ||
|
||
# Build for production, 这一步会生成一个 package.zip | ||
- name: Build for production | ||
run: pnpm build | ||
|
||
- name: Release | ||
uses: ncipollo/release-action@v1 | ||
with: | ||
allowUpdates: true | ||
artifactErrorsFailBuild: true | ||
artifacts: "package.zip" | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
prerelease: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
.idea | ||
.vscode | ||
.DS_Store | ||
pnpm-lock.yaml | ||
package-lock.json | ||
package.zip | ||
node_modules | ||
dev | ||
dist | ||
build | ||
tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,112 @@ | ||
# Changelog | ||
|
||
## v0.3.5 2024-04-30 | ||
|
||
* [Add `direction` to plugin method `Setting.addItem`](https://github.com/siyuan-note/siyuan/issues/11183) | ||
|
||
|
||
## 0.3.4 2024-02-20 | ||
|
||
* [Add plugin event bus `click-flashcard-action`](https://github.com/siyuan-note/siyuan/issues/10318) | ||
|
||
## 0.3.3 2024-01-24 | ||
|
||
* Update dock icon class | ||
|
||
## 0.3.2 2024-01-09 | ||
|
||
* [Add plugin `protyleOptions`](https://github.com/siyuan-note/siyuan/issues/10090) | ||
* [Add plugin api `uninstall`](https://github.com/siyuan-note/siyuan/issues/10063) | ||
* [Add plugin method `updateCards`](https://github.com/siyuan-note/siyuan/issues/10065) | ||
* [Add plugin function `lockScreen`](https://github.com/siyuan-note/siyuan/issues/10063) | ||
* [Add plugin event bus `lock-screen`](https://github.com/siyuan-note/siyuan/pull/9967) | ||
* [Add plugin event bus `open-menu-inbox`](https://github.com/siyuan-note/siyuan/pull/9967) | ||
|
||
|
||
## 0.3.1 2023-12-06 | ||
|
||
* [Support `Dock Plugin` and `Command Palette` on mobile](https://github.com/siyuan-note/siyuan/issues/9926) | ||
|
||
## 0.3.0 2023-12-05 | ||
|
||
* Upgrade Siyuan to 0.9.0 | ||
* Support more platforms | ||
|
||
## 0.2.9 2023-11-28 | ||
|
||
* [Add plugin method `openMobileFileById`](https://github.com/siyuan-note/siyuan/issues/9738) | ||
|
||
|
||
## 0.2.8 2023-11-15 | ||
|
||
* [`resize` cannot be triggered after dragging to unpin the dock](https://github.com/siyuan-note/siyuan/issues/9640) | ||
|
||
## 0.2.7 2023-10-31 | ||
|
||
* [Export `Constants` to plugin](https://github.com/siyuan-note/siyuan/issues/9555) | ||
* [Add plugin `app.appId`](https://github.com/siyuan-note/siyuan/issues/9538) | ||
* [Add plugin event bus `switch-protyle`](https://github.com/siyuan-note/siyuan/issues/9454) | ||
|
||
## 0.2.6 2023-10-24 | ||
|
||
* [Deprecated `loaded-protyle` use `loaded-protyle-static` instead](https://github.com/siyuan-note/siyuan/issues/9468) | ||
|
||
## 0.2.5 2023-10-10 | ||
|
||
* [Add plugin event bus `open-menu-doctree`](https://github.com/siyuan-note/siyuan/issues/9351) | ||
|
||
## 0.2.4 2023-09-19 | ||
|
||
* Supports use in windows | ||
* [Add plugin function `transaction`](https://github.com/siyuan-note/siyuan/issues/9172) | ||
|
||
## 0.2.3 2023-09-05 | ||
|
||
* [Add plugin function `transaction`](https://github.com/siyuan-note/siyuan/issues/9172) | ||
* [Plugin API add openWindow and command.globalCallback](https://github.com/siyuan-note/siyuan/issues/9032) | ||
|
||
## 0.2.2 2023-08-29 | ||
|
||
* [Add plugin event bus `destroy-protyle`](https://github.com/siyuan-note/siyuan/issues/9033) | ||
* [Add plugin event bus `loaded-protyle-dynamic`](https://github.com/siyuan-note/siyuan/issues/9021) | ||
|
||
## 0.2.1 2023-08-21 | ||
|
||
* [Plugin API add getOpenedTab method](https://github.com/siyuan-note/siyuan/issues/9002) | ||
* [Plugin API custom.fn => custom.id in openTab](https://github.com/siyuan-note/siyuan/issues/8944) | ||
|
||
## 0.2.0 2023-08-15 | ||
|
||
* [Add plugin event bus `open-siyuan-url-plugin` and `open-siyuan-url-block`](https://github.com/siyuan-note/siyuan/pull/8927) | ||
|
||
|
||
## 0.1.12 2023-08-01 | ||
|
||
* Upgrade siyuan to 0.7.9 | ||
|
||
## 0.1.11 | ||
|
||
* [Add `input-search` event bus to plugins](https://github.com/siyuan-note/siyuan/issues/8725) | ||
|
||
|
||
## 0.1.10 | ||
|
||
* [Add `bind this` example for eventBus in plugins](https://github.com/siyuan-note/siyuan/issues/8668) | ||
* [Add `open-menu-breadcrumbmore` event bus to plugins](https://github.com/siyuan-note/siyuan/issues/8666) | ||
|
||
## 0.1.9 | ||
|
||
* [Add `open-menu-xxx` event bus for plugins ](https://github.com/siyuan-note/siyuan/issues/8617) | ||
|
||
## 0.1.8 | ||
|
||
* [Add protyleSlash to the plugin](https://github.com/siyuan-note/siyuan/issues/8599) | ||
* [Add plugin API protyle](https://github.com/siyuan-note/siyuan/issues/8445) | ||
|
||
## 0.1.7 | ||
|
||
* [Support build js and json](https://github.com/siyuan-note/plugin-sample/pull/8) | ||
|
||
## 0.1.6 | ||
|
||
* add `fetchPost` example |
Oops, something went wrong.