@harperdb/nextjs
Advanced tools
Comparing version 0.0.13 to 0.0.14
@@ -180,3 +180,6 @@ import fs from 'node:fs'; | ||
cwd: componentPath, | ||
env: { ...process.env, PATH: `${process.env.PATH}:${componentPath}/node_modules/.bin` }, | ||
env: { | ||
...process.env, | ||
PATH: `${process.env.PATH}:${componentPath}/node_modules/.bin`, | ||
}, | ||
stdio: logger.log_level === 'debug' ? 'inherit' : 'ignore', | ||
@@ -223,2 +226,7 @@ }); | ||
if (options.useAsCWD !== false) { | ||
// Change the current working directory to the component path, a lot of Next.js components expect this | ||
// (although not Next.js itself) | ||
process.chdir(componentPath); | ||
} | ||
try { | ||
@@ -225,0 +233,0 @@ componentRequire.resolve('next'); |
{ | ||
"name": "@harperdb/nextjs", | ||
"version": "0.0.13", | ||
"version": "0.0.14", | ||
"type": "module", | ||
@@ -37,5 +37,3 @@ "description": "A HarperDB Component for running Next.js apps.", | ||
"format:check": "npm run format -- --check", | ||
"format:fix": "npm run format -- --write", | ||
"pretest": "node util/scripts/pretest.js", | ||
"test": "playwright test --workers 3" | ||
"format:fix": "npm run format -- --write" | ||
}, | ||
@@ -47,6 +45,5 @@ "dependencies": { | ||
"@harperdb/code-guidelines": "^0.0.2", | ||
"@playwright/test": "^1.49.0", | ||
"prettier": "^3.3.3" | ||
"prettier": "^3.4.2" | ||
}, | ||
"prettier": "@harperdb/code-guidelines/prettier" | ||
} |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
17198
2
308
1