Update to latest version of pnpm (#44791)
This commit is contained in:
parent
2a53cbcc65
commit
12bfabd179
8 changed files with 425 additions and 452 deletions
2
.github/actions/next-stats-action/Dockerfile
vendored
2
.github/actions/next-stats-action/Dockerfile
vendored
|
@ -7,7 +7,7 @@ LABEL repository="https://github.com/vercel/next-stats-action"
|
|||
COPY . /next-stats
|
||||
|
||||
# Install node_modules
|
||||
RUN npm i -g pnpm@7.3.0
|
||||
RUN npm i -g pnpm@7.24.3
|
||||
RUN cd /next-stats && pnpm install --production
|
||||
|
||||
RUN git config --global user.email 'stats@localhost'
|
||||
|
|
2
.github/workflows/build_test_deploy.yml
vendored
2
.github/workflows/build_test_deploy.yml
vendored
|
@ -10,7 +10,7 @@ env:
|
|||
NAPI_CLI_VERSION: 2.13.3
|
||||
TURBO_VERSION: 1.6.3
|
||||
RUST_TOOLCHAIN: nightly-2022-11-04
|
||||
PNPM_VERSION: 7.3.0
|
||||
PNPM_VERSION: 7.24.3
|
||||
|
||||
jobs:
|
||||
check-examples:
|
||||
|
|
2
.github/workflows/pull_request_stats.yml
vendored
2
.github/workflows/pull_request_stats.yml
vendored
|
@ -8,7 +8,7 @@ env:
|
|||
NAPI_CLI_VERSION: 2.13.3
|
||||
TURBO_VERSION: 1.6.3
|
||||
RUST_TOOLCHAIN: nightly-2022-11-04
|
||||
PNPM_VERSION: 7.3.0
|
||||
PNPM_VERSION: 7.24.3
|
||||
|
||||
jobs:
|
||||
build-native-dev:
|
||||
|
|
|
@ -33,7 +33,7 @@ pr:
|
|||
|
||||
variables:
|
||||
PNPM_CACHE_FOLDER: $(Pipeline.Workspace)/.pnpm-store
|
||||
PNPM_VERSION: 7.3.0
|
||||
PNPM_VERSION: 7.24.3
|
||||
NEXT_TELEMETRY_DISABLED: '1'
|
||||
node_14_version: ^14.19.0
|
||||
node_16_version: ^16.8.0
|
||||
|
@ -67,7 +67,7 @@ stages:
|
|||
condition: eq(variables['isDocsOnly'], 'No')
|
||||
displayName: 'Install and build'
|
||||
|
||||
- script: npx playwright install chromium
|
||||
- script: npx playwright@1.28.1 install chromium
|
||||
condition: eq(variables['isDocsOnly'], 'No')
|
||||
|
||||
- script: |
|
||||
|
@ -135,7 +135,7 @@ stages:
|
|||
# condition: eq(variables['isDocsOnly'], 'No')
|
||||
# displayName: 'Install and build'
|
||||
|
||||
# - script: npx playwright install chromium
|
||||
# - script: npx playwright@1.28.1 install chromium
|
||||
# condition: eq(variables['isDocsOnly'], 'No')
|
||||
|
||||
# - script: |
|
||||
|
@ -171,7 +171,7 @@ stages:
|
|||
# condition: eq(variables['isDocsOnly'], 'No')
|
||||
# displayName: 'Install and build'
|
||||
|
||||
# - script: npx playwright install chromium
|
||||
# - script: npx playwright@1.28.1 install chromium
|
||||
# condition: eq(variables['isDocsOnly'], 'No')
|
||||
|
||||
# - script: |
|
||||
|
|
|
@ -46,7 +46,7 @@
|
|||
"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",
|
||||
"postinstall": "git config feature.manyFiles true && node scripts/install-native.mjs",
|
||||
"version": "npx pnpm@7.3.0 install && git add pnpm-lock.yaml",
|
||||
"version": "npx pnpm@7.24.3 install && git add pnpm-lock.yaml",
|
||||
"prepare": "husky install"
|
||||
},
|
||||
"devDependencies": {
|
||||
|
@ -237,5 +237,5 @@
|
|||
"engines": {
|
||||
"node": ">=14.6.0"
|
||||
},
|
||||
"packageManager": "pnpm@7.3.0"
|
||||
"packageManager": "pnpm@7.24.3"
|
||||
}
|
||||
|
|
File diff suppressed because one or more lines are too long
1
packages/next/src/compiled/sass-loader/fibers.js
Normal file
1
packages/next/src/compiled/sass-loader/fibers.js
Normal file
|
@ -0,0 +1 @@
|
|||
(function(){var e={104:function(e,r,n){"use strict";var s=n(37).platform();var t=n(81).spawnSync;var i=n(147).readdirSync;var o="glibc";var a="musl";var c={encoding:"utf8",env:process.env};if(!t){t=function(){return{status:126,stdout:"",stderr:""}}}function contains(e){return function(r){return r.indexOf(e)!==-1}}function versionFromMuslLdd(e){return e.split(/[\r\n]+/)[1].trim().split(/\s/)[1]}function safeReaddirSync(e){try{return i(e)}catch(e){}return[]}var u="";var d="";var f="";if(s==="linux"){var l=t("getconf",["GNU_LIBC_VERSION"],c);if(l.status===0){u=o;d=l.stdout.trim().split(" ")[1];f="getconf"}else{var p=t("ldd",["--version"],c);if(p.status===0&&p.stdout.indexOf(a)!==-1){u=a;d=versionFromMuslLdd(p.stdout);f="ldd"}else if(p.status===1&&p.stderr.indexOf(a)!==-1){u=a;d=versionFromMuslLdd(p.stderr);f="ldd"}else{var y=safeReaddirSync("/lib");if(y.some(contains("-linux-gnu"))){u=o;f="filesystem"}else if(y.some(contains("libc.musl-"))){u=a;f="filesystem"}else if(y.some(contains("ld-musl-"))){u=a;f="filesystem"}else{var v=safeReaddirSync("/usr/sbin");if(v.some(contains("glibc"))){u=o;f="filesystem"}}}}}var _=u!==""&&u!==o;e.exports={GLIBC:o,MUSL:a,family:u,version:d,method:f,isNonGlibcLinux:_}},276:function(e,r,n){if(process.fiberLib){e.exports=process.fiberLib}else{var s=n(147),t=n(17),i=n(104);Math.random();var o=t.join(__dirname,"bin",process.platform+"-"+process.arch+"-"+process.versions.modules+(process.platform==="linux"?"-"+i.family:""),"fibers");try{process.fiberLib=e.exports=require(o).Fiber}catch(e){console.error("## There is an issue with `node-fibers` ##\n"+"`"+o+".node` is missing.\n\n"+"Try running this to fix the issue: "+process.execPath+" "+__dirname.replace(" ","\\ ")+"/build");console.error(e.stack||e.message||e);throw new Error("Missing binary. See message above.")}setupAsyncHacks(e.exports)}function setupAsyncHacks(e){try{var r=process.binding("async_wrap");var n;if(r.asyncIdStackSize instanceof Function){n=r.asyncIdStackSize}else if(r.constants.kStackLength!==undefined){n=function(e){return function(){return r.async_hook_fields[e]}}(r.constants.kStackLength)}else{throw new Error("Couldn't figure out how to get async stack size")}var s=r.popAsyncContext||r.popAsyncIds;var t=r.pushAsyncContext||r.pushAsyncIds;if(!s||!t){throw new Error("Push/pop do not exist")}var i;if(r.constants.kExecutionAsyncId===undefined){i=r.constants.kCurrentAsyncId}else{i=r.constants.kExecutionAsyncId}var o;if(r.constants.kTriggerAsyncId===undefined){o=r.constants.kCurrentTriggerId}else{o=r.constants.kTriggerAsyncId}var a=r.async_id_fields||r.async_uid_fields;function getAndClearStack(){var e=n();var r=new Array(e);for(;e>0;--e){var t=a[i];r[e-1]={asyncId:t,triggerId:a[o]};s(t)}return r}function restoreStack(e){for(var r=0;r<e.length;++r){t(e[r].asyncId,e[r].triggerId)}}function wrapFunction(e){return function(){var r=getAndClearStack();try{return e.apply(this,arguments)}finally{restoreStack(r)}}}e.yield=wrapFunction(e.yield);e.prototype.run=wrapFunction(e.prototype.run);e.prototype.throwInto=wrapFunction(e.prototype.throwInto)}catch(e){return}}},81:function(e){"use strict";e.exports=require("child_process")},147:function(e){"use strict";e.exports=require("fs")},37:function(e){"use strict";e.exports=require("os")},17:function(e){"use strict";e.exports=require("path")}};var r={};function __nccwpck_require__(n){var s=r[n];if(s!==undefined){return s.exports}var t=r[n]={exports:{}};var i=true;try{e[n](t,t.exports,__nccwpck_require__);i=false}finally{if(i)delete r[n]}return t.exports}if(typeof __nccwpck_require__!=="undefined")__nccwpck_require__.ab=__dirname+"/";var n=__nccwpck_require__(276);module.exports=n})();
|
856
pnpm-lock.yaml
856
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue