mirror of
https://github.com/jxpeng98/obsidian-to-NotionNext
synced 2026-07-30 00:43:33 +08:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
49b8d470fb | ||
|
|
c39323c3fa |
2
.github/workflows/release.yml
vendored
2
.github/workflows/release.yml
vendored
@@ -25,7 +25,7 @@ jobs:
|
||||
npm install
|
||||
npm run build
|
||||
mkdir ${{ env.PLUGIN_NAME }}
|
||||
cp src/main.js manifest.json ${{ env.PLUGIN_NAME }}
|
||||
cp main.js manifest.json ${{ env.PLUGIN_NAME }}
|
||||
zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }}
|
||||
ls
|
||||
echo "::set-output name=tag_name::$(git tag --sort version:refname | tail -n 1)"
|
||||
|
||||
@@ -10,7 +10,6 @@ if you want to view the source, please visit the github repository of this plugi
|
||||
`;
|
||||
const prod = (process.argv[2] === 'production');
|
||||
|
||||
(async () => { // Enclose everything in an async function for using await
|
||||
const ctx = await esbuild.context({
|
||||
banner: {
|
||||
js: banner,
|
||||
@@ -54,6 +53,6 @@ const prod = (process.argv[2] === 'production');
|
||||
if (!prod) {
|
||||
await ctx.watch();
|
||||
} else {
|
||||
await ctx.dispose();
|
||||
await ctx.rebuild()
|
||||
ctx.dispose().then(r => console.log('Build completed'), e => console.error(e));
|
||||
}
|
||||
})().catch(() => process.exit(1)); // Use .catch here to handle any errors
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"id": "share-to-notionnext",
|
||||
"name": "Share to NotionNext",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.4",
|
||||
"minAppVersion": "0.0.1",
|
||||
"description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, motivated by EasyChris/obsidian-to-notion.",
|
||||
"author": "EasyChris, jxpeng98",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "share-to-notionnext",
|
||||
"version": "0.1.2",
|
||||
"version": "0.1.4",
|
||||
"type": "module",
|
||||
"description": "Shares obsidian md file to notion with notion api for NotionNext web deploy, motivated by EasyChris/obsidian-to-notion.",
|
||||
"main": "main.js",
|
||||
|
||||
Reference in New Issue
Block a user