@blitzjs/config
Advanced tools
Comparing version 0.36.5-danger.e7acb2375.16 to 0.37.0
@@ -38,5 +38,9 @@ 'use strict'; | ||
function getProjectRoot() { | ||
// TODO consolidate with nextjs/packages/next/server/lib/utils.ts | ||
// IF THIS IS UPDATED, so does the one inside nextjs | ||
return path__default['default'].dirname(getConfigSrcPath()); | ||
} | ||
function getConfigSrcPath() { | ||
// TODO consolidate with nextjs/packages/next/server/lib/utils.ts | ||
// IF THIS IS UPDATED, so does the one inside nextjs | ||
var tsPath = path__default['default'].resolve(path__default['default'].join(process.cwd(), "blitz.config.ts")); | ||
@@ -43,0 +47,0 @@ |
@@ -38,5 +38,9 @@ 'use strict'; | ||
function getProjectRoot() { | ||
// TODO consolidate with nextjs/packages/next/server/lib/utils.ts | ||
// IF THIS IS UPDATED, so does the one inside nextjs | ||
return path__default['default'].dirname(getConfigSrcPath()); | ||
} | ||
function getConfigSrcPath() { | ||
// TODO consolidate with nextjs/packages/next/server/lib/utils.ts | ||
// IF THIS IS UPDATED, so does the one inside nextjs | ||
var tsPath = path__default['default'].resolve(path__default['default'].join(process.cwd(), "blitz.config.ts")); | ||
@@ -43,0 +47,0 @@ |
@@ -28,5 +28,9 @@ import { build } from 'esbuild'; | ||
function getProjectRoot() { | ||
// TODO consolidate with nextjs/packages/next/server/lib/utils.ts | ||
// IF THIS IS UPDATED, so does the one inside nextjs | ||
return path.dirname(getConfigSrcPath()); | ||
} | ||
function getConfigSrcPath() { | ||
// TODO consolidate with nextjs/packages/next/server/lib/utils.ts | ||
// IF THIS IS UPDATED, so does the one inside nextjs | ||
var tsPath = path.resolve(path.join(process.cwd(), "blitz.config.ts")); | ||
@@ -33,0 +37,0 @@ |
{ | ||
"name": "@blitzjs/config", | ||
"version": "0.36.5-danger.e7acb2375.16+e7acb2375", | ||
"version": "0.37.0", | ||
"description": "Loads the blitz app config", | ||
@@ -10,2 +10,3 @@ "license": "MIT", | ||
}, | ||
"browser": "index-browser.js", | ||
"main": "dist/blitzjs-config.cjs.js", | ||
@@ -15,3 +16,4 @@ "module": "dist/blitzjs-config.esm.js", | ||
"files": [ | ||
"dist" | ||
"dist", | ||
"index-browser.js" | ||
], | ||
@@ -28,3 +30,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "e7acb2375bd85f5c951312761d25135ba8dde1eb", | ||
"gitHead": "7d5f437c7b7867450430aac85ddf6f05ceebcfb3", | ||
"dependencies": { | ||
@@ -31,0 +33,0 @@ "esbuild": "^0.11.12", |
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
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
23033
10
528
6