nibula 3.0.0 → 3.0.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/CHANGELOG.md CHANGED
@@ -5,6 +5,15 @@ All notable changes to Nibula are documented here.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [3.0.1] - 2026-09-21
9
+
10
+ ### Fixed
11
+ - Creating a page with the CLI didn't add its record to `pages.json`. The template the record is built from, `tools/res/templates/template.json`, was lost when the 3.0.0 changes were merged, so the assistant created the three files and silently skipped the record.
12
+ - Commands run outside a project printed `undefined` instead of saying so. The message was imported from a module that no longer exported it.
13
+
14
+ ### Notes
15
+ - Pages created with 3.0.0 have no record in `pages.json`. Their SEO falls back to the site-wide values from `site.json`; add a record for each one by hand, or remove and recreate the page with the CLI.
16
+
8
17
  ## [3.0.0] - 2026-09-14
9
18
 
10
19
  ### Added
package/bin/nibula.js CHANGED
@@ -5,7 +5,7 @@ const path = require('path');
5
5
  const https = require('https');
6
6
  const readline = require('readline');
7
7
  const { spawnSync } = require('child_process');
8
- const { findProjectRoot, NOT_INSIDE_PROJECT_MESSAGE } = require('../tools/lib/paths');
8
+ const { findProjectRoot } = require('../tools/lib/paths');
9
9
  const { color } = require('../tools/lib/colors');
10
10
  const { message } = require('../tools/lib/logger');
11
11
  const { delegateToLocal } = require('./delegate');
@@ -33,7 +33,7 @@ function run(script, args) {
33
33
  function requireProjectRoot() {
34
34
  const root = findProjectRoot(process.cwd());
35
35
  if (!root) {
36
- console.error(NOT_INSIDE_PROJECT_MESSAGE);
36
+ console.error(`\n${color.red}${message('project.notInside')}${color.reset}\n`);
37
37
  process.exit(1);
38
38
  }
39
39
  return root;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nibula",
3
- "version": "3.0.0",
3
+ "version": "3.0.1",
4
4
  "description": "A beginner-friendly static site generator built on Eleventy that stays close to vanilla HTML, CSS and JS — with a page-management CLI, an optional PHP backend, and SEO files generated for you.",
5
5
  "keywords": [
6
6
  "11ty",
@@ -0,0 +1,13 @@
1
+ {
2
+ "seo": {
3
+ "title": "{title}",
4
+ "description": "Description",
5
+ "keywords": "",
6
+ "noindex": false,
7
+ "canonical": ""
8
+ },
9
+ "cdn": {
10
+ "css": [],
11
+ "js": []
12
+ }
13
+ }