create-berna-stencil 1.0.14 → 1.0.15

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/.eleventy.js CHANGED
@@ -4,7 +4,7 @@ const Image = require("@11ty/eleventy-img");
4
4
  const fs = require("fs");
5
5
  const path = require("path");
6
6
 
7
- const OUTPUT_DIR = "c:/laragon/www/Berna-Stencil-out";
7
+ const OUTPUT_DIR = "out";
8
8
 
9
9
  module.exports = function (eleventyConfig) {
10
10
 
package/bin/create.js CHANGED
@@ -18,7 +18,7 @@ const COPY_TARGETS = [
18
18
 
19
19
  const PROJECT_PACKAGE = {
20
20
  name: path.basename(targetDir),
21
- version: '1.0.14',
21
+ version: '1.0.15',
22
22
  private: true,
23
23
  scripts: {
24
24
  'build:css': 'sass src/scss:out/css --no-source-map --style=compressed --quiet',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-berna-stencil",
3
- "version": "1.0.14",
3
+ "version": "1.0.15",
4
4
  "description": "Eleventy boilerplate with per-page SCSS/JS pipeline, esbuild bundling, multi-framework CSS support and a built-in page management CLI",
5
5
  "keywords": [
6
6
  "eleventy",
@@ -58,12 +58,12 @@
58
58
  "sass": "^1.77.0"
59
59
  },
60
60
  "scripts": {
61
- "build:css": "sass src/scss:c:/laragon/www/Berna-Stencil-out/css --no-source-map --style=compressed --quiet",
62
- "build:js": "esbuild \"src/js/pages/*.js\" --bundle --outdir=c:/laragon/www/Berna-Stencil-out/js/pages --minify",
61
+ "build:css": "sass src/scss:out/css --no-source-map --style=compressed --quiet",
62
+ "build:js": "esbuild \"src/js/pages/*.js\" --bundle --outdir=out/js/pages --minify",
63
63
  "build:11ty": "eleventy",
64
64
  "build": "npm run build:css && npm run build:js && npm run build:11ty",
65
- "serve:css": "sass --watch src/scss:c:/laragon/www/Berna-Stencil-out/css --no-source-map --quiet",
66
- "serve:js": "esbuild \"src/js/pages/*.js\" --bundle --outdir=c:/laragon/www/Berna-Stencil-out/js/pages --watch",
65
+ "serve:css": "sass --watch src/scss:out/css --no-source-map --quiet",
66
+ "serve:js": "esbuild \"src/js/pages/*.js\" --bundle --outdir=out/js/pages --watch",
67
67
  "serve:11ty": "eleventy --serve --quiet",
68
68
  "clean": "node _tools/cleanOutput.js",
69
69
  "serve": "npm run clean && concurrently \"npm run serve:11ty\" \"npm run serve:css\" \"npm run serve:js\"",
@@ -10,7 +10,7 @@ if ($method !== 'GET') {
10
10
 
11
11
  Response::success([
12
12
  'message' => 'Protected endpoint is working',
13
- 'endpoint' => 'secret',
13
+ 'endpoint' => 'prova-chiusa',
14
14
  'visibility' => 'protected',
15
15
  'params' => $requestParams,
16
16
  ]);
@@ -10,7 +10,7 @@ if ($method !== 'GET') {
10
10
 
11
11
  Response::success([
12
12
  'message' => 'Public endpoint is working',
13
- 'endpoint' => 'ping',
13
+ 'endpoint' => 'prova-aperta',
14
14
  'visibility' => 'public',
15
15
  'params' => $requestParams,
16
16
  ]);