tools: update dmn to 2.2.1 in update scripts

dmn 2.2.1 cleans more files than earlier versions.

PR-URL: https://github.com/nodejs/node/pull/26462
Reviewed-By: Richard Lau <riclau@uk.ibm.com>
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yuta Hiroto <hello@hiroppy.me>
pull/26510/head
Rich Trott 2019-03-05 20:41:35 -08:00
parent 82f8821401
commit 83c06d8f7b
2 changed files with 2 additions and 2 deletions

View File

@ -16,7 +16,7 @@ npm init --yes
npm install --global-style --no-bin-links --production --no-package-lock babel-eslint@latest
# Use dmn to remove some unneeded files.
npx dmn@2.0.0 -f clean
npx dmn@2.2.1 -f clean
# Use removeNPMAbsolutePaths to remove unused data in package.json.
# This avoids churn as absolute paths can change from one dev to another.
npx removeNPMAbsolutePaths@1.0.4 .

View File

@ -20,7 +20,7 @@ npm install --no-bin-links --production --no-package-lock eslint-plugin-markdown
cd ../..
# Use dmn to remove some unneeded files.
npx dmn@2.1.0 -f clean
npx dmn@2.2.1 -f clean
# Use removeNPMAbsolutePaths to remove unused data in package.json.
# This avoids churn as absolute paths can change from one dev to another.
npx removeNPMAbsolutePaths@1.0.4 .