chore(release): automatic release v2.3.0
This commit is contained in:
2 files changed
+2
-1
No files matched your search
@@ -265,6 +265,7 @@ async function setupUrlRestrictionAsync(dbUrls: string[]) {
|
|||||||
enableRtl: false,
|
enableRtl: false,
|
||||||
hideDescription: false,
|
hideDescription: false,
|
||||||
textLinesClamp: 3,
|
textLinesClamp: 3,
|
||||||
|
descriptionMaxLength: 250,
|
||||||
maximumAmountPosts: 5,
|
maximumAmountPosts: 5,
|
||||||
showPosterImage: true,
|
showPosterImage: true,
|
||||||
} satisfies WidgetComponentProps<"rssFeed">["options"]),
|
} satisfies WidgetComponentProps<"rssFeed">["options"]),
|
||||||
|
|||||||
@@ -9,6 +9,6 @@ export async function prepare(_pluginConfig, { cwd, env, nextRelease, logger })
|
|||||||
const manifest = JSON.parse(await readFile(packagePath, "utf8"));
|
const manifest = JSON.parse(await readFile(packagePath, "utf8"));
|
||||||
manifest.version = nextRelease.version;
|
manifest.version = nextRelease.version;
|
||||||
await writeFile(packagePath, `${JSON.stringify(manifest, null, 2)}\n`);
|
await writeFile(packagePath, `${JSON.stringify(manifest, null, 2)}\n`);
|
||||||
await promisify(execFile)(process.execPath, ["install", "--lockfile-only", "--ignore-scripts"], { cwd, env });
|
await promisify(execFile)("bun", ["install", "--lockfile-only", "--ignore-scripts"], { cwd, env });
|
||||||
logger.log("Updated package.json and bun.lock to %s", nextRelease.version);
|
logger.log("Updated package.json and bun.lock to %s", nextRelease.version);
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user