Content-Length: 283080 | pFad | https://github.com/form-data/form-data/commit/10626c0a9b78c7d3fcaa51772265015ee0afc25c

45 [meta] actually ensure the readme backup isn’t published · form-data/form-data@10626c0 · GitHub
Skip to content

Commit 10626c0

Browse files
committed
[meta] actually ensure the readme backup isn’t published
1 parent efe6c26 commit 10626c0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ node_modules/
99
test/
1010

1111
yarn.lock
12-
README.md.bak
12+
*.bak

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@
2727
"files": "pkgfiles --sort=name",
2828
"get-version": "node -e \"console.log(require('./package.json').version)\"",
2929
"update-readme": "sed -i.bak 's/\\/master\\.svg/\\/v'$(npm --silent run get-version)'.svg/g' README.md",
30-
"restore-readme": "mv README.md.bak README.md",
30+
"postupdate-readme": "mv README.md.bak READ.ME.md.bak",
31+
"restore-readme": "mv READ.ME.md.bak README.md",
3132
"prepublish": "not-in-publish || npm run prepublishOnly",
32-
"prepublishOnly": "npm run update-readme",
33-
"postpublish": "npm run restore-readme",
33+
"prepack": "npm run update-readme",
34+
"postpack": "npm run restore-readme",
3435
"version": "auto-changelog && git add CHANGELOG.md",
3536
"postversion": "auto-changelog && git add CHANGELOG.md && git commit --no-edit --amend && git tag -f \"v$(node -e \"console.log(require('./package.json').version)\")\""
3637
},

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: https://github.com/form-data/form-data/commit/10626c0a9b78c7d3fcaa51772265015ee0afc25c

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy