@zpress/cli 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 +3 -3
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -254,7 +254,7 @@ function buildAssetConfig(config) {
|
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
256
|
const generateCommand = command({
|
|
257
|
-
description: 'Generate banner and
|
|
257
|
+
description: 'Generate banner, logo, and icon SVG assets from project title',
|
|
258
258
|
handler: async (ctx)=>{
|
|
259
259
|
ctx.logger.intro('zpress generate');
|
|
260
260
|
const paths = createPaths(process.cwd());
|
|
@@ -338,7 +338,7 @@ function deriveTitle(cwd) {
|
|
|
338
338
|
}
|
|
339
339
|
function buildConfigTemplate(title) {
|
|
340
340
|
const escaped = title.replaceAll("'", String.raw`\'`);
|
|
341
|
-
return `import { defineConfig } from 'zpress'
|
|
341
|
+
return `import { defineConfig } from '@zpress/kit'
|
|
342
342
|
|
|
343
343
|
export default defineConfig({
|
|
344
344
|
title: '${escaped}',
|
|
@@ -408,7 +408,7 @@ const syncCommand = command({
|
|
|
408
408
|
});
|
|
409
409
|
await cli({
|
|
410
410
|
name: 'zpress',
|
|
411
|
-
version: "0.1.
|
|
411
|
+
version: "0.1.1",
|
|
412
412
|
description: 'CLI for building and serving documentation',
|
|
413
413
|
commands: {
|
|
414
414
|
sync: syncCommand,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zpress/cli",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"es-toolkit": "^1.45.1",
|
|
31
31
|
"ts-pattern": "^5.9.0",
|
|
32
32
|
"zod": "^4.3.6",
|
|
33
|
-
"@zpress/
|
|
34
|
-
"@zpress/
|
|
33
|
+
"@zpress/ui": "0.2.0",
|
|
34
|
+
"@zpress/core": "0.2.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
37
|
"@rslib/core": "^0.20.0",
|