зеркало из https://github.com/dotnet/aspnetcore.git
Use frozen lockfiles with Yarn (#37834)
This commit is contained in:
Родитель
09f37fea89
Коммит
7718950dfe
|
@ -9,7 +9,7 @@
|
|||
<PackageJson>$(MSBuildProjectDirectory)\package.json</PackageJson>
|
||||
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)' == ''">$(MSBuildProjectDirectory)\obj\</BaseIntermediateOutputPath>
|
||||
<IntermediateOutputPath>$([MSBuild]::NormalizeDirectory('$(BaseIntermediateOutputPath)'))$(Configuration)\</IntermediateOutputPath>
|
||||
<InstallArgs Condition="'$(ContinuousIntegrationBuild)' == 'true'">--frozen-lockfile</InstallArgs>
|
||||
<InstallArgs>--frozen-lockfile</InstallArgs>
|
||||
<_BackupPackageJson>$(IntermediateOutputPath)$(MSBuildProjectName).package.json.bak</_BackupPackageJson>
|
||||
<BuildDependsOn>
|
||||
PrepareForBuild;
|
||||
|
|
|
@ -9,9 +9,9 @@
|
|||
"MonoPlatform.*"
|
||||
],
|
||||
"scripts": {
|
||||
"preclean": "yarn install --mutex network",
|
||||
"preclean": "yarn install --mutex network --frozen-lockfile",
|
||||
"clean": "node node_modules/rimraf/bin.js ./dist/Debug ./dist/Release",
|
||||
"prebuild": "yarn run clean && yarn install --mutex network",
|
||||
"prebuild": "yarn run clean && yarn install --mutex network --frozen-lockfile",
|
||||
"build": "yarn run build:debug && yarn run build:production",
|
||||
"build:debug": "cd src && node ../node_modules/webpack-cli/bin/cli.js --mode development --config ./webpack.config.js",
|
||||
"build:production": "cd src && node ../node_modules/webpack-cli/bin/cli.js --mode production --config ./webpack.config.js",
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
"scripts": {
|
||||
"preclean": "cd .. && yarn run build",
|
||||
"clean": "node ../common/node_modules/rimraf/bin.js ./wwwroot/dist ./obj/js",
|
||||
"prebuild": "yarn run clean && yarn install --mutex network",
|
||||
"prebuild": "yarn run clean && yarn install --mutex network --frozen-lockfile",
|
||||
"build": "yarn run build:inner",
|
||||
"build:inner": "yarn run build:lint && yarn run build:webpack",
|
||||
"build:lint": "node ../common/node_modules/eslint/bin/eslint . --ext .ts --resolve-plugins-relative-to ../common",
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
},
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"preclean": "cd ../common && yarn install --mutex network",
|
||||
"preclean": "cd ../common && yarn install --mutex network --frozen-lockfile",
|
||||
"clean": "node ../common/node_modules/rimraf/bin.js ./dist",
|
||||
"prebuild": "yarn run clean && yarn install --mutex network",
|
||||
"prebuild": "yarn run clean && yarn install --mutex network --frozen-lockfile",
|
||||
"build": "yarn run build:lint && yarn run build:esm && yarn run build:cjs && yarn run build:browser && yarn run build:uglify",
|
||||
"build:lint": "node ../common/node_modules/eslint/bin/eslint ./src --ext .ts --resolve-plugins-relative-to ../common",
|
||||
"build:esm": "node ../common/node_modules/typescript/bin/tsc --project ./tsconfig.json --module es2015 --outDir ./dist/esm -d",
|
||||
|
|
|
@ -13,9 +13,9 @@
|
|||
},
|
||||
"sideEffects": false,
|
||||
"scripts": {
|
||||
"preclean": "cd ../common && yarn install --mutex network",
|
||||
"preclean": "cd ../common && yarn install --mutex network --frozen-lockfile",
|
||||
"clean": "node ../common/node_modules/rimraf/bin.js ./dist",
|
||||
"prebuild": "yarn run clean && yarn install --mutex network",
|
||||
"prebuild": "yarn run clean && yarn install --mutex network --frozen-lockfile",
|
||||
"build": "yarn run build:lint && yarn run build:esm && yarn run build:cjs && yarn run build:browser && yarn run build:webworker && yarn run build:uglify",
|
||||
"build:lint": "node ../common/node_modules/eslint/bin/eslint ./src --ext .ts --resolve-plugins-relative-to ../common",
|
||||
"build:esm": "node ../common/node_modules/typescript/bin/tsc --project ./tsconfig.json --module es2015 --outDir ./dist/esm -d && node ./build/process-dts.js",
|
||||
|
|
Загрузка…
Ссылка в новой задаче