mikser-io 6.0.2 → 6.0.4

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/README.md CHANGED
@@ -4,21 +4,21 @@
4
4
 
5
5
  # Mikser Documentation
6
6
 
7
- Mikser is a precision content engine for Node.js — built around a strict lifecycle, a composable plugin system, and zero compromise on output control. Every document, asset, and template flows through the same deterministic pipeline: import → process → render → finalize. Plugins hook in at any phase; nothing runs outside the cycle. The result is a system that scales from a single markdown blog to a multi-language, multi-format publishing platform — without ever losing sight of what it produced and why.
7
+ Mikser is a precision content engine for Node.js — built around a strict lifecycle, a composable plugin system, and zero compromise on output control. Every document, asset, and template flows through the same deterministic pipeline. Plugins hook in at any phase; nothing runs outside the cycle. The result is a system that scales from a single markdown blog to a multi-language, multi-format publishing platform — without ever losing sight of what it produced and why.
8
8
 
9
9
  ## Documentation Index
10
10
 
11
- | Document | Audience | Description |
12
- |----------|----------|-------------|
13
- | [Getting Started](./documentation/getting-started.md) | Users | Installation, first project, basic usage |
14
- | [Configuration](./documentation/configuration.md) | Users | All CLI options and config file reference |
15
- | [Lifecycle](./documentation/lifecycle.md) | Users & Developers | Complete lifecycle phases and hook system |
16
- | [Plugins](./documentation/plugins.md) | Users & Developers | Built-in plugins, writing custom plugins |
17
- | [Entities](./documentation/entities.md) | Users & Developers | Entity model, operations, journal, catalog |
18
- | [Rendering](./documentation/rendering.md) | Users & Developers | Render pipeline, render plugins, render modes |
19
- | [Watch Mode](./documentation/watch-mode.md) | Users | File watching, scheduled tasks, incremental builds |
20
- | [Architecture](./documentation/architecture.md) | Developers | System design, module structure, extension points |
21
- | [API Reference](./documentation/api-reference.md) | Developers | Complete public API reference |
11
+ | Document | Audience | Description |
12
+ | ----------------------------------------------------- | ------------------ | -------------------------------------------------- |
13
+ | [Getting Started](./documentation/getting-started.md) | Users | Installation, first project, basic usage |
14
+ | [Configuration](./documentation/configuration.md) | Users | All CLI options and config file reference |
15
+ | [Lifecycle](./documentation/lifecycle.md) | Users & Developers | Complete lifecycle phases and hook system |
16
+ | [Plugins](./documentation/plugins.md) | Users & Developers | Built-in plugins, writing custom plugins |
17
+ | [Entities](./documentation/entities.md) | Users & Developers | Entity model, operations, journal, catalog |
18
+ | [Rendering](./documentation/rendering.md) | Users & Developers | Render pipeline, render plugins, render modes |
19
+ | [Watch Mode](./documentation/watch-mode.md) | Users | File watching, scheduled tasks, incremental builds |
20
+ | [Architecture](./documentation/architecture.md) | Developers | System design, module structure, extension points |
21
+ | [API Reference](./documentation/api-reference.md) | Developers | Complete public API reference |
22
22
 
23
23
  ## Quick Start
24
24
 
@@ -29,10 +29,10 @@ npm install mikser-io
29
29
  ```js
30
30
  // mikser.config.js
31
31
  export default {
32
- plugins: ['documents', 'layouts'],
33
- layouts: {
34
- cleanUrls: true
35
- }
32
+ plugins: ['documents', 'layouts'],
33
+ layouts: {
34
+ cleanUrls: true,
35
+ },
36
36
  }
37
37
  ```
38
38
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mikser-io",
3
- "version": "6.0.2",
3
+ "version": "6.0.4",
4
4
  "description": "<p align=\"center\"> <img src=\"mikser-lockup-stacked.svg\" alt=\"mikser\" width=\"198\" /> </p>",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -47,8 +47,8 @@
47
47
  "yaml": "^2.8.4"
48
48
  },
49
49
  "optionalDependencies": {
50
- "puppeteer": "^24.43.0",
51
- "express": "^5.2.1"
50
+ "express": "^5.2.1",
51
+ "puppeteer": "^24.43.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "fluent-ffmpeg": "^2.1.3",
package/src/engine.js CHANGED
@@ -308,7 +308,7 @@ export async function setup(options) {
308
308
  logger.notice('Mikser restarted')
309
309
  })
310
310
 
311
- console.info('mikser\x1b[5;38;2;255;63;0m.\x1b[0m %s\n', packageInfo.version)
311
+ console.info('\x1b[1mmikser\x1b[22;5;38;2;255;63;0m.\x1b[0m %s\n', packageInfo.version)
312
312
  return runtime
313
313
  }
314
314
 
package/src/manager.js CHANGED
@@ -17,8 +17,8 @@ export async function createdHook(name, context) {
17
17
  })
18
18
 
19
19
  if (synced) {
20
- clearTimeout(runtime.runtime.processTimeout)
21
- runtime.runtime.processTimeout = setTimeout(() => runtime.process(), 1000)
20
+ clearTimeout(runtime.engine.processTimeout)
21
+ runtime.engine.processTimeout = setTimeout(() => runtime.process(), 1000)
22
22
  }
23
23
  }
24
24
 
@@ -32,8 +32,8 @@ export async function updatedHook(name, context) {
32
32
  })
33
33
 
34
34
  if (synced) {
35
- clearTimeout(runtime.runtime.processTimeout)
36
- runtime.runtime.processTimeout = setTimeout(() => runtime.process(), 1000)
35
+ clearTimeout(runtime.engine.processTimeout)
36
+ runtime.engine.processTimeout = setTimeout(() => runtime.process(), 1000)
37
37
  }
38
38
  }
39
39
 
@@ -47,8 +47,8 @@ export async function triggeredHook(name, context) {
47
47
  })
48
48
 
49
49
  if (synced) {
50
- clearTimeout(runtime.runtime.processTimeout)
51
- runtime.runtime.processTimeout = setTimeout(() => runtime.process(), 1000)
50
+ clearTimeout(runtime.engine.processTimeout)
51
+ runtime.engine.processTimeout = setTimeout(() => runtime.process(), 1000)
52
52
  }
53
53
  }
54
54
 
@@ -62,8 +62,8 @@ export async function deletedHook(name, context) {
62
62
  })
63
63
 
64
64
  if (synced) {
65
- clearTimeout(runtime.runtime.processTimeout)
66
- runtime.runtime.processTimeout = setTimeout(() => runtime.process(), 1000)
65
+ clearTimeout(runtime.engine.processTimeout)
66
+ runtime.engine.processTimeout = setTimeout(() => runtime.process(), 1000)
67
67
  }
68
68
  }
69
69
 
@@ -72,7 +72,7 @@ export function watch(name, folder, options = { interval: 1000, binaryInterval:
72
72
 
73
73
  chokidar.watch(folder, options)
74
74
  .on('all', () => {
75
- clearTimeout(runtime.runtime.processTimeout)
75
+ clearTimeout(runtime.engine.processTimeout)
76
76
  })
77
77
  .on('add', async fullPath => {
78
78
  const relativePath = fullPath.replace(`${folder}/`, '')