@iannisz/node-cms
Advanced tools
Comparing version 0.0.4 to 0.0.5
@@ -5,3 +5,3 @@ import * as fs from 'fs' | ||
type PageCompiler = (pageContent: any, pages: any) => { html: string, path: string } | ||
type PageCompiler = (pageContent: Object, pages: any) => { html: string, path: string } | ||
@@ -20,3 +20,3 @@ export const compile = (pagesTable: Table, pageTypesTable: Table, compilePage: any, root: string) => { | ||
const pageCompiler = compilePage[pageType.name] as PageCompiler | ||
const page = pageCompiler(pages[i].page, pages) | ||
const page = pageCompiler(pages[i].page, pagesTable) | ||
@@ -23,0 +23,0 @@ // Create directory, if needed |
{ | ||
"name": "@iannisz/node-cms", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4265