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
8613297c
Unverified
Commit
8613297c
authored
Jan 16, 2023
by
JJ Kasper
Committed by
GitHub
Jan 16, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix prepublish compiled handling (#44914)
parent
869aab39
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
package.json
package.json
+1
-1
check-pre-compiled.sh
scripts/check-pre-compiled.sh
+1
-1
No files found.
package.json
View file @
8613297c
...
@@ -46,7 +46,7 @@
...
@@ -46,7 +46,7 @@
"clean-trace-jaeger"
:
"rm -rf test/integration/basic/.next && TRACE_TARGET=JAEGER pnpm next build test/integration/basic"
,
"clean-trace-jaeger"
:
"rm -rf test/integration/basic/.next && TRACE_TARGET=JAEGER pnpm next build test/integration/basic"
,
"debug"
:
"cross-env NEXT_TELEMETRY_DISABLED=1 node --inspect packages/next/dist/bin/next"
,
"debug"
:
"cross-env NEXT_TELEMETRY_DISABLED=1 node --inspect packages/next/dist/bin/next"
,
"postinstall"
:
"git config feature.manyFiles true && node scripts/install-native.mjs"
,
"postinstall"
:
"git config feature.manyFiles true && node scripts/install-native.mjs"
,
"version"
:
"npx pnpm@7.24.3 install && ./scripts/check-pre-compiled.sh && git add ."
,
"version"
:
"npx pnpm@7.24.3 install &&
IS_PUBLISH=yes
./scripts/check-pre-compiled.sh && git add ."
,
"prepare"
:
"husky install"
"prepare"
:
"husky install"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
...
...
scripts/check-pre-compiled.sh
View file @
8613297c
...
@@ -16,7 +16,7 @@ cd ../../
...
@@ -16,7 +16,7 @@ cd ../../
# Make sure to exit with 1 if there are changes after running ncc-compiled
# Make sure to exit with 1 if there are changes after running ncc-compiled
# step to ensure we get any changes committed
# step to ensure we get any changes committed
if
[[
!
-z
$(
git status
-s
)
]]
;
then
if
[[
!
-z
$(
git status
-s
)
]]
&&
[[
-z
$IS_PUBLISH
]]
;
then
echo
"Detected changes"
echo
"Detected changes"
git diff
-a
--stat
git diff
-a
--stat
exit
1
exit
1
...
...
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