mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-31 01:48:35 +08:00
Compare commits
6 Commits
ec3d3e85a2
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a2200b68af | ||
|
|
95b22619b4 | ||
|
|
b08c46c233 | ||
|
|
8dfb82b4ce | ||
|
|
8502650033 | ||
|
|
30e34e3f8c |
2
.github/workflows/prerelease.yml
vendored
2
.github/workflows/prerelease.yml
vendored
@@ -23,7 +23,7 @@ jobs:
|
|||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "18"
|
node-version: "22"
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
id: build
|
id: build
|
||||||
|
|||||||
18
.github/workflows/release.yml
vendored
18
.github/workflows/release.yml
vendored
@@ -5,14 +5,14 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
tags:
|
tags:
|
||||||
# Only trigger for release tags (e.g., v1.0.0, v2.3.4)
|
# Only trigger for release tags (e.g., 1.0.0, 2.3.4)
|
||||||
# Excludes prerelease tags (e.g., v2.8.0-beta.3, v1.0.0-rc.1)
|
# Excludes prerelease tags (e.g., 2.8.0-beta.3, 1.0.0-rc.1)
|
||||||
- "v[0-9]+.[0-9]+.[0-9]"
|
- "[0-9]+.[0-9]+.[0-9]"
|
||||||
- "v[0-9]+.[0-9]+.[0-9][0-9]"
|
- "[0-9]+.[0-9]+.[0-9][0-9]"
|
||||||
- "v[0-9]+.[0-9]+.[0-9][0-9][0-9]"
|
- "[0-9]+.[0-9]+.[0-9][0-9][0-9]"
|
||||||
- "v[0-9]+.[0-9][0-9].[0-9]"
|
- "[0-9]+.[0-9][0-9].[0-9]"
|
||||||
- "v[0-9]+.[0-9][0-9].[0-9][0-9]"
|
- "[0-9]+.[0-9][0-9].[0-9][0-9]"
|
||||||
- "v[0-9]+.[0-9][0-9].[0-9][0-9][0-9]"
|
- "[0-9]+.[0-9][0-9].[0-9][0-9][0-9]"
|
||||||
|
|
||||||
env:
|
env:
|
||||||
PLUGIN_NAME: share-to-notionnext # Change this to match the id of your plugin.
|
PLUGIN_NAME: share-to-notionnext # Change this to match the id of your plugin.
|
||||||
@@ -27,7 +27,7 @@ jobs:
|
|||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "18"
|
node-version: "22"
|
||||||
|
|
||||||
# - name: Generate changelog
|
# - name: Generate changelog
|
||||||
# id: changelog
|
# id: changelog
|
||||||
|
|||||||
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -18,7 +18,7 @@ jobs:
|
|||||||
- name: Use Node.js
|
- name: Use Node.js
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: "18"
|
node-version: "22"
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
id: build
|
id: build
|
||||||
|
|||||||
3
.npmrc
3
.npmrc
@@ -1 +1,2 @@
|
|||||||
tag-version-prefix="v"
|
tag-version-prefix=""
|
||||||
|
message="chore: bump version to %s"
|
||||||
|
|||||||
@@ -7,14 +7,13 @@
|
|||||||
### Changed
|
### Changed
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
## 2.8.4 (2026-03-04)
|
||||||
## v2.8.2 (2026-03-04)
|
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
- Fixed version bump with `tag-version-prefix="v"` in `.npmrc` causing `v` to be included in the version number (e.g. `v2.8.2` instead of `2.8.2`)
|
- Fixed version bump with `tag-version-prefix="v"` in `.npmrc` causing incorrect version format in `package.json` (e.g. `v2.8.1` instead of `2.8.1`)
|
||||||
|
|
||||||
## v2.8.1 (2026-03-04)
|
## 2.8.1 (2026-03-04)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
@@ -28,7 +27,7 @@
|
|||||||
|
|
||||||
- Auto-sync no longer shows "All blocks has been uploaded" (`BlockUploaded`) notice when success notices are disabled
|
- Auto-sync no longer shows "All blocks has been uploaded" (`BlockUploaded`) notice when success notices are disabled
|
||||||
|
|
||||||
## v2.8.0 (2026-01-29)
|
## 2.8.0 (2026-01-29)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"id": "share-to-notionnext",
|
"id": "share-to-notionnext",
|
||||||
"name": "Share to NotionNext",
|
"name": "Share to NotionNext",
|
||||||
"version": "2.8.2",
|
"version": "2.8.4",
|
||||||
"minAppVersion": "0.0.1",
|
"minAppVersion": "0.0.1",
|
||||||
"description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.",
|
"description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, originally created by EasyChris/obsidian-to-notion.",
|
||||||
"author": "EasyChris, jxpeng98",
|
"author": "EasyChris, jxpeng98",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "share-to-notionnext",
|
"name": "share-to-notionnext",
|
||||||
"version": "2.8.2",
|
"version": "2.8.4",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"description": "Share files to any Notion database using the Notion API, originally created by EasyChris/obsidian-to-notion.",
|
"description": "Share files to any Notion database using the Notion API, originally created by EasyChris/obsidian-to-notion.",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
@@ -13,7 +13,7 @@
|
|||||||
"author": "Jiaxin PENG",
|
"author": "Jiaxin PENG",
|
||||||
"license": "GNU GPLv3",
|
"license": "GNU GPLv3",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@types/node": "^20.5.7",
|
"@types/node": "^22.11.3",
|
||||||
"@types/yaml-front-matter": "^4.1.3",
|
"@types/yaml-front-matter": "^4.1.3",
|
||||||
"@typescript-eslint/eslint-plugin": "^6.16.0",
|
"@typescript-eslint/eslint-plugin": "^6.16.0",
|
||||||
"@typescript-eslint/parser": "^6.16.0",
|
"@typescript-eslint/parser": "^6.16.0",
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ function bumpChangelog(version) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const today = new Date().toISOString().slice(0, 10);
|
const today = new Date().toISOString().slice(0, 10);
|
||||||
const releaseHeader = `## v${version} (${today})`;
|
const releaseHeader = `## ${version} (${today})`;
|
||||||
const updated = content.replace(unreleasedHeader, releaseHeader);
|
const updated = content.replace(unreleasedHeader, releaseHeader);
|
||||||
|
|
||||||
const marker = "# Changelog\n\n";
|
const marker = "# Changelog\n\n";
|
||||||
|
|||||||
@@ -3,5 +3,7 @@
|
|||||||
"1.0.1": "0.12.0",
|
"1.0.1": "0.12.0",
|
||||||
"2.8.0": "0.0.1",
|
"2.8.0": "0.0.1",
|
||||||
"2.8.1": "0.0.1",
|
"2.8.1": "0.0.1",
|
||||||
"2.8.2": "0.0.1"
|
"2.8.2": "0.0.1",
|
||||||
|
"2.8.3": "0.0.1",
|
||||||
|
"2.8.4": "0.0.1"
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user