nibula 1.5.1 → 1.5.2

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,14 @@ 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
+ ## [1.5.2] - 2026-08-05
9
+
10
+ ### Fixed
11
+ - `nib new` no longer creates an empty `src/frontend/routes` folder. 1.5.1
12
+ removed it from `CREATE_DIRS` but left it in `MANDATORY_COPY`, so it still
13
+ arrived from the template. It is now created on demand when the first page is
14
+ added, and removed again when the last one is deleted.
15
+
8
16
  ## [1.5.1] - 2026-08-05
9
17
 
10
18
  ### Fixed
package/bin/create.js CHANGED
@@ -74,9 +74,7 @@ const FRONTEND_EXCLUDE = {
74
74
  [LANGUAGE.TYPESCRIPT]: ['js'],
75
75
  };
76
76
 
77
- const CREATE_DIRS = [
78
- 'src/frontend/routes',
79
- ];
77
+ const CREATE_DIRS = [];
80
78
 
81
79
  // Backend files that belong to exactly one backend, matched by basename.
82
80
  // Everything else (migrations, .htaccess, web.config, README, ...) is shared.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nibula",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
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
  "static-site-generator",