nuxt-site-config-kit 3.1.0 → 3.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -22,7 +22,7 @@ async function initSiteConfig(nuxt = kit.tryUseNuxt()) {
22
22
  env: process.env.NODE_ENV
23
23
  });
24
24
  if (rootDir) {
25
- const pkgJson = await pkgTypes.readPackageJSON(void 0, { startingFrom: rootDir });
25
+ const pkgJson = await pkgTypes.readPackageJSON(rootDir);
26
26
  if (pkgJson) {
27
27
  siteConfig.push({
28
28
  _context: "package.json",
package/dist/index.mjs CHANGED
@@ -20,7 +20,7 @@ async function initSiteConfig(nuxt = tryUseNuxt()) {
20
20
  env: process.env.NODE_ENV
21
21
  });
22
22
  if (rootDir) {
23
- const pkgJson = await readPackageJSON(void 0, { startingFrom: rootDir });
23
+ const pkgJson = await readPackageJSON(rootDir);
24
24
  if (pkgJson) {
25
25
  siteConfig.push({
26
26
  _context: "package.json",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "nuxt-site-config-kit",
3
3
  "type": "module",
4
- "version": "3.1.0",
4
+ "version": "3.1.2",
5
5
  "description": "Shared site configuration build-time utilities for Nuxt 3 modules.",
6
6
  "license": "MIT",
7
7
  "funding": "https://github.com/sponsors/harlan-zw",
@@ -39,10 +39,10 @@
39
39
  ],
40
40
  "dependencies": {
41
41
  "@nuxt/kit": "^3.15.4",
42
- "pkg-types": "^1.3.1",
42
+ "pkg-types": "^2.0.1",
43
43
  "std-env": "^3.8.0",
44
44
  "ufo": "^1.5.4",
45
- "site-config-stack": "3.1.0"
45
+ "site-config-stack": "3.1.2"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@nuxt/schema": "^3.15.4"