share-pages 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +4 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -379,9 +379,12 @@ async function confirm(message, yes, interactive) {
|
|
|
379
379
|
}
|
|
380
380
|
}
|
|
381
381
|
//#endregion
|
|
382
|
+
//#region package.json
|
|
383
|
+
var version = "0.1.1";
|
|
384
|
+
//#endregion
|
|
382
385
|
//#region src/shared.ts
|
|
383
386
|
function createCommand() {
|
|
384
|
-
return new Command().name("share-pages").description("个人静态内容发布工具").version(
|
|
387
|
+
return new Command().name("share-pages").description("个人静态内容发布工具").version(version).option("--json", "stdout 仅输出 JSON").option("--quiet", "隐藏进度").option("--no-interactive", "禁止交互输入").option("--profile <name>", "实例 profile").option("--server <url>", "覆盖实例地址").exitOverride();
|
|
385
388
|
}
|
|
386
389
|
function options(command) {
|
|
387
390
|
const chain = [];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "share-pages",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Command-line client for publishing and managing Share Pages content",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"share-pages",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
],
|
|
22
22
|
"scripts": {
|
|
23
23
|
"build": "pnpm --filter @share-pages/viewers build && tsdown && node scripts/copy-viewer-resources.mjs",
|
|
24
|
-
"prepublishOnly": "pnpm build && pnpm typecheck",
|
|
24
|
+
"prepublishOnly": "node scripts/check-publish-manifest.mjs && pnpm build && pnpm typecheck",
|
|
25
25
|
"typecheck": "tsc --noEmit"
|
|
26
26
|
},
|
|
27
27
|
"publishConfig": {
|
|
28
28
|
"access": "public"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"commander": "
|
|
32
|
-
"jsdom": "
|
|
31
|
+
"commander": "14.0.3",
|
|
32
|
+
"jsdom": "26.1.0"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@share-pages/content": "workspace:*",
|