@netlify/build-info 6.1.1 → 6.1.3

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/lib/context.d.ts CHANGED
@@ -1,9 +1,9 @@
1
1
  import { PackageJson } from 'read-pkg';
2
- export declare type ContextOptions = {
2
+ export type ContextOptions = {
3
3
  projectDir?: string;
4
4
  rootDir?: string;
5
5
  };
6
- export declare type Context = {
6
+ export type Context = {
7
7
  projectDir: string;
8
8
  rootDir?: string;
9
9
  rootPackageJson: PackageJson;
@@ -1,4 +1,4 @@
1
- export declare type BuildSystem = {
1
+ export type BuildSystem = {
2
2
  name: string;
3
3
  version?: string | undefined;
4
4
  };
@@ -3,7 +3,7 @@ export declare const enum PkgManager {
3
3
  PNPM = "pnpm",
4
4
  NPM = "npm"
5
5
  }
6
- export declare type PkgManagerFields = {
6
+ export type PkgManagerFields = {
7
7
  /** The package managers name that is used for logging */
8
8
  name: PkgManager;
9
9
  /** The package managers install command */
@@ -2,7 +2,7 @@ import { ContextOptions } from './context.js';
2
2
  import { BuildSystem } from './detect-build-system.js';
3
3
  import { PkgManagerFields } from './detect-package-manager.js';
4
4
  import { WorkspaceInfo } from './workspaces.js';
5
- export declare type Info = {
5
+ export type Info = {
6
6
  jsWorkspaces?: WorkspaceInfo;
7
7
  packageManager?: PkgManagerFields;
8
8
  frameworks: unknown[];
@@ -1,7 +1,7 @@
1
1
  import { PackageJson } from 'read-pkg';
2
2
  import type { Context } from './context.js';
3
3
  import { PkgManagerFields } from './detect-package-manager.js';
4
- export declare type WorkspaceInfo = {
4
+ export type WorkspaceInfo = {
5
5
  /** if we are in the current workspace root or not */
6
6
  isRoot: boolean;
7
7
  /** the workspace root directory */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build-info",
3
- "version": "6.1.1",
3
+ "version": "6.1.3",
4
4
  "description": "Build info utility",
5
5
  "type": "module",
6
6
  "exports": {
@@ -30,7 +30,7 @@
30
30
  },
31
31
  "author": "Netlify Inc.",
32
32
  "dependencies": {
33
- "@netlify/framework-info": "^9.5.3",
33
+ "@netlify/framework-info": "^9.7.0",
34
34
  "@npmcli/map-workspaces": "^2.0.0",
35
35
  "find-up": "^6.3.0",
36
36
  "read-pkg": "^7.1.0",
@@ -52,5 +52,5 @@
52
52
  "engines": {
53
53
  "node": "^14.16.0 || >=16.0.0"
54
54
  },
55
- "gitHead": "d73939073c53d2c725f7bf7f89d2b68d3d372e32"
55
+ "gitHead": "fb15bd56d47418bc03b2e94fc87de89d3e18a7a9"
56
56
  }