GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — tools: update to using dmn 1.0.11 · nodejs/node@5a4abba

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • tools
    • update-babel-eslint.sh
    • update-eslint.sh
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎tools/update-babel-eslint.sh‎

Copy file name to clipboardExpand all lines: tools/update-babel-eslint.sh
+5-5Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Shell script to update babel-eslint in the source tree to the latest release.
44

5-
# Depends on npm and node being in $PATH.
5+
# Depends on npm, npx, and node being in $PATH.
66

77
# This script must be be in the tools directory when it runs because it uses
88
# $BASH_SOURCE[0] to determine directories to work in.
@@ -15,11 +15,11 @@ npm init --yes
1515

1616
npm install --global-style --no-bin-links --production --no-package-lock babel-eslint@latest
1717

18-
# Install dmn if it is not in path.
19-
type -P dmn || npm install -g dmn
20-
2118
# Use dmn to remove some unneeded files.
22-
dmn -f clean
19+
npx [email protected] -f clean
20+
# Use removeNPMAbsolutePaths to remove unused data in package.json.
21+
# This avoids churn as absolute paths can change from one dev to another.
22+
npx [email protected] .
2323

2424
cd ..
2525
mv babel-eslint-tmp/node_modules/babel-eslint node_modules/babel-eslint
Collapse file

‎tools/update-eslint.sh‎

Copy file name to clipboardExpand all lines: tools/update-eslint.sh
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ npm install --no-bin-links --production --no-package-lock eslint-plugin-markdown
2020
cd ../..
2121

2222
# Use dmn to remove some unneeded files.
23-
npx [email protected].10 -f clean
23+
npx [email protected].11 -f clean
2424
# Use removeNPMAbsolutePaths to remove unused data in package.json.
2525
# This avoids churn as absolute paths can change from one dev to another.
2626
npx [email protected] .

0 commit comments

Comments
0 (0)
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.