@harperdb/nextjs
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -108,3 +108,3 @@ import fs from 'node:fs'; | ||
// Couple options to check if its a Next.js project | ||
// 1. Check for Next.js config file (next.config.{js|ts}) | ||
// 1. Check for Next.js config file (next.config.{js|mjs|ts}) | ||
// - This file is not required for a Next.js project | ||
@@ -123,2 +123,3 @@ // 2. Check package.json for Next.js dependency | ||
fs.existsSync(path.join(componentPath, 'next.config.js')) || | ||
fs.existsSync(path.join(componentPath, 'next.config.mjs')) || | ||
fs.existsSync(path.join(componentPath, 'next.config.ts')); | ||
@@ -125,0 +126,0 @@ |
{ | ||
"name": "@harperdb/nextjs", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "description": "A HarperDB Component for running Next.js apps.", |
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
15858
278