@knowcode/doc-builder 1.1.8 → 1.1.9

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.
Files changed (3) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/cli.js +1 -0
  3. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -5,6 +5,12 @@ All notable changes to @knowcode/doc-builder will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [1.1.9] - 2025-07-19
9
+
10
+ ### Fixed
11
+ - Fixed "outputPath is not defined" error in deploy command
12
+ - Corrected variable scope issue introduced in 1.1.8
13
+
8
14
  ## [1.1.8] - 2025-07-19
9
15
 
10
16
  ### Changed
package/cli.js CHANGED
@@ -277,6 +277,7 @@ ${chalk.yellow('Troubleshooting:')}
277
277
  await prepareDeployment(config);
278
278
 
279
279
  // Check if this is the first deployment
280
+ const outputPath = path.join(process.cwd(), config.outputDir || 'html');
280
281
  const vercelProjectPath = path.join(outputPath, '.vercel', 'project.json');
281
282
  if (!fs.existsSync(vercelProjectPath)) {
282
283
  spinner.stop();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knowcode/doc-builder",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "Reusable documentation builder for markdown-based sites with Vercel deployment support",
5
5
  "main": "index.js",
6
6
  "bin": {