Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
N
next.js
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Alex
next.js
Commits
6ae0c43e
Commit
6ae0c43e
authored
Apr 22, 2026
by
Janka Uryga
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: don't show turborepo UI in pack-for-isolated-tests
parent
2b846de4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
6 deletions
+30
-6
create-next-install.js
test/lib/create-next-install.js
+30
-6
No files found.
test/lib/create-next-install.js
View file @
6ae0c43e
...
@@ -81,12 +81,36 @@ async function createNextInstall({
...
@@ -81,12 +81,36 @@ async function createNextInstall({
pkgPaths
=
new
Map
(
JSON
.
parse
(
pkgPathsEnv
))
pkgPaths
=
new
Map
(
JSON
.
parse
(
pkgPathsEnv
))
require
(
'console'
).
log
(
'using provided pkg paths'
)
require
(
'console'
).
log
(
'using provided pkg paths'
)
}
else
{
}
else
{
await
rootSpan
.
traceChild
(
'turbo-run-pack'
).
traceAsyncFn
(()
=>
await
rootSpan
.
traceChild
(
'turbo-run-pack'
).
traceAsyncFn
(
async
()
=>
{
execa
(
'pnpm'
,
[
'turbo'
,
'run'
,
'pack-for-isolated-tests'
],
{
const
result
=
await
execa
(
cwd
:
origRepoDir
,
'pnpm'
,
stdio
:
[
'ignore'
,
'inherit'
,
'inherit'
],
[
})
'turbo'
,
)
'run'
,
'pack-for-isolated-tests'
,
// minimize output
'--output-logs=errors-only'
,
'--summarize=false'
,
// disable interactive UI when running in a terminal
'--ui=stream'
,
],
{
cwd
:
origRepoDir
,
stdio
:
[
'ignore'
,
'pipe'
,
'pipe'
],
env
:
{
NO_UPDATE_NOTIFIER
:
'1'
,
// Disable banner informing about new turborepo version
},
reject
:
false
,
}
)
// Only log output if the command errored, otherwise it's just noise
if
(
result
.
failed
)
{
require
(
'console'
).
error
(
result
.
all
)
throw
new
Error
(
'Errors occurred when running turbo-run-pack, see output above'
)
}
})
if
(
process
.
env
.
NEXT_TEST_WASM
)
{
if
(
process
.
env
.
NEXT_TEST_WASM
)
{
const
wasmPath
=
path
.
join
(
origRepoDir
,
'crates'
,
'wasm'
,
'pkg'
)
const
wasmPath
=
path
.
join
(
origRepoDir
,
'crates'
,
'wasm'
,
'pkg'
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment