eleventy-plugin-cloudcannon
Advanced tools
Comparing version 0.0.22-0 to 1.0.0
const { mkdirSync, writeFileSync } = require('fs'); | ||
const { dirname, join } = require('path'); | ||
const { bold, green, blue } = require('chalk'); | ||
const { bold, green, blue, red } = require('chalk'); | ||
const { getInfo } = require('./src/generators/info.js'); | ||
const { readConfig } = require('./src/config.js'); | ||
const { log } = require('./src/util/logger.js'); | ||
const { log, logError } = require('./src/util/logger.js'); | ||
const { normalisePath } = require('./src/util/paths.js'); | ||
@@ -24,2 +24,6 @@ const { stringifyJson } = require('./src/util/json.js'); | ||
if (ccOptions.templateFormats && !ccOptions.templateFormats.includes?.('liquid')) { | ||
logError(red('⚠️ Failed: templateFormats needs to include liquid')); | ||
} | ||
const options = { | ||
@@ -26,0 +30,0 @@ pathPrefix: normalisePath(ccOptions.pathPrefix || '/'), |
{ | ||
"name": "eleventy-plugin-cloudcannon", | ||
"version": "0.0.22-0", | ||
"version": "1.0.0", | ||
"description": "Eleventy plugin to create CloudCannon editor details", | ||
@@ -5,0 +5,0 @@ "main": ".eleventy.js", |
@@ -121,3 +121,3 @@ # Eleventy Plugin CloudCannon | ||
// Whether this collection produces output files or not | ||
output: true | ||
output: true, | ||
@@ -124,0 +124,0 @@ // Collection-level configuration |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
25039
475
0
0