@mui/internal-docs-infra 0.2.3-canary.10 → 0.2.3-canary.11

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.
@@ -1,4 +1,5 @@
1
1
  import _extends from "@babel/runtime/helpers/esm/extends";
2
+ import * as os from 'node:os';
2
3
  /**
3
4
  * See the docs of the Netlify environment variables:
4
5
  * https://docs.netlify.com/configure-builds/environment-variables/#build-metadata.
@@ -57,7 +58,7 @@ export function withDeploymentConfig(nextConfig) {
57
58
  scrollRestoration: true,
58
59
  workerThreads: false
59
60
  }, process.env.CI ? {
60
- cpus: 2
61
+ cpus: process.env.NEXT_PARALLELISM ? parseInt(process.env.NEXT_PARALLELISM, 10) : os.availableParallelism()
61
62
  } : {}), nextConfig.experimental),
62
63
  eslint: _extends({
63
64
  ignoreDuringBuilds: true
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mui/internal-docs-infra",
3
- "version": "0.2.3-canary.10",
3
+ "version": "0.2.3-canary.11",
4
4
  "author": "MUI Team",
5
5
  "description": "MUI Infra - internal documentation creation tools.",
6
6
  "keywords": [
@@ -229,5 +229,5 @@
229
229
  },
230
230
  "./esm": null
231
231
  },
232
- "gitSha": "0b104084ce1db11d486ce994342b00321073cd64"
232
+ "gitSha": "fd9d593490ae2b177feb323402b9ba8f86bcf6d1"
233
233
  }