forked from vercel/next.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to leverage pnpm for monorepo (vercel#37259)
* Update to leverage pnpm for monorepo * update compiled * update stats action * update ci install step * update ci * add test dep * update invoking scripts * update caching * skip cache for now * update dep * update packages and fix babel * update compiled * update lint * update test * update ci * update pnpm store caching * update path for windows * update restore-key config * update caching * remove extra build azure stage * re-add checkout * update setting pnpm store * bump * remove azure caching as pnpm is faster to download * update contributing * apply suggestions * remove install-peers * prepublish -> prepublishOnly * prepublish -> prepublishOnly more * more yarn -> pnpm references * more yarn -> pnpm references take 2 * use workspace protocol for root package.json Co-authored-by: Steven <[email protected]>
- Loading branch information
Showing
139 changed files
with
137,198 additions
and
136,887 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ LABEL repository="https://github.com/vercel/next-stats-action" | |
COPY . /next-stats | ||
|
||
# Install node_modules | ||
RUN cd /next-stats && yarn install --production | ||
RUN npm i -g [email protected] | ||
RUN cd /next-stats && pnpm install --production | ||
|
||
RUN git config --global user.email 'stats@localhost' | ||
RUN git config --global user.name 'next stats' | ||
|
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,6 +4,12 @@ on: | |
|
||
name: Generate Pull Request Stats | ||
|
||
env: | ||
NAPI_CLI_VERSION: 2.7.0 | ||
TURBO_VERSION: 1.2.9 | ||
RUST_TOOLCHAIN: nightly-2022-02-23 | ||
PNPM_VERSION: 7.1.6 | ||
|
||
jobs: | ||
build-native-dev: | ||
name: Build dev binary for tests | ||
|
@@ -78,7 +84,7 @@ jobs: | |
# since the repo's dependencies aren't installed we need | ||
# to install napi globally | ||
- run: npm i -g @napi-rs/[email protected] | ||
- run: npm i -g turbo@1.2.9 | ||
- run: npm i -g turbo@${TURBO_VERSION} pnpm@${PNPM_VERSION} | ||
|
||
- name: Build | ||
if: ${{ steps.docs-change.outputs.DOCS_CHANGE != 'docs only change' }} | ||
|
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 |
---|---|---|
@@ -1,2 +1,4 @@ | ||
save-exact = true | ||
tag-version-prefix="" | ||
strict-peer-dependencies = false | ||
auto-install-peers = true |
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 |
---|---|---|
|
@@ -21,3 +21,4 @@ test-timings.json | |
test/**/out/** | ||
bench/nested-deps/pages/**/* | ||
bench/nested-deps/components/**/* | ||
pnpm-lock.yaml |
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
Oops, something went wrong.