-
Notifications
You must be signed in to change notification settings - Fork 27k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'canary' of https://github.com/vercel/next.js into ducan…
…hgh-fix-hostnames
- Loading branch information
Showing
644 changed files
with
25,710 additions
and
16,117 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,24 +4,25 @@ LABEL com.github.actions.name="Next.js PR Stats" | |
LABEL com.github.actions.description="Compares stats of a PR with the main branch" | ||
LABEL repository="https://github.com/vercel/next-stats-action" | ||
|
||
COPY . /next-stats | ||
|
||
RUN apt update && apt upgrade -y | ||
RUN apt install unzip wget curl nano htop screen build-essential pkg-config libssl-dev git build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libreadline-dev libffi-dev python3 moreutils jq iproute2 openssh-server sudo whois dnsutils -y | ||
RUN apt install unzip wget curl nano htop screen build-essential pkg-config libssl-dev git build-essential zlib1g-dev libncurses5-dev libgdbm-dev libnss3-dev libreadline-dev libffi-dev python3 moreutils jq iproute2 openssh-server sudo whois dnsutils apache2-utils -y | ||
|
||
RUN ln $(which python3) /usr/bin/python | ||
|
||
RUN curl -sfLS https://install-node.vercel.app/v18.16.1 | bash -s -- -f | ||
RUN corepack enable | ||
|
||
WORKDIR /next-stats | ||
|
||
# Install node_modules | ||
RUN npm i -g [email protected] [email protected] | ||
RUN cd /next-stats && pnpm install --production | ||
COPY package.json ./ | ||
RUN pnpm install --production | ||
|
||
RUN git config --global user.email 'stats@localhost' | ||
RUN git config --global user.name 'next stats' | ||
# caching optimization | ||
COPY . . | ||
|
||
RUN apt update | ||
RUN apt install apache2-utils -y | ||
RUN git config --global user.email 'stats@localhost' && \ | ||
git config --global user.name 'next stats' | ||
|
||
COPY entrypoint.sh /entrypoint.sh | ||
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,5 +17,10 @@ | |
}, | ||
"devDependencies": { | ||
"typescript": "5.1.6" | ||
} | ||
}, | ||
"engines": { | ||
"node": ">=16.8.0", | ||
"pnpm": "8.6.11" | ||
}, | ||
"packageManager": "[email protected]" | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.