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
1affe477
Unverified
Commit
1affe477
authored
Nov 07, 2024
by
Sebastian "Sebbie" Silbermann
Committed by
GitHub
Nov 07, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip canary checks during internal development (#72464)
parent
e65e7363
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
package.json
package.json
+2
-2
config.ts
packages/next/src/server/config.ts
+2
-1
No files found.
package.json
View file @
1affe477
...
...
@@ -51,10 +51,10 @@
"prepublishOnly"
:
"turbo run build"
,
"lint-staged"
:
"lint-staged"
,
"next-with-deps"
:
"./scripts/next-with-deps.sh"
,
"next"
:
"cross-env NEXT_TELEMETRY_DISABLED=1 NODE_OPTIONS=
\"
--trace-deprecation --enable-source-maps
\"
next"
,
"next"
:
"cross-env NEXT_
PRIVATE_SKIP_CANARY_CHECK=1 NEXT_
TELEMETRY_DISABLED=1 NODE_OPTIONS=
\"
--trace-deprecation --enable-source-maps
\"
next"
,
"next-no-sourcemaps"
:
"echo 'No longer supported. Use `pnpm next --disable-source-maps` instead'; exit 1;"
,
"clean-trace-jaeger"
:
"node scripts/rm.mjs test/integration/basic/.next && TRACE_TARGET=JAEGER pnpm next build test/integration/basic"
,
"debug"
:
"cross-env NEXT_TELEMETRY_DISABLED=1 node --inspect --trace-deprecation --enable-source-maps packages/next/dist/bin/next"
,
"debug"
:
"cross-env NEXT_
PRIVATE_SKIP_CANARY_CHECK=1 NEXT_
TELEMETRY_DISABLED=1 node --inspect --trace-deprecation --enable-source-maps packages/next/dist/bin/next"
,
"postinstall"
:
"node scripts/git-configure.mjs && node scripts/install-native.mjs"
,
"version"
:
"pnpm install --no-frozen-lockfile && IS_PUBLISH=yes ./scripts/check-pre-compiled.sh && git add ."
,
"prepare"
:
"husky"
,
...
...
packages/next/src/server/config.ts
View file @
1affe477
...
...
@@ -241,7 +241,8 @@ function assignDefaults(
if
(
!
process
.
env
.
__NEXT_VERSION
?.
includes
(
'canary'
)
&&
!
process
.
env
.
__NEXT_TEST_MODE
!
process
.
env
.
__NEXT_TEST_MODE
&&
!
process
.
env
.
NEXT_PRIVATE_SKIP_CANARY_CHECK
)
{
// Prevents usage of certain experimental features outside of canary
if
(
result
.
experimental
?.
ppr
)
{
...
...
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