Update version to 0.1.1

This commit is contained in:
Jiaxin Peng
2023-08-29 14:21:12 +01:00
parent 024b7f726e
commit a7b44b7583
3 changed files with 48 additions and 45 deletions

View File

@@ -8,9 +8,9 @@ THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin
*/
`;
const prod = (process.argv[2] === 'production');
(async () => { // Enclose everything in an async function for using await
const ctx = await esbuild.context({
banner: {
js: banner,
@@ -41,16 +41,19 @@ const ctx = await esbuild.context({
'@codemirror/text',
'@codemirror/tooltip',
'@codemirror/view',
...builtins],
...builtins
],
format: 'cjs',
target: 'es2016',
logLevel: "info",
sourcemap: prod ? false : 'inline',
treeShaking: true,
outfile: 'main.js',
})
});
if (!prod) {
await ctx.watch();
// await ctx.dispose();
} else {
await ctx.dispose();
}
})().catch(() => process.exit(1)); // Use .catch here to handle any errors

View File

@@ -1,7 +1,7 @@
{
"id": "share-to-notionnext",
"name": "Share to NotionNext",
"version": "0.1.0",
"version": "0.1.1",
"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",

View File

@@ -1,6 +1,6 @@
{
"name": "share-to-notionnext",
"version": "0.1.0",
"version": "0.1.1",
"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",