gatsby-core-utils
Advanced tools
Comparing version 4.0.0-next.0 to 4.0.0-next.1
{ | ||
"name": "gatsby-core-utils", | ||
"version": "4.0.0-next.0", | ||
"version": "4.0.0-next.1", | ||
"description": "A collection of gatsby utils used in different gatsby packages", | ||
@@ -84,3 +84,3 @@ "keywords": [ | ||
"@types/ci-info": "2.0.0", | ||
"babel-preset-gatsby-package": "^3.0.0-next.0", | ||
"babel-preset-gatsby-package": "^3.0.0-next.1", | ||
"cross-env": "^7.0.3", | ||
@@ -96,3 +96,3 @@ "del-cli": "^5.0.0", | ||
}, | ||
"gitHead": "d64ed3d77ca7eacb40349cc26644b738ff351333" | ||
"gitHead": "f4959a437161c7b1b797bbe1c68f8c748d8d3f35" | ||
} |
@@ -33,7 +33,7 @@ # `gatsby-core-utils` | ||
| value | description | | ||
| ------------- | ------------------------------------------------------ | | ||
| | Counts amount of real cores by running a shell command | | ||
| logical-cores | `require("os").cpus()` to count all virtual cores | | ||
| any number | Sets cpu count to that specific number | | ||
| value | description | | ||
| --------------- | ------------------------------------------------------ | | ||
| | Counts amount of real cores by running a shell command | | ||
| `logical_cores` | `require("os").cpus()` to count all virtual cores | | ||
| any number | Sets cpu count to that specific number | | ||
@@ -49,3 +49,3 @@ ```js | ||
const { cpuCoreCount } = require("gatsby-core-utils") | ||
process.env.GATSBY_CPU_COUNT = "logical-cores" | ||
process.env.GATSBY_CPU_COUNT = "logical_cores" | ||
@@ -52,0 +52,0 @@ const coreCount = cpuCoreCount() |
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
157925