nibula 1.1.2 → 1.2.0
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 +1 -9
- package/CHANGELOG.md +31 -0
- package/README.md +6 -2
- package/bin/create.js +2 -3
- package/bin/nibula.js +4 -4
- package/docs/Assistant CLI.md +1 -1
- package/docs/Components.md +3 -14
- package/docs/Creating pages.md +5 -5
- package/docs/Head and SEO.md +36 -14
- package/docs/Javascript.md +1 -3
- package/docs/Styling with SCSS.md +9 -3
- package/nginx.conf +75 -75
- package/package.json +3 -3
- package/src/backend/_core/index.js +267 -267
- package/src/backend/_core/init.js +52 -52
- package/src/backend/_core/modules/RateLimiter.js +58 -58
- package/src/backend/_core/modules/Response.js +59 -59
- package/src/backend/api/protected/example-protected.js +23 -23
- package/src/backend/api/public/example-public.js +24 -24
- package/src/backend/backend-node.service.example +30 -30
- package/src/backend/database/Database.js +46 -46
- package/src/backend/example.config.js +37 -37
- package/src/backend/package.json +18 -18
- package/src/frontend/.htaccess +51 -51
- package/src/frontend/assets/brand/apple-touch-icon.png +0 -0
- package/src/frontend/assets/brand/favicon-32.png +0 -0
- package/src/frontend/assets/brand/favicon-48.png +0 -0
- package/src/frontend/assets/brand/favicon.svg +54 -54
- package/src/frontend/assets/brand/logo.svg +54 -54
- package/src/frontend/components/global/header.njk +1 -1
- package/src/frontend/components/welcome.njk +0 -1
- package/src/frontend/data/site.json +48 -54
- package/src/frontend/layouts/base.njk +6 -15
- package/src/frontend/scss/modules/_global.scss +4 -0
- package/src/frontend/web.config +55 -55
- package/{_tools → tools}/modules/constants.js +2 -2
- /package/{_tools → tools}/assistant.js +0 -0
- /package/{_tools → tools}/buildJs.js +0 -0
- /package/{_tools → tools}/cleanOutput.js +0 -0
- /package/{_tools → tools}/modules/pageComponents.js +0 -0
- /package/{_tools → tools}/modules/updateData.js +0 -0
- /package/{_tools → tools}/modules/updateOutputPath.js +0 -0
- /package/{_tools → tools}/modules/updatePage.js +0 -0
- /package/{_tools → tools}/modules/utils.js +0 -0
- /package/{_tools → tools}/modules/validation.js +0 -0
- /package/{_tools → tools}/res/templates/template.js +0 -0
- /package/{_tools → tools}/res/templates/template.njk +0 -0
- /package/{_tools → tools}/res/templates/template.scss +0 -0
- /package/{_tools → tools}/res/templates/template.ts +0 -0
|
@@ -2,7 +2,7 @@ const fs = require('fs');
|
|
|
2
2
|
const path = require('path');
|
|
3
3
|
|
|
4
4
|
const PACKAGE_ROOT = path.resolve(__dirname, '..', '..');
|
|
5
|
-
const TEMPLATES_DIR = path.join(PACKAGE_ROOT, '
|
|
5
|
+
const TEMPLATES_DIR = path.join(PACKAGE_ROOT, 'tools', 'res', 'templates');
|
|
6
6
|
|
|
7
7
|
const PROJECT_MARKER = '.eleventy.js';
|
|
8
8
|
|
|
@@ -51,7 +51,7 @@ function frontendDir() {
|
|
|
51
51
|
|
|
52
52
|
const PATHS = Object.freeze({
|
|
53
53
|
get root() { return projectRoot(); },
|
|
54
|
-
get routes() { return path.join(frontendDir(), '
|
|
54
|
+
get routes() { return path.join(frontendDir(), 'routes'); },
|
|
55
55
|
get scssPages() { return path.join(frontendDir(), 'scss', 'pages'); },
|
|
56
56
|
get jsPages() { return path.join(frontendDir(), 'js', 'pages'); },
|
|
57
57
|
get tsPages() { return path.join(frontendDir(), 'ts', 'pages'); },
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|